diff options
Diffstat (limited to 'meta/recipes-graphics/xcb')
-rw-r--r-- | meta/recipes-graphics/xcb/libpthread-stubs_0.3.bb | 19 | ||||
-rw-r--r-- | meta/recipes-graphics/xcb/libxcb.inc | 53 | ||||
-rw-r--r-- | meta/recipes-graphics/xcb/libxcb/xcbincludedir.patch | 11 | ||||
-rw-r--r-- | meta/recipes-graphics/xcb/libxcb_1.1.91.bb | 6 | ||||
-rw-r--r-- | meta/recipes-graphics/xcb/libxcb_1.6.bb | 10 | ||||
-rw-r--r-- | meta/recipes-graphics/xcb/libxcb_git.bb | 11 | ||||
-rw-r--r-- | meta/recipes-graphics/xcb/xcb-proto.inc | 18 | ||||
-rw-r--r-- | meta/recipes-graphics/xcb/xcb-proto_1.6.bb | 7 | ||||
-rw-r--r-- | meta/recipes-graphics/xcb/xcb-proto_git.bb | 8 | ||||
-rw-r--r-- | meta/recipes-graphics/xcb/xcb-util.inc | 30 | ||||
-rw-r--r-- | meta/recipes-graphics/xcb/xcb-util_0.3.6.bb | 15 |
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 @@ | |||
1 | DESCRIPTION = "This library provides weak aliases for pthread functions \ | ||
2 | not provided in libc or otherwise available by default." | ||
3 | HOMEPAGE = "http://xcb.freedesktop.org" | ||
4 | BUGTRACKER = "http://bugs.freedesktop.org/buglist.cgi?product=XCB" | ||
5 | SECTION = "x11/libs" | ||
6 | LICENSE = "MIT" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=6edc1fea03d959f0c2d743fe5ca746ad" | ||
8 | PR = "r0" | ||
9 | |||
10 | PARALLEL_MAKE = "" | ||
11 | #DEPENDS = "xcb-proto xproto libxau libxslt-native" | ||
12 | # DEPENDS += "xsltproc-native gperf-native" | ||
13 | |||
14 | SRC_URI = "http://xcb.freedesktop.org/dist/libpthread-stubs-${PV}.tar.bz2" | ||
15 | |||
16 | inherit autotools pkgconfig | ||
17 | |||
18 | RDEPENDS_${PN}-dev = "" | ||
19 | RRECOMMENDS_${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 @@ | |||
1 | DESCRIPTION = "XCB: an X protocol C binding" | ||
2 | HOMEPAGE = "http://xcb.freedesktop.org" | ||
3 | BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB" | ||
4 | |||
5 | SECTION = "x11/libs" | ||
6 | LICENSE = "MIT-X" | ||
7 | |||
8 | PARALLEL_MAKE = "" | ||
9 | DEPENDS = "xcb-proto xproto libxau libxslt-native xcb-proto-native" | ||
10 | # DEPENDS += "xsltproc-native gperf-native" | ||
11 | |||
12 | SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2" | ||
13 | # file://xcbincludedir.patch;patch=1" | ||
14 | |||
15 | PACKAGES =+ "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 | |||
21 | FILES_${PN} = "${libdir}/libxcb.so.*" | ||
22 | #FILES_${PN}-dev = "${libdir}/libxcb.* ${libdir}/pkgconfig/*.pc ${includedir}/xcb/*.h" | ||
23 | FILES_libxcb-composite = "${libdir}/libxcb-composite.so.*" | ||
24 | FILES_libxcb-damage = "${libdir}/libxcb-damage.so.*" | ||
25 | FILES_libxcb-dpms = "${libdir}/libxcb-dpms.so.*" | ||
26 | FILES_libxcb-glx = "${libdir}/libxcb-glx.so.*" | ||
27 | FILES_libxcb-randr = "${libdir}/libxcb-randr.so.*" | ||
28 | FILES_libxcb-record = "${libdir}/libxcb-record.so.*" | ||
29 | FILES_libxcb-render = "${libdir}/libxcb-render.so.*" | ||
30 | FILES_libxcb-res = "${libdir}/libxcb-res.so.*" | ||
31 | FILES_libxcb-screensaver = "${libdir}/libxcb-screensaver.so.*" | ||
32 | FILES_libxcb-shape = "${libdir}/libxcb-shape.so.*" | ||
33 | FILES_libxcb-shm = "${libdir}/libxcb-shm.so.*" | ||
34 | FILES_libxcb-sync = "${libdir}/libxcb-sync.so.*" | ||
35 | FILES_libxcb-xevie = "${libdir}/libxcb-xevie.so.*" | ||
36 | FILES_libxcb-xf86dri = "${libdir}/libxcb-xf86dri.so.*" | ||
37 | FILES_libxcb-xfixes = "${libdir}/libxcb-xfixes.so.*" | ||
38 | FILES_libxcb-xinerama = "${libdir}/libxcb-xinerama.so.*" | ||
39 | FILES_libxcb-xlib = "${libdir}/libxcb-xlib.so.*" | ||
40 | FILES_libxcb-xprint = "${libdir}/libxcb-xprint.so.*" | ||
41 | FILES_libxcb-xtest = "${libdir}/libxcb-xtest.so.*" | ||
42 | FILES_libxcb-xv = "${libdir}/libxcb-xv.so.*" | ||
43 | FILES_libxcb-xvmc = "${libdir}/libxcb-xvmc.so.*" | ||
44 | |||
45 | inherit 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: | ||
50 | do_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 @@ | |||
1 | include libxcb.inc | ||
2 | PR = "r1" | ||
3 | |||
4 | DEPENDS += "libpthread-stubs xcb-proto-native" | ||
5 | |||
6 | PACKAGES =+ "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 @@ | |||
1 | include libxcb.inc | ||
2 | |||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7" | ||
5 | |||
6 | PR = "r0" | ||
7 | |||
8 | DEPENDS += "libpthread-stubs xcb-proto-native" | ||
9 | |||
10 | PACKAGES =+ "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 @@ | |||
1 | DEFAULT_PREFERENCE = "-1" | ||
2 | |||
3 | include libxcb.inc | ||
4 | PV = "1.1.90.1+gitr${SRCREV}" | ||
5 | |||
6 | DEPENDS += "libpthread-stubs xcb-proto-native" | ||
7 | |||
8 | SRC_URI = "git://anongit.freedesktop.org/git/xcb/libxcb;protocol=git" | ||
9 | S = "${WORKDIR}/git" | ||
10 | |||
11 | PACKAGES =+ "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 @@ | |||
1 | DESCRIPTION = "XCB: an X protocol C binding" | ||
2 | HOMEPAGE = "http://xcb.freedesktop.org" | ||
3 | BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB" | ||
4 | |||
5 | SECTION = "x11/libs" | ||
6 | LICENSE = "MIT-X" | ||
7 | |||
8 | SRC_URI = "http://xcb.freedesktop.org/dist/xcb-proto-${PV}.tar.bz2" | ||
9 | |||
10 | inherit autotools pkgconfig | ||
11 | |||
12 | FILES_${PN}-dev += "${datadir}/xcb/*.xml" | ||
13 | |||
14 | RDEPENDS_${PN}-dev = "" | ||
15 | RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})" | ||
16 | |||
17 | DEPENDS_append_virtclass-native = " python-native" | ||
18 | BBCLASSEXTEND = "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 @@ | |||
1 | include xcb-proto.inc | ||
2 | |||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7 \ | ||
5 | file://src/dri2.xml;beginline=2;endline=28;md5=f8763b13ff432e8597e0d610cf598e65" | ||
6 | |||
7 | PR = "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 @@ | |||
1 | DEFAULT_PREFERENCE = "-1" | ||
2 | |||
3 | include xcb-proto.inc | ||
4 | PV = "1.2+gitr${SRCREV}" | ||
5 | PR = "r1" | ||
6 | |||
7 | SRC_URI = "git://anongit.freedesktop.org/git/xcb/proto;protocol=git" | ||
8 | S = "${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 @@ | |||
1 | DESCRIPTION = "XCB: an X protocol C binding" | ||
2 | HOMEPAGE = "http://xcb.freedesktop.org/XcbUtil/" | ||
3 | BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB" | ||
4 | |||
5 | LICENSE = "MIT" | ||
6 | |||
7 | SECTION = "x11/libs" | ||
8 | |||
9 | DEPENDS = "libxcb" | ||
10 | DEPENDS += "gperf-native" | ||
11 | |||
12 | PARALLEL_MAKE = "" | ||
13 | |||
14 | SRC_URI = "http://xcb.freedesktop.org/dist/xcb-util-${PV}.tar.bz2" | ||
15 | |||
16 | PACKAGES =+ "libxcbatom libxcbaux libxcbevent libxcbicccm \ | ||
17 | libxcbimage libxcbkeysyms libxcbproperty \ | ||
18 | libxcbreply libxcbwm" | ||
19 | |||
20 | FILES_libxcbatom = "${libdir}/libXCBAtom.so.*" | ||
21 | FILES_libxcbaux = "${libdir}/libXCBAux.so.*" | ||
22 | FILES_libxcbevent = "${libdir}/libXCBEvent.so.*" | ||
23 | FILES_libxcbicccm = "${libdir}/libXCBICCCM.so.*" | ||
24 | FILES_libxcbimage = "${libdir}/libXCBImage.so.*" | ||
25 | FILES_libxcbkeysyms = "${libdir}/libXCBKeysyms.so.*" | ||
26 | FILES_libxcbproperty = "${libdir}/libXCBProperty.so.*" | ||
27 | FILES_libxcbreply = "${libdir}/libXCBReply.so.*" | ||
28 | FILES_libxcbwm = "${libdir}/libXCBWM.so.*" | ||
29 | |||
30 | inherit 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 @@ | |||
1 | require xcb-util.inc | ||
2 | |||
3 | LICENSE = "MIT" | ||
4 | LIC_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 | |||
14 | PR = "r0" | ||
15 | |||