Skip to contentSkip to conversation

atk: add explicit gettext-native dependency

PATCH In review Ross Burton 3 participants 4 messages Jul 16, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atk: add explicit gettext-native dependency

In native builds we attempt to turn off i18n but this doesn't work in Meson yet[1] but as the gettext class reduces dependencies in native builds we need to add gettext-native to DEPENDS explicitly.

[1] https://github.com/mesonbuild/meson/issues/821

---
 meta/recipes-support/atk/atk_2.28.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/atk/atk_2.28.1.bb +1 -1
index a051247d8ff..d64df37f5de 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
                     file://atk/atkutil.c;endline=18;md5=6fd31cd2fdc9b30f619ca8d819bc12d3 \
                     file://atk/atk.h;endline=18;md5=fcd7710187e0eae485e356c30d1b0c3b"
 
-DEPENDS = "glib-2.0"
+DEPENDS = "gettext-native glib-2.0"
 
 GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase gtk-doc gettext upstream-version-is-even gobject-introspection
Signature · 1 line
2.11.0
#1 lore raw
Quoted 30 lines · Ross Burton

In native builds we attempt to turn off i18n but this doesn't work in Meson
yet[1] but as the gettext class reduces dependencies in native builds we need to
add gettext-native to DEPENDS explicitly.

[1] https://github.com/mesonbuild/meson/issues/821

---
 meta/recipes-support/atk/atk_2.28.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes- renamed from meta/recipes-support/atk/atk_2.28.1.bb +0 -0

support/atk/atk_2.28.1.bb
index a051247d8ff..d64df37f5de 100644

meta/recipes-support/atk/atk_2.28.1.bb +0 -0
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd00
 2f49e7bb854063f7e7 \
                     file://atk/atkutil.c;endline=18;md5=6fd31cd2fdc9
 b30f619ca8d819bc12d3 \
                     file://atk/atk.h;endline=18;md5=fcd7710187e0eae4

85e356c30d1b0c3b"

meta/recipes-support/atk/atk_2.28.1.bb +1 -1
-DEPENDS = "glib-2.0"
+DEPENDS = "gettext-native glib-2.0"
 
 GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase gtk-doc gettext upstream-version-is-even gobject-
Quoted 1 line

introspection

Can you at least comment this in the hope we can eventually drop this again please?

gettext-native is a huge pain dependency wise and slows down builds significantly. Is there a way we could tweak meson to avoid this?

Cheers,

Richard

#2 lore raw

There's a bug upstream but non-trivial to resolve.

Ross

Quoted 43 lines · On 16 July 2018 at 17:17, <[email protected]> wrote:
Quoted 30 lines · Ross Burton

In native builds we attempt to turn off i18n but this doesn't work in Meson
yet[1] but as the gettext class reduces dependencies in native builds we need to
add gettext-native to DEPENDS explicitly.

[1] https://github.com/mesonbuild/meson/issues/821

---
 meta/recipes-support/atk/atk_2.28.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes- renamed from meta/recipes-support/atk/atk_2.28.1.bb +0 -0

support/atk/atk_2.28.1.bb
index a051247d8ff..d64df37f5de 100644

meta/recipes-support/atk/atk_2.28.1.bb +0 -0
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd00
 2f49e7bb854063f7e7 \
                     file://atk/atkutil.c;endline=18;md5=6fd31cd2fdc9
 b30f619ca8d819bc12d3 \
                     file://atk/atk.h;endline=18;md5=fcd7710187e0eae4

85e356c30d1b0c3b"

meta/recipes-support/atk/atk_2.28.1.bb +1 -1
-DEPENDS = "glib-2.0"
+DEPENDS = "gettext-native glib-2.0"
 
 GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase gtk-doc gettext upstream-version-is-even gobject-
Quoted 1 line

introspection

Can you at least comment this in the hope we can eventually drop this again please?

gettext-native is a huge pain dependency wise and slows down builds significantly. Is there a way we could tweak meson to avoid this?

Cheers,

Richard

Tested-by on v1 1/1
#3 lore raw
In reply to Ross Burton
Quoted 7 lines · Ross Burton

In native builds we attempt to turn off i18n but this doesn't work in Meson yet[1] but as the gettext class reduces dependencies in native builds we need to add gettext-native to DEPENDS explicitly.

[1] https://github.com/mesonbuild/meson/issues/821

This fixes the build issue for me.

Alistair

Quoted 25 lines
---
 meta/recipes-support/atk/atk_2.28.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/atk/atk_2.28.1.bb +1 -2
index a051247d8ff..d64df37f5de 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
                     file://atk/atkutil.c;endline=18;md5=6fd31cd2fdc9b30f619ca8d819bc12d3 \
                     file://atk/atk.h;endline=18;md5=fcd7710187e0eae485e356c30d1b0c3b"
 
-DEPENDS = "glib-2.0"
+DEPENDS = "gettext-native glib-2.0"
 
 GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase gtk-doc gettext upstream-version-is-even gobject-introspection
--

2.11.0

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core