summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-10-17 09:33:46 +0000
committerRichard Purdie <richard@openedhand.com>2008-10-17 09:33:46 +0000
commit8c32e370ef5fb765f9151d4803cae1ea27fca06b (patch)
treecc93383e907b877b3702e0b0f64784b9abc6cd46
parentda303793d07ba84e3cf6fc8dc56ace8da018327e (diff)
downloadopenembedded-core-8c32e370ef5fb765f9151d4803cae1ea27fca06b.tar.gz
openembedded-core-8c32e370ef5fb765f9151d4803cae1ea27fca06b.tar.bz2
openembedded-core-8c32e370ef5fb765f9151d4803cae1ea27fca06b.tar.xz
openembedded-core-8c32e370ef5fb765f9151d4803cae1ea27fca06b.zip
libx11: Clean up all the git recipes into a common include file
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5524 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/xorg-lib/libx11-diet_git.bb11
-rw-r--r--meta/packages/xorg-lib/libx11-sdk_git.bb10
-rw-r--r--meta/packages/xorg-lib/libx11-trim_git.bb12
-rw-r--r--meta/packages/xorg-lib/libx11_git.bb7
-rw-r--r--meta/packages/xorg-lib/libx11_git.inc10
5 files changed, 20 insertions, 30 deletions
diff --git a/meta/packages/xorg-lib/libx11-diet_git.bb b/meta/packages/xorg-lib/libx11-diet_git.bb
index 220df234d..d1f0a753f 100644
--- a/meta/packages/xorg-lib/libx11-diet_git.bb
+++ b/meta/packages/xorg-lib/libx11-diet_git.bb
@@ -1,19 +1,12 @@
require libx11.inc
-PV = "1.1.99.1+gitr${SRCREV}"
+require libx11_git.inc
-SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libX11;protocol=git"
-S = "${WORKDIR}/git"
-
-SRC_URI += "file://x11_disable_makekeys.patch;patch=1 \
- file://include_fix.patch;patch=1 \
- file://X18NCMSstubs.diff;patch=1 \
+SRC_URI += "file://X18NCMSstubs.diff;patch=1 \
file://fix-disable-xlocale.diff;patch=1 \
file://fix-utf8-wrong-define.patch;patch=1"
DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \
libxdmcp xf86bigfontproto kbproto inputproto xproto-native"
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11-git"
-
EXTRA_OECONF += "--without-xcb --disable-udc --disable-xcms --disable-xlocale"
CFLAGS += "-D_GNU_SOURCE"
diff --git a/meta/packages/xorg-lib/libx11-sdk_git.bb b/meta/packages/xorg-lib/libx11-sdk_git.bb
index 904ca4d63..04558d2ad 100644
--- a/meta/packages/xorg-lib/libx11-sdk_git.bb
+++ b/meta/packages/xorg-lib/libx11-sdk_git.bb
@@ -1,11 +1,9 @@
-require libx11_${PV}.bb
-
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11-git"
+require libx11.inc
+require libx11_git.inc
DEPENDS = "xproto-sdk xextproto-sdk libxau-sdk xtrans-sdk libxdmcp-sdk xcmiscproto-sdk xf86bigfontproto-sdk kbproto-sdk inputproto-sdk bigreqsproto-sdk util-macros-sdk xproto-native"
PROVIDES = ""
-PV = "1.1.99.1+gitr${SRCREV}"
-inherit sdk
+EXTRA_OECONF += "--without-xcb"
-EXTRA_OECONF += "--without-xcb --disable-udc --disable-xcms --disable-xlocale"
+inherit sdk
diff --git a/meta/packages/xorg-lib/libx11-trim_git.bb b/meta/packages/xorg-lib/libx11-trim_git.bb
index be0af38db..45ec225b4 100644
--- a/meta/packages/xorg-lib/libx11-trim_git.bb
+++ b/meta/packages/xorg-lib/libx11-trim_git.bb
@@ -1,18 +1,10 @@
require libx11.inc
-PV = "1.1.99.1+gitr${SRCREV}"
-PR = "r1"
-
-SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libX11;protocol=git"
-S = "${WORKDIR}/git"
+require libx11_git.inc
-SRC_URI += "file://x11_disable_makekeys.patch;patch=1 \
- file://include_fix.patch;patch=1"
+PR = "r1"
DEPENDS += "libxcb xproto xextproto xtrans libxau kbproto inputproto xf86bigfontproto xproto-native"
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11-git"
-
EXTRA_OECONF += "--disable-xcms --with-xcb"
CFLAGS += "-D_GNU_SOURCE"
-FILESPATH = "${FILE_DIRNAME}/libx11-git"
diff --git a/meta/packages/xorg-lib/libx11_git.bb b/meta/packages/xorg-lib/libx11_git.bb
index f1aeb00ac..b4278ffc2 100644
--- a/meta/packages/xorg-lib/libx11_git.bb
+++ b/meta/packages/xorg-lib/libx11_git.bb
@@ -1,11 +1,8 @@
-DEFAULT_PREFERENCE = "-1"
-
require libx11.inc
+require libx11_git.inc
DEPENDS = "xproto xextproto xcmiscproto xf86bigfontproto kbproto inputproto \
bigreqsproto xtrans libxau libxcb libxdmcp util-macros"
-PV = "1.1.99.1+gitr${SRCREV}"
-SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libX11;protocol=git"
-S = "${WORKDIR}/git"
+DEFAULT_PREFERENCE = "-1"
diff --git a/meta/packages/xorg-lib/libx11_git.inc b/meta/packages/xorg-lib/libx11_git.inc
new file mode 100644
index 000000000..194954452
--- /dev/null
+++ b/meta/packages/xorg-lib/libx11_git.inc
@@ -0,0 +1,10 @@
+PV = "1.1.99.1+gitr${SRCREV}"
+
+SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libX11;protocol=git"
+S = "${WORKDIR}/git"
+
+SRC_URI += "file://x11_disable_makekeys.patch;patch=1 \
+ file://include_fix.patch;patch=1"
+
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11-git"
+FILESPATH = "${FILE_DIRNAME}/libx11-git"