Skip to contentSkip to conversation

local.conf.sample.extended: add another warning to comment about GLIBC_GENERATE_LOCALES

PATCH New Martin Jansa 1 participant 2 messages Oct 13, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 local.conf.sample.extended: add another warning to comment about GLIBC_GENERATE_LOCALES

---
 meta/conf/local.conf.sample.extended | 5 +++++
 1 file changed, 5 insertions(+)
meta/conf/local.conf.sample.extended +5 -0
index 2b2d3279f1..7670347d53 100644
@@ -59,6 +59,11 @@
 # NOTE: If removing en_US.UTF-8 you will also need to uncomment, and set
 # appropriate value for IMAGE_LINGUAS.
 # WARNING: this may break localisation!
+# WARNING: some recipes expect certain localizations to be enabled, e.g.
+# bash-ptest: fr-fr, de-de
+# glib-2.0-ptest: tr-tr, lt-lt, ja-jp.euc-jp, fa-ir, ru-ru, de-de, hr-hr, el-gr, fr-fr, es-es, en-gb
+# if you remove some of these and enable ptest, you'll get QA warning like:
+# ERROR: glib-2.0-1_2.58.0-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on locale-base-de-de, but it isn't a build dependency? [build-deps]
 #GLIBC_GENERATE_LOCALES = "en_GB.UTF-8 en_US.UTF-8"
 #IMAGE_LINGUAS ?= "en-gb"
 
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 glib.inc: drop duplicate locale-base-fr-fr runtime dependency

---
 meta/recipes-core/glib-2.0/glib.inc | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-core/glib-2.0/glib.inc +0 -1
index 92dcf997c0..e8215da583 100644
@@ -163,7 +163,6 @@ RDEPENDS_${PN}-ptest_append_libc-glibc = "\
             locale-base-hr-hr \
             locale-base-el-gr \
             locale-base-fr-fr \
-            locale-base-fr-fr \
             locale-base-es-es \
             locale-base-en-gb \
            "
Signature · 1 line
2.17.1