diff options
| -rw-r--r-- | meta/classes/base.bbclass | 4 | ||||
| -rw-r--r-- | meta/conf/distro/include/tclibc-uclibc.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0.inc | 6 | ||||
| -rw-r--r-- | meta/recipes-core/glib-2.0/glib.inc | 3 |
4 files changed, 1 insertions, 13 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 0bea639a95..575352d3f0 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
| @@ -303,10 +303,6 @@ python () { | |||
| 303 | bb.note("SKIPPING %s because it's %s" % (pn, this_license)) | 303 | bb.note("SKIPPING %s because it's %s" % (pn, this_license)) |
| 304 | raise bb.parse.SkipPackage("incompatible with license %s" % this_license) | 304 | raise bb.parse.SkipPackage("incompatible with license %s" % this_license) |
| 305 | 305 | ||
| 306 | use_nls = bb.data.getVar('USE_NLS_%s' % pn, d, 1) | ||
| 307 | if use_nls != None: | ||
| 308 | bb.data.setVar('USE_NLS', use_nls, d) | ||
| 309 | |||
| 310 | # Git packages should DEPEND on git-native | 306 | # Git packages should DEPEND on git-native |
| 311 | srcuri = bb.data.getVar('SRC_URI', d, 1) | 307 | srcuri = bb.data.getVar('SRC_URI', d, 1) |
| 312 | if "git://" in srcuri: | 308 | if "git://" in srcuri: |
diff --git a/meta/conf/distro/include/tclibc-uclibc.inc b/meta/conf/distro/include/tclibc-uclibc.inc index 83418d6677..65693a9ca8 100644 --- a/meta/conf/distro/include/tclibc-uclibc.inc +++ b/meta/conf/distro/include/tclibc-uclibc.inc | |||
| @@ -14,7 +14,6 @@ PREFERRED_PROVIDER_virtual/libiconv ?= "libiconv" | |||
| 14 | PREFERRED_PROVIDER_virtual/libintl ?= "gettext" | 14 | PREFERRED_PROVIDER_virtual/libintl ?= "gettext" |
| 15 | 15 | ||
| 16 | USE_NLS ?= "no" | 16 | USE_NLS ?= "no" |
| 17 | USE_NLS_glib-2.0 = "yes" | ||
| 18 | 17 | ||
| 19 | CXXFLAGS += "-fvisibility-inlines-hidden" | 18 | CXXFLAGS += "-fvisibility-inlines-hidden" |
| 20 | 19 | ||
diff --git a/meta/recipes-core/glib-2.0/glib-2.0.inc b/meta/recipes-core/glib-2.0/glib-2.0.inc deleted file mode 100644 index ccbbd2b35a..0000000000 --- a/meta/recipes-core/glib-2.0/glib-2.0.inc +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | |||
| 2 | python () { | ||
| 3 | import bb | ||
| 4 | if bb.data.getVar("USE_NLS", d, 1) == "no": | ||
| 5 | raise bb.parse.SkipPackage("${PN} requires native language support.") | ||
| 6 | } | ||
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index 0800c85c4a..e25db3dea9 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc | |||
| @@ -13,8 +13,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ | |||
| 13 | BUGTRACKER = "http://bugzilla.gnome.org" | 13 | BUGTRACKER = "http://bugzilla.gnome.org" |
| 14 | SECTION = "libs" | 14 | SECTION = "libs" |
| 15 | 15 | ||
| 16 | require glib-2.0.inc | ||
| 17 | |||
| 18 | DEPENDS = "glib-2.0-native gtk-doc-native zip dbus" | 16 | DEPENDS = "glib-2.0-native gtk-doc-native zip dbus" |
| 19 | DEPENDS_virtclass-native = "gtk-doc-native pkgconfig-native gettext-native dbus-native" | 17 | DEPENDS_virtclass-native = "gtk-doc-native pkgconfig-native gettext-native dbus-native" |
| 20 | DEPENDS_virtclass-nativesdk = "libtool-nativesdk" | 18 | DEPENDS_virtclass-nativesdk = "libtool-nativesdk" |
| @@ -36,3 +34,4 @@ FILES_${PN}-dev += "${libdir}/glib-2.0/include" | |||
| 36 | FILES_${PN}-dbg += "${datadir}/glib-2.0/gdb ${datadir}/gdb" | 34 | FILES_${PN}-dbg += "${datadir}/glib-2.0/gdb ${datadir}/gdb" |
| 37 | 35 | ||
| 38 | ARM_INSTRUCTION_SET = "arm" | 36 | ARM_INSTRUCTION_SET = "arm" |
| 37 | USE_NLS = "yes" | ||
