summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xcb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-graphics/xcb
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-graphics/xcb')
-rw-r--r--meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb19
-rw-r--r--meta/recipes-graphics/xcb/libxcb.inc53
-rw-r--r--meta/recipes-graphics/xcb/libxcb/xcbincludedir.patch11
-rw-r--r--meta/recipes-graphics/xcb/libxcb_1.1.91.bb6
-rw-r--r--meta/recipes-graphics/xcb/libxcb_1.6.bb10
-rw-r--r--meta/recipes-graphics/xcb/libxcb_git.bb11
-rw-r--r--meta/recipes-graphics/xcb/xcb-proto.inc18
-rw-r--r--meta/recipes-graphics/xcb/xcb-proto_1.6.bb7
-rw-r--r--meta/recipes-graphics/xcb/xcb-proto_git.bb8
-rw-r--r--meta/recipes-graphics/xcb/xcb-util.inc30
-rw-r--r--meta/recipes-graphics/xcb/xcb-util_0.3.6.bb15
11 files changed, 188 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb b/meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb
new file mode 100644
index 0000000000..8ded7a0747
--- /dev/null
+++ b/meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb
@@ -0,0 +1,19 @@
1DESCRIPTION = "This library provides weak aliases for pthread functions \
2not provided in libc or otherwise available by default."
3HOMEPAGE = "http://xcb.freedesktop.org"
4BUGTRACKER = "http://bugs.freedesktop.org/buglist.cgi?product=XCB"
5SECTION = "x11/libs"
6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://COPYING;md5=6edc1fea03d959f0c2d743fe5ca746ad"
8PR = "r0"
9
10PARALLEL_MAKE = ""
11#DEPENDS = "xcb-proto xproto libxau libxslt-native"
12# DEPENDS += "xsltproc-native gperf-native"
13
14SRC_URI = "http://xcb.freedesktop.org/dist/libpthread-stubs-${PV}.tar.bz2"
15
16inherit autotools pkgconfig
17
18RDEPENDS_${PN}-dev = ""
19RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})"
diff --git a/meta/recipes-graphics/xcb/libxcb.inc b/meta/recipes-graphics/xcb/libxcb.inc
new file mode 100644
index 0000000000..37d1f86339
--- /dev/null
+++ b/meta/recipes-graphics/xcb/libxcb.inc
@@ -0,0 +1,53 @@
1DESCRIPTION = "XCB: an X protocol C binding"
2HOMEPAGE = "http://xcb.freedesktop.org"
3BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB"
4
5SECTION = "x11/libs"
6LICENSE = "MIT-X"
7
8PARALLEL_MAKE = ""
9DEPENDS = "xcb-proto xproto libxau libxslt-native xcb-proto-native"
10# DEPENDS += "xsltproc-native gperf-native"
11
12SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2"
13# file://xcbincludedir.patch;patch=1"
14
15PACKAGES =+ "libxcb-composite libxcb-damage libxcb-dpms libxcb-glx \
16 libxcb-randr libxcb-record libxcb-render libxcb-res \
17 libxcb-screensaver libxcb-shape libxcb-shm libxcb-sync \
18 libxcb-xevie libxcb-xf86dri libxcb-xfixes libxcb-xlib \
19 libxcb-xprint libxcb-xtest libxcb-xv libxcb-xvmc"
20
21FILES_${PN} = "${libdir}/libxcb.so.*"
22#FILES_${PN}-dev = "${libdir}/libxcb.* ${libdir}/pkgconfig/*.pc ${includedir}/xcb/*.h"
23FILES_libxcb-composite = "${libdir}/libxcb-composite.so.*"
24FILES_libxcb-damage = "${libdir}/libxcb-damage.so.*"
25FILES_libxcb-dpms = "${libdir}/libxcb-dpms.so.*"
26FILES_libxcb-glx = "${libdir}/libxcb-glx.so.*"
27FILES_libxcb-randr = "${libdir}/libxcb-randr.so.*"
28FILES_libxcb-record = "${libdir}/libxcb-record.so.*"
29FILES_libxcb-render = "${libdir}/libxcb-render.so.*"
30FILES_libxcb-res = "${libdir}/libxcb-res.so.*"
31FILES_libxcb-screensaver = "${libdir}/libxcb-screensaver.so.*"
32FILES_libxcb-shape = "${libdir}/libxcb-shape.so.*"
33FILES_libxcb-shm = "${libdir}/libxcb-shm.so.*"
34FILES_libxcb-sync = "${libdir}/libxcb-sync.so.*"
35FILES_libxcb-xevie = "${libdir}/libxcb-xevie.so.*"
36FILES_libxcb-xf86dri = "${libdir}/libxcb-xf86dri.so.*"
37FILES_libxcb-xfixes = "${libdir}/libxcb-xfixes.so.*"
38FILES_libxcb-xinerama = "${libdir}/libxcb-xinerama.so.*"
39FILES_libxcb-xlib = "${libdir}/libxcb-xlib.so.*"
40FILES_libxcb-xprint = "${libdir}/libxcb-xprint.so.*"
41FILES_libxcb-xtest = "${libdir}/libxcb-xtest.so.*"
42FILES_libxcb-xv = "${libdir}/libxcb-xv.so.*"
43FILES_libxcb-xvmc = "${libdir}/libxcb-xvmc.so.*"
44
45inherit autotools pkgconfig
46
47# XCBPROTO_XCBINCLUDEDIR is setup based on `pkg-config --variable=xcbincludedir xcb-proto`
48# but the xcbincludedir variable doesn't point into the staging area, so it needs some
49# tweeking here:
50do_configure_prepend () {
51 sed -i "s|XCBPROTO_XCBINCLUDEDIR=|XCBPROTO_XCBINCLUDEDIR=${STAGING_DIR_HOST}/|" \
52 ${S}/configure.ac
53}
diff --git a/meta/recipes-graphics/xcb/libxcb/xcbincludedir.patch b/meta/recipes-graphics/xcb/libxcb/xcbincludedir.patch
new file mode 100644
index 0000000000..cef635096e
--- /dev/null
+++ b/meta/recipes-graphics/xcb/libxcb/xcbincludedir.patch
@@ -0,0 +1,11 @@
1--- libxcb-1.0.orig/configure.ac 2006-11-23 15:33:01.000000000 +0000
2+++ libxcb-1.0/configure.ac 2008-09-10 20:29:12.000000000 +0100
3@@ -50,7 +50,7 @@
4
5 # Find the xcb-proto protocol descriptions
6 AC_MSG_CHECKING(XCBPROTO_XCBINCLUDEDIR)
7-XCBPROTO_XCBINCLUDEDIR=`$PKG_CONFIG --variable=xcbincludedir xcb-proto`
8+XCBPROTO_XCBINCLUDEDIR=$PKG_CONFIG_SYSROOT_DIR/`$PKG_CONFIG --variable=xcbincludedir xcb-proto`
9 AC_MSG_RESULT($XCBPROTO_XCBINCLUDEDIR)
10 AC_SUBST(XCBPROTO_XCBINCLUDEDIR)
11
diff --git a/meta/recipes-graphics/xcb/libxcb_1.1.91.bb b/meta/recipes-graphics/xcb/libxcb_1.1.91.bb
new file mode 100644
index 0000000000..ae0cc5761d
--- /dev/null
+++ b/meta/recipes-graphics/xcb/libxcb_1.1.91.bb
@@ -0,0 +1,6 @@
1include libxcb.inc
2PR = "r1"
3
4DEPENDS += "libpthread-stubs xcb-proto-native"
5
6PACKAGES =+ "libxcb-xinerama"
diff --git a/meta/recipes-graphics/xcb/libxcb_1.6.bb b/meta/recipes-graphics/xcb/libxcb_1.6.bb
new file mode 100644
index 0000000000..fc80927be6
--- /dev/null
+++ b/meta/recipes-graphics/xcb/libxcb_1.6.bb
@@ -0,0 +1,10 @@
1include libxcb.inc
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7"
5
6PR = "r0"
7
8DEPENDS += "libpthread-stubs xcb-proto-native"
9
10PACKAGES =+ "libxcb-xinerama"
diff --git a/meta/recipes-graphics/xcb/libxcb_git.bb b/meta/recipes-graphics/xcb/libxcb_git.bb
new file mode 100644
index 0000000000..b9ac073410
--- /dev/null
+++ b/meta/recipes-graphics/xcb/libxcb_git.bb
@@ -0,0 +1,11 @@
1DEFAULT_PREFERENCE = "-1"
2
3include libxcb.inc
4PV = "1.1.90.1+gitr${SRCREV}"
5
6DEPENDS += "libpthread-stubs xcb-proto-native"
7
8SRC_URI = "git://anongit.freedesktop.org/git/xcb/libxcb;protocol=git"
9S = "${WORKDIR}/git"
10
11PACKAGES =+ "libxcb-xinerama"
diff --git a/meta/recipes-graphics/xcb/xcb-proto.inc b/meta/recipes-graphics/xcb/xcb-proto.inc
new file mode 100644
index 0000000000..2e1810f6f2
--- /dev/null
+++ b/meta/recipes-graphics/xcb/xcb-proto.inc
@@ -0,0 +1,18 @@
1DESCRIPTION = "XCB: an X protocol C binding"
2HOMEPAGE = "http://xcb.freedesktop.org"
3BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB"
4
5SECTION = "x11/libs"
6LICENSE = "MIT-X"
7
8SRC_URI = "http://xcb.freedesktop.org/dist/xcb-proto-${PV}.tar.bz2"
9
10inherit autotools pkgconfig
11
12FILES_${PN}-dev += "${datadir}/xcb/*.xml"
13
14RDEPENDS_${PN}-dev = ""
15RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})"
16
17DEPENDS_append_virtclass-native = " python-native"
18BBCLASSEXTEND = "native"
diff --git a/meta/recipes-graphics/xcb/xcb-proto_1.6.bb b/meta/recipes-graphics/xcb/xcb-proto_1.6.bb
new file mode 100644
index 0000000000..a367b7cacf
--- /dev/null
+++ b/meta/recipes-graphics/xcb/xcb-proto_1.6.bb
@@ -0,0 +1,7 @@
1include xcb-proto.inc
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7 \
5 file://src/dri2.xml;beginline=2;endline=28;md5=f8763b13ff432e8597e0d610cf598e65"
6
7PR = "r0"
diff --git a/meta/recipes-graphics/xcb/xcb-proto_git.bb b/meta/recipes-graphics/xcb/xcb-proto_git.bb
new file mode 100644
index 0000000000..b96fc121c5
--- /dev/null
+++ b/meta/recipes-graphics/xcb/xcb-proto_git.bb
@@ -0,0 +1,8 @@
1DEFAULT_PREFERENCE = "-1"
2
3include xcb-proto.inc
4PV = "1.2+gitr${SRCREV}"
5PR = "r1"
6
7SRC_URI = "git://anongit.freedesktop.org/git/xcb/proto;protocol=git"
8S = "${WORKDIR}/git"
diff --git a/meta/recipes-graphics/xcb/xcb-util.inc b/meta/recipes-graphics/xcb/xcb-util.inc
new file mode 100644
index 0000000000..6bda3d0bfa
--- /dev/null
+++ b/meta/recipes-graphics/xcb/xcb-util.inc
@@ -0,0 +1,30 @@
1DESCRIPTION = "XCB: an X protocol C binding"
2HOMEPAGE = "http://xcb.freedesktop.org/XcbUtil/"
3BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB"
4
5LICENSE = "MIT"
6
7SECTION = "x11/libs"
8
9DEPENDS = "libxcb"
10DEPENDS += "gperf-native"
11
12PARALLEL_MAKE = ""
13
14SRC_URI = "http://xcb.freedesktop.org/dist/xcb-util-${PV}.tar.bz2"
15
16PACKAGES =+ "libxcbatom libxcbaux libxcbevent libxcbicccm \
17 libxcbimage libxcbkeysyms libxcbproperty \
18 libxcbreply libxcbwm"
19
20FILES_libxcbatom = "${libdir}/libXCBAtom.so.*"
21FILES_libxcbaux = "${libdir}/libXCBAux.so.*"
22FILES_libxcbevent = "${libdir}/libXCBEvent.so.*"
23FILES_libxcbicccm = "${libdir}/libXCBICCCM.so.*"
24FILES_libxcbimage = "${libdir}/libXCBImage.so.*"
25FILES_libxcbkeysyms = "${libdir}/libXCBKeysyms.so.*"
26FILES_libxcbproperty = "${libdir}/libXCBProperty.so.*"
27FILES_libxcbreply = "${libdir}/libXCBReply.so.*"
28FILES_libxcbwm = "${libdir}/libXCBWM.so.*"
29
30inherit autotools pkgconfig
diff --git a/meta/recipes-graphics/xcb/xcb-util_0.3.6.bb b/meta/recipes-graphics/xcb/xcb-util_0.3.6.bb
new file mode 100644
index 0000000000..b0e50d85c3
--- /dev/null
+++ b/meta/recipes-graphics/xcb/xcb-util_0.3.6.bb
@@ -0,0 +1,15 @@
1require xcb-util.inc
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://xcb-util-common.h;endline=30;md5=6c74595925fd773cc8cf387ff7bc53c7 \
5 file://reply/reply.c;endline=27;md5=f9a1d6b55bba632d349949cbf33cd635 \
6 file://aux/xcb_aux.c;endline=30;md5=ae305b9c2a38f9ba27060191046a6460 \
7 file://renderutil/xcb_renderutil.h;endline=24;md5=d0ddab3052dd4949c93cfcb0891c96df \
8 file://event/xcb_event.h;endline=27;md5=627be355aee59e1b8ade80d5bd90fad9 \
9 file://property/xcb_property.h;endline=27;md5=f5890866ee0c655c36ef1c6c738fee6b \
10 file://keysyms/keysyms.c;endline=30;md5=2f8de023ed823bb92f0b47900574ea9e \
11 file://image/xcb_pixel.h;beginline=4;endline=27;md5=48cd25ae55e7de525fe1e1a3a7672e1c"
12
13
14PR = "r0"
15