]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
meta: fix build with gettext 0.16.1 rbt/low_version
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 17 Sep 2015 07:39:35 +0000 (00:39 -0700)
committerRobert Yang <liezhi.yang@windriver.com>
Fri, 18 Sep 2015 02:31:46 +0000 (19:31 -0700)
The gettext 0.16.1 doesn't install any m4 files to sysroot, please see
the following commit:

  commit 9e10db5bdfe77c0ef2aff2f1cf89958b62c294a1
  Author: Christopher Larson <kergoth@gmail.com>
  Date:   Mon Mar 17 18:10:54 2014 +0000

      gettext-0.16.1: kill target m4 macros from sysroot

This is aim for using gettext-native's macros(gettext-native-0.19.4),
but when we set:
  PREFERRED_VERSION_gettext = "0.16.1"
And build the recipes like pcmanfm, we would get errors when
do_configure:

configure:5164: error: possibly undefined macro: AM_NLS

This is because autotools_copy_aclocals doesn't copy the native macros
for target unless they're direct dependencies.

inherit gettext will fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-connectivity/connman/connman-gnome_0.7.bb
meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
meta/recipes-gnome/libsecret/libsecret_0.18.2.bb
meta/recipes-graphics/xorg-app/xwininfo_1.1.3.bb
meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb
meta/recipes-sato/pcmanfm/pcmanfm_1.2.3.bb
meta/recipes-sato/puzzles/oh-puzzles_git.bb
meta/recipes-support/atk/at-spi2-core_2.16.0.bb
meta/recipes-support/libfm/libfm-extra_1.2.3.bb
meta/recipes-support/libfm/libfm_1.2.3.bb
meta/recipes-support/pinentry/pinentry_0.9.2.bb

index f5575d29388cb07eecc1e1e14011d794be5bcf44..d647874c07432a47bc8e58d00a853596d7f60fbc 100644 (file)
@@ -19,7 +19,7 @@ SRC_URI = "git://github.com/connectivity/connman-gnome.git \
 
 S = "${WORKDIR}/git"
 
-inherit autotools-brokensep gtk-icon-cache pkgconfig
+inherit autotools-brokensep gtk-icon-cache pkgconfig gettext
 
 RDEPENDS_${PN} = "connman"
 
index c30454cab5479df1a09cda699254f04a265baaa0..140589bac98d5b0c05d76ee34385691703c1fb2f 100644 (file)
@@ -31,7 +31,7 @@ CFLAGS_prepend = "-DHAVE_ANIMATION "
 
 RDEPENDS_${PN}-dev = ""
 
-inherit gnomebase
+inherit gnomebase gettext
 GNOME_COMPRESS_TYPE="bz2"
 
 python populate_packages_prepend() {
index cebc83b574c8150549d106f1e7dbc2794af5b631..0c9263b9567bef8023bf44655342587956156b8b 100644 (file)
@@ -2,7 +2,7 @@ SUMMARY = "libsecret is a library for storing and retrieving passwords and other
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=23c2a5e0106b99d75238986559bb5fc6"
 
-inherit gnomebase gtk-doc
+inherit gnomebase gtk-doc gettext
 
 DEPENDS = "glib-2.0 libgcrypt"
 
index 7a452410b7352459284b6724278e95b1e4fea000..b78439ee43f1eb077d452b5dc25af1f9b0bd22b2 100644 (file)
@@ -9,6 +9,8 @@ and a number of other items."
 LIC_FILES_CHKSUM = "file://COPYING;md5=78976cd3115f6faf615accc4e094d90e"
 DEPENDS += "libxext libxmu"
 
+inherit gettext
+
 PE = "0"
 
 SRC_URI[md5sum] = "b777bafb674555e48fd8437618270931"
index f71514916baaa136ea3f35bc1e79b45d178c73ac..d74afb6bdbafa04603cfa9ff164edc7bc8191547 100644 (file)
@@ -19,7 +19,7 @@ PR = "r2"
 
 SRC_URI_append_poky = " file://owl-menu.patch;apply=yes "
 
-inherit autotools pkgconfig distro_features_check
+inherit autotools pkgconfig distro_features_check gettext
 
 EXTRA_OECONF = " --enable-chooser --disable-emacs --disable-print"
 
index 4467303f6e4f03731254c40ba10d60a768343d10..8b589aeb6aec78adc90d61860d0323aeda670039 100644 (file)
@@ -23,7 +23,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.xz \
 SRC_URI[md5sum] = "c993402d407b0a3fc076f842ac1bc5c9"
 SRC_URI[sha256sum] = "cfa8d82fc63be147045174bef074807e1e32ce8c6bf4dbd8fad49e260bcf6380"
 
-inherit autotools pkgconfig distro_features_check
+inherit autotools pkgconfig distro_features_check gettext
 
 # The startup-notification requires x11 in DISTRO_FEATURES
 REQUIRED_DISTRO_FEATURES = "x11"
index 36cd2cc7a2ee347cd729e05f76ddb4f316932bec..13e0b802b732bf3785ca20f02762059cdce124a1 100644 (file)
@@ -25,7 +25,7 @@ SRC_URI_append_poky = " file://oh-puzzles-owl-menu.patch;striplevel=0 "
 
 S = "${WORKDIR}/git"
 
-inherit autotools pkgconfig distro_features_check
+inherit autotools pkgconfig distro_features_check gettext
 
 bindir = "/usr/games"
 
index 933cbe70f7a241cb764638ad91ec58afc2b5eaa3..fb759b50f472aedb127301ba26fc2356b48a71f2 100644 (file)
@@ -13,7 +13,7 @@ SRC_URI[sha256sum] = "1c0b77fb8ce81abbf1d80c0afee9858b3f9229f673b7881995fe0fc16b
 
 DEPENDS = "dbus glib-2.0 virtual/libx11 libxi libxtst intltool-native"
 
-inherit autotools gtk-doc pkgconfig distro_features_check
+inherit autotools gtk-doc pkgconfig distro_features_check gettext
 # depends on virtual/libx11
 REQUIRED_DISTRO_FEATURES = "x11"
 
index 46d2d62b94276929eb7667c5fdfa2c7687bd1afa..1c7ccf7f2d7e92cca72935c4bffdb252115ce334 100644 (file)
@@ -20,6 +20,6 @@ EXTRA_OECONF = "--with-extra-only --with-gtk=no"
 
 PR = "r1"
 
-inherit autotools pkgconfig gtk-doc
+inherit autotools pkgconfig gtk-doc gettext
 
 do_configure[dirs] =+ "${S}/m4"
index 629502f68fafacaebc80c0a05c215b60c77b0e89..f5be33bf9dc25bca8e2d99f61ffed44c17ad89ae 100644 (file)
@@ -18,7 +18,7 @@ SRC_URI[sha256sum] = "c692f1624a4cbc8d1dd55f3b3f3369fbf5d26f63a916e2c295230b2344
 
 PR = "r1"
 
-inherit autotools pkgconfig gtk-doc
+inherit autotools pkgconfig gtk-doc gettext
 
 do_configure[dirs] =+ "${S}/m4"
 
index c836ca4b8683db24994c029a273cfa20a048d166..cb01ad64072cec3900f2c7ccfcd9b75dffab986d 100644 (file)
@@ -8,7 +8,7 @@ HOMEPAGE = "http://www.gnupg.org/related_software/pinentry/index.en.html"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=cbbd794e2a0a289b9dfcc9f513d1996e"
 
-inherit autotools
+inherit autotools gettext
 
 SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${BPN}/${BPN}-${PV}.tar.bz2"