Skip to contentSkip to conversation

Fixes for building with USE_NLS=no

PATCH New Peter Kjellerstedt 1 participant 4 messages Aug 13, 2014

lore
Share & tools
lore
#0 lore raw

cover Fixes for building with USE_NLS=no

This adds missing inherit of gettext to three recipes that were discovered after we added USE_NLS = "no" to our distribution configuration.

//Peter

The following changes since commit 6882d2d9993c8655a292c93e84ea01b4738a700d:

yocto-project-qs, ref-manual: Added 'socat' package to essentials. (2014-08-12 13:50:32 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib pkj/use_nls_no
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pkj/use_nls_no

Peter Kjellerstedt (3):
systemd: Inherit gettext
libsoup-2.4: Inherit gettext
glib-networking: Inherit gettext

 meta/recipes-core/glib-networking/glib-networking_2.38.0.bb | 2 +-
 meta/recipes-core/systemd/systemd_213.bb                    | 2 +-
 meta/recipes-support/libsoup/libsoup-2.4_2.46.0.bb          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
1.9.0
#1 lore raw

PATCH 1/3 systemd: Inherit gettext

Build fails otherwise if USE_NLS is set to "no".

---
 meta/recipes-core/systemd/systemd_213.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/systemd/systemd_213.bb +1 -1
index 4fb7ffc..ccdc10b 100644
@@ -15,7 +15,7 @@ DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 
 SECTION = "base/shell"
 
-inherit gtk-doc useradd pkgconfig autotools perlnative update-rc.d update-alternatives qemu systemd ptest
+inherit gtk-doc useradd pkgconfig autotools perlnative update-rc.d update-alternatives qemu systemd ptest gettext
 
 SRCREV = "c9679c652b3c31f2510e8805d81630680ebc7e95"
 
Signature · 1 line
1.9.0
#2 lore raw

PATCH 2/3 libsoup-2.4: Inherit gettext

In reply to Peter Kjellerstedt

Build fails otherwise if USE_NLS is set to "no".

---
 meta/recipes-support/libsoup/libsoup-2.4_2.46.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/libsoup/libsoup-2.4_2.46.0.bb +1 -1
index f062b2e..81da911 100644
@@ -23,7 +23,7 @@ SRC_URI[sha256sum] = "fa3d5574c1a2df521242e2ca624a2b3057121798cab9f8f40525aa186a
 
 S = "${WORKDIR}/libsoup-${PV}"
 
-inherit autotools pkgconfig
+inherit autotools gettext pkgconfig
 
 # glib-networking is needed for SSL, proxies, etc.
 RRECOMMENDS_${PN} = "glib-networking"
Signature · 1 line
1.9.0
#3 lore raw

PATCH 3/3 glib-networking: Inherit gettext

In reply to Peter Kjellerstedt

Build fails otherwise if USE_NLS is set to "no".

---
 meta/recipes-core/glib-networking/glib-networking_2.38.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/glib-networking/glib-networking_2.38.0.bb +1 -1
index a9c1a41..b9ba2d6 100644
@@ -24,7 +24,7 @@ PACKAGECONFIG[pkcs11] = "--with-pkcs11,--without-pkcs11,p11-kit"
 
 EXTRA_OECONF = "--without-gnome-proxy"
 
-inherit gnomebase
+inherit gnomebase gettext
 
 FILES_${PN} += "${libdir}/gio/modules/libgio*.so ${datadir}/dbus-1/services/"
 FILES_${PN}-dbg += "${libdir}/gio/modules/.debug/"
Signature · 1 line
1.9.0