]> git.openpandora.org Git - openembedded.git/commitdiff
glib-2.0: Update to use 'inherit gettext'
authorTom Rini <tom_rini@mentor.com>
Wed, 9 Mar 2011 16:44:48 +0000 (09:44 -0700)
committerTom Rini <tom_rini@mentor.com>
Wed, 9 Mar 2011 19:17:15 +0000 (12:17 -0700)
This means never spelling out gettext-native, virtual/libiconv and
virtual/libintl.  We only need to add pkgconfig-native to DEPENDS for
virtclass-native.  Finally, move EXTRA_OECONF_virtclass-native to be with
the rest of the EXTRA_OECONF's.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/glib-2.0/glib-2.0_2.22.4.bb
recipes/glib-2.0/glib-2.0_2.23.6.bb
recipes/glib-2.0/glib-2.0_2.24.0.bb
recipes/glib-2.0/glib-2.0_2.24.1.bb
recipes/glib-2.0/glib-2.0_2.26.1.bb
recipes/glib-2.0/glib-2.0_2.28.0.bb

index 54a19f709694e4e97bcd3ccb4345fd6ce7218df5..37cc1463e898c762d3fbbbf17efac574058b5ed8 100644 (file)
@@ -6,7 +6,8 @@ UNIX-like platforms, Windows, OS/2 and BeOS."
 LICENSE = "LGPLv2+"
 SECTION = "libs"
 PRIORITY = "optional"
-DEPENDS = "glib-2.0-native gtk-doc virtual/libiconv virtual/libintl"
+DEPENDS = "glib-2.0-native gtk-doc"
+DEPENDS_virtclass-native += "pkgconfig-native"
 
 SRC_URI = "\
   http://ftp.gnome.org/pub/GNOME/sources/glib/2.22/glib-${PV}.tar.bz2;name=archive \
@@ -30,6 +31,7 @@ inherit autotools gettext
 S = "${WORKDIR}/glib-${PV}"
 
 EXTRA_OECONF = "--disable-debug "
+EXTRA_OECONF_virtclass-native = ""
 
 # Add and entry for your favourite arch if your (g)libc has a sane printf
 EXTRA_OECONF_append_glibc_arm = "  --enable-included-printf=no "
@@ -42,10 +44,6 @@ do_install_append() {
        sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g ${D}${bindir}/glib-mkenums || true
 }
 
-DEPENDS_virtclass-native = "gettext-native gtk-doc-native \
-                            pkgconfig-native"
-EXTRA_OECONF_virtclass-native = ""
-
 do_configure_prepend_virtclass-native() {
     if [ -e ${S}/${TARGET_SYS}-libtool ] ; then
                 echo "${TARGET_SYS}-libtool already present"
index 550e9752e746a01bfeb483da447fdc35849fccde..b24e53bdc962b361d0c679775ddff334a087d291 100644 (file)
@@ -6,7 +6,8 @@ UNIX-like platforms, Windows, OS/2 and BeOS."
 LICENSE = "LGPLv2+"
 SECTION = "libs"
 PRIORITY = "optional"
-DEPENDS = "glib-2.0-native gtk-doc virtual/libiconv virtual/libintl zlib"
+DEPENDS = "glib-2.0-native gtk-doc zlib"
+DEPENDS_virtclass-native += "pkgconfig-native"
 PR = "r3"
 
 SRC_URI = "\
@@ -29,6 +30,7 @@ inherit autotools gettext
 S = "${WORKDIR}/glib-${PV}"
 
 EXTRA_OECONF = "--disable-debug "
+EXTRA_OECONF_virtclass-native = ""
 
 # Add and entry for your favourite arch if your (g)libc has a sane printf
 EXTRA_OECONF_append_glibc_arm = "  --enable-included-printf=no "
@@ -41,10 +43,6 @@ do_install_append() {
        sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g ${D}${bindir}/glib-mkenums || true
 }
 
-DEPENDS_virtclass-native = "gettext-native gtk-doc-native \
-                            pkgconfig-native"
-EXTRA_OECONF_virtclass-native = ""
-
 do_configure_prepend_virtclass-native() {
     if [ -e ${S}/${TARGET_SYS}-libtool ] ; then
                 echo "${TARGET_SYS}-libtool already present"
index 5bb79015e2dc82052f98f5c68f6cdd083d69e9d4..0230feb0249eedcadede645ba66b90f7b4b45a64 100644 (file)
@@ -7,6 +7,7 @@ LICENSE = "LGPLv2+"
 SECTION = "libs"
 PRIORITY = "optional"
 DEPENDS = "glib-2.0-native gtk-doc zlib"
+DEPENDS_virtclass-native += "pkgconfig-native"
 
 PR = "r6"
 
@@ -35,6 +36,7 @@ inherit autotools gettext
 S = "${WORKDIR}/glib-${PV}"
 
 EXTRA_OECONF = "--disable-debug "
+EXTRA_OECONF_virtclass-native = ""
 
 # Add and entry for your favourite arch if your (g)libc has a sane printf
 EXTRA_OECONF_append_glibc_arm = "  --enable-included-printf=no "
@@ -47,10 +49,6 @@ do_install_append() {
        sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g ${D}${bindir}/glib-mkenums || true
 }
 
-DEPENDS_virtclass-native = "gettext-native gtk-doc-native \
-                            pkgconfig-native"
-EXTRA_OECONF_virtclass-native = ""
-
 do_configure_prepend_virtclass-native() {
     if [ -e ${S}/${TARGET_SYS}-libtool ] ; then
                 echo "${TARGET_SYS}-libtool already present"
index b150a3fd241bb817fb0c3945fac81d1ea9350601..34d505f3ccab2ae45718ae261cfbec3d819cdd7d 100644 (file)
@@ -7,8 +7,7 @@ LICENSE = "LGPLv2+"
 SECTION = "libs"
 PRIORITY = "optional"
 DEPENDS = "glib-2.0-native gtk-doc zlib"
-DEPENDS_virtclass-native = "gettext-native gtk-doc-native \
-                            pkgconfig-native"
+DEPENDS_virtclass-native += "pkgconfig-native"
 
 PR = "r2"
 
@@ -39,6 +38,7 @@ inherit autotools gettext
 S = "${WORKDIR}/glib-${PV}"
 
 EXTRA_OECONF = "--disable-debug "
+EXTRA_OECONF_virtclass-native = ""
 
 # Add and entry for your favourite arch if your (g)libc has a sane printf
 EXTRA_OECONF_append_glibc_arm = "  --enable-included-printf=no "
@@ -51,8 +51,6 @@ do_install_append() {
        sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g ${D}${bindir}/glib-mkenums || true
 }
 
-EXTRA_OECONF_virtclass-native = ""
-
 do_configure_prepend_virtclass-native() {
     if [ -e ${S}/${TARGET_SYS}-libtool ] ; then
                 echo "${TARGET_SYS}-libtool already present"
index caccfde8c8d7a060c9f6ca4cf5c76de62f182fae..c1a41e24d6e30b02e19d4d355e6ecd06af20e686 100644 (file)
@@ -7,8 +7,7 @@ LICENSE = "LGPLv2+"
 SECTION = "libs"
 PRIORITY = "optional"
 DEPENDS = "glib-2.0-native gtk-doc zlib"
-DEPENDS_virtclass-native = "gettext-native gtk-doc-native \
-                            pkgconfig-native"
+DEPENDS_virtclass-native += "pkgconfig-native"
 
 PR = "r3"
 
@@ -32,6 +31,7 @@ inherit autotools gettext
 S = "${WORKDIR}/glib-${PV}"
 
 EXTRA_OECONF = "--disable-debug "
+EXTRA_OECONF_virtclass-native = ""
 
 # Add and entry for your favourite arch if your (g)libc has a sane printf
 EXTRA_OECONF_append_glibc_arm = "  --enable-included-printf=no "
@@ -45,8 +45,6 @@ do_install_append() {
        sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g ${D}${bindir}/glib-mkenums || true
 }
 
-EXTRA_OECONF_virtclass-native = ""
-
 do_configure_prepend_virtclass-native() {
     if [ -e ${S}/${TARGET_SYS}-libtool ] ; then
                 echo "${TARGET_SYS}-libtool already present"
index 07e72d3a802e7209659ce5532550611d2fa8e084..4e36b645b1baeac56e6402b2f4c7f741cf390578 100644 (file)
@@ -8,8 +8,7 @@ SECTION = "libs"
 PRIORITY = "optional"
 PR = "r1"
 DEPENDS = "glib-2.0-native gtk-doc zlib"
-DEPENDS_virtclass-native = "gettext-native gtk-doc-native \
-                            pkgconfig-native"
+DEPENDS_virtclass-native += "pkgconfig-native"
 
 SRC_URI = "\
   http://ftp.gnome.org/pub/GNOME/sources/glib/2.28/glib-${PV}.tar.bz2;name=archive \
@@ -31,6 +30,7 @@ inherit autotools gettext
 S = "${WORKDIR}/glib-${PV}"
 
 EXTRA_OECONF = "--disable-debug "
+EXTRA_OECONF_virtclass-native = ""
 
 # Add and entry for your favourite arch if your (g)libc has a sane printf
 EXTRA_OECONF_append_glibc_arm = "  --enable-included-printf=no "
@@ -44,8 +44,6 @@ do_install_append() {
        sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g ${D}${bindir}/glib-mkenums || true
 }
 
-EXTRA_OECONF_virtclass-native = ""
-
 do_configure_prepend_virtclass-native() {
     if [ -e ${S}/${TARGET_SYS}-libtool ] ; then
                 echo "${TARGET_SYS}-libtool already present"