[OE-core] [PATCH 26/52] xorg-lib: inherit gettext class instead of adding gettext to DEPENDS directly
Saul Wold
sgw at linux.intel.com
Wed Apr 27 07:29:47 UTC 2011
From: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb | 4 +++-
meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb | 4 ++--
meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb | 3 ++-
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb b/meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb
index 79078ef..793008b 100644
--- a/meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb
+++ b/meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb
@@ -6,10 +6,12 @@ both client-side and server-side."
require xorg-lib-common.inc
+inherit gettext
+
LICENSE = "MIT-style"
LIC_FILES_CHKSUM = "file://COPYING;md5=7908e342491198401321cec1956807ec"
-DEPENDS += " xproto gettext"
+DEPENDS += " xproto"
PROVIDES = "xau"
PR = "r0"
diff --git a/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb b/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb
index d897dab..483dce3 100644
--- a/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb
+++ b/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb
@@ -8,6 +8,8 @@ autonomous display."
require xorg-lib-common.inc
+inherit gettext
+
LICENSE = "MIT-style"
LIC_FILES_CHKSUM = "file://COPYING;md5=d559fb26e129626022e052a5e6e0e123"
@@ -17,8 +19,6 @@ PROVIDES = "xdmcp"
PR = "r0"
PE = "1"
-DEPENDS += "gettext"
-
XORG_PN = "libXdmcp"
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb b/meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb
index 335f020..19abe5a 100644
--- a/meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb
+++ b/meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb
@@ -16,7 +16,8 @@ PE = "1"
PR = "r0"
RDEPENDS_${PN}-dev = ""
-DEPENDS += "gettext"
+
+inherit gettext
BBCLASSEXTEND = "native nativesdk"
--
1.7.1.1
More information about the Openembedded-core
mailing list