diff options
author | Ross Burton <ross.burton@intel.com> | 2015-07-16 23:51:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-20 10:40:41 +0100 |
commit | 6257bf7cb6d144e4335afac6ddbd1c6373c38628 (patch) | |
tree | b4774ccb72ff60ebe1d9b9decf9680355a2c252a /meta/recipes-gnome/gnome/gnome-icon-theme/pkgconfig-native.patch | |
parent | 350b73f240f45cf3ae4d0f746090c9dbae039921 (diff) | |
download | poky-6257bf7cb6d144e4335afac6ddbd1c6373c38628.tar.gz |
gnome-icon-theme: clean up icon-naming search
Previous this recipe added an argument to specify where the icon-name-mapping
binary is installed, to override a failing pkg-config call (as target pkg-config
won't find native .pc files), and munged libexecdir as it likely contains PN.
This is all very complicated and we have a native pkg-config binary now, so just
use pkg-config-native for that section of configure.ac.
(From OE-Core rev: bbd1458444b06dafddad70e117eedfe0c85bfcc6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gnome/gnome-icon-theme/pkgconfig-native.patch')
-rw-r--r-- | meta/recipes-gnome/gnome/gnome-icon-theme/pkgconfig-native.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gnome/gnome-icon-theme/pkgconfig-native.patch b/meta/recipes-gnome/gnome/gnome-icon-theme/pkgconfig-native.patch new file mode 100644 index 0000000000..6139eaba0f --- /dev/null +++ b/meta/recipes-gnome/gnome/gnome-icon-theme/pkgconfig-native.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | icon-naming-utils is a native dependency so we need to use the native pkg-config | ||
2 | to find it. Simply perform the old switcheroonie on $PKG_CONFIG so | ||
3 | pkg-config-native is used temporarily. | ||
4 | |||
5 | Upstream-Status: Inappropriate (OE-specific) | ||
6 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
7 | |||
8 | diff --git a/configure.ac b/configure.ac | ||
9 | index 6074f2c..3d38e49 100644 | ||
10 | --- a/configure.ac | ||
11 | +++ b/configure.ac | ||
12 | @@ -40,6 +40,8 @@ if test "x$enable_mapping" != "xno"; then | ||
13 | UTILS_REQUIRED=0.8.7 | ||
14 | |||
15 | AC_MSG_CHECKING([icon-naming-utils >= $UTILS_REQUIRED]) | ||
16 | + save_PKG_CONFIG=$PKG_CONFIG | ||
17 | + PKG_CONFIG=pkg-config-native | ||
18 | PKG_CHECK_EXISTS(icon-naming-utils >= $UTILS_REQUIRED, | ||
19 | have_utils=yes, have_utils=no) | ||
20 | if test "x$have_utils" = "xyes"; then | ||
21 | @@ -51,6 +53,7 @@ if test "x$enable_mapping" != "xno"; then | ||
22 | AC_MSG_ERROR([icon-naming-utils >= $UTILS_REQUIRED is required to build | ||
23 | and install gnome-icon-theme]) | ||
24 | fi | ||
25 | + PKG_CONFIG=save_PKG_CONFIG | ||
26 | else | ||
27 | ICONMAP="false" | ||
28 | fi | ||