summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-lib
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
commit972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch)
tree97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-graphics/xorg-lib
downloadpoky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-graphics/xorg-lib')
-rw-r--r--meta/recipes-graphics/xorg-lib/libdmx_1.1.3.bb20
-rw-r--r--meta/recipes-graphics/xorg-lib/libfontenc_1.1.2.bb17
-rw-r--r--meta/recipes-graphics/xorg-lib/libice_1.0.9.bb27
-rw-r--r--meta/recipes-graphics/xorg-lib/libpciaccess_0.13.2.bb14
-rw-r--r--meta/recipes-graphics/xorg-lib/libpthread-stubs_0.3.bb26
-rw-r--r--meta/recipes-graphics/xorg-lib/libsm_1.2.2.bb23
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11-diet_1.6.2.bb19
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11.inc41
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11/X18NCMSstubs.diff520
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11/disable_tests.patch22
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11/fix-disable-xlocale.diff17
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11/fix-utf8-wrong-define.patch19
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11/libX11-Add-missing-NULL-check.patch72
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11/nls-always-use-XCOMM-instead-of-for-comments-in-Comp.patch101
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11_1.6.2.bb12
-rw-r--r--meta/recipes-graphics/xorg-lib/libxau_1.0.8.bb24
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcalibrate/fix-xcb.patch29
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcalibrate_git.bb22
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcb.inc27
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcb/disable-check.patch25
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcb/ensure-xcb-owns-socket-and-no-other-threads-are-writ.patch121
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcb/xcbincludedir.patch28
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcb_1.10.bb13
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcb_git.bb10
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcomposite/change-include-order.patch18
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcomposite_0.4.4.bb28
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb22
-rw-r--r--meta/recipes-graphics/xorg-lib/libxdamage_1.1.4.bb28
-rw-r--r--meta/recipes-graphics/xorg-lib/libxdmcp_1.1.1.bb26
-rw-r--r--meta/recipes-graphics/xorg-lib/libxext_1.3.2.bb26
-rw-r--r--meta/recipes-graphics/xorg-lib/libxext_git.bb24
-rw-r--r--meta/recipes-graphics/xorg-lib/libxfixes_5.0.1.bb22
-rw-r--r--meta/recipes-graphics/xorg-lib/libxfont_1.5.0.bb22
-rw-r--r--meta/recipes-graphics/xorg-lib/libxft_2.3.2.bb33
-rw-r--r--meta/recipes-graphics/xorg-lib/libxi_1.7.4.bb21
-rw-r--r--meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb20
-rw-r--r--meta/recipes-graphics/xorg-lib/libxkbcommon_0.4.3.bb20
-rw-r--r--meta/recipes-graphics/xorg-lib/libxkbfile_1.0.8.bb18
-rw-r--r--meta/recipes-graphics/xorg-lib/libxmu_1.1.2.bb33
-rw-r--r--meta/recipes-graphics/xorg-lib/libxpm_3.5.11.bb27
-rw-r--r--meta/recipes-graphics/xorg-lib/libxrandr_1.4.2.bb23
-rw-r--r--meta/recipes-graphics/xorg-lib/libxrender_0.9.8.bb23
-rw-r--r--meta/recipes-graphics/xorg-lib/libxres_1.0.7.bb20
-rw-r--r--meta/recipes-graphics/xorg-lib/libxscrnsaver_1.2.2.bb23
-rw-r--r--meta/recipes-graphics/xorg-lib/libxshmfence_1.1.bb17
-rw-r--r--meta/recipes-graphics/xorg-lib/libxt/libxt_fix_for_x32.patch19
-rw-r--r--meta/recipes-graphics/xorg-lib/libxt_1.1.4.bb44
-rw-r--r--meta/recipes-graphics/xorg-lib/libxtst_1.2.2.bb20
-rw-r--r--meta/recipes-graphics/xorg-lib/libxv_1.0.10.bb18
-rw-r--r--meta/recipes-graphics/xorg-lib/libxvmc_1.0.8.bb19
-rw-r--r--meta/recipes-graphics/xorg-lib/libxxf86dga_1.1.4.bb19
-rw-r--r--meta/recipes-graphics/xorg-lib/libxxf86misc_1.0.3.bb20
-rw-r--r--meta/recipes-graphics/xorg-lib/libxxf86vm_1.1.3.bb20
-rw-r--r--meta/recipes-graphics/xorg-lib/pixman/0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch144
-rw-r--r--meta/recipes-graphics/xorg-lib/pixman/mips-export-revert.patch22
-rw-r--r--meta/recipes-graphics/xorg-lib/pixman_0.32.6.bb38
-rw-r--r--meta/recipes-graphics/xorg-lib/xcb-util-image_0.3.9.bb11
-rw-r--r--meta/recipes-graphics/xorg-lib/xcb-util-keysyms_0.3.9.bb10
-rw-r--r--meta/recipes-graphics/xorg-lib/xcb-util-renderutil_0.3.9.bb10
-rw-r--r--meta/recipes-graphics/xorg-lib/xcb-util-wm_0.4.1.bb11
-rw-r--r--meta/recipes-graphics/xorg-lib/xcb-util.inc23
-rw-r--r--meta/recipes-graphics/xorg-lib/xcb-util_0.3.9.bb8
-rw-r--r--meta/recipes-graphics/xorg-lib/xkeyboard-config_2.12.bb31
-rw-r--r--meta/recipes-graphics/xorg-lib/xorg-lib-common.inc26
-rw-r--r--meta/recipes-graphics/xorg-lib/xtrans_1.3.4.bb24
65 files changed, 2280 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libdmx_1.1.3.bb b/meta/recipes-graphics/xorg-lib/libdmx_1.1.3.bb
new file mode 100644
index 0000000000..e623cee421
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libdmx_1.1.3.bb
@@ -0,0 +1,20 @@
1require xorg-lib-common.inc
2
3SUMMARY = "DMX: Distributed Multihead X extension library"
4
5DESCRIPTION = "The DMX extension provides support for communication with \
6and control of Xdmx(1) server. Attributes of the Xdmx(1) server and of \
7the back-end screens attached to the server can be queried and modified \
8via this protocol."
9
10LICENSE = "MIT"
11LIC_FILES_CHKSUM = "file://COPYING;md5=a3c3499231a8035efd0e004cfbd3b72a \
12 file://src/dmx.c;endline=33;md5=c43f19af03c7c8619cadc9724ed9afe1"
13
14DEPENDS += "libxext dmxproto"
15
16PE = "1"
17
18SRC_URI[md5sum] = "ba983eba5a9f05d152a0725b8e863151"
19SRC_URI[sha256sum] = "c97da36d2e56a2d7b6e4f896241785acc95e97eb9557465fd66ba2a155a7b201"
20
diff --git a/meta/recipes-graphics/xorg-lib/libfontenc_1.1.2.bb b/meta/recipes-graphics/xorg-lib/libfontenc_1.1.2.bb
new file mode 100644
index 0000000000..b79ab8fe27
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libfontenc_1.1.2.bb
@@ -0,0 +1,17 @@
1SUMMARY = "X font encoding library"
2
3DESCRIPTION = "libfontenc is a library which helps font libraries \
4portably determine and deal with different encodings of fonts."
5
6require xorg-lib-common.inc
7
8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://COPYING;md5=96254c20ab81c63e65b26f0dbcd4a1c1"
10
11DEPENDS += "zlib xproto font-util"
12PE = "1"
13
14BBCLASSEXTEND = "native"
15
16SRC_URI[md5sum] = "ad2919764933e075bb0361ad5caa3d19"
17SRC_URI[sha256sum] = "a9a4efed3359b2e80161bb66b65038fac145137fa134e71335264cbc23b02f62"
diff --git a/meta/recipes-graphics/xorg-lib/libice_1.0.9.bb b/meta/recipes-graphics/xorg-lib/libice_1.0.9.bb
new file mode 100644
index 0000000000..5049b7ee02
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libice_1.0.9.bb
@@ -0,0 +1,27 @@
1SUMMARY = "ICE: Inter-Client Exchange library"
2
3DESCRIPTION = "The Inter-Client Exchange (ICE) protocol provides a \
4generic framework for building protocols on top of reliable, byte-stream \
5transport connections. It provides basic mechanisms for setting up and \
6shutting down connections, for performing authentication, for \
7negotiating versions, and for reporting errors. "
8
9require xorg-lib-common.inc
10
11LICENSE = "MIT-style"
12LIC_FILES_CHKSUM = "file://COPYING;md5=d162b1b3c6fa812da9d804dcf8584a93"
13
14DEPENDS += "xproto xtrans"
15PROVIDES = "ice"
16
17PE = "1"
18
19XORG_PN = "libICE"
20
21BBCLASSEXTEND = "native"
22
23SRC_URI[md5sum] = "addfb1e897ca8079531669c7c7711726"
24SRC_URI[sha256sum] = "8f7032f2c1c64352b5423f6b48a8ebdc339cc63064af34d66a6c9aa79759e202"
25
26PACKAGECONFIG ??= ""
27PACKAGECONFIG[arc4] = "ac_cv_lib_bsd_arc4random_buf=yes,ac_cv_lib_bsd_arc4random_buf=no,libbsd"
diff --git a/meta/recipes-graphics/xorg-lib/libpciaccess_0.13.2.bb b/meta/recipes-graphics/xorg-lib/libpciaccess_0.13.2.bb
new file mode 100644
index 0000000000..d837bbd047
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libpciaccess_0.13.2.bb
@@ -0,0 +1,14 @@
1SUMMARY = "Generic PCI access library for X"
2
3DESCRIPTION = "libpciaccess provides functionality for X to access the \
4PCI bus and devices in a platform-independent way."
5
6require xorg-lib-common.inc
7
8LICENSE = "MIT & MIT-style"
9LIC_FILES_CHKSUM = "file://COPYING;md5=277aada5222b9a22fbf3471ff3687068"
10
11SRC_URI[md5sum] = "b7c0d3afce14eedca57312a3141ec13a"
12SRC_URI[sha256sum] = "abab8c2b050afb89bc29280e9c6b50ec5867174960d88bfb81a01036ec20de19"
13
14REQUIRED_DISTRO_FEATURES = ""
diff --git a/meta/recipes-graphics/xorg-lib/libpthread-stubs_0.3.bb b/meta/recipes-graphics/xorg-lib/libpthread-stubs_0.3.bb
new file mode 100644
index 0000000000..3e7ef27bed
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libpthread-stubs_0.3.bb
@@ -0,0 +1,26 @@
1SUMMARY = "Library that provides weak aliases for pthread functions"
2DESCRIPTION = "This library provides weak aliases for pthread functions \
3not provided in libc or otherwise available by default."
4HOMEPAGE = "http://xcb.freedesktop.org"
5BUGTRACKER = "http://bugs.freedesktop.org/buglist.cgi?product=XCB"
6SECTION = "x11/libs"
7LICENSE = "MIT"
8LIC_FILES_CHKSUM = "file://COPYING;md5=6edc1fea03d959f0c2d743fe5ca746ad"
9
10PARALLEL_MAKE = ""
11#DEPENDS = "xcb-proto xproto libxau libxslt-native"
12# DEPENDS += "xsltproc-native gperf-native"
13
14ALLOW_EMPTY_${PN} = "1"
15
16SRC_URI = "http://xcb.freedesktop.org/dist/libpthread-stubs-${PV}.tar.bz2"
17
18SRC_URI[md5sum] = "e8fa31b42e13f87e8f5a7a2b731db7ee"
19SRC_URI[sha256sum] = "35b6d54e3cc6f3ba28061da81af64b9a92b7b757319098172488a660e3d87299"
20
21inherit autotools pkgconfig
22
23RDEPENDS_${PN}-dev = ""
24RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
25
26BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-graphics/xorg-lib/libsm_1.2.2.bb b/meta/recipes-graphics/xorg-lib/libsm_1.2.2.bb
new file mode 100644
index 0000000000..180acfae0b
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libsm_1.2.2.bb
@@ -0,0 +1,23 @@
1SUMMARY = "SM: Session Management library"
2
3DESCRIPTION = "The Session Management Library (SMlib) is a low-level \"C\" \
4language interface to XSMP. The purpose of the X Session Management \
5Protocol (XSMP) is to provide a uniform mechanism for users to save and \
6restore their sessions. A session is a group of clients, each of which \
7has a particular state."
8
9require xorg-lib-common.inc
10
11LICENSE = "MIT-style"
12LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb37f44e02bdbde80546024400728d"
13
14DEPENDS += "libice xproto xtrans e2fsprogs"
15
16PE = "1"
17
18XORG_PN = "libSM"
19
20BBCLASSEXTEND = "native"
21
22SRC_URI[md5sum] = "499a7773c65aba513609fe651853c5f3"
23SRC_URI[sha256sum] = "0baca8c9f5d934450a70896c4ad38d06475521255ca63b717a6510fdb6e287bd"
diff --git a/meta/recipes-graphics/xorg-lib/libx11-diet_1.6.2.bb b/meta/recipes-graphics/xorg-lib/libx11-diet_1.6.2.bb
new file mode 100644
index 0000000000..89b07164c3
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libx11-diet_1.6.2.bb
@@ -0,0 +1,19 @@
1require libx11.inc
2
3DESCRIPTION += " Support for XCMS and XLOCALE is disabled in \
4this version."
5
6SRC_URI += "file://X18NCMSstubs.diff \
7 file://fix-disable-xlocale.diff \
8 file://fix-utf8-wrong-define.patch \
9 "
10
11RPROVIDES_${PN}-dev = "libx11-dev"
12RPROVIDES_${PN}-locale = "libx11-locale"
13
14SRC_URI[md5sum] = "c35d6ad95b06635a524579e88622fdb5"
15SRC_URI[sha256sum] = "2aa027e837231d2eeea90f3a4afe19948a6eb4c8b2bec0241eba7dbc8106bd16"
16
17EXTRA_OECONF += "--disable-xlocale"
18
19PACKAGECONFIG ??= ""
diff --git a/meta/recipes-graphics/xorg-lib/libx11.inc b/meta/recipes-graphics/xorg-lib/libx11.inc
new file mode 100644
index 0000000000..b04eafbdf2
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libx11.inc
@@ -0,0 +1,41 @@
1SUMMARY = "Xlib: C Language X Interface library"
2
3DESCRIPTION = "This package provides a client interface to the X Window \
4System, otherwise known as 'Xlib'. It provides a complete API for the \
5basic functions of the window system."
6
7require xorg-lib-common.inc
8
9inherit siteinfo
10
11FILESEXTRAPATHS =. "${FILE_DIRNAME}/libx11:"
12
13PE = "1"
14
15PROVIDES = "virtual/libx11"
16
17XORG_PN = "libX11"
18LICENSE = "MIT & MIT-style & BSD"
19LIC_FILES_CHKSUM = "file://COPYING;md5=172255dee66bb0151435b2d5d709fcf7"
20
21DEPENDS += "xproto xextproto xtrans libxcb kbproto inputproto"
22DEPENDS += "xproto-native"
23
24EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11/ --disable-xf86bigfont"
25EXTRA_OEMAKE += 'CWARNFLAGS=""'
26
27PACKAGECONFIG ??= "xcms"
28PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms"
29
30# src/util/makekeys is built natively but needs -D_GNU_SOURCE defined.
31CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE"
32
33PACKAGES =+ "${PN}-xcb"
34
35FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt"
36FILES_${PN}-xcb += "${libdir}/libX11-xcb.so.*"
37FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"
38
39# Multiple libx11 derivatives from from this file and are selected by virtual/libx11
40# A world build should only build the correct version, not all of them.
41EXCLUDE_FROM_WORLD = "1"
diff --git a/meta/recipes-graphics/xorg-lib/libx11/X18NCMSstubs.diff b/meta/recipes-graphics/xorg-lib/libx11/X18NCMSstubs.diff
new file mode 100644
index 0000000000..744cedc777
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libx11/X18NCMSstubs.diff
@@ -0,0 +1,520 @@
1Upstream-Status: Pending
2
3Upstream-Status: Inappropriate [configuration]
4Index: libX11-1.3/src/imConv.c
5===================================================================
6--- libX11-1.3.orig/src/imConv.c
7+++ libX11-1.3/src/imConv.c
8@@ -83,6 +83,7 @@ static const struct SubstRec SubstTable[
9 * from UCS char to specified charset char.
10 * This converter is needed for _XimGetCharCode subroutine.
11 */
12+#ifdef XLOCALE
13 XPointer
14 _XimGetLocaleCode (
15 _Xconst char* encoding_name)
16@@ -96,6 +97,7 @@ _XimGetLocaleCode (
17 }
18 return cvt;
19 }
20+#endif
21
22 /*
23 * Returns the locale dependent representation of a keysym.
24@@ -106,6 +108,7 @@ _XimGetLocaleCode (
25 * terminating NUL byte. Return 0 if the keysym is not representable in the
26 * locale
27 */
28+#ifdef XLOCALE
29 /*ARGSUSED*/
30 int
31 _XimGetCharCode (
32@@ -135,6 +138,7 @@ _XimGetCharCode (
33 buf[count]= '\0';
34 return count;
35 }
36+#endif
37
38 #ifdef XKB
39 static int lookup_string(
40Index: libX11-1.3/src/X18NCMSstubs.c
41===================================================================
42--- /dev/null
43+++ libX11-1.3/src/X18NCMSstubs.c
44@@ -0,0 +1,428 @@
45+/*
46+ * X18NCMSstubs.c
47+ * - Provides stubs and dummy funcs needed when Xcms and XLocale stuff removed
48+ *
49+ * Copyright © 2003 Matthew Allum
50+ *
51+ * Permission to use, copy, modify, distribute, and sell this software and its
52+ * documentation for any purpose is hereby granted without fee, provided that
53+ * the above copyright notice appear in all copies and that both that
54+ * copyright notice and this permission notice appear in supporting
55+ * documentation, and that the name of Matthew Allum not be used in
56+ * advertising or publicity pertaining to distribution of the software without
57+ * specific, written prior permission. Keith Packard and Compaq makes no
58+ * representations about the suitability of this software for any purpose. It
59+ * is provided "as is" without express or implied warranty.
60+ *
61+ * MATTHEW ALLUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
62+ * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS,
63+ * IN NO EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
64+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
65+ * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
66+ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
67+ * PERFORMANCE OF THIS SOFTWARE.
68+ */
69+
70+#include <stdlib.h>
71+#include "Xlibint.h"
72+#include "Xlcint.h"
73+#include <X11/Xlocale.h>
74+#include <X11/Xos.h>
75+#ifdef WIN32
76+#undef close
77+#endif
78+#include <X11/Xutil.h>
79+#include "XlcPubI.h"
80+
81+#include "Xcmsint.h" /* for XcmsCCC type */
82+#include "XlcPubI.h" /* for XLCd type */
83+#include "config.h"
84+
85+#if ! XLOCALE
86+
87+Bool
88+XSupportsLocale()
89+{
90+ return False;
91+}
92+
93+char *
94+XSetLocaleModifiers(
95+ const char *modifiers)
96+{
97+ return NULL;
98+}
99+
100+XLCd
101+_XOpenLC(
102+ char *name)
103+{
104+ return NULL;
105+}
106+
107+XLCd
108+_XlcCurrentLC()
109+{
110+ return NULL;
111+}
112+
113+void
114+_XlcVaToArgList(
115+ va_list var,
116+ int count,
117+ XlcArgList *args_ret)
118+{
119+ return;
120+}
121+
122+void
123+_XlcCountVaList(
124+ va_list var,
125+ int *count_ret)
126+{
127+ return;
128+}
129+
130+void
131+_XCloseLC(
132+ XLCd lcd)
133+{
134+ return;
135+}
136+
137+int
138+_XlcConvert(
139+ XlcConv conv,
140+ XPointer *from,
141+ int *from_left,
142+ XPointer *to,
143+ int *to_left,
144+ XPointer *args,
145+ int num_args)
146+{
147+ return 0;
148+}
149+
150+/* XIM Stubs */
151+
152+XPointer
153+_XimGetLocaleCode ( _Xconst char* encoding_name )
154+{
155+ return NULL;
156+}
157+
158+int
159+_XimGetCharCode (
160+ XPointer ucs_conv,
161+ KeySym keysym,
162+ unsigned char* buf,
163+ int nbytes)
164+{
165+ return 0;
166+}
167+
168+/* Xrm Stubs */
169+
170+XrmMethods
171+_XrmInitParseInfo(
172+ XPointer *state)
173+{
174+ return (XrmMethods) NULL;
175+}
176+
177+/* Xwc Stubs */
178+
179+int
180+XwcTextExtents(
181+ XFontSet font_set,
182+ _Xconst wchar_t *text,
183+ int text_len,
184+ XRectangle *overall_ink_extents,
185+ XRectangle *overall_logical_extents)
186+{
187+ return 0;
188+}
189+
190+void
191+XwcDrawString(Display *display,
192+ Drawable d,
193+ XFontSet font_set,
194+ GC gc,
195+ int x, int y,
196+ _Xconst wchar_t *string,
197+ int num_wchars)
198+{
199+ ;
200+}
201+
202+void
203+XwcDrawText(
204+ Display *dpy,
205+ Drawable d,
206+ GC gc,
207+ int x,
208+ int y,
209+ XwcTextItem *text_items,
210+ int nitems)
211+{
212+ ;
213+}
214+
215+void
216+XwcDrawImageString(
217+ Display *dpy,
218+ Drawable d,
219+ XFontSet font_set,
220+ GC gc,
221+ int x,
222+ int y,
223+ _Xconst wchar_t *text,
224+ int text_len)
225+{
226+ ;
227+}
228+
229+int
230+XwcTextEscapement(
231+ XFontSet font_set,
232+ _Xconst wchar_t *text,
233+ int text_len)
234+{
235+ return 0;
236+}
237+
238+Status
239+XwcTextPerCharExtents(
240+ XFontSet font_set,
241+ _Xconst wchar_t *text,
242+ int text_len,
243+ XRectangle *ink_extents_buffer,
244+ XRectangle *logical_extents_buffer,
245+ int buffer_size,
246+ int *num_chars,
247+ XRectangle *max_ink_extents,
248+ XRectangle *max_logical_extents)
249+{
250+ return(XcmsFailure);
251+}
252+
253+int
254+XwcTextPropertyToTextList(
255+ Display *dpy,
256+ const XTextProperty *text_prop,
257+ wchar_t ***list_ret,
258+ int *count_ret)
259+{
260+ return 0;
261+}
262+
263+int
264+XwcTextListToTextProperty(
265+ Display *dpy,
266+ wchar_t **list,
267+ int count,
268+ XICCEncodingStyle style,
269+ XTextProperty *text_prop)
270+{
271+ return 0;
272+}
273+
274+void
275+XwcFreeStringList(wchar_t **list)
276+{
277+ return;
278+}
279+
280+
281+void XmbSetWMProperties ( /* Actually from mbWMProps.c */
282+ Display *dpy,
283+ Window w,
284+ _Xconst char *windowName,
285+ _Xconst char *iconName,
286+ char **argv,
287+ int argc,
288+ XSizeHints *sizeHints,
289+ XWMHints *wmHints,
290+ XClassHint *classHints)
291+{
292+ return;
293+}
294+
295+int
296+XmbTextPropertyToTextList(
297+ Display *dpy,
298+ const XTextProperty *text_prop,
299+ char ***list_ret,
300+ int *count_ret)
301+{
302+ return XLocaleNotSupported;
303+}
304+
305+int
306+XmbTextListToTextProperty(
307+ Display *dpy,
308+ char **list,
309+ int count,
310+ XICCEncodingStyle style,
311+ XTextProperty *text_prop)
312+{
313+ return XLocaleNotSupported;
314+}
315+
316+int
317+XmbTextExtents(
318+ XFontSet font_set,
319+ _Xconst char *text,
320+ int text_len,
321+ XRectangle *overall_ink_extents,
322+ XRectangle *overall_logical_extents)
323+{
324+ return 0;
325+}
326+
327+void
328+XmbDrawText(
329+ Display *dpy,
330+ Drawable d,
331+ GC gc,
332+ int x,
333+ int y,
334+ XmbTextItem *text_items,
335+ int nitems)
336+{
337+ ;
338+}
339+
340+void
341+XmbDrawString(
342+ Display *dpy,
343+ Drawable d,
344+ XFontSet font_set,
345+ GC gc,
346+ int x,
347+ int y,
348+ _Xconst char *text,
349+ int text_len)
350+{
351+ ;
352+}
353+
354+void
355+XmbDrawImageString(
356+ Display *dpy,
357+ Drawable d,
358+ XFontSet font_set,
359+ GC gc,
360+ int x,
361+ int y,
362+ _Xconst char *text,
363+ int text_len)
364+{
365+ ;
366+}
367+
368+int
369+XmbTextEscapement(
370+ XFontSet font_set,
371+ _Xconst char *text,
372+ int text_len)
373+{
374+ return 0;
375+}
376+
377+Status
378+XmbTextPerCharExtents(
379+ XFontSet font_set,
380+ _Xconst char *text,
381+ int text_len,
382+ XRectangle *ink_extents_buffer,
383+ XRectangle *logical_extents_buffer,
384+ int buffer_size,
385+ int *num_chars,
386+ XRectangle *max_ink_extents,
387+ XRectangle *max_logical_extents)
388+{
389+ return 0;
390+}
391+
392+unsigned int
393+KeySymToUcs4(KeySym keysym)
394+{
395+ return 0;
396+}
397+
398+#endif
399+
400+#if ! XCMS
401+
402+XcmsCCC
403+XcmsCCCOfColormap(dpy, cmap)
404+ Display *dpy;
405+ Colormap cmap;
406+{
407+ return NULL;
408+}
409+
410+Status
411+_XcmsResolveColorString (
412+ XcmsCCC ccc,
413+ const char **color_string,
414+ XcmsColor *pColor_exact_return,
415+ XcmsColorFormat result_format)
416+{
417+ return(XcmsFailure);
418+}
419+
420+void
421+_XcmsUnresolveColor(
422+ XcmsCCC ccc,
423+ XcmsColor *pColor)
424+{
425+ return;
426+}
427+
428+void
429+_XUnresolveColor(
430+ XcmsCCC ccc,
431+ XColor *pXColor)
432+{
433+ return;
434+}
435+
436+XcmsCmapRec *
437+_XcmsAddCmapRec(dpy, cmap, windowID, visual)
438+ Display *dpy;
439+ Colormap cmap;
440+ Window windowID;
441+ Visual *visual;
442+{
443+ return NULL;
444+}
445+
446+void
447+_XcmsRGB_to_XColor(
448+ XcmsColor *pColors,
449+ XColor *pXColors,
450+ unsigned int nColors)
451+{
452+ return;
453+}
454+
455+XcmsCmapRec *
456+_XcmsCopyCmapRecAndFree(
457+ Display *dpy,
458+ Colormap src_cmap,
459+ Colormap copy_cmap)
460+{
461+ return NULL;
462+}
463+
464+void
465+_XcmsDeleteCmapRec(
466+ Display *dpy,
467+ Colormap cmap)
468+{
469+ return;
470+}
471+
472+#endif
473Index: libX11-1.3/src/Makefile.am
474===================================================================
475--- libX11-1.3.orig/src/Makefile.am
476+++ libX11-1.3/src/Makefile.am
477@@ -335,6 +335,8 @@ if THRSTUBS
478 libX11_la_SOURCES+=UIThrStubs.c
479 endif
480
481+libX11_la_SOURCES+=X18NCMSstubs.c
482+
483 x11datadir = @X11_DATADIR@
484 x11data_DATA = XKeysymDB XErrorDB
485
486@@ -342,6 +344,7 @@ EXTRA_DIST = \
487 $(x11data_DATA) \
488 os2Stubs.c \
489- UIThrStubs.c
490+ UIThrStubs.c \
491+ X18NCMSstubs.c
492
493 if XCB
494 libX11_la_SOURCES += \
495Index: libX11-1.3/src/locking.c
496===================================================================
497--- libX11-1.3.orig/src/locking.c
498+++ libX11-1.3/src/locking.c
499@@ -66,7 +66,9 @@ in this Software without prior written a
500 #define NUM_FREE_CVLS 4
501
502 /* in lcWrap.c */
503+#ifdef XLOCALE
504 extern LockInfoPtr _Xi18n_lock;
505+#endif
506
507 #ifdef WIN32
508 static DWORD _X_TlsIndex = (DWORD)-1;
509@@ -594,9 +596,11 @@ Status XInitThreads(void)
510 _Xglobal_lock = &global_lock;
511 xmutex_init(_Xglobal_lock->lock);
512 xmutex_set_name(_Xglobal_lock->lock, "Xlib global");
513+#ifdef XLOCALE
514 _Xi18n_lock = &i18n_lock;
515 xmutex_init(_Xi18n_lock->lock);
516 xmutex_set_name(_Xi18n_lock->lock, "Xlib i18n");
517+#endif
518 _XLockMutex_fn = _XLockMutex;
519 _XUnlockMutex_fn = _XUnlockMutex;
520 _XCreateMutex_fn = _XCreateMutex;
diff --git a/meta/recipes-graphics/xorg-lib/libx11/disable_tests.patch b/meta/recipes-graphics/xorg-lib/libx11/disable_tests.patch
new file mode 100644
index 0000000000..c1b6cde534
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libx11/disable_tests.patch
@@ -0,0 +1,22 @@
1Upstream-Status: Inappropriate [disable feature]
2
3Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
4
5Update for 1.6.1
6
7Signed-off-by: Kai Kang <kai.kang@windriver.com>
8
9diff -Nurd libX11-1.5.0/nls/Makefile.am libX11-1.5.0/nls/Makefile.am
10--- libX11-1.5.0/nls/Makefile.am 2012-06-02 09:37:18.000000000 +0300
11+++ libX11-1.5.0/nls/Makefile.am 2013-01-02 16:10:24.960156131 +0200
12@@ -36,11 +36,6 @@
13 < locale.dir.l1 > locale.dir.l2
14 cat locale.dir.l2 locale.dir.l1 > locale.dir
15
16-if HAVE_PERL
17-LOG_COMPILER = $(PERL)
18-TESTS = compose-check.pl
19-endif HAVE_PERL
20-
21
22 # Per-locale data files
diff --git a/meta/recipes-graphics/xorg-lib/libx11/fix-disable-xlocale.diff b/meta/recipes-graphics/xorg-lib/libx11/fix-disable-xlocale.diff
new file mode 100644
index 0000000000..a7c3984fd5
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libx11/fix-disable-xlocale.diff
@@ -0,0 +1,17 @@
1Upstream-Status: Pending
2
3Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
4--- libX11-X11R7.0-1.0.0/src/Font.c.orig 2006-03-12 18:35:42.000000000 +0100
5+++ libX11-X11R7.0-1.0.0/src/Font.c 2006-03-12 18:40:27.000000000 +0100
6@@ -701,7 +701,11 @@
7 }
8 if (l - 2 - (p - charset) < 0)
9 return 0;
10+#ifdef XLOCALE
11 if (_XlcNCompareISOLatin1(name + l - 2 - (p - charset), charset, p - charset))
12+#else
13+ if (strncasecmp(name + l - 2 - (p - charset), charset, p - charset))
14+#endif
15 return 0;
16 if (strlen(p + 1) + l - 1 >= sizeof(buf) - 1)
17 return 0;
diff --git a/meta/recipes-graphics/xorg-lib/libx11/fix-utf8-wrong-define.patch b/meta/recipes-graphics/xorg-lib/libx11/fix-utf8-wrong-define.patch
new file mode 100644
index 0000000000..c6347f5be1
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libx11/fix-utf8-wrong-define.patch
@@ -0,0 +1,19 @@
1Upstream-Status: Pending
2
3Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
4
5#
6# Patch managed by http://www.holgerschurig.de/patcher.html
7#
8
9--- libX11-X11R7.0-1.0.0/include/X11/Xlib.h~fix-utf8-wrong-define
10+++ libX11-X11R7.0-1.0.0/include/X11/Xlib.h
11@@ -103,7 +103,7 @@
12
13 /* API mentioning "UTF8" or "utf8" is an XFree86 extension, introduced in
14 November 2000. Its presence is indicated through the following macro. */
15-#define X_HAVE_UTF8_STRING 1
16+#undef X_HAVE_UTF8_STRING
17
18 typedef char *XPointer;
19
diff --git a/meta/recipes-graphics/xorg-lib/libx11/libX11-Add-missing-NULL-check.patch b/meta/recipes-graphics/xorg-lib/libx11/libX11-Add-missing-NULL-check.patch
new file mode 100644
index 0000000000..30686206ab
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libx11/libX11-Add-missing-NULL-check.patch
@@ -0,0 +1,72 @@
1From 4d85d5f3bd8afac893738fd88e19d8cb5cf998ff Mon Sep 17 00:00:00 2001
2From: Drew Moseley <drew_moseley@mentor.com>
3Date: Sun, 27 Jul 2014 13:10:07 -0400
4Subject: [PATCH] libX11: Add missing NULL check on im and im->methods
5
6Upstream-Status: Submitted [https://bugs.freedesktop.org/show_bug.cgi?id=81822]
7
8Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
9---
10 src/xlibi18n/ICWrap.c | 5 +++--
11 1 file changed, 3 insertions(+), 2 deletions(-)
12
13diff -ru libX11-1.6.2-orig/src/xlibi18n/ICWrap.c libX11-1.6.2/src/xlibi18n/ICWrap.c
14--- libX11-1.6.2-orig/src/xlibi18n/ICWrap.c 2014-07-27 13:38:29.586666449 -0400
15+++ libX11-1.6.2/src/xlibi18n/ICWrap.c 2014-07-27 13:41:39.671609030 -0400
16@@ -169,7 +169,7 @@
17 va_list var;
18 int total_count;
19 XIMArg *args;
20- char *ret;
21+ char *ret = NULL;
22
23 /*
24 * so count the stuff dangling here
25@@ -185,7 +185,8 @@
26 _XIMVaToNestedList(var, total_count, &args);
27 va_end(var);
28
29- ret = (*im->methods->set_values) (im, args);
30+ if (im && im->methods)
31+ ret = (*im->methods->set_values) (im, args);
32 if (args) Xfree(args);
33 return ret;
34 }
35@@ -196,7 +197,7 @@
36 va_list var;
37 int total_count;
38 XIMArg *args;
39- char *ret;
40+ char *ret = NULL;
41
42 /*
43 * so count the stuff dangling here
44@@ -212,7 +213,8 @@
45 _XIMVaToNestedList(var, total_count, &args);
46 va_end(var);
47
48- ret = (*im->methods->get_values) (im, args);
49+ if (im && im->methods)
50+ ret = (*im->methods->get_values) (im, args);
51 if (args) Xfree(args);
52 return ret;
53 }
54@@ -228,7 +230,7 @@
55 va_list var;
56 int total_count;
57 XIMArg *args;
58- XIC ic;
59+ XIC ic = NULL;
60
61 /*
62 * so count the stuff dangling here
63@@ -244,7 +246,8 @@
64 _XIMVaToNestedList(var, total_count, &args);
65 va_end(var);
66
67- ic = (XIC) (*im->methods->create_ic) (im, args);
68+ if (im && im->methods)
69+ ic = (XIC) (*im->methods->create_ic) (im, args);
70 if (args) Xfree(args);
71 if (ic) {
72 ic->core.next = im->core.ic_chain;
diff --git a/meta/recipes-graphics/xorg-lib/libx11/nls-always-use-XCOMM-instead-of-for-comments-in-Comp.patch b/meta/recipes-graphics/xorg-lib/libx11/nls-always-use-XCOMM-instead-of-for-comments-in-Comp.patch
new file mode 100644
index 0000000000..b7f5356e6c
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libx11/nls-always-use-XCOMM-instead-of-for-comments-in-Comp.patch
@@ -0,0 +1,101 @@
1Upstream-Status: Backport
2
3Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
4
5From b64bee2ddb7b96f00713a8b8435f11ad9ac1c9e0 Mon Sep 17 00:00:00 2001
6From: Ran Benita <ran234@gmail.com>
7Date: Sun, 16 Feb 2014 15:24:58 +0200
8Subject: [PATCH] nls: always use XCOMM instead of # for comments in
9 Compose.pre files
10
11Lines starting with # are considered as preprocessor directives in the
12.pre files.
13
14Fixes warnings like:
15<stdin>:3:0: error: invalid preprocessing directive #Khmer
16
17Signed-off-by: Ran Benita <ran234@gmail.com>
18Signed-off-by: James Cloos <cloos@jhcloos.com>
19---
20 nls/km_KH.UTF-8/Compose.pre | 2 +-
21 nls/sr_CS.UTF-8/Compose.pre | 32 ++++++++++++++++----------------
22 2 files changed, 17 insertions(+), 17 deletions(-)
23
24diff --git a/nls/km_KH.UTF-8/Compose.pre b/nls/km_KH.UTF-8/Compose.pre
25index 77651d0..dc89119 100644
26--- a/nls/km_KH.UTF-8/Compose.pre
27+++ b/nls/km_KH.UTF-8/Compose.pre
28@@ -1,6 +1,6 @@
29 include "X11_LOCALEDATADIR/en_US.UTF-8/Compose"
30
31-# Khmer digraphs
32+XCOMM Khmer digraphs
33 <U17ff> : "ាំ"
34 <U17fe> : "ោះ"
35 <U17fd> : "áŸáŸ‡"
36diff --git a/nls/sr_CS.UTF-8/Compose.pre b/nls/sr_CS.UTF-8/Compose.pre
37index 119e23e..b2397f7 100644
38--- a/nls/sr_CS.UTF-8/Compose.pre
39+++ b/nls/sr_CS.UTF-8/Compose.pre
40@@ -1,17 +1,17 @@
41 include "X11_LOCALEDATADIR/en_US.UTF-8/Compose"
42
43-# Serbian accented Cyrillic
44-# а Р- U+0430, U+0410 Cyrillic_a, Cyrillic_A
45-# е Е - U+0435, U+0415 Cyrillic_e, Cyrillic_E
46-# о О - U+043E, U+041E Cyrillic_o, Cyrillic_O
47-# у У - U+0443, U+0423 Cyrillic_u, Cyrillic_U
48-# и И - U+0438, U+0418 Cyrillic_i, Cyrillic_I
49-#
50-# ̀ - U+0300 <dead_grave>, <combining_grave>, <Multi_key> <grave>
51-# Ì - U+0301 <dead_acute>, <Multi_key> <acute>, <Multi_key> <apostrophe>, <combining_acute>
52-# Ì‚ - U+0302 <dead_circumflex>, <Multi_key> <asciicircum>
53-# Ì - U+030F <dead_diaeresis>, <dead_doubleacute>
54-# ̀ - kratkouzlazni, U+0300 <dead_grave>, <combining_grave>, <Multi_key> <grave>
55+XCOMM Serbian accented Cyrillic
56+XCOMM а Р- U+0430, U+0410 Cyrillic_a, Cyrillic_A
57+XCOMM е Е - U+0435, U+0415 Cyrillic_e, Cyrillic_E
58+XCOMM о О - U+043E, U+041E Cyrillic_o, Cyrillic_O
59+XCOMM у У - U+0443, U+0423 Cyrillic_u, Cyrillic_U
60+XCOMM и И - U+0438, U+0418 Cyrillic_i, Cyrillic_I
61+XCOMM
62+XCOMM ̀ - U+0300 <dead_grave>, <combining_grave>, <Multi_key> <grave>
63+XCOMM Ì - U+0301 <dead_acute>, <Multi_key> <acute>, <Multi_key> <apostrophe>, <combining_acute>
64+XCOMM Ì‚ - U+0302 <dead_circumflex>, <Multi_key> <asciicircum>
65+XCOMM Ì - U+030F <dead_diaeresis>, <dead_doubleacute>
66+XCOMM ̀ - kratkouzlazni, U+0300 <dead_grave>, <combining_grave>, <Multi_key> <grave>
67 <dead_grave> <Cyrillic_a> : "а̀"
68 <combining_grave> <Cyrillic_a> : "а̀"
69 <Multi_key> <grave> <Cyrillic_a> : "а̀"
70@@ -42,7 +42,7 @@ include "X11_LOCALEDATADIR/en_US.UTF-8/Compose"
71 <dead_grave> <Cyrillic_U> : "У̀"
72 <combining_grave> <Cyrillic_U> : "У̀"
73 <Multi_key> <grave> <Cyrillic_U> : "У̀"
74-# Ì - dugouzlazni, U+0301 <dead_acute>, <Multi_key> <acute>, <Multi_key> <apostrophe>, <combining_acute>
75+XCOMM Ì - dugouzlazni, U+0301 <dead_acute>, <Multi_key> <acute>, <Multi_key> <apostrophe>, <combining_acute>
76 <dead_acute> <Cyrillic_a> : "аÌ"
77 <combining_acute> <Cyrillic_a> : "аÌ"
78 <Multi_key> <acute> <Cyrillic_a> : "аÌ"
79@@ -83,7 +83,7 @@ include "X11_LOCALEDATADIR/en_US.UTF-8/Compose"
80 <combining_acute> <Cyrillic_U> : "УÌ"
81 <Multi_key> <acute> <Cyrillic_U> : "УÌ"
82 <Multi_key> <apostrophe> <Cyrillic_U> : "УÌ"
83-# Ì‚ - dugosilazni, U+0302 <dead_circumflex>, <Multi_key> <asciicircum>
84+XCOMM Ì‚ - dugosilazni, U+0302 <dead_circumflex>, <Multi_key> <asciicircum>
85 <dead_circumflex> <Cyrillic_a> : "а̂"
86 <Multi_key> <asciicircum> <Cyrillic_a> : "а̂"
87 <dead_circumflex> <Cyrillic_A> : "ÐÌ‚"
88@@ -104,8 +104,8 @@ include "X11_LOCALEDATADIR/en_US.UTF-8/Compose"
89 <Multi_key> <asciicircum> <Cyrillic_u> : "у̂"
90 <dead_circumflex> <Cyrillic_U> : "У̂"
91 <Multi_key> <asciicircum> <Cyrillic_U> : "У̂"
92-# Ì - kratkosilazni, U+030F <dead_diaeresis>, <dead_doubleacute>
93-# there's no appropriate dead_doublegrave, so we use these two dead keys
94+XCOMM Ì - kratkosilazni, U+030F <dead_diaeresis>, <dead_doubleacute>
95+XCOMM there's no appropriate dead_doublegrave, so we use these two dead keys
96 <dead_diaeresis> <Cyrillic_a> : "аÌ"
97 <dead_doubleacute> <Cyrillic_a> : "аÌ"
98 <dead_diaeresis> <Cyrillic_A> : "ÐÌ"
99--
1001.7.9.5
101
diff --git a/meta/recipes-graphics/xorg-lib/libx11_1.6.2.bb b/meta/recipes-graphics/xorg-lib/libx11_1.6.2.bb
new file mode 100644
index 0000000000..a7226480c2
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libx11_1.6.2.bb
@@ -0,0 +1,12 @@
1require libx11.inc
2inherit gettext
3
4BBCLASSEXTEND = "native nativesdk"
5
6SRC_URI += "file://disable_tests.patch \
7 file://nls-always-use-XCOMM-instead-of-for-comments-in-Comp.patch \
8 file://libX11-Add-missing-NULL-check.patch \
9 "
10
11SRC_URI[md5sum] = "c35d6ad95b06635a524579e88622fdb5"
12SRC_URI[sha256sum] = "2aa027e837231d2eeea90f3a4afe19948a6eb4c8b2bec0241eba7dbc8106bd16"
diff --git a/meta/recipes-graphics/xorg-lib/libxau_1.0.8.bb b/meta/recipes-graphics/xorg-lib/libxau_1.0.8.bb
new file mode 100644
index 0000000000..2ef8bfa8b6
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxau_1.0.8.bb
@@ -0,0 +1,24 @@
1SUMMARY = "Xau: X Authority Database library"
2
3DESCRIPTION = "libxau provides the main interfaces to the X11 \
4authorisation handling, which controls authorisation for X connections, \
5both client-side and server-side."
6
7require xorg-lib-common.inc
8
9inherit gettext
10
11LICENSE = "MIT-style"
12LIC_FILES_CHKSUM = "file://COPYING;md5=7908e342491198401321cec1956807ec"
13
14DEPENDS += " xproto"
15PROVIDES = "xau"
16
17PE = "1"
18
19XORG_PN = "libXau"
20
21BBCLASSEXTEND = "native nativesdk"
22
23SRC_URI[md5sum] = "685f8abbffa6d145c0f930f00703b21b"
24SRC_URI[sha256sum] = "fdd477320aeb5cdd67272838722d6b7d544887dfe7de46e1e7cc0c27c2bea4f2"
diff --git a/meta/recipes-graphics/xorg-lib/libxcalibrate/fix-xcb.patch b/meta/recipes-graphics/xorg-lib/libxcalibrate/fix-xcb.patch
new file mode 100644
index 0000000000..d6148834a6
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxcalibrate/fix-xcb.patch
@@ -0,0 +1,29 @@
1Upstream-Status: Pending
2
3There is no extra reply data and if we say not to disgard it, xcb
4throws fatal asserts.
5
6RP - 26/11/09
7
8Index: git/xcalibrate.c
9===================================================================
10--- git.orig/xcalibrate.c 2009-11-26 08:11:48.000000000 +0000
11+++ git/xcalibrate.c 2009-11-26 08:09:55.000000000 +0000
12@@ -216,7 +216,7 @@
13 req->reqType = info->codes->major_opcode;
14 req->xCalibrateReqType = X_XCalibrateRawMode;
15 req->on = enable;
16- if (!_XReply (dpy, (xReply *) &rep, 0, xFalse))
17+ if (!_XReply (dpy, (xReply *) &rep, 0, xTrue))
18 {
19 UnlockDisplay (dpy);
20 SyncHandle ();
21@@ -240,7 +240,7 @@
22 req->xCalibrateReqType = X_XCalibrateScreenToCoord;
23 req->x = *x;
24 req->y = *y;
25- if (!_XReply (dpy, (xReply *) &rep, 0, xFalse))
26+ if (!_XReply (dpy, (xReply *) &rep, 0, xTrue))
27 {
28 UnlockDisplay (dpy);
29 SyncHandle ();
diff --git a/meta/recipes-graphics/xorg-lib/libxcalibrate_git.bb b/meta/recipes-graphics/xorg-lib/libxcalibrate_git.bb
new file mode 100644
index 0000000000..455e869c7a
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxcalibrate_git.bb
@@ -0,0 +1,22 @@
1SUMMARY = "XCalibrate: Touchscreen calibration library"
2
3DESCRIPTION = "libXCalibrate is a library for performing touchscreen \
4calibration with the kdrive tslib touchscreen driver."
5
6require xorg-lib-common.inc
7
8LICENSE = "MIT-style"
9LIC_FILES_CHKSUM = "file://xcalibrate.h;endline=21;md5=fa572df6439f0f235f2612f370f153d7 \
10 file://xcalibrate.c;endline=21;md5=fa572df6439f0f235f2612f370f153d7"
11
12DEPENDS = "virtual/libx11 calibrateproto libxext"
13
14SRCREV = "209d83af61ed38a002c8096377deac292b3e396c"
15PV = "0.0+git${SRCPV}"
16
17SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libXCalibrate \
18 file://fix-xcb.patch"
19
20S = "${WORKDIR}/git"
21
22FILES_${PN}-locale += "${datadir}/X11/locale"
diff --git a/meta/recipes-graphics/xorg-lib/libxcb.inc b/meta/recipes-graphics/xorg-lib/libxcb.inc
new file mode 100644
index 0000000000..453f5500c3
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxcb.inc
@@ -0,0 +1,27 @@
1SUMMARY = "XCB: The X protocol C binding library"
2DESCRIPTION = "The X protocol C-language Binding (XCB) is a replacement \
3for Xlib featuring a small footprint, latency hiding, direct access to \
4the protocol, improved threading support, and extensibility."
5HOMEPAGE = "http://xcb.freedesktop.org"
6BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB"
7
8BBCLASSEXTEND = "native nativesdk"
9
10SECTION = "x11/libs"
11LICENSE = "MIT-X"
12
13DEPENDS = "xcb-proto xproto libxau xcb-proto-native libpthread-stubs"
14
15SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2 \
16 file://xcbincludedir.patch \
17 file://disable-check.patch"
18
19PACKAGES_DYNAMIC = "^libxcb-.*"
20
21FILES_${PN} = "${libdir}/libxcb.so.*"
22
23inherit autotools pkgconfig pythonnative
24
25python populate_packages_prepend () {
26 do_split_packages(d, '${libdir}', '^libxcb-(.*)\.so\..*$', 'libxcb-%s', 'XCB library module for %s', allow_links=True)
27}
diff --git a/meta/recipes-graphics/xorg-lib/libxcb/disable-check.patch b/meta/recipes-graphics/xorg-lib/libxcb/disable-check.patch
new file mode 100644
index 0000000000..5641c0fe95
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxcb/disable-check.patch
@@ -0,0 +1,25 @@
1The "check" package is checked for without an explicit enable/disable option,
2which can lead to non-deterministic build issues with both check and libxslt.
3
4As the unit test suite is minimal at present, simply disable the test suite. In
5the future if the test suite is expanded this can be made conditional on the
6ptest DISTRO_FEATURE.
7
8Upstream-Status: Inappropriate
9Signed-off-by: Ross Burton <ross.burton@intel.com>
10
11
12diff --git a/configure.ac b/configure.ac
13index 6d7c9a5..22cceb9 100644
14--- a/configure.ac
15+++ b/configure.ac
16@@ -21,7 +21,8 @@ AC_USE_SYSTEM_EXTENSIONS
17
18 AM_PATH_PYTHON([2.6])
19
20-PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], [HAVE_CHECK=yes], [HAVE_CHECK=no])
21+dnl PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], [HAVE_CHECK=yes], [HAVE_CHECK=no])
22+HAVE_CHECK=no
23 AM_CONDITIONAL(HAVE_CHECK, test x$HAVE_CHECK = xyes)
24
25 AC_CONFIG_HEADERS([src/config.h])
diff --git a/meta/recipes-graphics/xorg-lib/libxcb/ensure-xcb-owns-socket-and-no-other-threads-are-writ.patch b/meta/recipes-graphics/xorg-lib/libxcb/ensure-xcb-owns-socket-and-no-other-threads-are-writ.patch
new file mode 100644
index 0000000000..14cefa3f29
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxcb/ensure-xcb-owns-socket-and-no-other-threads-are-writ.patch
@@ -0,0 +1,121 @@
1From be0fe56c3bcad5124dcc6c47a2fad01acd16f71a Mon Sep 17 00:00:00 2001
2From: Keith Packard <keithp@keithp.com>
3Date: Mon, 23 Dec 2013 21:15:20 -0800
4Subject: [PATCH] Ensure xcb owns socket and no other threads are writing
5 before send_request
6
7send_request may only write to out.queue if no other thread is busy
8writing to the network (as that thread may be writing from out.queue).
9
10send_request may only allocate request sequence numbers if XCB owns
11the socket.
12
13Therefore, send_request must make sure that both conditions are true
14when it holds iolock, which can only be done by looping until both
15conditions are true without having dropped the lock waiting for the
16second condition.
17
18We choose to get the socket back from Xlib first as get_socket_back
19has a complicated test and checking for other threads writing is a
20simple in-lined check.
21
22This also changes the sequence number checks (64k requests with no
23reply, 4M request wrapping) to ensure that both conditions are true
24before queueing the request.
25
26Signed-off-by: Keith Packard <keithp@keithp.com>
27Reviewed-by: Uli Schlachter <psychon@znc.in>
28---
29 src/xcb_out.c | 57 ++++++++++++++++++++++++++++++++++++++++-----------------
30 1 file changed, 40 insertions(+), 17 deletions(-)
31
32diff --git a/src/xcb_out.c b/src/xcb_out.c
33index 18bb5f9..dc42954 100644
34--- a/src/xcb_out.c
35+++ b/src/xcb_out.c
36@@ -103,6 +103,33 @@ static void get_socket_back(xcb_connection_t *c)
37 _xcb_in_replies_done(c);
38 }
39
40+static void prepare_socket_request(xcb_connection_t *c)
41+{
42+ /* We're about to append data to out.queue, so we need to
43+ * atomically test for an external socket owner *and* some other
44+ * thread currently writing.
45+ *
46+ * If we have an external socket owner, we have to get the socket back
47+ * before we can use it again.
48+ *
49+ * If some other thread is writing to the socket, we assume it's
50+ * writing from out.queue, and so we can't stick data there.
51+ *
52+ * We satisfy this condition by first calling get_socket_back
53+ * (which may drop the lock, but will return when XCB owns the
54+ * socket again) and then checking for another writing thread and
55+ * escaping the loop if we're ready to go.
56+ */
57+ for (;;) {
58+ if(c->has_error)
59+ return;
60+ get_socket_back(c);
61+ if (!c->out.writing)
62+ break;
63+ pthread_cond_wait(&c->out.cond, &c->iolock);
64+ }
65+}
66+
67 /* Public interface */
68
69 void xcb_prefetch_maximum_request_length(xcb_connection_t *c)
70@@ -236,24 +263,23 @@ unsigned int xcb_send_request(xcb_connection_t *c, int flags, struct iovec *vect
71
72 /* get a sequence number and arrange for delivery. */
73 pthread_mutex_lock(&c->iolock);
74- /* wait for other writing threads to get out of my way. */
75- while(c->out.writing)
76- pthread_cond_wait(&c->out.cond, &c->iolock);
77- get_socket_back(c);
78+
79+ prepare_socket_request(c);
80
81 /* send GetInputFocus (sync_req) when 64k-2 requests have been sent without
82- * a reply. */
83- if(req->isvoid && c->out.request == c->in.request_expected + (1 << 16) - 2)
84- send_sync(c);
85- /* Also send sync_req (could use NoOp) at 32-bit wrap to avoid having
86+ * a reply.
87+ * Also send sync_req (could use NoOp) at 32-bit wrap to avoid having
88 * applications see sequence 0 as that is used to indicate
89- * an error in sending the request */
90- if((unsigned int) (c->out.request + 1) == 0)
91+ * an error in sending the request
92+ */
93+
94+ while ((req->isvoid && c->out.request == c->in.request_expected + (1 << 16) - 2) ||
95+ (unsigned int) (c->out.request + 1) == 0)
96+ {
97 send_sync(c);
98+ prepare_socket_request(c);
99+ }
100
101- /* The above send_sync calls could drop the I/O lock, but this
102- * thread will still exclude any other thread that tries to write,
103- * so the sequence number postconditions still hold. */
104 send_request(c, req->isvoid, workaround, flags, vector, veclen);
105 request = c->has_error ? 0 : c->out.request;
106 pthread_mutex_unlock(&c->iolock);
107@@ -373,10 +399,7 @@ int _xcb_out_send(xcb_connection_t *c, struct iovec *vector, int count)
108
109 void _xcb_out_send_sync(xcb_connection_t *c)
110 {
111- /* wait for other writing threads to get out of my way. */
112- while(c->out.writing)
113- pthread_cond_wait(&c->out.cond, &c->iolock);
114- get_socket_back(c);
115+ prepare_socket_request(c);
116 send_sync(c);
117 }
118
119--
1201.9.1
121
diff --git a/meta/recipes-graphics/xorg-lib/libxcb/xcbincludedir.patch b/meta/recipes-graphics/xorg-lib/libxcb/xcbincludedir.patch
new file mode 100644
index 0000000000..46297c33c3
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxcb/xcbincludedir.patch
@@ -0,0 +1,28 @@
1As pkg-config --variable doesn't respect the sysroot, add the pkg-config sysroot
2to the beginning of variables that are used later on the host.
3
4Upstream-Status: Pending
5Signed-off-by: Ross Burton <ross.burton@intel.com>
6
7diff --git a/configure.ac b/configure.ac
8index 94da4f7..d29cd6a 100644
9--- a/configure.ac
10+++ b/configure.ac
11@@ -64,7 +64,7 @@ AC_SUBST(NEEDED)
12
13 # Find the xcb-proto protocol descriptions
14 AC_MSG_CHECKING(XCBPROTO_XCBINCLUDEDIR)
15-XCBPROTO_XCBINCLUDEDIR=`$PKG_CONFIG --variable=xcbincludedir xcb-proto`
16+XCBPROTO_XCBINCLUDEDIR=$PKG_CONFIG_SYSROOT_DIR/`$PKG_CONFIG --variable=xcbincludedir xcb-proto`
17 AC_MSG_RESULT($XCBPROTO_XCBINCLUDEDIR)
18 AC_SUBST(XCBPROTO_XCBINCLUDEDIR)
19
20@@ -74,7 +74,7 @@ AC_SUBST(XCBPROTO_VERSION)
21
22 # Find the xcbgen Python package
23 AC_MSG_CHECKING(XCBPROTO_XCBPYTHONDIR)
24-XCBPROTO_XCBPYTHONDIR=`$PKG_CONFIG --variable=pythondir xcb-proto`
25+XCBPROTO_XCBPYTHONDIR=$PKG_CONFIG_SYSROOT_DIR/`$PKG_CONFIG --variable=pythondir xcb-proto`
26 AC_MSG_RESULT($XCBPROTO_XCBPYTHONDIR)
27 AC_SUBST(XCBPROTO_XCBPYTHONDIR)
28
diff --git a/meta/recipes-graphics/xorg-lib/libxcb_1.10.bb b/meta/recipes-graphics/xorg-lib/libxcb_1.10.bb
new file mode 100644
index 0000000000..5bb5f0be88
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxcb_1.10.bb
@@ -0,0 +1,13 @@
1include libxcb.inc
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7"
5
6
7DEPENDS += "libxdmcp"
8
9SRC_URI += "file://ensure-xcb-owns-socket-and-no-other-threads-are-writ.patch \
10"
11
12SRC_URI[md5sum] = "074c335cc4453467eeb234e3dadda700"
13SRC_URI[sha256sum] = "98d9ab05b636dd088603b64229dd1ab2d2cc02ab807892e107d674f9c3f2d5b5"
diff --git a/meta/recipes-graphics/xorg-lib/libxcb_git.bb b/meta/recipes-graphics/xorg-lib/libxcb_git.bb
new file mode 100644
index 0000000000..186636e1eb
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxcb_git.bb
@@ -0,0 +1,10 @@
1DEFAULT_PREFERENCE = "-1"
2
3include libxcb.inc
4
5SRCREV = "625ed596cae6dd8175aeb6cb6f26784928042f22"
6PV = "1.1.90.1+gitr${SRCPV}"
7PR = "r1"
8
9SRC_URI = "git://anongit.freedesktop.org/git/xcb/libxcb"
10S = "${WORKDIR}/git"
diff --git a/meta/recipes-graphics/xorg-lib/libxcomposite/change-include-order.patch b/meta/recipes-graphics/xorg-lib/libxcomposite/change-include-order.patch
new file mode 100644
index 0000000000..60331f6e78
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxcomposite/change-include-order.patch
@@ -0,0 +1,18 @@
1Upstream-Status: Inappropriate [configuration]
2
3This patch makes the build use its own Xcomposite.h over rather than an
4older Xcomposite.h that might already be installed in the staging dir.
5
6Index: libXcomposite-0.4.3/src/Makefile.am
7===================================================================
8--- libXcomposite-0.4.3.orig/src/Makefile.am 2010-06-30 22:42:53.000000000 -0700
9+++ libXcomposite-0.4.3/src/Makefile.am 2010-11-23 23:09:34.544322930 -0800
10@@ -19,7 +19,7 @@
11 # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
12 # PERFORMANCE OF THIS SOFTWARE.
13
14-AM_CFLAGS = $(CWARNFLAGS) $(XCOMPOSITE_CFLAGS) $(XFIXES_CFLAGS)
15+AM_CFLAGS = -I$(top_srcdir)/include $(CWARNFLAGS) $(XCOMPOSITE_CFLAGS) $(XFIXES_CFLAGS)
16 AM_CPPFLAGS = -I$(top_srcdir)/include
17
18 lib_LTLIBRARIES = libXcomposite.la
diff --git a/meta/recipes-graphics/xorg-lib/libxcomposite_0.4.4.bb b/meta/recipes-graphics/xorg-lib/libxcomposite_0.4.4.bb
new file mode 100644
index 0000000000..70257194a9
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxcomposite_0.4.4.bb
@@ -0,0 +1,28 @@
1SUMMARY = "Xcomposite: X Composite extension library"
2
3DESCRIPTION = "The composite extension provides three related \
4mechanisms: per-hierarchy storage, automatic shadow update, and external \
5parent. In per-hierarchy storage, the rendering of an entire hierarchy \
6of windows is redirected to off-screen storage. In automatic shadow \
7update, when a hierarchy is rendered off-screen, the X server provides \
8an automatic mechanism for presenting those contents within the parent \
9window. In external parent, a mechanism for providing redirection of \
10compositing transformations through a client."
11
12require xorg-lib-common.inc
13
14LICENSE = "MIT-style"
15LIC_FILES_CHKSUM = "file://COPYING;md5=3f2907aad541f6f226fbc58cc1b3cdf1"
16
17DEPENDS += " compositeproto virtual/libx11 libxfixes libxext"
18PROVIDES = "xcomposite"
19BBCLASSEXTEND = "native"
20
21PE = "1"
22
23XORG_PN = "libXcomposite"
24
25SRC_URI += " file://change-include-order.patch"
26
27SRC_URI[md5sum] = "f7a218dcbf6f0848599c6c36fc65c51a"
28SRC_URI[sha256sum] = "ede250cd207d8bee4a338265c3007d7a68d5aca791b6ac41af18e9a2aeb34178"
diff --git a/meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb b/meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb
new file mode 100644
index 0000000000..a8e4f24b6b
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxcursor_1.1.14.bb
@@ -0,0 +1,22 @@
1SUMMARY = "Xcursor: X Cursor management library"
2
3DESCRIPTION = "Xcursor is a simple library designed to help locate and \
4load cursors. Cursors can be loaded from files or memory. A library of \
5common cursors exists which map to the standard X cursor names. Cursors \
6can exist in several sizes and the library automatically picks the best \
7size."
8
9require xorg-lib-common.inc
10
11LICENSE = "MIT-style"
12LIC_FILES_CHKSUM = "file://COPYING;md5=8902e6643f7bcd7793b23dcd5d8031a4"
13
14DEPENDS += "libxrender libxfixes"
15BBCLASSEXTEND = "native"
16
17PE = "1"
18
19XORG_PN = "libXcursor"
20
21SRC_URI[md5sum] = "1e7c17afbbce83e2215917047c57d1b3"
22SRC_URI[sha256sum] = "9bc6acb21ca14da51bda5bc912c8955bc6e5e433f0ab00c5e8bef842596c33df"
diff --git a/meta/recipes-graphics/xorg-lib/libxdamage_1.1.4.bb b/meta/recipes-graphics/xorg-lib/libxdamage_1.1.4.bb
new file mode 100644
index 0000000000..c3d70043ca
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxdamage_1.1.4.bb
@@ -0,0 +1,28 @@
1SUMMARY = "Xdamage: X Damage extension library"
2
3DESCRIPTION = "'Damage' is a term that describes changes make to pixel \
4contents of windows and pixmaps. Damage accumulates as drawing occurs \
5in the drawable. Each drawing operation 'damages' one or more \
6rectangular areas within the drawable. The rectangles are guaranteed to \
7include the set of pixels modified by each operation, but may include \
8significantly more than just those pixels. The DAMAGE extension allows \
9applications to either receive the raw rectangles as a stream of events, \
10or to have them partially processed within the X server to reduce the \
11amount of data transmitted as well as reduce the processing latency once \
12the repaint operation has started."
13
14require xorg-lib-common.inc
15
16LICENSE = "MIT"
17LIC_FILES_CHKSUM = "file://COPYING;md5=9fe101f30dd24134cf43146863241868"
18
19DEPENDS += "virtual/libx11 damageproto libxfixes"
20PROVIDES = "xdamage"
21BBCLASSEXTEND = "native"
22
23PE = "1"
24
25XORG_PN = "libXdamage"
26
27SRC_URI[md5sum] = "0cf292de2a9fa2e9a939aefde68fd34f"
28SRC_URI[sha256sum] = "7c3fe7c657e83547f4822bfde30a90d84524efb56365448768409b77f05355ad"
diff --git a/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.1.bb b/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.1.bb
new file mode 100644
index 0000000000..3529ead58b
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.1.bb
@@ -0,0 +1,26 @@
1SUMMARY = "XDMCP: X Display Manager Control Protocol library"
2
3DESCRIPTION = "The purpose of the X Display Manager Control Protocol \
4(XDMCP) is to provide a uniform mechanism for an autonomous display to \
5request login service from a remote host. An X terminal (screen, \
6keyboard, mouse, processor, network interface) is a prime example of an \
7autonomous display."
8
9require xorg-lib-common.inc
10
11inherit gettext
12
13LICENSE = "MIT-style"
14LIC_FILES_CHKSUM = "file://COPYING;md5=d559fb26e129626022e052a5e6e0e123"
15
16DEPENDS += "xproto"
17PROVIDES = "xdmcp"
18
19PE = "1"
20
21XORG_PN = "libXdmcp"
22
23BBCLASSEXTEND = "native nativesdk"
24
25SRC_URI[md5sum] = "b94af6cef211cf3ee256f7e81f70fcd9"
26SRC_URI[sha256sum] = "9ace6d4230f9dce4ed090692f82f613253ada8f887b23b3d8ff3dd4e3a7c118e"
diff --git a/meta/recipes-graphics/xorg-lib/libxext_1.3.2.bb b/meta/recipes-graphics/xorg-lib/libxext_1.3.2.bb
new file mode 100644
index 0000000000..ec66175684
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxext_1.3.2.bb
@@ -0,0 +1,26 @@
1SUMMARY = "XExt: X Extension library"
2
3DESCRIPTION = "libXext provides an X Window System client interface to \
4several extensions to the X protocol. The supported protocol extensions \
5are DOUBLE-BUFFER, DPMS, Extended-Visual-Information, LBX, MIT_SHM, \
6MIT_SUNDRY-NONSTANDARD, Multi-Buffering, SECURITY, SHAPE, SYNC, TOG-CUP, \
7XC-APPGROUP, XC-MISC, XTEST. libXext also provides a small set of \
8utility functions to aid authors of client APIs for X protocol \
9extensions."
10
11require xorg-lib-common.inc
12
13LICENSE = "MIT-style"
14LIC_FILES_CHKSUM = "file://COPYING;md5=879ce266785414bd1cbc3bc2f4d9d7c8"
15
16DEPENDS += "xproto virtual/libx11 xextproto libxau libxdmcp"
17PROVIDES = "xext"
18
19PE = "1"
20
21XORG_PN = "libXext"
22
23BBCLASSEXTEND = "native nativesdk"
24
25SRC_URI[md5sum] = "4376101e51bb2c6c44d9ab14344e85ad"
26SRC_URI[sha256sum] = "f829075bc646cdc085fa25d98d5885d83b1759ceb355933127c257e8e50432e0"
diff --git a/meta/recipes-graphics/xorg-lib/libxext_git.bb b/meta/recipes-graphics/xorg-lib/libxext_git.bb
new file mode 100644
index 0000000000..b799186ef0
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxext_git.bb
@@ -0,0 +1,24 @@
1require xorg-lib-common.inc
2
3SUMMARY = "XExt: X Extension library"
4
5DESCRIPTION = "libXext provides an X Window System client interface to \
6several extensions to the X protocol. The supported protocol extensions \
7are DOUBLE-BUFFER, DPMS, Extended-Visual-Information, LBX, MIT_SHM, \
8MIT_SUNDRY-NONSTANDARD, Multi-Buffering, SECURITY, SHAPE, SYNC, TOG-CUP, \
9XC-APPGROUP, XC-MISC, XTEST. libXext also provides a small set of \
10utility functions to aid authors of client APIs for X protocol \
11extensions."
12
13DEPENDS += "xproto virtual/libx11 xextproto libxau libxdmcp"
14PROVIDES = "xext"
15SRCREV = "d1f3bc77a48c8e42771579e3fdf3370b35d3209d"
16PE = "1"
17PV = "1.0.99.1+gitr${SRCPV}"
18
19XORG_PN = "libXext"
20
21SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/${XORG_PN}"
22S = "${WORKDIR}/git/"
23
24BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-graphics/xorg-lib/libxfixes_5.0.1.bb b/meta/recipes-graphics/xorg-lib/libxfixes_5.0.1.bb
new file mode 100644
index 0000000000..6e2740c9a1
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxfixes_5.0.1.bb
@@ -0,0 +1,22 @@
1SUMMARY = "XFixes: X Fixes extension library"
2
3DESCRIPTION = "X applications have often needed to work around various \
4shortcomings in the core X window system. This extension is designed to \
5provide the minimal server-side support necessary to eliminate problems \
6caused by these workarounds."
7
8require xorg-lib-common.inc
9
10LICENSE = "MIT-style"
11LIC_FILES_CHKSUM = "file://COPYING;md5=3c1ce42c334a6f5cccb0277556a053e0"
12
13DEPENDS += "virtual/libx11 xproto fixesproto xextproto"
14
15PE = "1"
16
17XORG_PN = "libXfixes"
18
19BBCLASSEXTEND = "native nativesdk"
20
21SRC_URI[md5sum] = "b985b85f8b9386c85ddcfe1073906b4d"
22SRC_URI[sha256sum] = "63bec085084fa3caaee5180490dd871f1eb2020ba9e9b39a30f93693ffc34767"
diff --git a/meta/recipes-graphics/xorg-lib/libxfont_1.5.0.bb b/meta/recipes-graphics/xorg-lib/libxfont_1.5.0.bb
new file mode 100644
index 0000000000..ef0bde29fb
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxfont_1.5.0.bb
@@ -0,0 +1,22 @@
1SUMMARY = "XFont: X Font rasterisation library"
2
3DESCRIPTION = "libXfont provides various services for X servers, most \
4notably font selection and rasterisation (through external libraries \
5such as freetype)."
6
7require xorg-lib-common.inc
8
9LICENSE = "MIT & MIT-style & BSD"
10LIC_FILES_CHKSUM = "file://COPYING;md5=a46c8040f2f737bcd0c435feb2ab1c2c"
11
12DEPENDS += "freetype xtrans fontsproto libfontenc zlib"
13PROVIDES = "xfont"
14
15PE = "1"
16
17XORG_PN = "libXfont"
18
19BBCLASSEXTEND = "native"
20
21SRC_URI[md5sum] = "664629bfa7cdf8b984155019fd395dcb"
22SRC_URI[sha256sum] = "3a3c52c4adf9352b2160f07ff0596af17ab14f91d6509564e606678a1261c25f"
diff --git a/meta/recipes-graphics/xorg-lib/libxft_2.3.2.bb b/meta/recipes-graphics/xorg-lib/libxft_2.3.2.bb
new file mode 100644
index 0000000000..a967cdc585
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxft_2.3.2.bb
@@ -0,0 +1,33 @@
1SUMMARY = "XFt: X FreeType libary"
2
3DESCRIPTION = "Xft was designed to provide good support for scalable \
4fonts, and to do so efficiently. Unlike the core fonts system, it \
5supports features such as anti-aliasing and sub-pixel rasterisation. \
6Perhaps more importantly, it gives applications full control over the \
7way glyphs are rendered, making fine typesetting and WYSIWIG display \
8possible. Finally, it allows applications to use fonts that are not \
9installed system-wide for displaying documents with embedded fonts. Xft \
10is not compatible with the core fonts system: usage of Xft requires \
11fairly extensive changes to toolkits (user-interface libraries)."
12
13require xorg-lib-common.inc
14
15LICENSE = "MIT"
16LIC_FILES_CHKSUM = "file://COPYING;md5=90b90b60eb30f65fc9c2673d7cf59e24"
17
18DEPENDS += "virtual/libx11 libxrender freetype fontconfig"
19PROVIDES = "xft"
20
21PE = "1"
22
23SRC_URI[md5sum] = "331b3a2a3a1a78b5b44cfbd43f86fcfe"
24SRC_URI[sha256sum] = "f5a3c824761df351ca91827ac221090943ef28b248573486050de89f4bfcdc4c"
25
26XORG_PN = "libXft"
27
28BBCLASSEXTEND = "native"
29
30python () {
31 if d.getVar('DEBIAN_NAMES', True):
32 d.setVar('PKG_${PN}', '${MLPREFIX}libxft2')
33}
diff --git a/meta/recipes-graphics/xorg-lib/libxi_1.7.4.bb b/meta/recipes-graphics/xorg-lib/libxi_1.7.4.bb
new file mode 100644
index 0000000000..07033a3e78
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxi_1.7.4.bb
@@ -0,0 +1,21 @@
1require xorg-lib-common.inc
2
3SUMMARY = "XI: X Input extension library"
4
5DESCRIPTION = "libxi is an extension to the X11 protocol to support \
6input devices other than the core X keyboard and pointer. It allows \
7client programs to select input from these devices independently from \
8each other and independently from the core devices."
9
10LICENSE = "MIT & MIT-style"
11LIC_FILES_CHKSUM = "file://COPYING;md5=17b064789fab936a1c58c4e13d965b0f \
12 file://src/XIGetDevFocus.c;endline=23;md5=cdfb0d435a33ec57ea0d1e8e395b729f"
13
14DEPENDS += "libxext inputproto libxfixes"
15
16PE = "1"
17
18XORG_PN = "libXi"
19
20SRC_URI[md5sum] = "9c4a69c34b19ec1e4212e849549544cb"
21SRC_URI[sha256sum] = "2cffc2686618dc1803725636cd92b36342c512dc60a7a35cba34bf7192a42244"
diff --git a/meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb b/meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb
new file mode 100644
index 0000000000..027c8043d8
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxinerama_1.1.3.bb
@@ -0,0 +1,20 @@
1require xorg-lib-common.inc
2
3SUMMARY = "Xinerama: Xinerama extension library"
4
5DESCRIPTION = "Xinerama is a simple library designed to interface the \
6Xinerama Extension for retrieving information about physical output \
7devices which may be combined into a single logical X screen."
8
9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://COPYING;md5=6f4f634d1643a2e638bba3fcd19c2536 \
11 file://src/Xinerama.c;beginline=2;endline=25;md5=fcef273bfb66339256411dd06ea79c02"
12
13DEPENDS += "libxext xineramaproto"
14PROVIDES = "xinerama"
15PE = "1"
16
17XORG_PN = "libXinerama"
18
19SRC_URI[md5sum] = "9336dc46ae3bf5f81c247f7131461efd"
20SRC_URI[sha256sum] = "7a45699f1773095a3f821e491cbd5e10c887c5a5fce5d8d3fced15c2ff7698e2"
diff --git a/meta/recipes-graphics/xorg-lib/libxkbcommon_0.4.3.bb b/meta/recipes-graphics/xorg-lib/libxkbcommon_0.4.3.bb
new file mode 100644
index 0000000000..0dd295678e
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxkbcommon_0.4.3.bb
@@ -0,0 +1,20 @@
1SUMMARY = "Generic XKB keymap library"
2DESCRIPTION = "libxkbcommon is a keymap compiler and support library which \
3processes a reduced subset of keymaps as defined by the XKB specification."
4HOMEPAGE = "http://www.xkbcommon.org"
5LIC_FILES_CHKSUM = "file://COPYING;md5=9c0b824e72a22f9d2c40b9c93b1f0ddc"
6LICENSE = "MIT & MIT-style"
7
8DEPENDS = "util-macros flex-native bison-native"
9
10SRC_URI = "http://xkbcommon.org/download/${BPN}-${PV}.tar.xz"
11
12SRC_URI[md5sum] = "26c57ff21438ed45de2a4ca609177db9"
13SRC_URI[sha256sum] = "9a52d5d0419e76c49c0ece86208c205ffacb1cf0ff8ffbaba98d3d4dd40c4e41"
14
15inherit autotools pkgconfig
16
17EXTRA_OECONF = "--disable-docs"
18
19PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
20PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,libxcb xkeyboard-config,"
diff --git a/meta/recipes-graphics/xorg-lib/libxkbfile_1.0.8.bb b/meta/recipes-graphics/xorg-lib/libxkbfile_1.0.8.bb
new file mode 100644
index 0000000000..620b414604
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxkbfile_1.0.8.bb
@@ -0,0 +1,18 @@
1SUMMARY = "XKB: X Keyboard File manipulation library"
2
3DESCRIPTION = "libxkbfile provides an interface to read and manipulate \
4description files for XKB, the X11 keyboard configuration extension."
5
6require xorg-lib-common.inc
7
8LICENSE = "MIT-style"
9LIC_FILES_CHKSUM = "file://COPYING;md5=8be7367f7e5d605a426f76bb37d4d61f"
10
11DEPENDS += "virtual/libx11 kbproto"
12
13PE = "1"
14
15BBCLASSEXTEND = "native"
16
17SRC_URI[md5sum] = "19e6533ae64abba0773816a23f2b9507"
18SRC_URI[sha256sum] = "8aa94e19c537c43558f30906650cea6e15fa012591445d9f927658c3b32a8f3a"
diff --git a/meta/recipes-graphics/xorg-lib/libxmu_1.1.2.bb b/meta/recipes-graphics/xorg-lib/libxmu_1.1.2.bb
new file mode 100644
index 0000000000..3922b52e41
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxmu_1.1.2.bb
@@ -0,0 +1,33 @@
1SUMMARY = "Xmu and Xmuu: X Miscellaneous Utility libraries"
2
3DESCRIPTION = "The Xmu Library is a collection of miscellaneous (some \
4might say random) utility functions that have been useful in building \
5various applications and widgets. This library is required by the Athena \
6Widgets. A subset of the functions that do not rely on the Athena \
7Widgets (libXaw) or X Toolkit Instrinsics (libXt) are provided in a \
8second library, libXmuu."
9
10
11require xorg-lib-common.inc
12
13LICENSE = "MIT & MIT-style"
14LIC_FILES_CHKSUM = "file://COPYING;md5=def3d8e4e9c42004f1941fa22f01dc18"
15
16DEPENDS += "libxt libxext"
17PROVIDES = "xmu"
18
19PE = "1"
20
21XORG_PN = "libXmu"
22
23LEAD_SONAME = "libXmu"
24
25PACKAGES =+ "libxmuu libxmuu-dev"
26
27FILES_libxmuu = "${libdir}/libXmuu.so.*"
28FILES_libxmuu-dev = "${libdir}/libXmuu.so"
29
30BBCLASSEXTEND = "native"
31
32SRC_URI[md5sum] = "41d92ab627dfa06568076043f3e089e4"
33SRC_URI[sha256sum] = "756edc7c383254eef8b4e1b733c3bf1dc061b523c9f9833ac7058378b8349d0b"
diff --git a/meta/recipes-graphics/xorg-lib/libxpm_3.5.11.bb b/meta/recipes-graphics/xorg-lib/libxpm_3.5.11.bb
new file mode 100644
index 0000000000..545874cdd4
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxpm_3.5.11.bb
@@ -0,0 +1,27 @@
1require xorg-lib-common.inc
2
3# libxpm requires xgettext to build
4inherit gettext
5
6SUMMARY = "Xpm: X Pixmap extension library"
7
8DESCRIPTION = "libXpm provides support and common operation for the XPM \
9pixmap format, which is commonly used in legacy X applications. XPM is \
10an extension of the monochrome XBM bitmap specificied in the X \
11protocol."
12
13LICENSE = "BSD"
14LIC_FILES_CHKSUM = "file://COPYING;md5=51f4270b012ecd4ab1a164f5f4ed6cf7"
15DEPENDS += "libxext libsm libxt"
16PE = "1"
17
18XORG_PN = "libXpm"
19
20PACKAGES =+ "sxpm cxpm"
21FILES_cxpm = "${bindir}/cxpm"
22FILES_sxpm = "${bindir}/sxpm"
23
24SRC_URI[md5sum] = "769ee12a43611cdebd38094eaf83f3f0"
25SRC_URI[sha256sum] = "c5bdafa51d1ae30086fac01ab83be8d47fe117b238d3437f8e965434090e041c"
26
27BBCLASSEXTEND = "native"
diff --git a/meta/recipes-graphics/xorg-lib/libxrandr_1.4.2.bb b/meta/recipes-graphics/xorg-lib/libxrandr_1.4.2.bb
new file mode 100644
index 0000000000..4df4b3a51d
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxrandr_1.4.2.bb
@@ -0,0 +1,23 @@
1SUMMARY = "XRandR: X Resize, Rotate and Reflect extension library"
2
3DESCRIPTION = "The X Resize, Rotate and Reflect Extension, called RandR \
4for short, brings the ability to resize, rotate and reflect the root \
5window of a screen. It is based on the X Resize and Rotate Extension as \
6specified in the Proceedings of the 2001 Usenix Technical Conference \
7[RANDR]."
8
9require xorg-lib-common.inc
10
11LICENSE = "MIT-style"
12LIC_FILES_CHKSUM = "file://COPYING;md5=c9d1a2118a6cd5727521db8e7a2fee69"
13
14DEPENDS += "virtual/libx11 randrproto libxrender libxext"
15
16PE = "1"
17
18XORG_PN = "libXrandr"
19
20BBCLASSEXTEND = "native nativesdk"
21
22SRC_URI[md5sum] = "210ed9499a3d9c96e3a221629b7d39b0"
23SRC_URI[sha256sum] = "caa7b31ac769be51a532343c65376f1d4df3f307afaed58e34fb5e82e8b825ad"
diff --git a/meta/recipes-graphics/xorg-lib/libxrender_0.9.8.bb b/meta/recipes-graphics/xorg-lib/libxrender_0.9.8.bb
new file mode 100644
index 0000000000..abd7767597
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxrender_0.9.8.bb
@@ -0,0 +1,23 @@
1SUMMARY = "XRender: X Rendering Extension library"
2
3DESCRIPTION = "The X Rendering Extension (Render) introduces digital \
4image composition as the foundation of a new rendering model within the \
5X Window System. Rendering geometric figures is accomplished by \
6client-side tessellation into either triangles or trapezoids. Text is \
7drawn by loading glyphs into the server and rendering sets of them."
8
9require xorg-lib-common.inc
10
11LICENSE = "MIT-style"
12LIC_FILES_CHKSUM = "file://COPYING;md5=d8bc71986d3b9b3639f6dfd6fac8f196"
13
14DEPENDS += "virtual/libx11 renderproto xproto xdmcp"
15
16PE = "1"
17
18XORG_PN = "libXrender"
19
20BBCLASSEXTEND = "native nativesdk"
21
22SRC_URI[md5sum] = "2bd9a15fcf64d216e63b8d129e4f1f1c"
23SRC_URI[sha256sum] = "1d14b02f0060aec5d90dfdcf16a996f17002e515292906ed26e3dcbba0f4fc62"
diff --git a/meta/recipes-graphics/xorg-lib/libxres_1.0.7.bb b/meta/recipes-graphics/xorg-lib/libxres_1.0.7.bb
new file mode 100644
index 0000000000..8c04c44f80
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxres_1.0.7.bb
@@ -0,0 +1,20 @@
1SUMMARY = "XRes: X Resource extension library"
2
3DESCRIPTION = "libXRes provides an X Window System client interface to \
4the Resource extension to the X protocol. The Resource extension allows \
5for X clients to see and monitor the X resource usage of various clients \
6(pixmaps, et al)."
7
8require xorg-lib-common.inc
9
10LICENSE = "MIT"
11LIC_FILES_CHKSUM = "file://COPYING;md5=8c89441a8df261bdc56587465e13c7fa"
12
13DEPENDS += "libxext resourceproto"
14
15PE = "1"
16
17XORG_PN = "libXres"
18
19SRC_URI[md5sum] = "45ef29206a6b58254c81bea28ec6c95f"
20SRC_URI[sha256sum] = "26899054aa87f81b17becc68e8645b240f140464cf90c42616ebb263ec5fa0e5"
diff --git a/meta/recipes-graphics/xorg-lib/libxscrnsaver_1.2.2.bb b/meta/recipes-graphics/xorg-lib/libxscrnsaver_1.2.2.bb
new file mode 100644
index 0000000000..354e5de7fd
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxscrnsaver_1.2.2.bb
@@ -0,0 +1,23 @@
1require xorg-lib-common.inc
2
3SUMMARY = "Xscrnsaver: X Screen Saver extension library"
4
5DESCRIPTION = "The X Window System provides support for changing the \
6image on a display screen after a user-settable period of inactivity to \
7avoid burning the cathode ray tube phosphors. However, no interfaces are \
8provided for the user to control the image that is drawn. This extension \
9allows an external \"screen saver\" client to detect when the alternate \
10image is to be displayed and to provide the graphics."
11
12LICENSE = "MIT"
13LIC_FILES_CHKSUM = "file://COPYING;md5=21fd154ee757813632ada871a34113fb"
14
15DEPENDS += "libxext scrnsaverproto"
16PROVIDES = "libxss"
17RREPLACES_${PN} = "libxss"
18PE = "1"
19
20XORG_PN = "libXScrnSaver"
21
22SRC_URI[md5sum] = "7a773b16165e39e938650bcc9027c1d5"
23SRC_URI[sha256sum] = "8ff1efa7341c7f34bcf9b17c89648d6325ddaae22e3904e091794e0b4426ce1d"
diff --git a/meta/recipes-graphics/xorg-lib/libxshmfence_1.1.bb b/meta/recipes-graphics/xorg-lib/libxshmfence_1.1.bb
new file mode 100644
index 0000000000..7dff0d49ec
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxshmfence_1.1.bb
@@ -0,0 +1,17 @@
1SUMMARY = "Shared memory 'SyncFence' synchronization primitive"
2
3DESCRIPTION = "This library offers a CPU-based synchronization primitive compatible \
4with the X SyncFence objects that can be shared between processes \
5using file descriptor passing."
6
7require xorg-lib-common.inc
8
9LICENSE = "MIT-style"
10LIC_FILES_CHKSUM = "file://COPYING;md5=47e508ca280fde97906eacb77892c3ac"
11
12DEPENDS += "virtual/libx11"
13
14BBCLASSEXTEND = "native nativesdk"
15
16SRC_URI[md5sum] = "2dd10448c1166e71a176206a8dfabe6d"
17SRC_URI[sha256sum] = "dbc2db2925ca9f216fd1e9c63d0974db9f4d49aaf5877ffb606d2d8d7e58cebe"
diff --git a/meta/recipes-graphics/xorg-lib/libxt/libxt_fix_for_x32.patch b/meta/recipes-graphics/xorg-lib/libxt/libxt_fix_for_x32.patch
new file mode 100644
index 0000000000..ce6c756df9
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxt/libxt_fix_for_x32.patch
@@ -0,0 +1,19 @@
1Upstream-Status: Pending
2
3This fixes compilation with x32 toolchain.
4
5Received this patch from H.J. Lu <hjl.tools@gmail.com>
6Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/12/1
7
8
9--- libXt-1.1.1/include/X11/Xtos.h.x32 2011-02-08 07:56:40.000000000 -0800
10+++ libXt-1.1.1/include/X11/Xtos.h 2011-11-30 17:19:27.473349770 -0800
11@@ -62,7 +62,7 @@ SOFTWARE.
12 defined(__sparc64__) || \
13 defined(__s390x__) || \
14 (defined(__hppa__) && defined(__LP64__)) || \
15- defined(__amd64__) || defined(amd64) || \
16+ ((defined(__amd64__) || defined(amd64)) && defined(__LP64__)) || \
17 defined(__powerpc64__) || \
18 (defined(sgi) && (_MIPS_SZLONG == 64))
19 #define LONG64
diff --git a/meta/recipes-graphics/xorg-lib/libxt_1.1.4.bb b/meta/recipes-graphics/xorg-lib/libxt_1.1.4.bb
new file mode 100644
index 0000000000..9c1aaa4370
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxt_1.1.4.bb
@@ -0,0 +1,44 @@
1SUMMARY = "Xt: X Toolkit Intrinsics library"
2
3DESCRIPTION = "The Intrinsics are a programming library tailored to the \
4special requirements of user interface construction within a network \
5window system, specifically the X Window System. The Intrinsics and a \
6widget set make up an X Toolkit. The Intrinsics provide the base \
7mechanism necessary to build a wide variety of interoperating widget \
8sets and application environments. The Intrinsics are a layer on top of \
9Xlib, the C Library X Interface. They extend the fundamental \
10abstractions provided by the X Window System while still remaining \
11independent of any particular user interface policy or style."
12
13require xorg-lib-common.inc
14
15LICENSE = "MIT & MIT-style"
16LIC_FILES_CHKSUM = "file://COPYING;md5=6565b1e0094ea1caae0971cc4035f343"
17
18
19DEPENDS += "util-linux libxcb libsm virtual/libx11 kbproto libxdmcp"
20PROVIDES = "xt"
21
22PE = "1"
23
24XORG_PN = "libXt"
25
26SRC_URI += "file://libxt_fix_for_x32.patch"
27
28BBCLASSEXTEND = "native"
29
30EXTRA_OECONF += "--disable-xkb"
31
32do_compile() {
33 (
34 unset CC LD CXX CCLD CFLAGS
35 oe_runmake -C util 'XT_CFLAGS=' 'CC=${BUILD_CC}' 'LD=${BUILD_LD}' 'CXX=${BUILD_CXX}' 'CCLD=${BUILD_CCLD}' 'CFLAGS=-D_GNU_SOURCE -I${STAGING_INCDIR_NATIVE} ${BUILD_CFLAGS}' 'LDFLAGS=${BUILD_LDFLAGS}' 'CXXFLAGS=${BUILD_CXXFLAGS}' 'CPPFLAGS=${BUILD_CPPFLAGS}' makestrs
36 )
37 if [ "$?" != "0" ]; then
38 exit 1
39 fi
40 oe_runmake
41}
42
43SRC_URI[md5sum] = "03149823ae57bb02d0cec90d5b97d56c"
44SRC_URI[sha256sum] = "843a97a988f5654872682a4120486d987d853a71651515472f55519ffae2dd57"
diff --git a/meta/recipes-graphics/xorg-lib/libxtst_1.2.2.bb b/meta/recipes-graphics/xorg-lib/libxtst_1.2.2.bb
new file mode 100644
index 0000000000..1b0bcf391c
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxtst_1.2.2.bb
@@ -0,0 +1,20 @@
1require xorg-lib-common.inc
2
3SUMMARY = "XTest: X Test extension library"
4
5DESCRIPTION = "This extension is a minimal set of client and server \
6extensions required to completely test the X11 server with no user \
7intervention."
8
9LICENSE = "MIT-style"
10LIC_FILES_CHKSUM = "file://COPYING;md5=bb4f89972c3869f617f61c1a79ad1952 \
11 file://src/XTest.c;beginline=2;endline=32;md5=b1c8c9dff842b4d5b89ca5fa32c40e99"
12
13DEPENDS += "libxext recordproto inputproto libxi"
14PROVIDES = "xtst"
15PE = "1"
16
17XORG_PN = "libXtst"
18
19SRC_URI[md5sum] = "25c6b366ac3dc7a12c5d79816ce96a59"
20SRC_URI[sha256sum] = "ef0a7ffd577e5f1a25b1663b375679529663a1880151beaa73e9186c8309f6d9"
diff --git a/meta/recipes-graphics/xorg-lib/libxv_1.0.10.bb b/meta/recipes-graphics/xorg-lib/libxv_1.0.10.bb
new file mode 100644
index 0000000000..f02b8b64f5
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxv_1.0.10.bb
@@ -0,0 +1,18 @@
1SUMMARY = "Xv: X Video extension library"
2
3DESCRIPTION = "libXv provides an X Window System client interface to the \
4X Video extension to the X protocol. The X Video extension allows for \
5accelerated drawing of videos. Hardware adaptors are exposed to \
6clients, which may draw in a number of colourspaces, including YUV."
7
8require xorg-lib-common.inc
9
10LICENSE = "MIT-style"
11LIC_FILES_CHKSUM = "file://COPYING;md5=827da9afab1f727f2a66574629e0f39c"
12
13DEPENDS += "libxext videoproto"
14
15XORG_PN = "libXv"
16
17SRC_URI[md5sum] = "e0af49d7d758b990e6fef629722d4aca"
18SRC_URI[sha256sum] = "55fe92f8686ce8612e2c1bfaf58c057715534419da700bda8d517b1d97914525"
diff --git a/meta/recipes-graphics/xorg-lib/libxvmc_1.0.8.bb b/meta/recipes-graphics/xorg-lib/libxvmc_1.0.8.bb
new file mode 100644
index 0000000000..b0d5e0ddbc
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxvmc_1.0.8.bb
@@ -0,0 +1,19 @@
1SUMMARY = "XvMC: X Video Motion Compensation extension library"
2
3DESCRIPTION = "XvMC extends the X Video extension (Xv) and enables \
4hardware rendered motion compensation support."
5
6require xorg-lib-common.inc
7
8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://COPYING;md5=0a207f08d4961489c55046c9a5e500da \
10 file://wrapper/XvMCWrapper.c;endline=26;md5=5151daa8172a3f1bb0cb0e0ff157d9de"
11
12DEPENDS += "libxext libxv videoproto"
13
14PE = "1"
15
16XORG_PN = "libXvMC"
17
18SRC_URI[md5sum] = "2e4014e9d55c430e307999a6b3dd256d"
19SRC_URI[sha256sum] = "5e1a401efa433f959d41e17932b8c218c56b931348f494b8fa4656d7d798b204"
diff --git a/meta/recipes-graphics/xorg-lib/libxxf86dga_1.1.4.bb b/meta/recipes-graphics/xorg-lib/libxxf86dga_1.1.4.bb
new file mode 100644
index 0000000000..695a39637c
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxxf86dga_1.1.4.bb
@@ -0,0 +1,19 @@
1require xorg-lib-common.inc
2
3SUMMARY = "XFree86-DGA: XFree86 Direct Graphics Access extension library"
4
5DESCRIPTION = "libXxf86dga provides the XFree86-DGA extension, which \
6allows direct graphics access to a framebuffer-like region, and also \
7allows relative mouse reporting, et al. It is mainly used by games and \
8emulators for games."
9
10LIC_FILES_CHKSUM = "file://COPYING;md5=abb99ac125f84f424a4278153988e32f"
11
12DEPENDS += "libxext xf86dgaproto"
13
14PE = "1"
15
16SRC_URI[md5sum] = "d7dd9b9df336b7dd4028b6b56542ff2c"
17SRC_URI[sha256sum] = "8eecd4b6c1df9a3704c04733c2f4fa93ef469b55028af5510b25818e2456c77e"
18
19XORG_PN = "libXxf86dga"
diff --git a/meta/recipes-graphics/xorg-lib/libxxf86misc_1.0.3.bb b/meta/recipes-graphics/xorg-lib/libxxf86misc_1.0.3.bb
new file mode 100644
index 0000000000..af6f1f76a2
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxxf86misc_1.0.3.bb
@@ -0,0 +1,20 @@
1SUMMARY = "XFree86-Misc: XFree86 miscellaneous extension library"
2
3DESCRIPTION = "The XFree86-Misc extension, provides a means to access \
4input device configuration settings specific to the XFree86/Xorg DDX."
5
6require xorg-lib-common.inc
7
8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://COPYING;md5=27c91ecc435bd3d2bfad868914c94b45"
10
11DEPENDS += "libxext xf86miscproto"
12PROVIDES = "xxf86misc"
13
14PE = "1"
15
16XORG_PN = "libXxf86misc"
17
18SRC_URI[md5sum] = "6bc0bf78909fd71021c466c793d4385c"
19SRC_URI[sha256sum] = "563f4200862efd3334c33a669e0a0aae5bab31f3998db75b87a99a697cc26b5b"
20
diff --git a/meta/recipes-graphics/xorg-lib/libxxf86vm_1.1.3.bb b/meta/recipes-graphics/xorg-lib/libxxf86vm_1.1.3.bb
new file mode 100644
index 0000000000..e276a761f8
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxxf86vm_1.1.3.bb
@@ -0,0 +1,20 @@
1SUMMARY = "XFree86-VM: XFree86 video mode extension library"
2
3DESCRIPTION = "libXxf86vm provides an interface to the \
4XFree86-VidModeExtension extension, which allows client applications to \
5get and set video mode timings in extensive detail. It is used by the \
6xvidtune program in particular."
7
8require xorg-lib-common.inc
9
10LICENSE = "MIT"
11LIC_FILES_CHKSUM = "file://COPYING;md5=fa0b9c462d8f2f13eba26492d42ea63d"
12
13DEPENDS += "libxext xf86vidmodeproto"
14
15PE = "1"
16
17XORG_PN = "libXxf86vm"
18
19SRC_URI[md5sum] = "e46f6ee4f4567349a3189044fe1bb712"
20SRC_URI[sha256sum] = "da5e86c32ee2069b9e6d820e4c2e4242d4877cb155a2b2fbf2675a1480ec37b8"
diff --git a/meta/recipes-graphics/xorg-lib/pixman/0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch b/meta/recipes-graphics/xorg-lib/pixman/0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch
new file mode 100644
index 0000000000..4569dca01e
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/pixman/0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch
@@ -0,0 +1,144 @@
1From a0f53e1dbb3851bb0f0efcfdbd565b05e4be9cac Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Thu, 23 Aug 2012 18:10:57 +0200
4Subject: [PATCH 1/2] ARM: qemu related workarounds in cpu features detection
5 code
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10This was ported from meta-oe's patch [1]. The original pixman patch is found
11at [2].
12
13[1] http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-graphics/xorg-lib/pixman-0.26.2/0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch
14[2] http://lists.freedesktop.org/archives/pixman/2011-January/000906.html
15
16Upstream-Status: Inappropriate [other] qemu fix
17
18Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
19---
20 pixman/pixman-arm.c | 82 ++++++++++++++++++++++++++++++++++++++++----------
21 1 files changed, 65 insertions(+), 17 deletions(-)
22
23diff --git a/pixman/pixman-arm.c b/pixman/pixman-arm.c
24index 23374e4..d98bda6 100644
25--- a/pixman/pixman-arm.c
26+++ b/pixman/pixman-arm.c
27@@ -129,16 +129,35 @@ detect_cpu_features (void)
28 #include <sys/types.h>
29 #include <sys/stat.h>
30 #include <sys/mman.h>
31+#include <sys/utsname.h>
32 #include <fcntl.h>
33 #include <string.h>
34 #include <elf.h>
35
36+/*
37+ * The whole CPU capabilities detection is a bit ugly: when running in
38+ * userspace qemu, we see /proc/self/auxv from the host system. To make
39+ * everything even worse, the size of each value is 64-bit when running
40+ * on a 64-bit host system. So the data is totally bogus because we expect
41+ * 32-bit values. As AT_PLATFORM value is used as a pointer, it may cause
42+ * segfault (null pointer dereference on x86-64 host). So in order to be
43+ * on a safe side, we require that AT_PLATFORM value is found only once,
44+ * and it has non-zero value (this is still not totally reliable for a big
45+ * endian 64-bit host system running qemu and may theoretically fail).
46+ */
47+#define ARM_HWCAP_VFP 64
48+#define ARM_HWCAP_IWMMXT 512
49+#define ARM_HWCAP_NEON 4096
50+
51 static arm_cpu_features_t
52 detect_cpu_features (void)
53 {
54 arm_cpu_features_t features = 0;
55 Elf32_auxv_t aux;
56 int fd;
57+ uint32_t hwcap = 0;
58+ const char *plat = NULL;
59+ int plat_cnt = 0;
60
61 fd = open ("/proc/self/auxv", O_RDONLY);
62 if (fd >= 0)
63@@ -147,32 +166,61 @@ detect_cpu_features (void)
64 {
65 if (aux.a_type == AT_HWCAP)
66 {
67- uint32_t hwcap = aux.a_un.a_val;
68-
69- /* hardcode these values to avoid depending on specific
70- * versions of the hwcap header, e.g. HWCAP_NEON
71- */
72- if ((hwcap & 64) != 0)
73- features |= ARM_VFP;
74- if ((hwcap & 512) != 0)
75- features |= ARM_IWMMXT;
76- /* this flag is only present on kernel 2.6.29 */
77- if ((hwcap & 4096) != 0)
78- features |= ARM_NEON;
79+ hwcap = aux.a_un.a_val;
80 }
81 else if (aux.a_type == AT_PLATFORM)
82 {
83- const char *plat = (const char*) aux.a_un.a_val;
84-
85- if (strncmp (plat, "v7l", 3) == 0)
86+ plat = (const char*) aux.a_un.a_val;
87+ plat_cnt++;
88+ }
89+ }
90+ close (fd);
91+ if (plat == NULL || plat_cnt != 1 || *plat != 'v')
92+ {
93+ /*
94+ * Something seems to be really wrong, most likely we are
95+ * running under qemu. Let's use machine type from "uname" for
96+ * CPU capabilities detection:
97+ * http://www.mail-archive.com/qemu-devel at nongnu.org/msg22212.html
98+ */
99+ struct utsname u;
100+ hwcap = 0; /* clear hwcap, because it is bogus */
101+ if (uname (&u) == 0)
102+ {
103+ if (strcmp (u.machine, "armv7l") == 0)
104+ {
105 features |= (ARM_V7 | ARM_V6);
106- else if (strncmp (plat, "v6l", 3) == 0)
107+ hwcap |= ARM_HWCAP_VFP; /* qemu is supposed to emulate vfp */
108+ hwcap |= ARM_HWCAP_NEON; /* qemu is supposed to emulate neon */
109+ }
110+ else if (strcmp (u.machine, "armv6l") == 0)
111+ {
112 features |= ARM_V6;
113+ hwcap |= ARM_HWCAP_VFP; /* qemu is supposed to emulate vfp */
114+ }
115 }
116 }
117- close (fd);
118+ else if (strncmp (plat, "v7l", 3) == 0)
119+ {
120+ features |= (ARM_V7 | ARM_V6);
121+ }
122+ else if (strncmp (plat, "v6l", 3) == 0)
123+ {
124+ features |= ARM_V6;
125+ }
126 }
127
128+ /* hardcode these values to avoid depending on specific
129+ * versions of the hwcap header, e.g. HWCAP_NEON
130+ */
131+ if ((hwcap & ARM_HWCAP_VFP) != 0)
132+ features |= ARM_VFP;
133+ if ((hwcap & ARM_HWCAP_IWMMXT) != 0)
134+ features |= ARM_IWMMXT;
135+ /* this flag is only present on kernel 2.6.29 */
136+ if ((hwcap & ARM_HWCAP_NEON) != 0)
137+ features |= ARM_NEON;
138+
139 return features;
140 }
141
142--
1431.7.6.5
144
diff --git a/meta/recipes-graphics/xorg-lib/pixman/mips-export-revert.patch b/meta/recipes-graphics/xorg-lib/pixman/mips-export-revert.patch
new file mode 100644
index 0000000000..14a5fd209b
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/pixman/mips-export-revert.patch
@@ -0,0 +1,22 @@
1Revert a commit in pixman 0.32.6 which breaks compliation on MIPS machines with
2errors such as:
3
4pixman-0.32.6/pixman/pixman-mips-dspr2-asm.S:4267:
5Error: invalid operands `mflo $14,$ac3'
6
7Upstream-Status: Pending
8Signed-off-by: Ross Burton <ross.burton@intel.com>
9
10--- b/pixman/pixman-mips-dspr2-asm.h
11+++ a/pixman/pixman-mips-dspr2-asm.h
12@@ -72,10 +72,7 @@
13 #define LEAF_MIPS32R2(symbol) \
14 .globl symbol; \
15 .align 2; \
16-#ifdef __ELF__
17- .hidden symbol; \
18 .type symbol, @function; \
19-#endif
20 .ent symbol, 0; \
21 symbol: .frame sp, 0, ra; \
22 .set push; \
diff --git a/meta/recipes-graphics/xorg-lib/pixman_0.32.6.bb b/meta/recipes-graphics/xorg-lib/pixman_0.32.6.bb
new file mode 100644
index 0000000000..467ba508ee
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/pixman_0.32.6.bb
@@ -0,0 +1,38 @@
1SUMMARY = "Pixman: Pixel Manipulation library"
2
3DESCRIPTION = "Pixman provides a library for manipulating pixel regions \
4-- a set of Y-X banded rectangles, image compositing using the \
5Porter/Duff model and implicit mask generation for geometric primitives \
6including trapezoids, triangles, and rectangles."
7
8require xorg-lib-common.inc
9
10LICENSE = "MIT & MIT-style & PD"
11LIC_FILES_CHKSUM = "file://COPYING;md5=14096c769ae0cbb5fcb94ec468be11b3 \
12 file://pixman/pixman-matrix.c;endline=25;md5=ba6e8769bfaaee2c41698755af04c4be \
13 file://pixman/pixman-arm-neon-asm.h;endline=24;md5=9a9cc1e51abbf1da58f4d9528ec9d49b \
14 "
15DEPENDS += "zlib libpng"
16BBCLASSEXTEND = "native nativesdk"
17
18PE = "1"
19
20IWMMXT = "--disable-arm-iwmmxt"
21LOONGSON_MMI = "--disable-loongson-mmi"
22NEON = " --disable-arm-neon "
23NEON_class-nativesdk = " --disable-arm-neon "
24NEON_armv7a = " "
25NEON_armv7a-vfp-neon = " "
26
27EXTRA_OECONF = "--disable-gtk ${IWMMXT} ${LOONGSON_MMI} ${NEON}"
28EXTRA_OECONF_class-native = "--disable-gtk"
29
30SRC_URI += "\
31 file://0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch \
32 file://mips-export-revert.patch \
33"
34
35SRC_URI[md5sum] = "8a9e8f14743a39cf303803f369c1f344"
36SRC_URI[sha256sum] = "201fc0d7d6bc0017496f2bd27b3ca14224aea0df6b624c5ee2dc0307a4ff14a4"
37
38REQUIRED_DISTRO_FEATURES = ""
diff --git a/meta/recipes-graphics/xorg-lib/xcb-util-image_0.3.9.bb b/meta/recipes-graphics/xorg-lib/xcb-util-image_0.3.9.bb
new file mode 100644
index 0000000000..1d36893f93
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/xcb-util-image_0.3.9.bb
@@ -0,0 +1,11 @@
1require xcb-util.inc
2
3DEPENDS += "xcb-util"
4
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://image/xcb_image.c;endline=24;md5=eafdf965cfb89955fdedf75054223fb4 \
7 file://image/xcb_image.h;beginline=4;endline=27;md5=48cd25ae55e7de525fe1e1a3a7672e1c"
8
9SRC_URI[md5sum] = "fabb80b36490b00fc91289e2c7f66770"
10SRC_URI[sha256sum] = "d35a3c0eaae171f5081ec127fb9cec174b716ce5d78196a87f2785376da021df"
11
diff --git a/meta/recipes-graphics/xorg-lib/xcb-util-keysyms_0.3.9.bb b/meta/recipes-graphics/xorg-lib/xcb-util-keysyms_0.3.9.bb
new file mode 100644
index 0000000000..39ead34e92
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/xcb-util-keysyms_0.3.9.bb
@@ -0,0 +1,10 @@
1require xcb-util.inc
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://keysyms/keysyms.c;endline=30;md5=2f8de023ed823bb92f0b47900574ea9e \
5 "
6
7SRC_URI[md5sum] = "64e4aad2d48cd4a92e2da13b9f35bfd2"
8SRC_URI[sha256sum] = "7be1acf053bd68a1910fc861b2cbcbad7637b5618590dd5484d43a96f7995c6e"
9
10
diff --git a/meta/recipes-graphics/xorg-lib/xcb-util-renderutil_0.3.9.bb b/meta/recipes-graphics/xorg-lib/xcb-util-renderutil_0.3.9.bb
new file mode 100644
index 0000000000..25c22e5fa7
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/xcb-util-renderutil_0.3.9.bb
@@ -0,0 +1,10 @@
1require xcb-util.inc
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://renderutil/glyph.c;endline=24;md5=c517c483b8d726234ec94f9169236661 \
5 file://renderutil/util.c;endline=20;md5=6e0bfc44fb13298c0f4694eb70dc80d4 \
6 file://renderutil/xcb_renderutil.h;endline=24;md5=d0ddab3052dd4949c93cfcb0891c96df \
7 "
8
9SRC_URI[md5sum] = "468b119c94da910e1291f3ffab91019a"
10SRC_URI[sha256sum] = "c6e97e48fb1286d6394dddb1c1732f00227c70bd1bedb7d1acabefdd340bea5b"
diff --git a/meta/recipes-graphics/xorg-lib/xcb-util-wm_0.4.1.bb b/meta/recipes-graphics/xorg-lib/xcb-util-wm_0.4.1.bb
new file mode 100644
index 0000000000..39f1383299
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/xcb-util-wm_0.4.1.bb
@@ -0,0 +1,11 @@
1require xcb-util.inc
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://ewmh/ewmh.c.m4;endline=27;md5=63fd80552d7dc886f4eb267610d5bb9d \
5 file://ewmh/xcb_ewmh.h.m4;beginline=4;endline=30;md5=73b589f90ef90b4a43998955daad5cd8 \
6 file://icccm/icccm.c;endline=28;md5=e2b3240a0c197e8977adde2a5cf18d50 \
7 file://icccm/xcb_icccm.h;beginline=4;endline=31;md5=393772b7b07b9868d479d538238c1d8a \
8 "
9
10SRC_URI[md5sum] = "87b19a1cd7bfcb65a24e36c300e03129"
11SRC_URI[sha256sum] = "28bf8179640eaa89276d2b0f1ce4285103d136be6c98262b6151aaee1d3c2a3f"
diff --git a/meta/recipes-graphics/xorg-lib/xcb-util.inc b/meta/recipes-graphics/xorg-lib/xcb-util.inc
new file mode 100644
index 0000000000..7dad545c33
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/xcb-util.inc
@@ -0,0 +1,23 @@
1SUMMARY = "XCB: The X protocol C binding utilities"
2DESCRIPTION = "The xcb-util module provides a number of libraries which \
3sit on top of libxcb, the core X protocol library, and some of the \
4extension libraries. These experimental libraries provide convenience \
5functions and interfaces which make the raw X protocol more usable. Some \
6of the libraries also provide client-side code which is not strictly \
7part of the X protocol but which have traditionally been provided by \
8Xlib."
9HOMEPAGE = "http://xcb.freedesktop.org/XcbUtil/"
10BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB"
11
12LICENSE = "MIT"
13
14SECTION = "x11/libs"
15
16DEPENDS = "libxcb"
17DEPENDS += "gperf-native"
18
19PARALLEL_MAKE = ""
20
21SRC_URI = "http://xcb.freedesktop.org/dist/${BPN}-${PV}.tar.bz2"
22
23inherit autotools pkgconfig
diff --git a/meta/recipes-graphics/xorg-lib/xcb-util_0.3.9.bb b/meta/recipes-graphics/xorg-lib/xcb-util_0.3.9.bb
new file mode 100644
index 0000000000..c5d8858115
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/xcb-util_0.3.9.bb
@@ -0,0 +1,8 @@
1require xcb-util.inc
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://src/xcb_aux.c;endline=30;md5=ae305b9c2a38f9ba27060191046a6460 \
5 file://src/xcb_event.h;endline=27;md5=627be355aee59e1b8ade80d5bd90fad9"
6
7SRC_URI[md5sum] = "01dcc7a16d5020530552712710646ea2"
8SRC_URI[sha256sum] = "c611259c0ab20fd76f79f48f4684843c18ea9c967eba78a45e8b3636315c18c4"
diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.12.bb b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.12.bb
new file mode 100644
index 0000000000..adac0eedd8
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.12.bb
@@ -0,0 +1,31 @@
1SUMMARY = "Keyboard configuration database for X Window"
2
3DESCRIPTION = "The non-arch keyboard configuration database for X \
4Window. The goal is to provide the consistent, well-structured, \
5frequently released open source of X keyboard configuration data for X \
6Window System implementations. The project is targeted to XKB-based \
7systems."
8
9HOMEPAGE = "http://freedesktop.org/wiki/Software/XKeyboardConfig"
10BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xkeyboard-config"
11
12LICENSE = "MIT & MIT-style"
13LIC_FILES_CHKSUM = "file://COPYING;md5=0e7f21ca7db975c63467d2e7624a12f9"
14
15SRC_URI="${XORG_MIRROR}/individual/data/xkeyboard-config/${BPN}-${PV}.tar.bz2"
16SRC_URI[md5sum] = "1fd54ceb9092d1dbcaabaf03653092bc"
17SRC_URI[sha256sum] = "65b62b95b77b609cb6c0439e0148c48c3ab7dcb5c90eb8d34cf1cb8f360cca44"
18
19SECTION = "x11/libs"
20DEPENDS = "intltool-native virtual/gettext util-macros libxslt-native"
21
22EXTRA_OECONF = "--with-xkb-rules-symlink=xorg --disable-runtime-deps"
23
24FILES_${PN} += "${datadir}/X11/xkb"
25
26inherit autotools pkgconfig gettext
27
28do_install_append () {
29 install -d ${D}${datadir}/X11/xkb/compiled
30 cd ${D}${datadir}/X11/xkb/rules && ln -sf base xorg
31}
diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
new file mode 100644
index 0000000000..09df0109cb
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
@@ -0,0 +1,26 @@
1HOMEPAGE = "http://www.x.org"
2BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
3
4SECTION = "x11/libs"
5LICENSE = "MIT-X"
6DEPENDS = "util-macros"
7
8XORG_PN = "${BPN}"
9
10SRC_URI = "${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.tar.bz2"
11
12S = "${WORKDIR}/${XORG_PN}-${PV}"
13
14inherit autotools distro_features_check pkgconfig
15
16EXTRA_OECONF = "--disable-specs --without-groff --without-ps2pdf --without-fop"
17
18PACKAGECONFIG ??= ""
19PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
20
21UNKNOWN_CONFIGURE_WHITELIST += "--enable-malloc0returnsnull --disable-malloc0returnsnull \
22 --disable-specs --without-groff --without-ps2pdf --without-fop \
23 --without-xmlto --with-xmlto \
24"
25
26REQUIRED_DISTRO_FEATURES ?= "x11"
diff --git a/meta/recipes-graphics/xorg-lib/xtrans_1.3.4.bb b/meta/recipes-graphics/xorg-lib/xtrans_1.3.4.bb
new file mode 100644
index 0000000000..f2b89217bb
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/xtrans_1.3.4.bb
@@ -0,0 +1,24 @@
1SUMMARY = "XTrans: X Transport library"
2
3DESCRIPTION = "The X Transport Interface is intended to combine all \
4system and transport specific code into a single place. This API should \
5be used by all libraries, clients and servers of the X Window System. \
6Use of this API should allow the addition of new types of transports and \
7support for new platforms without making any changes to the source \
8except in the X Transport Interface code."
9
10require xorg-lib-common.inc
11
12LICENSE = "MIT & MIT-style"
13LIC_FILES_CHKSUM = "file://COPYING;md5=49347921d4d5268021a999f250edc9ca"
14
15PE = "1"
16
17RDEPENDS_${PN}-dev = ""
18
19inherit gettext
20
21BBCLASSEXTEND = "native nativesdk"
22
23SRC_URI[md5sum] = "a615e17d9fee6f097fc3b716eacb3dca"
24SRC_URI[sha256sum] = "054d4ee3efd52508c753e9f7bc655ef185a29bd2850dd9e2fc2ccc33544f583a"