diff options
author | Richard Purdie <richard@openedhand.com> | 2008-10-17 09:33:46 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-10-17 09:33:46 +0000 |
commit | 8c32e370ef5fb765f9151d4803cae1ea27fca06b (patch) | |
tree | cc93383e907b877b3702e0b0f64784b9abc6cd46 /meta/packages/xorg-lib | |
parent | da303793d07ba84e3cf6fc8dc56ace8da018327e (diff) | |
download | poky-8c32e370ef5fb765f9151d4803cae1ea27fca06b.tar.gz |
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
Diffstat (limited to 'meta/packages/xorg-lib')
-rw-r--r-- | meta/packages/xorg-lib/libx11-diet_git.bb | 11 | ||||
-rw-r--r-- | meta/packages/xorg-lib/libx11-sdk_git.bb | 10 | ||||
-rw-r--r-- | meta/packages/xorg-lib/libx11-trim_git.bb | 12 | ||||
-rw-r--r-- | meta/packages/xorg-lib/libx11_git.bb | 7 | ||||
-rw-r--r-- | meta/packages/xorg-lib/libx11_git.inc | 10 |
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 220df234d2..d1f0a753fa 100644 --- a/meta/packages/xorg-lib/libx11-diet_git.bb +++ b/meta/packages/xorg-lib/libx11-diet_git.bb | |||
@@ -1,19 +1,12 @@ | |||
1 | require libx11.inc | 1 | require libx11.inc |
2 | PV = "1.1.99.1+gitr${SRCREV}" | 2 | require libx11_git.inc |
3 | 3 | ||
4 | SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libX11;protocol=git" | 4 | SRC_URI += "file://X18NCMSstubs.diff;patch=1 \ |
5 | S = "${WORKDIR}/git" | ||
6 | |||
7 | SRC_URI += "file://x11_disable_makekeys.patch;patch=1 \ | ||
8 | file://include_fix.patch;patch=1 \ | ||
9 | file://X18NCMSstubs.diff;patch=1 \ | ||
10 | file://fix-disable-xlocale.diff;patch=1 \ | 5 | file://fix-disable-xlocale.diff;patch=1 \ |
11 | file://fix-utf8-wrong-define.patch;patch=1" | 6 | file://fix-utf8-wrong-define.patch;patch=1" |
12 | 7 | ||
13 | DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \ | 8 | DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \ |
14 | libxdmcp xf86bigfontproto kbproto inputproto xproto-native" | 9 | libxdmcp xf86bigfontproto kbproto inputproto xproto-native" |
15 | 10 | ||
16 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11-git" | ||
17 | |||
18 | EXTRA_OECONF += "--without-xcb --disable-udc --disable-xcms --disable-xlocale" | 11 | EXTRA_OECONF += "--without-xcb --disable-udc --disable-xcms --disable-xlocale" |
19 | CFLAGS += "-D_GNU_SOURCE" | 12 | 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 904ca4d636..04558d2ad6 100644 --- a/meta/packages/xorg-lib/libx11-sdk_git.bb +++ b/meta/packages/xorg-lib/libx11-sdk_git.bb | |||
@@ -1,11 +1,9 @@ | |||
1 | require libx11_${PV}.bb | 1 | require libx11.inc |
2 | 2 | require libx11_git.inc | |
3 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11-git" | ||
4 | 3 | ||
5 | 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" | 4 | 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" |
6 | PROVIDES = "" | 5 | PROVIDES = "" |
7 | PV = "1.1.99.1+gitr${SRCREV}" | ||
8 | 6 | ||
9 | inherit sdk | 7 | EXTRA_OECONF += "--without-xcb" |
10 | 8 | ||
11 | EXTRA_OECONF += "--without-xcb --disable-udc --disable-xcms --disable-xlocale" | 9 | inherit sdk |
diff --git a/meta/packages/xorg-lib/libx11-trim_git.bb b/meta/packages/xorg-lib/libx11-trim_git.bb index be0af38dbd..45ec225b43 100644 --- a/meta/packages/xorg-lib/libx11-trim_git.bb +++ b/meta/packages/xorg-lib/libx11-trim_git.bb | |||
@@ -1,18 +1,10 @@ | |||
1 | require libx11.inc | 1 | require libx11.inc |
2 | PV = "1.1.99.1+gitr${SRCREV}" | 2 | require libx11_git.inc |
3 | PR = "r1" | ||
4 | |||
5 | SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libX11;protocol=git" | ||
6 | S = "${WORKDIR}/git" | ||
7 | 3 | ||
8 | SRC_URI += "file://x11_disable_makekeys.patch;patch=1 \ | 4 | PR = "r1" |
9 | file://include_fix.patch;patch=1" | ||
10 | 5 | ||
11 | DEPENDS += "libxcb xproto xextproto xtrans libxau kbproto inputproto xf86bigfontproto xproto-native" | 6 | DEPENDS += "libxcb xproto xextproto xtrans libxau kbproto inputproto xf86bigfontproto xproto-native" |
12 | 7 | ||
13 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11-git" | ||
14 | |||
15 | EXTRA_OECONF += "--disable-xcms --with-xcb" | 8 | EXTRA_OECONF += "--disable-xcms --with-xcb" |
16 | CFLAGS += "-D_GNU_SOURCE" | 9 | CFLAGS += "-D_GNU_SOURCE" |
17 | 10 | ||
18 | FILESPATH = "${FILE_DIRNAME}/libx11-git" | ||
diff --git a/meta/packages/xorg-lib/libx11_git.bb b/meta/packages/xorg-lib/libx11_git.bb index f1aeb00ac5..b4278ffc27 100644 --- a/meta/packages/xorg-lib/libx11_git.bb +++ b/meta/packages/xorg-lib/libx11_git.bb | |||
@@ -1,11 +1,8 @@ | |||
1 | DEFAULT_PREFERENCE = "-1" | ||
2 | |||
3 | require libx11.inc | 1 | require libx11.inc |
2 | require libx11_git.inc | ||
4 | 3 | ||
5 | DEPENDS = "xproto xextproto xcmiscproto xf86bigfontproto kbproto inputproto \ | 4 | DEPENDS = "xproto xextproto xcmiscproto xf86bigfontproto kbproto inputproto \ |
6 | bigreqsproto xtrans libxau libxcb libxdmcp util-macros" | 5 | bigreqsproto xtrans libxau libxcb libxdmcp util-macros" |
7 | PV = "1.1.99.1+gitr${SRCREV}" | ||
8 | 6 | ||
9 | SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libX11;protocol=git" | 7 | DEFAULT_PREFERENCE = "-1" |
10 | S = "${WORKDIR}/git" | ||
11 | 8 | ||
diff --git a/meta/packages/xorg-lib/libx11_git.inc b/meta/packages/xorg-lib/libx11_git.inc new file mode 100644 index 0000000000..1949544528 --- /dev/null +++ b/meta/packages/xorg-lib/libx11_git.inc | |||
@@ -0,0 +1,10 @@ | |||
1 | PV = "1.1.99.1+gitr${SRCREV}" | ||
2 | |||
3 | SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libX11;protocol=git" | ||
4 | S = "${WORKDIR}/git" | ||
5 | |||
6 | SRC_URI += "file://x11_disable_makekeys.patch;patch=1 \ | ||
7 | file://include_fix.patch;patch=1" | ||
8 | |||
9 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11-git" | ||
10 | FILESPATH = "${FILE_DIRNAME}/libx11-git" | ||