From: Andrei Gherzan Date: Fri, 7 Nov 2014 16:23:44 +0000 (+0100) Subject: xkeyboard-config: Inherit gettext X-Git-Tag: 2015-4~1190 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=23d8a4d64e9ff126d6460a69e6d086b1c86e87a9;p=openembedded-core.git xkeyboard-config: Inherit gettext In a GPLv3-free build we have two different versions of gettext in sysroot due to GPLv3 restrictions. In this case we need gettext-native too so we can have the needed macros and avoid errors like: "error: possibly undefined macro: AM_GNU_GETTEXT" The needed dependency is added by gettext class which is prefered because it takes care of NLS flags too. Signed-off-by: Andrei Gherzan Signed-off-by: Ross Burton --- diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.12.bb b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.12.bb index 61e38470c1..adac0eedd8 100644 --- a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.12.bb +++ b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.12.bb @@ -23,7 +23,7 @@ EXTRA_OECONF = "--with-xkb-rules-symlink=xorg --disable-runtime-deps" FILES_${PN} += "${datadir}/X11/xkb" -inherit autotools pkgconfig +inherit autotools pkgconfig gettext do_install_append () { install -d ${D}${datadir}/X11/xkb/compiled