summaryrefslogtreecommitdiff
path: root/packages/xlibs
diff options
context:
space:
mode:
Diffstat (limited to 'packages/xlibs')
-rw-r--r--packages/xlibs/.mtn2git_empty0
-rw-r--r--packages/xlibs/diet-x11_20050226.bb6
-rw-r--r--packages/xlibs/diet-x11_6.2.1.bb9
-rw-r--r--packages/xlibs/diet-x11_cvs.bb7
-rw-r--r--packages/xlibs/libice/.mtn2git_empty0
-rw-r--r--packages/xlibs/libice/autofoo.patch21
-rw-r--r--packages/xlibs/libice_6.3.3.bb18
-rw-r--r--packages/xlibs/libice_cvs.bb17
-rw-r--r--packages/xlibs/libsm/.mtn2git_empty0
-rw-r--r--packages/xlibs/libsm/autofoo.patch21
-rw-r--r--packages/xlibs/libsm_6.0.3.bb17
-rw-r--r--packages/xlibs/libsm_cvs.bb18
-rw-r--r--packages/xlibs/libx11-native_6.2.1.bb5
-rw-r--r--packages/xlibs/libx11-native_cvs.bb5
-rw-r--r--packages/xlibs/libx11/.mtn2git_empty0
-rw-r--r--packages/xlibs/libx11/autofoo.patch22
-rw-r--r--packages/xlibs/libx11/errordb-keysymdb-path-fix.patch22
-rw-r--r--packages/xlibs/libx11/fix-utf8-wrong-define.patch16
-rw-r--r--packages/xlibs/libx11/xim.patch55
-rw-r--r--packages/xlibs/libx11_20050226.bb6
-rw-r--r--packages/xlibs/libx11_6.2.1.bb41
-rw-r--r--packages/xlibs/libx11_cvs.bb42
-rw-r--r--packages/xlibs/libxau-native_0.1.1.bb5
-rw-r--r--packages/xlibs/libxau-native_cvs.bb5
-rw-r--r--packages/xlibs/libxau/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxau/autofoo.patch21
-rw-r--r--packages/xlibs/libxau_0.1.1.bb18
-rw-r--r--packages/xlibs/libxau_cvs.bb18
-rw-r--r--packages/xlibs/libxaw/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxaw/auxdir.patch10
-rw-r--r--packages/xlibs/libxaw_7.0.2.bb21
-rw-r--r--packages/xlibs/libxaw_cvs.bb19
-rw-r--r--packages/xlibs/libxcomposite-1.0.1/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxcomposite-1.0.1/autofoo.patch17
-rw-r--r--packages/xlibs/libxcomposite_1.0.1.bb16
-rw-r--r--packages/xlibs/libxcomposite_cvs.bb15
-rw-r--r--packages/xlibs/libxcursor-1.1.2/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxcursor-1.1.2/autofoo.patch20
-rw-r--r--packages/xlibs/libxcursor/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxcursor/autofoo.patch22
-rw-r--r--packages/xlibs/libxcursor_1.1.2.bb18
-rw-r--r--packages/xlibs/libxcursor_cvs.bb17
-rw-r--r--packages/xlibs/libxdamage-1.0.1/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxdamage-1.0.1/autofoo.patch17
-rw-r--r--packages/xlibs/libxdamage/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxdamage/m4.patch65
-rw-r--r--packages/xlibs/libxdamage_1.0.1.bb17
-rw-r--r--packages/xlibs/libxdamage_cvs.bb16
-rw-r--r--packages/xlibs/libxdmcp-native_0.1.1.bb5
-rw-r--r--packages/xlibs/libxdmcp-native_0.1.3.bb5
-rw-r--r--packages/xlibs/libxdmcp/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxdmcp/autofoo.patch22
-rw-r--r--packages/xlibs/libxdmcp_0.1.1.bb18
-rw-r--r--packages/xlibs/libxdmcp_0.1.3.bb18
-rw-r--r--packages/xlibs/libxdmcp_cvs.bb18
-rw-r--r--packages/xlibs/libxext-native_cvs.bb4
-rw-r--r--packages/xlibs/libxext/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxext/autofoo.patch18
-rw-r--r--packages/xlibs/libxext_cvs.bb16
-rw-r--r--packages/xlibs/libxfixes/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxfixes/autofoo.patch20
-rw-r--r--packages/xlibs/libxfixes_2.0.1.bb15
-rw-r--r--packages/xlibs/libxfixes_cvs.bb14
-rw-r--r--packages/xlibs/libxfont/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxfont/autofoo.patch18
-rw-r--r--packages/xlibs/libxfont/scalable.patch27
-rw-r--r--packages/xlibs/libxfont_1.4.2.bb19
-rw-r--r--packages/xlibs/libxfont_cvs.bb18
-rw-r--r--packages/xlibs/libxft/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxft/autofoo.patch21
-rw-r--r--packages/xlibs/libxft_2.1.6.bb27
-rw-r--r--packages/xlibs/libxft_cvs.bb26
-rw-r--r--packages/xlibs/libxi/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxi/autofoo.patch12
-rw-r--r--packages/xlibs/libxi_6.0.1.bb16
-rw-r--r--packages/xlibs/libxi_cvs.bb16
-rw-r--r--packages/xlibs/libxinerama_1.0.2+cvs20050505.bb16
-rw-r--r--packages/xlibs/libxinerama_1.0.2.bb17
-rw-r--r--packages/xlibs/libxinerama_cvs.bb16
-rw-r--r--packages/xlibs/libxkbfile_cvs.bb15
-rw-r--r--packages/xlibs/libxmu_cvs.bb21
-rw-r--r--packages/xlibs/libxp_cvs.bb18
-rw-r--r--packages/xlibs/libxpm/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxpm/autofoo.patch18
-rw-r--r--packages/xlibs/libxpm_3.5.1.bb19
-rw-r--r--packages/xlibs/libxpm_cvs.bb19
-rw-r--r--packages/xlibs/libxrandr-1.0.2/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxrandr-1.0.2/autofoo.patch20
-rw-r--r--packages/xlibs/libxrandr/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxrandr/autofoo.patch30
-rw-r--r--packages/xlibs/libxrandr_1.0.2.bb15
-rw-r--r--packages/xlibs/libxrandr_cvs.bb15
-rw-r--r--packages/xlibs/libxrender/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxrender/autofoo.patch20
-rw-r--r--packages/xlibs/libxrender_0.8.4.bb15
-rw-r--r--packages/xlibs/libxrender_cvs.bb15
-rw-r--r--packages/xlibs/libxres_1.0.1.bb14
-rw-r--r--packages/xlibs/libxres_cvs.bb15
-rw-r--r--packages/xlibs/libxss_cvs.bb19
-rw-r--r--packages/xlibs/libxt/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxt/autofoo.patch20
-rw-r--r--packages/xlibs/libxt_0.1.5.bb29
-rw-r--r--packages/xlibs/libxt_cvs.bb26
-rw-r--r--packages/xlibs/libxtst_cvs.bb17
-rw-r--r--packages/xlibs/libxv_2.2.2+cvs20040918.bb13
-rw-r--r--packages/xlibs/libxv_2.2.2.bb13
-rw-r--r--packages/xlibs/libxvmc/.mtn2git_empty0
-rw-r--r--packages/xlibs/libxvmc/drm.patch9
-rw-r--r--packages/xlibs/libxvmc/true.patch11
-rw-r--r--packages/xlibs/libxvmc/via.patch23
-rw-r--r--packages/xlibs/libxvmc_20040919.bb39
-rw-r--r--packages/xlibs/libxvmc_20041025.bb36
-rw-r--r--packages/xlibs/libxvmc_20050612.bb37
-rw-r--r--packages/xlibs/libxxf86dga_cvs.bb15
-rw-r--r--packages/xlibs/libxxf86vm_cvs.bb15
-rw-r--r--packages/xlibs/xtrans-native_0.1.bb3
-rw-r--r--packages/xlibs/xtrans_0.1.bb15
-rw-r--r--packages/xlibs/xtrans_cvs.bb16
118 files changed, 1752 insertions, 0 deletions
diff --git a/packages/xlibs/.mtn2git_empty b/packages/xlibs/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/.mtn2git_empty
diff --git a/packages/xlibs/diet-x11_20050226.bb b/packages/xlibs/diet-x11_20050226.bb
new file mode 100644
index 0000000000..cab8c5d570
--- /dev/null
+++ b/packages/xlibs/diet-x11_20050226.bb
@@ -0,0 +1,6 @@
+SECTION = "x11/base"
+include libx11_${PV}.bb
+
+EXTRA_OECONF = "--disable-xcms --disable-xlocale --disable-xkb"
+
+SRC_URI += "file://fix-utf8-wrong-define.patch;patch=1"
diff --git a/packages/xlibs/diet-x11_6.2.1.bb b/packages/xlibs/diet-x11_6.2.1.bb
new file mode 100644
index 0000000000..643e658412
--- /dev/null
+++ b/packages/xlibs/diet-x11_6.2.1.bb
@@ -0,0 +1,9 @@
+SECTION = "x11/base"
+include libx11_${PV}.bb
+
+EXTRA_OECONF = "--disable-xcms --disable-xlocale --disable-xkb"
+CFLAGS += "-D_GNU_SOURCE"
+
+SRC_URI += "file://fix-utf8-wrong-define.patch;patch=1 \
+ file://xim.patch;patch=1"
+
diff --git a/packages/xlibs/diet-x11_cvs.bb b/packages/xlibs/diet-x11_cvs.bb
new file mode 100644
index 0000000000..eea73f0964
--- /dev/null
+++ b/packages/xlibs/diet-x11_cvs.bb
@@ -0,0 +1,7 @@
+SECTION = "x11/base"
+include libx11_cvs.bb
+
+EXTRA_OECONF = "--disable-xcms --disable-xlocale --disable-xkb"
+
+SRC_URI += "file://fix-utf8-wrong-define.patch;patch=1 \
+ file://xim.patch;patch=1"
diff --git a/packages/xlibs/libice/.mtn2git_empty b/packages/xlibs/libice/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libice/.mtn2git_empty
diff --git a/packages/xlibs/libice/autofoo.patch b/packages/xlibs/libice/autofoo.patch
new file mode 100644
index 0000000000..8ab0585fb8
--- /dev/null
+++ b/packages/xlibs/libice/autofoo.patch
@@ -0,0 +1,21 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- libICE-6.3.3/configure.ac~autofoo 2004-05-11 01:50:07.000000000 -0400
++++ libICE-6.3.3/configure.ac 2005-01-18 02:30:07.463895544 -0500
+@@ -8,12 +8,12 @@
+ libICE)
+
+ AC_CONFIG_SRCDIR([Makefile.am])
++AC_CONFIG_AUX_DIR(.)
+ AM_INIT_AUTOMAKE([dist-bzip2])
+
+ AM_MAINTAINER_MODE
+
+ AM_CONFIG_HEADER([config.h])
+-AC_CONFIG_AUX_DIR(.)
+
+ # Checks for programs.
+ AC_PROG_LIBTOOL
diff --git a/packages/xlibs/libice_6.3.3.bb b/packages/xlibs/libice_6.3.3.bb
new file mode 100644
index 0000000000..1311145334
--- /dev/null
+++ b/packages/xlibs/libice_6.3.3.bb
@@ -0,0 +1,18 @@
+SECTION = "libs"
+LICENSE= "MIT"
+PRIORITY = "optional"
+MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+DEPENDS = "libx11"
+PROVIDES = "ice"
+DESCRIPTION = "X11 ICE library"
+PR = "r1"
+
+SRC_URI = "${XLIBS_MIRROR}/libICE-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libICE-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage () {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libice_cvs.bb b/packages/xlibs/libice_cvs.bb
new file mode 100644
index 0000000000..90c98d594a
--- /dev/null
+++ b/packages/xlibs/libice_cvs.bb
@@ -0,0 +1,17 @@
+PV = "0.0+cvs${SRCDATE}"
+LICENSE= "MIT"
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "libx11"
+PROVIDES = "ice"
+DESCRIPTION = "X11 ICE library"
+PR = "r1"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=ICE"
+S = "${WORKDIR}/ICE"
+
+inherit autotools pkgconfig
+
+do_stage () {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libsm/.mtn2git_empty b/packages/xlibs/libsm/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libsm/.mtn2git_empty
diff --git a/packages/xlibs/libsm/autofoo.patch b/packages/xlibs/libsm/autofoo.patch
new file mode 100644
index 0000000000..8cb204a66e
--- /dev/null
+++ b/packages/xlibs/libsm/autofoo.patch
@@ -0,0 +1,21 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- libSM-6.0.3/configure.ac~autofoo 2004-05-11 01:51:21.000000000 -0400
++++ libSM-6.0.3/configure.ac 2005-01-18 12:15:50.405356376 -0500
+@@ -8,12 +8,12 @@
+ libSM)
+
+ AC_CONFIG_SRCDIR([Makefile.am])
++AC_CONFIG_AUX_DIR(.)
+ AM_INIT_AUTOMAKE([dist-bzip2])
+
+ AM_MAINTAINER_MODE
+
+ AM_CONFIG_HEADER([config.h])
+-AC_CONFIG_AUX_DIR(.)
+
+ # Checks for programs.
+ AC_PROG_LIBTOOL
diff --git a/packages/xlibs/libsm_6.0.3.bb b/packages/xlibs/libsm_6.0.3.bb
new file mode 100644
index 0000000000..08f9597045
--- /dev/null
+++ b/packages/xlibs/libsm_6.0.3.bb
@@ -0,0 +1,17 @@
+SECTION = "libs"
+LICENSE = "MIT-X"
+PRIORITY = "optional"
+MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+DEPENDS = "libx11 libice"
+DESCRIPTION = "Session management library"
+PR = "r1"
+
+SRC_URI = "${XLIBS_MIRROR}/libSM-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libSM-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage () {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libsm_cvs.bb b/packages/xlibs/libsm_cvs.bb
new file mode 100644
index 0000000000..22b316cf57
--- /dev/null
+++ b/packages/xlibs/libsm_cvs.bb
@@ -0,0 +1,18 @@
+PV = "6.0.3+cvs${SRCDATE}"
+LICENSE = "MIT-X"
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "libx11 libice"
+DESCRIPTION = "Session management library"
+PR = "r1"
+
+DEFAULT_PREFERENCE="-1"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=SM"
+S = "${WORKDIR}/SM"
+
+inherit autotools pkgconfig
+
+do_stage () {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libx11-native_6.2.1.bb b/packages/xlibs/libx11-native_6.2.1.bb
new file mode 100644
index 0000000000..b1fd2aa0db
--- /dev/null
+++ b/packages/xlibs/libx11-native_6.2.1.bb
@@ -0,0 +1,5 @@
+SECTION = "x11/base"
+include libx11_${PV}.bb
+inherit native
+DEPENDS = "xproto-native xextensions-native xau-native xtrans-native libxdmcp-native"
+PROVIDES = ""
diff --git a/packages/xlibs/libx11-native_cvs.bb b/packages/xlibs/libx11-native_cvs.bb
new file mode 100644
index 0000000000..161c070899
--- /dev/null
+++ b/packages/xlibs/libx11-native_cvs.bb
@@ -0,0 +1,5 @@
+SECTION = "x11/base"
+include libx11_cvs.bb
+inherit native
+DEPENDS = "xproto-native xextensions-native xau-native xtrans-native libxdmcp-native"
+PROVIDES = ""
diff --git a/packages/xlibs/libx11/.mtn2git_empty b/packages/xlibs/libx11/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libx11/.mtn2git_empty
diff --git a/packages/xlibs/libx11/autofoo.patch b/packages/xlibs/libx11/autofoo.patch
new file mode 100644
index 0000000000..8bdba09768
--- /dev/null
+++ b/packages/xlibs/libx11/autofoo.patch
@@ -0,0 +1,22 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- libX11-6.2.1/configure.ac~autofoo
++++ libX11-6.2.1/configure.ac
+@@ -7,12 +7,12 @@
+ [jg@freedesktop.org],
+ libX11)
+ AC_CONFIG_SRCDIR([Makefile.am])
+-AM_INIT_AUTOMAKE([dist-bzip2])
++AC_CONFIG_AUX_DIR(.)
+
++AM_INIT_AUTOMAKE([dist-bzip2])
+ AM_MAINTAINER_MODE
+
+ AM_CONFIG_HEADER([src/config.h])
+-AC_CONFIG_AUX_DIR(.)
+
+ # Checks for programs.
+ AC_PROG_LIBTOOL
diff --git a/packages/xlibs/libx11/errordb-keysymdb-path-fix.patch b/packages/xlibs/libx11/errordb-keysymdb-path-fix.patch
new file mode 100644
index 0000000000..f43d38065e
--- /dev/null
+++ b/packages/xlibs/libx11/errordb-keysymdb-path-fix.patch
@@ -0,0 +1,22 @@
+--- X11/src/ErrDes.c.orig 2005-09-03 16:15:48 +0200
++++ X11/src/ErrDes.c 2005-09-03 16:16:03 +0200
+@@ -56,7 +56,7 @@
+ #include <stdio.h>
+
+ #ifndef ERRORDB
+-#define ERRORDB "/usr/lib/X11/XErrorDB"
++#define ERRORDB "/usr/share/X11/XErrorDB"
+ #endif
+
+ /*
+--- X11/src/StrKeysym.c.orig 2005-09-03 16:41:18 +0200
++++ X11/src/StrKeysym.c 2005-09-03 16:41:33 +0200
+@@ -36,7 +36,7 @@
+ #include "Key.h"
+
+ #ifndef KEYSYMDB
+-#define KEYSYMDB "/usr/lib/X11/XKeysymDB"
++#define KEYSYMDB "/usr/share/X11/XKeysymDB"
+ #endif
+
+ static Bool initialized;
diff --git a/packages/xlibs/libx11/fix-utf8-wrong-define.patch b/packages/xlibs/libx11/fix-utf8-wrong-define.patch
new file mode 100644
index 0000000000..dca88fba92
--- /dev/null
+++ b/packages/xlibs/libx11/fix-utf8-wrong-define.patch
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- libX11-6.2.1/include/X11/Xlib.h~fix-utf8-wrong-define
++++ libX11-6.2.1/include/X11/Xlib.h
+@@ -100,7 +100,7 @@
+
+ /* API mentioning "UTF8" or "utf8" is an XFree86 extension, introduced in
+ November 2000. Its presence is indicated through the following macro. */
+-#define X_HAVE_UTF8_STRING 1
++#undef X_HAVE_UTF8_STRING
+
+ typedef char *XPointer;
+
diff --git a/packages/xlibs/libx11/xim.patch b/packages/xlibs/libx11/xim.patch
new file mode 100644
index 0000000000..0eab197a80
--- /dev/null
+++ b/packages/xlibs/libx11/xim.patch
@@ -0,0 +1,55 @@
+--- libX11-6.2.1/src/X18NCMSstubs.c 2003-12-04 22:47:47.000000000 +0000
++++ libX11-6.2.1/src/X18NCMSstubs.c-new 2005-12-09 12:09:03.000000000 +0000
+@@ -90,6 +90,52 @@
+ return;
+ }
+
++XIM
++XOpenIM (
++ Display* display,
++ struct _XrmHashBucketRec* rdb,
++ char* res_name,
++ char* res_class)
++{
++ return (XIM) NULL;
++}
++
++Status
++XCloseIM ( XIM im )
++{
++ return NULL;
++}
++
++XIC
++XCreateIC ( XIM im, ...)
++{
++ return NULL;
++}
++
++void
++XDestroyIC ( XIC ic )
++{
++ return;
++}
++
++int
++XmbLookupString (
++ XIC ic,
++ XKeyPressedEvent* ev,
++ char* buffer,
++ int nbytes,
++ KeySym* keysym,
++ Status* status)
++{
++ return XLookupNone;
++}
++
++char *
++XGetICValues( XIC ic, ...)
++{
++ return (char *) NULL;
++}
++
+ XPointer
+ _XimGetLocaleCode ( _Xconst char* encoding_name )
+ {
diff --git a/packages/xlibs/libx11_20050226.bb b/packages/xlibs/libx11_20050226.bb
new file mode 100644
index 0000000000..0bc30a42cc
--- /dev/null
+++ b/packages/xlibs/libx11_20050226.bb
@@ -0,0 +1,6 @@
+SRCDATE = "20050226"
+
+include libx11_cvs.bb
+
+DEFAULT_PREFERENCE = "0"
+
diff --git a/packages/xlibs/libx11_6.2.1.bb b/packages/xlibs/libx11_6.2.1.bb
new file mode 100644
index 0000000000..0cb75ac0b0
--- /dev/null
+++ b/packages/xlibs/libx11_6.2.1.bb
@@ -0,0 +1,41 @@
+SECTION = "x11/libs"
+LICENSE = "XFree86"
+PRIORITY = "optional"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DEPENDS = "xproto xextensions libxau xtrans xdmcp"
+PROVIDES = "x11"
+DESCRIPTION = "Base X libs."
+FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB"
+FILES_${PN}-locale += "${datadir}/X11/locale"
+PROVIDES = "libx11"
+PR = "r4"
+
+SRC_URI = "${XLIBS_MIRROR}/libX11-${PV}.tar.bz2 \
+ file://errordb-keysymdb-path-fix.patch;patch=1 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libX11-${PV}"
+
+inherit autotools pkgconfig
+
+do_compile() {
+ (
+ unset CC LD CXX CCLD
+# unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake -C src/util 'CFLAGS= -D_GNU_SOURCE' 'LDFLAGS=' 'CXXFLAGS=' 'CPPFLAGS=' makekeys
+ )
+ oe_runmake
+}
+
+do_stage() {
+ install -c -m 644 include/X11/XKBlib.h ${STAGING_INCDIR}/X11/XKBlib.h
+ install -c -m 644 include/X11/Xcms.h ${STAGING_INCDIR}/X11/Xcms.h
+ install -c -m 644 include/X11/Xlib.h ${STAGING_INCDIR}/X11/Xlib.h
+ install -c -m 644 include/X11/Xlibint.h ${STAGING_INCDIR}/X11/Xlibint.h
+ install -c -m 644 include/X11/Xlocale.h ${STAGING_INCDIR}/X11/Xlocale.h
+ install -c -m 644 include/X11/Xresource.h ${STAGING_INCDIR}/X11/Xresource.h
+ install -c -m 644 include/X11/Xutil.h ${STAGING_INCDIR}/X11/Xutil.h
+ install -c -m 644 include/X11/cursorfont.h ${STAGING_INCDIR}/X11/cursorfont.h
+ install -c -m 644 include/X11/region.h ${STAGING_INCDIR}/X11/region.h
+
+ oe_libinstall -a -so -C src libX11 ${STAGING_LIBDIR}
+}
diff --git a/packages/xlibs/libx11_cvs.bb b/packages/xlibs/libx11_cvs.bb
new file mode 100644
index 0000000000..a8d07811d5
--- /dev/null
+++ b/packages/xlibs/libx11_cvs.bb
@@ -0,0 +1,42 @@
+PV = "6.2.1+cvs${SRCDATE}"
+LICENSE = "XFree86"
+PR = "r6"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DEPENDS = "xproto xextensions libxau xtrans xdmcp"
+PROVIDES = "x11"
+DESCRIPTION = "Base X libs."
+FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB"
+FILES_${PN}-locale += "${datadir}/X11/locale"
+PROVIDES = "libx11"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=X11 \
+ file://errordb-keysymdb-path-fix.patch;patch=1"
+S = "${WORKDIR}/X11"
+
+inherit autotools pkgconfig
+
+do_compile() {
+ (
+ unset CC LD CXX CCLD
+# unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake -C src/util 'CFLAGS=' 'LDFLAGS=' 'CXXFLAGS=' 'CPPFLAGS=' makekeys
+ )
+ rm -f ${STAGING_INCDIR}/X11/Xlib.h
+ oe_runmake
+}
+
+do_stage() {
+ install -c -m 644 include/X11/XKBlib.h ${STAGING_INCDIR}/X11/XKBlib.h
+ install -c -m 644 include/X11/Xcms.h ${STAGING_INCDIR}/X11/Xcms.h
+ install -c -m 644 include/X11/Xlib.h ${STAGING_INCDIR}/X11/Xlib.h
+ install -c -m 644 include/X11/Xlibint.h ${STAGING_INCDIR}/X11/Xlibint.h
+ install -c -m 644 include/X11/Xlocale.h ${STAGING_INCDIR}/X11/Xlocale.h
+ install -c -m 644 include/X11/Xresource.h ${STAGING_INCDIR}/X11/Xresource.h
+ install -c -m 644 include/X11/Xutil.h ${STAGING_INCDIR}/X11/Xutil.h
+ install -c -m 644 include/X11/cursorfont.h ${STAGING_INCDIR}/X11/cursorfont.h
+ install -c -m 644 include/X11/region.h ${STAGING_INCDIR}/X11/region.h
+
+ oe_libinstall -a -so -C src libX11 ${STAGING_LIBDIR}
+}
diff --git a/packages/xlibs/libxau-native_0.1.1.bb b/packages/xlibs/libxau-native_0.1.1.bb
new file mode 100644
index 0000000000..3897fa6afe
--- /dev/null
+++ b/packages/xlibs/libxau-native_0.1.1.bb
@@ -0,0 +1,5 @@
+SECTION = "x11/base"
+include libxau_${PV}.bb
+inherit native
+DEPENDS = "xproto-native"
+PROVIDES = ""
diff --git a/packages/xlibs/libxau-native_cvs.bb b/packages/xlibs/libxau-native_cvs.bb
new file mode 100644
index 0000000000..eee93dd44c
--- /dev/null
+++ b/packages/xlibs/libxau-native_cvs.bb
@@ -0,0 +1,5 @@
+SECTION = "x11/base"
+include libxau_cvs.bb
+inherit native
+DEPENDS = "xproto-native"
+PROVIDES = ""
diff --git a/packages/xlibs/libxau/.mtn2git_empty b/packages/xlibs/libxau/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxau/.mtn2git_empty
diff --git a/packages/xlibs/libxau/autofoo.patch b/packages/xlibs/libxau/autofoo.patch
new file mode 100644
index 0000000000..1e42eb974d
--- /dev/null
+++ b/packages/xlibs/libxau/autofoo.patch
@@ -0,0 +1,21 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- libXau-0.1.1/configure.ac~autofoo
++++ libXau-0.1.1/configure.ac
+@@ -25,11 +25,10 @@
+
+ AC_PREREQ([2.57])
+ AC_INIT(libXau, [0.1.1], [keithp@keithp.com],libXau)
+-AM_INIT_AUTOMAKE([dist-bzip2])
+-AM_MAINTAINER_MODE
+-
+ AM_CONFIG_HEADER(config.h)
+ AC_CONFIG_AUX_DIR(.)
++AM_INIT_AUTOMAKE([dist-bzip2])
++AM_MAINTAINER_MODE
+
+ AC_PROG_CC
+ AC_PROG_INSTALL
diff --git a/packages/xlibs/libxau_0.1.1.bb b/packages/xlibs/libxau_0.1.1.bb
new file mode 100644
index 0000000000..dc1a28171b
--- /dev/null
+++ b/packages/xlibs/libxau_0.1.1.bb
@@ -0,0 +1,18 @@
+SECTION = "x11/libs"
+LICENSE= "MIT"
+PRIORITY = "optional"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DEPENDS = "xproto"
+PROVIDES = "xau"
+DESCRIPTION = "Authorization Protocol for X."
+PR = "r1"
+
+SRC_URI = "${XLIBS_MIRROR}/libXau-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libXau-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxau_cvs.bb b/packages/xlibs/libxau_cvs.bb
new file mode 100644
index 0000000000..518744816d
--- /dev/null
+++ b/packages/xlibs/libxau_cvs.bb
@@ -0,0 +1,18 @@
+PV = "0.0+cvs${SRCDATE}"
+LICENSE= "MIT"
+PR = "r1"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DEPENDS = "xproto"
+PROVIDES = "xau"
+DESCRIPTION = "Authorization Protocol for X."
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xau"
+S = "${WORKDIR}/Xau"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxaw/.mtn2git_empty b/packages/xlibs/libxaw/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxaw/.mtn2git_empty
diff --git a/packages/xlibs/libxaw/auxdir.patch b/packages/xlibs/libxaw/auxdir.patch
new file mode 100644
index 0000000000..4226ab6a4d
--- /dev/null
+++ b/packages/xlibs/libxaw/auxdir.patch
@@ -0,0 +1,10 @@
+--- /tmp/configure.ac 2005-06-17 21:26:17.519157272 +0200
++++ libXaw-7.0.2/configure.ac 2005-06-17 21:26:34.832525240 +0200
+@@ -10,7 +10,6 @@
+ AM_INIT_AUTOMAKE([dist-bzip2])
+
+ AM_CONFIG_HEADER(config.h)
+-AC_CONFIG_AUX_DIR(.)
+
+ # Check for progs
+ AC_PROG_CC
diff --git a/packages/xlibs/libxaw_7.0.2.bb b/packages/xlibs/libxaw_7.0.2.bb
new file mode 100644
index 0000000000..929b54a127
--- /dev/null
+++ b/packages/xlibs/libxaw_7.0.2.bb
@@ -0,0 +1,21 @@
+SECTION = "x11/libs"
+LICENSE = "MIT"
+PRIORITY = "optional"
+MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+DEPENDS = "xproto libx11 libxt libxmu libxpm"
+PROVIDES = "xaw"
+DESCRIPTION = "X Athena Widgets library"
+
+SRC_URI = "${XLIBS_MIRROR}/libXaw-${PV}.tar.bz2 \
+ file://auxdir.patch;patch=1"
+
+S = "${WORKDIR}/libXaw-${PV}"
+
+inherit autotools pkgconfig
+
+# FIXME: libXaw needs a full x11, not diet
+BROKEN = "1"
+
+do_stage () {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxaw_cvs.bb b/packages/xlibs/libxaw_cvs.bb
new file mode 100644
index 0000000000..7860f6e6b1
--- /dev/null
+++ b/packages/xlibs/libxaw_cvs.bb
@@ -0,0 +1,19 @@
+PV = "0.0+cvs${SRCDATE}"
+LICENSE = "MIT"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+DEPENDS = "xproto libx11 libxt libxmu libxpm"
+PROVIDES = "xaw"
+DESCRIPTION = "X Athena Widgets library"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xaw"
+S = "${WORKDIR}/Xaw"
+
+inherit autotools pkgconfig
+
+# FIXME: libXaw needs a full x11, not diet
+BROKEN = "1"
+
+do_stage () {
+ oe_runmake install DESTDIR="" mandir=${STAGING_DATADIR}/man bindir=${STAGING_BINDIR} includedir=${STAGING_INCDIR} libdir=${STAGING_LIBDIR} prefix=${STAGING_DIR}
+}
diff --git a/packages/xlibs/libxcomposite-1.0.1/.mtn2git_empty b/packages/xlibs/libxcomposite-1.0.1/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxcomposite-1.0.1/.mtn2git_empty
diff --git a/packages/xlibs/libxcomposite-1.0.1/autofoo.patch b/packages/xlibs/libxcomposite-1.0.1/autofoo.patch
new file mode 100644
index 0000000000..072cf25214
--- /dev/null
+++ b/packages/xlibs/libxcomposite-1.0.1/autofoo.patch
@@ -0,0 +1,17 @@
+Index: libXcomposite-1.0.1/configure.ac
+===================================================================
+--- libXcomposite-1.0.1.orig/configure.ac 2004-01-15 03:59:12.000000000 -0500
++++ libXcomposite-1.0.1/configure.ac 2005-01-18 17:05:25.573929256 -0500
+@@ -33,11 +33,11 @@
+ dnl protocol, so Xfixes version l.n.m corresponds to protocol version l.n
+ dnl
+ AC_INIT(libXcomposite, 1.0.1, [keithp@keithp.com], libXcomposite)
++AC_CONFIG_AUX_DIR(.)
+ AM_INIT_AUTOMAKE([dist-bzip2])
+ AM_MAINTAINER_MODE
+
+ AM_CONFIG_HEADER(config.h)
+-AC_CONFIG_AUX_DIR(.)
+
+ # Check for progs
+ AC_PROG_CC
diff --git a/packages/xlibs/libxcomposite_1.0.1.bb b/packages/xlibs/libxcomposite_1.0.1.bb
new file mode 100644
index 0000000000..e2ca3bbc7b
--- /dev/null
+++ b/packages/xlibs/libxcomposite_1.0.1.bb
@@ -0,0 +1,16 @@
+SECTION = "x11/libs"
+LICENSE= "BSD-X"
+DEPENDS = "libx11 compositeext xextensions libxfixes"
+PROVIDES = "xcomposite"
+DESCRIPTION = "X Composite extension library."
+PR = "r1"
+
+SRC_URI = "${XLIBS_MIRROR}/libXcomposite-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libXcomposite-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxcomposite_cvs.bb b/packages/xlibs/libxcomposite_cvs.bb
new file mode 100644
index 0000000000..1d8b69c8c6
--- /dev/null
+++ b/packages/xlibs/libxcomposite_cvs.bb
@@ -0,0 +1,15 @@
+PV = "0.0+cvs${SRCDATE}"
+LICENSE= "BSD-X"
+SECTION = "x11/libs"
+DEPENDS = "libx11 compositeext xextensions libxfixes"
+PROVIDES = "xcomposite"
+DESCRIPTION = "X Composite extension library."
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xcomposite"
+S = "${WORKDIR}/Xcomposite"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxcursor-1.1.2/.mtn2git_empty b/packages/xlibs/libxcursor-1.1.2/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxcursor-1.1.2/.mtn2git_empty
diff --git a/packages/xlibs/libxcursor-1.1.2/autofoo.patch b/packages/xlibs/libxcursor-1.1.2/autofoo.patch
new file mode 100644
index 0000000000..99cd45a7ea
--- /dev/null
+++ b/packages/xlibs/libxcursor-1.1.2/autofoo.patch
@@ -0,0 +1,20 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- libXcursor-1.1.2/configure.ac~autofoo 2004-01-16 23:38:26.000000000 -0500
++++ libXcursor-1.1.2/configure.ac 2005-01-18 13:40:06.539707120 -0500
+@@ -31,11 +31,11 @@
+ dnl not possible to extract the version number here from Xcursor.h
+ dnl
+ AC_INIT([libXcursor],1.1.2,[keithp@keithp.com],[libXcursor])
++AC_CONFIG_AUX_DIR(.)
+ AM_INIT_AUTOMAKE([dist-bzip2])
+ AC_CONFIG_SRCDIR([Makefile.am])
+ AM_MAINTAINER_MODE
+ AM_CONFIG_HEADER(config.h)
+-AC_CONFIG_AUX_DIR(.)
+
+ dnl libtool versioning
+
diff --git a/packages/xlibs/libxcursor/.mtn2git_empty b/packages/xlibs/libxcursor/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxcursor/.mtn2git_empty
diff --git a/packages/xlibs/libxcursor/autofoo.patch b/packages/xlibs/libxcursor/autofoo.patch
new file mode 100644
index 0000000000..7aa573ce13
--- /dev/null
+++ b/packages/xlibs/libxcursor/autofoo.patch
@@ -0,0 +1,22 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+Index: Xcursor/configure.ac
+===================================================================
+--- Xcursor.orig/configure.ac 2004-04-12 10:11:12.000000000 -0400
++++ Xcursor/configure.ac 2005-01-18 16:04:36.860617992 -0500
+@@ -31,11 +31,11 @@
+ dnl not possible to extract the version number here from Xcursor.h
+ dnl
+ AC_INIT([libXcursor],1.1.3,[keithp@keithp.com],[libXcursor])
++AC_CONFIG_AUX_DIR(.)
+ AM_INIT_AUTOMAKE([dist-bzip2])
+ AC_CONFIG_SRCDIR([Makefile.am])
+ AM_MAINTAINER_MODE
+ AM_CONFIG_HEADER(config.h)
+-AC_CONFIG_AUX_DIR(.)
+
+ dnl libtool versioning
+
diff --git a/packages/xlibs/libxcursor_1.1.2.bb b/packages/xlibs/libxcursor_1.1.2.bb
new file mode 100644
index 0000000000..25744c7dca
--- /dev/null
+++ b/packages/xlibs/libxcursor_1.1.2.bb
@@ -0,0 +1,18 @@
+SECTION = "x11/libs"
+LICENSE= "BSD-X"
+PRIORITY = "optional"
+MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+DESCRIPTION = "X Cursor library"
+DEPENDS = "libxfixes"
+PR = "r2"
+
+SRC_URI = "${XLIBS_MIRROR}/libXcursor-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libXcursor-${PV}"
+FILES_${PN} += "${libdir}/libXcursor.so"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxcursor_cvs.bb b/packages/xlibs/libxcursor_cvs.bb
new file mode 100644
index 0000000000..5fe2334b85
--- /dev/null
+++ b/packages/xlibs/libxcursor_cvs.bb
@@ -0,0 +1,17 @@
+PV = "0.0+cvs${SRCDATE}"
+LICENSE= "BSD-X"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+DESCRIPTION = "X Cursor library"
+DEPENDS = "libxfixes"
+PR = "r2"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xcursor"
+S = "${WORKDIR}/Xcursor"
+FILES_${PN} += "${libdir}/libXcursor.so"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxdamage-1.0.1/.mtn2git_empty b/packages/xlibs/libxdamage-1.0.1/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxdamage-1.0.1/.mtn2git_empty
diff --git a/packages/xlibs/libxdamage-1.0.1/autofoo.patch b/packages/xlibs/libxdamage-1.0.1/autofoo.patch
new file mode 100644
index 0000000000..1e3ec45d4a
--- /dev/null
+++ b/packages/xlibs/libxdamage-1.0.1/autofoo.patch
@@ -0,0 +1,17 @@
+Index: libXdamage-1.0.1/configure.ac
+===================================================================
+--- libXdamage-1.0.1.orig/configure.ac 2004-01-15 03:54:55.000000000 -0500
++++ libXdamage-1.0.1/configure.ac 2005-01-18 19:07:16.951430928 -0500
+@@ -33,11 +33,11 @@
+ dnl protocol, so Xfixes version l.n.m corresponds to protocol version l.n
+ dnl
+ AC_INIT(libXdamage, 1.0.1, [keithp@keithp.com], libXdamage)
++AC_CONFIG_AUX_DIR(.)
+ AM_INIT_AUTOMAKE([dist-bzip2])
+ AM_MAINTAINER_MODE
+
+ AM_CONFIG_HEADER(config.h)
+-AC_CONFIG_AUX_DIR(.)
+
+ # Check for progs
+ AC_PROG_CC
diff --git a/packages/xlibs/libxdamage/.mtn2git_empty b/packages/xlibs/libxdamage/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxdamage/.mtn2git_empty
diff --git a/packages/xlibs/libxdamage/m4.patch b/packages/xlibs/libxdamage/m4.patch
new file mode 100644
index 0000000000..393f3d13d2
--- /dev/null
+++ b/packages/xlibs/libxdamage/m4.patch
@@ -0,0 +1,65 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- /dev/null
++++ Xdamage/m4/pkg.m4
+@@ -0,0 +1,57 @@
++
++dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
++dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
++dnl also defines GSTUFF_PKG_ERRORS on error
++AC_DEFUN(PKG_CHECK_MODULES, [
++ succeeded=no
++
++ if test -z "$PKG_CONFIG"; then
++ AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
++ fi
++
++ if test "$PKG_CONFIG" = "no" ; then
++ echo "*** The pkg-config script could not be found. Make sure it is"
++ echo "*** in your path, or set the PKG_CONFIG environment variable"
++ echo "*** to the full path to pkg-config."
++ echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
++ else
++ PKG_CONFIG_MIN_VERSION=0.9.0
++ if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
++ AC_MSG_CHECKING(for $2)
++
++ if $PKG_CONFIG --exists "$2" ; then
++ AC_MSG_RESULT(yes)
++ succeeded=yes
++
++ AC_MSG_CHECKING($1_CFLAGS)
++ $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
++ AC_MSG_RESULT($$1_CFLAGS)
++
++ AC_MSG_CHECKING($1_LIBS)
++ $1_LIBS=`$PKG_CONFIG --libs "$2"`
++ AC_MSG_RESULT($$1_LIBS)
++ else
++ $1_CFLAGS=""
++ $1_LIBS=""
++ ## If we have a custom action on failure, don't print errors, but
++ ## do set a variable so people can do so.
++ $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
++ ifelse([$4], ,echo $$1_PKG_ERRORS,)
++ fi
++
++ AC_SUBST($1_CFLAGS)
++ AC_SUBST($1_LIBS)
++ else
++ echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
++ echo "*** See http://www.freedesktop.org/software/pkgconfig"
++ fi
++ fi
++
++ if test $succeeded = yes; then
++ ifelse([$3], , :, [$3])
++ else
++ ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
++ fi
++])
++
++
diff --git a/packages/xlibs/libxdamage_1.0.1.bb b/packages/xlibs/libxdamage_1.0.1.bb
new file mode 100644
index 0000000000..040e863447
--- /dev/null
+++ b/packages/xlibs/libxdamage_1.0.1.bb
@@ -0,0 +1,17 @@
+SECTION = "x11/libs"
+LICENSE= "BSD-X"
+DEPENDS = "libx11 damageext libxfixes xproto"
+PROVIDES = "xdamage"
+DESCRIPTION = "X Damage extension library."
+PR = "r1"
+
+SRC_URI = "${XLIBS_MIRROR}/libXdamage-${PV}.tar.bz2 \
+ file://m4.patch;patch=1 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libXdamage-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxdamage_cvs.bb b/packages/xlibs/libxdamage_cvs.bb
new file mode 100644
index 0000000000..ba8a68033a
--- /dev/null
+++ b/packages/xlibs/libxdamage_cvs.bb
@@ -0,0 +1,16 @@
+PV = "0.0+cvs${SRCDATE}"
+LICENSE= "BSD-X"
+SECTION = "x11/libs"
+DEPENDS = "libx11 damageext libxfixes xproto"
+PROVIDES = "xdamage"
+DESCRIPTION = "X Damage extension library."
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xdamage \
+ file://m4.patch;patch=1"
+S = "${WORKDIR}/Xdamage"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxdmcp-native_0.1.1.bb b/packages/xlibs/libxdmcp-native_0.1.1.bb
new file mode 100644
index 0000000000..bd6d990f53
--- /dev/null
+++ b/packages/xlibs/libxdmcp-native_0.1.1.bb
@@ -0,0 +1,5 @@
+SECTION = "x11/libs"
+include libxdmcp_${PV}.bb
+inherit native
+DEPENDS = "xproto-native"
+PROVIDES = ""
diff --git a/packages/xlibs/libxdmcp-native_0.1.3.bb b/packages/xlibs/libxdmcp-native_0.1.3.bb
new file mode 100644
index 0000000000..bd6d990f53
--- /dev/null
+++ b/packages/xlibs/libxdmcp-native_0.1.3.bb
@@ -0,0 +1,5 @@
+SECTION = "x11/libs"
+include libxdmcp_${PV}.bb
+inherit native
+DEPENDS = "xproto-native"
+PROVIDES = ""
diff --git a/packages/xlibs/libxdmcp/.mtn2git_empty b/packages/xlibs/libxdmcp/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxdmcp/.mtn2git_empty
diff --git a/packages/xlibs/libxdmcp/autofoo.patch b/packages/xlibs/libxdmcp/autofoo.patch
new file mode 100644
index 0000000000..ff1a76ad04
--- /dev/null
+++ b/packages/xlibs/libxdmcp/autofoo.patch
@@ -0,0 +1,22 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- libXdmcp-0.1.3/configure.ac~autofoo
++++ libXdmcp-0.1.3/configure.ac
+@@ -25,12 +25,11 @@
+
+ AC_PREREQ([2.57])
+ AC_INIT(libXdmcp, [0.1.3], [keithp@keithp.com],libXdmcp)
++AC_CONFIG_AUX_DIR(.)
++AC_CONFIG_HEADERS([include/X11/Xdmcpconf.h])
+ AM_INIT_AUTOMAKE([dist-bzip2])
+ AM_MAINTAINER_MODE
+-
+ AM_CONFIG_HEADER(config.h)
+-AC_CONFIG_AUX_DIR(.)
+-AC_CONFIG_HEADERS([include/X11/Xdmcpconf.h])
+
+ AC_PROG_CC
+ AC_PROG_INSTALL
diff --git a/packages/xlibs/libxdmcp_0.1.1.bb b/packages/xlibs/libxdmcp_0.1.1.bb
new file mode 100644
index 0000000000..19fba1529e
--- /dev/null
+++ b/packages/xlibs/libxdmcp_0.1.1.bb
@@ -0,0 +1,18 @@
+SECTION = "x11/libs"
+LICENSE= "MIT"
+PRIORITY = "optional"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DEPENDS = "xproto"
+PROVIDES = "xdmcp"
+DESCRIPTION = "X Display Manager Control Protocol library."
+PR = "r1"
+S = "${WORKDIR}/libXdmcp-${PV}"
+
+SRC_URI = "${XLIBS_MIRROR}/libXdmcp-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxdmcp_0.1.3.bb b/packages/xlibs/libxdmcp_0.1.3.bb
new file mode 100644
index 0000000000..aa2736cdb2
--- /dev/null
+++ b/packages/xlibs/libxdmcp_0.1.3.bb
@@ -0,0 +1,18 @@
+SECTION = "x11/libs"
+PRIORITY = "optional"
+LICENSE= "MIT"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DEPENDS = "xproto"
+PROVIDES = "xdmcp"
+DESCRIPTION = "X Display Manager Control Protocol library."
+PR = "r1"
+S = "${WORKDIR}/libXdmcp-${PV}"
+
+SRC_URI = "${XLIBS_MIRROR}/libXdmcp-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxdmcp_cvs.bb b/packages/xlibs/libxdmcp_cvs.bb
new file mode 100644
index 0000000000..20b957b522
--- /dev/null
+++ b/packages/xlibs/libxdmcp_cvs.bb
@@ -0,0 +1,18 @@
+PV = "0.0+cvs${SRCDATE}"
+LICENSE= "MIT"
+PR = "r1"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DEPENDS = "xproto"
+PROVIDES = "xdmcp"
+DESCRIPTION = "X Display Manager Control Protocol library."
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xdmcp"
+S = "${WORKDIR}/Xdmcp"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxext-native_cvs.bb b/packages/xlibs/libxext-native_cvs.bb
new file mode 100644
index 0000000000..dfc439a9f6
--- /dev/null
+++ b/packages/xlibs/libxext-native_cvs.bb
@@ -0,0 +1,4 @@
+SECTION = "unknown"
+include libxext_${PV}.bb
+inherit native
+DEPENDS = "x11-native xextensions-native"
diff --git a/packages/xlibs/libxext/.mtn2git_empty b/packages/xlibs/libxext/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxext/.mtn2git_empty
diff --git a/packages/xlibs/libxext/autofoo.patch b/packages/xlibs/libxext/autofoo.patch
new file mode 100644
index 0000000000..c006884526
--- /dev/null
+++ b/packages/xlibs/libxext/autofoo.patch
@@ -0,0 +1,18 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- Xext/configure.ac~autofoo
++++ Xext/configure.ac
+@@ -8,9 +8,8 @@
+ libXext)
+
+ AC_CONFIG_SRCDIR([Makefile.am])
+-AM_INIT_AUTOMAKE([dist-bzip2])
+-
+ AC_CONFIG_AUX_DIR(.)
++AM_INIT_AUTOMAKE([dist-bzip2])
+
+ AM_MAINTAINER_MODE
+
diff --git a/packages/xlibs/libxext_cvs.bb b/packages/xlibs/libxext_cvs.bb
new file mode 100644
index 0000000000..0ef675ca70
--- /dev/null
+++ b/packages/xlibs/libxext_cvs.bb
@@ -0,0 +1,16 @@
+PV = "0.0+cvs${SRCDATE}"
+PR = "r1"
+LICENSE= "MIT"
+DESCRIPTION = "X Server Extension library"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+DEPENDS = "xproto libx11 xextensions"
+PROVIDES = "xext"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xext"
+S = "${WORKDIR}/Xext"
+
+inherit autotools pkgconfig
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxfixes/.mtn2git_empty b/packages/xlibs/libxfixes/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxfixes/.mtn2git_empty
diff --git a/packages/xlibs/libxfixes/autofoo.patch b/packages/xlibs/libxfixes/autofoo.patch
new file mode 100644
index 0000000000..26803cf7f3
--- /dev/null
+++ b/packages/xlibs/libxfixes/autofoo.patch
@@ -0,0 +1,20 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- libXfixes-2.0.1/configure.ac~autofoo 2004-01-15 03:40:23.000000000 -0500
++++ libXfixes-2.0.1/configure.ac 2005-01-18 13:35:33.461221360 -0500
+@@ -33,11 +33,11 @@
+ dnl protocol, so Xfixes version l.n.m corresponds to protocol version l.n
+ dnl
+ AC_INIT(libXfixes, 2.0.1, [keithp@keithp.com], libXfixes)
++AC_CONFIG_AUX_DIR(.)
+ AM_INIT_AUTOMAKE([dist-bzip2])
+ AM_MAINTAINER_MODE
+
+ AM_CONFIG_HEADER(config.h)
+-AC_CONFIG_AUX_DIR(.)
+
+ # Check for progs
+ AC_PROG_CC
diff --git a/packages/xlibs/libxfixes_2.0.1.bb b/packages/xlibs/libxfixes_2.0.1.bb
new file mode 100644
index 0000000000..710fa17454
--- /dev/null
+++ b/packages/xlibs/libxfixes_2.0.1.bb
@@ -0,0 +1,15 @@
+SECTION = "x11/libs"
+LICENSE= "BSD-X"
+DEPENDS = "libx11 fixesext"
+DESCRIPTION = "X Fixes extension library."
+PR = "r1"
+
+SRC_URI = "${XLIBS_MIRROR}/libXfixes-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libXfixes-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxfixes_cvs.bb b/packages/xlibs/libxfixes_cvs.bb
new file mode 100644
index 0000000000..4494dc9326
--- /dev/null
+++ b/packages/xlibs/libxfixes_cvs.bb
@@ -0,0 +1,14 @@
+PV = "0.0+cvs${SRCDATE}"
+LICENSE= "BSD-X"
+SECTION = "x11/libs"
+DEPENDS = "libx11 fixesext"
+DESCRIPTION = "X Fixes extension library."
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xfixes"
+S = "${WORKDIR}/Xfixes"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxfont/.mtn2git_empty b/packages/xlibs/libxfont/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxfont/.mtn2git_empty
diff --git a/packages/xlibs/libxfont/autofoo.patch b/packages/xlibs/libxfont/autofoo.patch
new file mode 100644
index 0000000000..4998625c24
--- /dev/null
+++ b/packages/xlibs/libxfont/autofoo.patch
@@ -0,0 +1,18 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- libXfont-1.4.2/configure.ac~autofoo 2004-05-06 20:19:03.000000000 -0400
++++ libXfont-1.4.2/configure.ac 2005-01-16 12:14:14.042598720 -0500
+@@ -35,9 +35,9 @@
+ dnl Yes, it is a pain to synchronize version numbers. Unfortunately, it's
+ dnl not possible to extract the version number here from Xfont.h
+ dnl
++AC_CONFIG_AUX_DIR(.)
+ AM_INIT_AUTOMAKE([dist-bzip2])
+ AM_CONFIG_HEADER(config.h)
+-AC_CONFIG_AUX_DIR(.)
+ AC_CONFIG_HEADERS([include/X11/fonts/fontconf.h])
+
+ # Check for progs
diff --git a/packages/xlibs/libxfont/scalable.patch b/packages/xlibs/libxfont/scalable.patch
new file mode 100644
index 0000000000..7f97b9a8f6
--- /dev/null
+++ b/packages/xlibs/libxfont/scalable.patch
@@ -0,0 +1,27 @@
+Index: fontfile/fontdir.c
+===================================================================
+RCS file: /cvs/xlibs/Xfont/fontfile/fontdir.c,v
+retrieving revision 3.22
+diff -u -r3.22 fontdir.c
+--- xfont/fontfile/fontdir.c 7 Jul 2003 16:40:11 -0000 3.22
++++ xfont/fontfile/fontdir.c 30 Dec 2004 20:37:12 -0000
+@@ -699,6 +699,11 @@
+ */
+ if (isscale)
+ {
++ /* If the fontname says it is scalable, make sure that the
++ * renderer supports OpenScalable and GetInfoScalable.
++ */
++ if (renderer->OpenScalable && renderer->GetInfoScalable)
++ {
+ if (vals.values_supplied & SIZE_SPECIFY_MASK)
+ {
+ bzero((char *)&zeroVals, sizeof(zeroVals));
+@@ -798,6 +803,7 @@
+ bitmap->name.name);
+ }
+ }
++ }
+ }
+ return TRUE;
+ }
diff --git a/packages/xlibs/libxfont_1.4.2.bb b/packages/xlibs/libxfont_1.4.2.bb
new file mode 100644
index 0000000000..0cc45397fe
--- /dev/null
+++ b/packages/xlibs/libxfont_1.4.2.bb
@@ -0,0 +1,19 @@
+SECTION = "x11/libs"
+LICENSE = "BSD-X"
+PRIORITY = "optional"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DEPENDS = "xproto xtrans zlib"
+PROVIDES = "xfont"
+DESCRIPTION = "X font library (used by the X server)."
+PR = "r2"
+
+SRC_URI = "${XLIBS_MIRROR}/libXfont-${PV}.tar.bz2 \
+ file://scalable.patch;patch=1 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libXfont-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxfont_cvs.bb b/packages/xlibs/libxfont_cvs.bb
new file mode 100644
index 0000000000..bd21e0fd12
--- /dev/null
+++ b/packages/xlibs/libxfont_cvs.bb
@@ -0,0 +1,18 @@
+PV = "0.0+cvs${SRCDATE}"
+LICENSE = "BSD-X"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DEPENDS = "xproto xtrans zlib"
+PROVIDES = "xfont"
+DESCRIPTION = "X font library (used by the X server)."
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xfont \
+ file://scalable.patch;patch=1"
+S = "${WORKDIR}/Xfont"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxft/.mtn2git_empty b/packages/xlibs/libxft/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxft/.mtn2git_empty
diff --git a/packages/xlibs/libxft/autofoo.patch b/packages/xlibs/libxft/autofoo.patch
new file mode 100644
index 0000000000..54120aa612
--- /dev/null
+++ b/packages/xlibs/libxft/autofoo.patch
@@ -0,0 +1,21 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- libXft-2.1.6/configure.ac~autofoo 2004-03-22 10:02:59.000000000 -0500
++++ libXft-2.1.6/configure.ac 2005-01-17 02:08:10.165951760 -0500
+@@ -33,12 +33,12 @@
+ dnl Please bump the minor library number at each release as well.
+ dnl
+ AC_INIT(libXft, 2.1.6, [keithp@keithp.com], libXft)
++AC_CONFIG_AUX_DIR(.)
+
+ AM_INIT_AUTOMAKE([dist-bzip2])
+ AM_MAINTAINER_MODE
+
+ AM_CONFIG_HEADER(config.h)
+-AC_CONFIG_AUX_DIR(.)
+
+ # checks for progs
+ AC_PROG_CC
diff --git a/packages/xlibs/libxft_2.1.6.bb b/packages/xlibs/libxft_2.1.6.bb
new file mode 100644
index 0000000000..c3f1f74e40
--- /dev/null
+++ b/packages/xlibs/libxft_2.1.6.bb
@@ -0,0 +1,27 @@
+SECTION = "x11/libs"
+LICENSE = "MIT-X"
+DEPENDS = "libx11 xproto libxrender freetype fontconfig"
+DESCRIPTION = "X FreeType library. Client-side fonts with FreeType."
+PROVIDES = "xft"
+PR = "r1"
+
+SRC_URI = "${XLIBS_MIRROR}/libXft-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libXft-${PV}"
+
+FILES_${PN} = ${libdir}/lib*.so.*
+FILES_${PN}-dev = ${includedir} ${libdir}/lib*.so ${libdir}/*.la \
+ ${libdir}/*.a ${libdir}/pkgconfig \
+ ${datadir}/aclocal ${bindir} ${sbindir}
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
+
+python do_package() {
+ if bb.data.getVar('DEBIAN_NAMES', d, 1):
+ bb.data.setVar('PKG_${PN}', 'libxft2', d)
+ bb.build.exec_func('package_do_package', d)
+}
diff --git a/packages/xlibs/libxft_cvs.bb b/packages/xlibs/libxft_cvs.bb
new file mode 100644
index 0000000000..6c1a5f5c32
--- /dev/null
+++ b/packages/xlibs/libxft_cvs.bb
@@ -0,0 +1,26 @@
+PV = "0.0+cvs${SRCDATE}"
+LICENSE = "MIT-X"
+SECTION = "x11/libs"
+DEPENDS = "libx11 xproto libxrender freetype fontconfig"
+DESCRIPTION = "X FreeType library. Client-side fonts with FreeType."
+PROVIDES = "xft"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xft"
+S = "${WORKDIR}/Xft"
+
+FILES_${PN} = ${libdir}/lib*.so.*
+FILES_${PN}-dev = ${includedir} ${libdir}/lib*.so ${libdir}/*.la \
+ ${libdir}/*.a ${libdir}/pkgconfig \
+ ${datadir}/aclocal ${bindir} ${sbindir}
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
+
+python do_package() {
+ if bb.data.getVar('DEBIAN_NAMES', d, 1):
+ bb.data.setVar('PKG_${PN}', 'libxft2', d)
+ bb.build.exec_func('package_do_package', d)
+}
diff --git a/packages/xlibs/libxi/.mtn2git_empty b/packages/xlibs/libxi/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxi/.mtn2git_empty
diff --git a/packages/xlibs/libxi/autofoo.patch b/packages/xlibs/libxi/autofoo.patch
new file mode 100644
index 0000000000..f1bce9ed7a
--- /dev/null
+++ b/packages/xlibs/libxi/autofoo.patch
@@ -0,0 +1,12 @@
+Index: libXi-6.0.1/configure.ac
+===================================================================
+--- libXi-6.0.1.orig/configure.ac 2003-11-01 04:11:49.000000000 -0500
++++ libXi-6.0.1/configure.ac 2005-01-20 11:34:06.878357352 -0500
+@@ -8,7 +8,6 @@
+ AM_MAINTAINER_MODE
+
+ AM_CONFIG_HEADER([config.h])
+-AC_CONFIG_AUX_DIR(.)
+
+ # Checks for programs.
+ AC_PROG_LIBTOOL
diff --git a/packages/xlibs/libxi_6.0.1.bb b/packages/xlibs/libxi_6.0.1.bb
new file mode 100644
index 0000000000..5c44d06df3
--- /dev/null
+++ b/packages/xlibs/libxi_6.0.1.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "X Input Extension library"
+LICENSE = "MIT-X"
+SECTION = "x11/libs"
+DEPENDS = "xproto libx11 xextensions"
+PR = "r1"
+
+SRC_URI = "${XLIBS_MIRROR}/libXi-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libXi-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
+
diff --git a/packages/xlibs/libxi_cvs.bb b/packages/xlibs/libxi_cvs.bb
new file mode 100644
index 0000000000..767c641a95
--- /dev/null
+++ b/packages/xlibs/libxi_cvs.bb
@@ -0,0 +1,16 @@
+PV = "0.0+cvs${SRCDATE}"
+LICENSE = "MIT-X"
+SECTION = "x11/libs"
+DEPENDS = "xproto libx11 xextensions"
+DESCRIPTION = "X Input extension library."
+PR = "r1"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xi \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/Xi"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxinerama_1.0.2+cvs20050505.bb b/packages/xlibs/libxinerama_1.0.2+cvs20050505.bb
new file mode 100644
index 0000000000..dc5d82b9b0
--- /dev/null
+++ b/packages/xlibs/libxinerama_1.0.2+cvs20050505.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Xinerama library"
+LICENSE = "MIT"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+DEPENDS = "panoramixext xproto libx11 libxext"
+PROVIDES = "xinerama"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xinerama;date=20050505"
+S = "${WORKDIR}/Xinerama"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxinerama_1.0.2.bb b/packages/xlibs/libxinerama_1.0.2.bb
new file mode 100644
index 0000000000..a267e6c2d9
--- /dev/null
+++ b/packages/xlibs/libxinerama_1.0.2.bb
@@ -0,0 +1,17 @@
+LICENSE = "MIT"
+DESCRIPTION = "Xinerama library"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+DEPENDS = "panoramixext xproto libx11 libxext"
+PROVIDES = "xinerama"
+PR = "r1"
+
+SRC_URI = "${XLIBS_MIRROR}/libXinerama-${PV}.tar.bz2"
+S = "${WORKDIR}/libXinerama-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxinerama_cvs.bb b/packages/xlibs/libxinerama_cvs.bb
new file mode 100644
index 0000000000..3e959df19e
--- /dev/null
+++ b/packages/xlibs/libxinerama_cvs.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Xinerama library"
+LICENSE = "MIT"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+DEPENDS = "panoramixext xproto libx11 libxext"
+PROVIDES = "xinerama"
+PV = "0.0+cvs${SRCDATE}"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xinerama"
+S = "${WORKDIR}/Xinerama"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxkbfile_cvs.bb b/packages/xlibs/libxkbfile_cvs.bb
new file mode 100644
index 0000000000..1b433ef65f
--- /dev/null
+++ b/packages/xlibs/libxkbfile_cvs.bb
@@ -0,0 +1,15 @@
+LICENSE = "GPL"
+PV = "0.0+cvs${SRCDATE}"
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "libx11"
+DESCRIPTION = "X11 keyboard library"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=xkbfile"
+S = "${WORKDIR}/xkbfile"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxmu_cvs.bb b/packages/xlibs/libxmu_cvs.bb
new file mode 100644
index 0000000000..500b373c32
--- /dev/null
+++ b/packages/xlibs/libxmu_cvs.bb
@@ -0,0 +1,21 @@
+PV = "0.0+cvs${SRCDATE}"
+LICENSE = "MIT"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+DEPENDS = "libxt libxext"
+PROVIDES = "xmu"
+PR = "r2"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xmu"
+S = "${WORKDIR}/Xmu"
+
+PACKAGES =+ "xmuu xmuu-dev"
+
+FILES_xmuu = "${libdir}/libXmuu.so.*"
+FILES_xmuu-dev = "${libdir}/libXmuu.so"
+
+inherit autotools pkgconfig
+
+do_stage () {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxp_cvs.bb b/packages/xlibs/libxp_cvs.bb
new file mode 100644
index 0000000000..eaf6546d0e
--- /dev/null
+++ b/packages/xlibs/libxp_cvs.bb
@@ -0,0 +1,18 @@
+
+LICENSE = "MIT"
+PV = "0.0+cvs${SRCDATE}"
+
+SECTION = "libs"
+DEPENDS = "libx11 libxext"
+DESCRIPTION = "X print extension library."
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xp"
+S = "${WORKDIR}/Xp"
+
+inherit autotools pkgconfig
+
+CFLAGS_append += " -I ${S}/include/X11/XprintUtil -I ${S}/include/X11/extensions"
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxpm/.mtn2git_empty b/packages/xlibs/libxpm/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxpm/.mtn2git_empty
diff --git a/packages/xlibs/libxpm/autofoo.patch b/packages/xlibs/libxpm/autofoo.patch
new file mode 100644
index 0000000000..6b2174bf02
--- /dev/null
+++ b/packages/xlibs/libxpm/autofoo.patch
@@ -0,0 +1,18 @@
+Index: libXpm-3.5.1/configure.ac
+===================================================================
+--- libXpm-3.5.1.orig/configure.ac 2004-05-11 02:00:35.000000000 -0400
++++ libXpm-3.5.1/configure.ac 2005-01-19 18:35:57.187402008 -0500
+@@ -1,12 +1,12 @@
+ AC_PREREQ(2.57)
+ AC_INIT([libXpm], 3.5.1, [daniel@freedesktop.org], libXpm)
+ AC_CONFIG_SRCDIR([Makefile.am])
++AC_CONFIG_AUX_DIR(.)
+ AM_INIT_AUTOMAKE([dist-bzip2])
+
+ AM_MAINTAINER_MODE
+
+ AM_CONFIG_HEADER([lib/config.h])
+-AC_CONFIG_AUX_DIR(.)
+
+ # Checks for programs.
+ AC_PROG_LIBTOOL
diff --git a/packages/xlibs/libxpm_3.5.1.bb b/packages/xlibs/libxpm_3.5.1.bb
new file mode 100644
index 0000000000..513261efd3
--- /dev/null
+++ b/packages/xlibs/libxpm_3.5.1.bb
@@ -0,0 +1,19 @@
+SECTION = "x11/libs"
+LICENSE = "X-BSD"
+PRIORITY = "optional"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DEPENDS = "xproto libx11"
+PROVIDES = "xpm"
+DESCRIPTION = "X Pixmap library."
+PR = "r1"
+
+SRC_URI = "${XLIBS_MIRROR}/libXpm-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libXpm-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage () {
+ install -m 0644 ${S}/lib/xpm.h ${STAGING_INCDIR}/X11/xpm.h
+ oe_libinstall -a -so -C lib libXpm ${STAGING_LIBDIR}
+}
diff --git a/packages/xlibs/libxpm_cvs.bb b/packages/xlibs/libxpm_cvs.bb
new file mode 100644
index 0000000000..1b46855735
--- /dev/null
+++ b/packages/xlibs/libxpm_cvs.bb
@@ -0,0 +1,19 @@
+PV = "0.0+cvs${SRCDATE}"
+LICENSE = "X-BSD"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DEPENDS = "xproto libx11"
+PROVIDES = "xpm"
+DESCRIPTION = "X Pixmap library."
+PR = "r1"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xpm"
+S = "${WORKDIR}/Xpm"
+
+inherit autotools pkgconfig
+
+do_stage () {
+ install -m 0644 ${S}/lib/xpm.h ${STAGING_INCDIR}/X11/xpm.h
+ oe_libinstall -a -so -C lib libXpm ${STAGING_LIBDIR}
+}
diff --git a/packages/xlibs/libxrandr-1.0.2/.mtn2git_empty b/packages/xlibs/libxrandr-1.0.2/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxrandr-1.0.2/.mtn2git_empty
diff --git a/packages/xlibs/libxrandr-1.0.2/autofoo.patch b/packages/xlibs/libxrandr-1.0.2/autofoo.patch
new file mode 100644
index 0000000000..21f6e7fd78
--- /dev/null
+++ b/packages/xlibs/libxrandr-1.0.2/autofoo.patch
@@ -0,0 +1,20 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- libXrandr-1.0.2/configure.ac~autofoo 2004-01-15 03:23:00.000000000 -0500
++++ libXrandr-1.0.2/configure.ac 2005-01-16 11:18:35.924069872 -0500
+@@ -33,11 +33,11 @@
+ dnl protocol, so Xrandr version l.n.m corresponds to protocol version l.n
+ dnl
+ AC_INIT(libXrandr, 1.0.2, [keithp@keithp.com], libXrandr)
++AC_CONFIG_AUX_DIR(.)
+ AM_INIT_AUTOMAKE([dist-bzip2])
+ AM_MAINTAINER_MODE
+
+ AM_CONFIG_HEADER(config.h)
+-AC_CONFIG_AUX_DIR(.)
+
+ # Check for progs
+ AC_PROG_CC
diff --git a/packages/xlibs/libxrandr/.mtn2git_empty b/packages/xlibs/libxrandr/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxrandr/.mtn2git_empty
diff --git a/packages/xlibs/libxrandr/autofoo.patch b/packages/xlibs/libxrandr/autofoo.patch
new file mode 100644
index 0000000000..7b1db760f2
--- /dev/null
+++ b/packages/xlibs/libxrandr/autofoo.patch
@@ -0,0 +1,30 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- Xrandr/configure.ac~autofoo.patch 2004-07-01 15:01:55.000000000 -0400
++++ Xrandr/configure.ac 2005-01-16 11:22:09.169651616 -0500
+@@ -33,11 +33,11 @@
+ dnl protocol, so Xrandr version l.n.m corresponds to protocol version l.n
+ dnl
+ AC_INIT(libXrandr, 1.0.2, [keithp@keithp.com], libXrandr)
++AC_CONFIG_AUX_DIR(.)
+ AM_INIT_AUTOMAKE([dist-bzip2])
+ AM_MAINTAINER_MODE
+
+ AM_CONFIG_HEADER(config.h)
+-AC_CONFIG_AUX_DIR(.)
+
+ # Check for progs
+ AC_PROG_CC
+--- Xrandr/ChangeLog~autofoo.patch 2004-09-19 04:53:38.000000000 -0400
++++ Xrandr/ChangeLog 2005-01-16 11:52:29.694889712 -0500
+@@ -1,3 +1,7 @@
++2005-01-16 Chris Larson <kergoth@handhelds.org>
++
++ * configure.ac: Fix to work with automake 1.9.x.
++
+ 2004-09-19 Carlos Romero <kidcrash@freedesktop.org>
+
+ * Makefile.am:
diff --git a/packages/xlibs/libxrandr_1.0.2.bb b/packages/xlibs/libxrandr_1.0.2.bb
new file mode 100644
index 0000000000..efd0505544
--- /dev/null
+++ b/packages/xlibs/libxrandr_1.0.2.bb
@@ -0,0 +1,15 @@
+SECTION = "x11/libs"
+LICENSE = "BSD-X"
+DEPENDS = "randrext libx11 libxrender libxext"
+DESCRIPTION = "X Resize and Rotate extension library."
+PR = "r1"
+
+SRC_URI = "${XLIBS_MIRROR}/libXrandr-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libXrandr-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxrandr_cvs.bb b/packages/xlibs/libxrandr_cvs.bb
new file mode 100644
index 0000000000..3b6fd02de8
--- /dev/null
+++ b/packages/xlibs/libxrandr_cvs.bb
@@ -0,0 +1,15 @@
+PV = "0.0+cvs${SRCDATE}"
+LICENSE = "BSD-X"
+SECTION = "x11/libs"
+DEPENDS = "randrext libx11 libxrender libxext"
+DESCRIPTION = "X Resize and Rotate extension library."
+PR = "r1"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xrandr"
+S = "${WORKDIR}/Xrandr"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxrender/.mtn2git_empty b/packages/xlibs/libxrender/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxrender/.mtn2git_empty
diff --git a/packages/xlibs/libxrender/autofoo.patch b/packages/xlibs/libxrender/autofoo.patch
new file mode 100644
index 0000000000..eb21c766f8
--- /dev/null
+++ b/packages/xlibs/libxrender/autofoo.patch
@@ -0,0 +1,20 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- libXrender-0.8.4/configure.ac~autofoo
++++ libXrender-0.8.4/configure.ac
+@@ -33,11 +33,10 @@
+ dnl protocol, so Xrender version l.n.m corresponds to protocol version l.n
+ dnl
+ AC_INIT(libXrender, 0.8.4, [keithp@keithp.com], libXrender)
++AC_CONFIG_AUX_DIR(.)
+ AM_INIT_AUTOMAKE([dist-bzip2])
+ AM_MAINTAINER_MODE
+-
+ AM_CONFIG_HEADER(config.h)
+-AC_CONFIG_AUX_DIR(.)
+
+ # Check for progs
+ AC_PROG_CC
diff --git a/packages/xlibs/libxrender_0.8.4.bb b/packages/xlibs/libxrender_0.8.4.bb
new file mode 100644
index 0000000000..b36c5701ba
--- /dev/null
+++ b/packages/xlibs/libxrender_0.8.4.bb
@@ -0,0 +1,15 @@
+SECTION = "libs"
+DEPENDS = "renderext libx11"
+DESCRIPTION = "X Render extension library."
+LICENSE = "BSD"
+PR = "r1"
+
+SRC_URI = "${XLIBS_MIRROR}/libXrender-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libXrender-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxrender_cvs.bb b/packages/xlibs/libxrender_cvs.bb
new file mode 100644
index 0000000000..ea6b1f4607
--- /dev/null
+++ b/packages/xlibs/libxrender_cvs.bb
@@ -0,0 +1,15 @@
+PV = "0.0+cvs${SRCDATE}"
+PR = "r1"
+SECTION = "libs"
+DEPENDS = "renderext libx11"
+DESCRIPTION = "X Render extension library."
+LICENSE = "BSD"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xrender"
+S = "${WORKDIR}/Xrender"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxres_1.0.1.bb b/packages/xlibs/libxres_1.0.1.bb
new file mode 100644
index 0000000000..c01731d37a
--- /dev/null
+++ b/packages/xlibs/libxres_1.0.1.bb
@@ -0,0 +1,14 @@
+SECTION = "x11/libs"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DEPENDS = "libx11 xextensions libxext resourceext"
+PROVIDES = "xres"
+DESCRIPTION = "X Resource usage library."
+LICENSE = "X-MIT"
+SRC_URI = "${XLIBS_MIRROR}/libXres-${PV}.tar.bz2"
+S = "${WORKDIR}/libXres-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxres_cvs.bb b/packages/xlibs/libxres_cvs.bb
new file mode 100644
index 0000000000..e3e5c6704c
--- /dev/null
+++ b/packages/xlibs/libxres_cvs.bb
@@ -0,0 +1,15 @@
+PV = "0.0+cvs${SRCDATE}"
+SECTION = "x11/libs"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DEPENDS = "libx11 xextensions libxext resourceext"
+PROVIDES = "xres"
+DESCRIPTION = "X Resource usage library."
+LICENSE = "X-MIT"
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=XRes"
+S = "${WORKDIR}/XRes"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxss_cvs.bb b/packages/xlibs/libxss_cvs.bb
new file mode 100644
index 0000000000..af064f5b4d
--- /dev/null
+++ b/packages/xlibs/libxss_cvs.bb
@@ -0,0 +1,19 @@
+LICENSE = "GPL"
+
+PV = "0.0+cvs${SRCDATE}"
+PR = "r2"
+
+SECTION = "libs"
+DEPENDS = "libx11 libxext"
+DESCRIPTION = "X screen saver extension library."
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xss"
+S = "${WORKDIR}/Xss"
+
+inherit autotools pkgconfig
+
+#CFLAGS_append += " -I ${S}/include/X11/XprintUtil -I ${S}/include/X11/extensions"
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxt/.mtn2git_empty b/packages/xlibs/libxt/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxt/.mtn2git_empty
diff --git a/packages/xlibs/libxt/autofoo.patch b/packages/xlibs/libxt/autofoo.patch
new file mode 100644
index 0000000000..ff6dfdbbcc
--- /dev/null
+++ b/packages/xlibs/libxt/autofoo.patch
@@ -0,0 +1,20 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- libXt-0.1.5/configure.ac~autofoo 2004-05-06 20:19:04.000000000 -0400
++++ libXt-0.1.5/configure.ac 2005-01-18 13:10:13.683262728 -0500
+@@ -28,11 +28,11 @@
+ dnl
+ dnl
+ AC_INIT(libXt, 0.1.5, [keithp@keithp.com], libXt)
++AC_CONFIG_AUX_DIR(.)
+ AM_INIT_AUTOMAKE([dist-bzip2])
+ AM_MAINTAINER_MODE
+
+ AM_CONFIG_HEADER(config.h)
+-AC_CONFIG_AUX_DIR(.)
+
+ # Check for progs
+ AC_PROG_CC
diff --git a/packages/xlibs/libxt_0.1.5.bb b/packages/xlibs/libxt_0.1.5.bb
new file mode 100644
index 0000000000..00cbe9a3ad
--- /dev/null
+++ b/packages/xlibs/libxt_0.1.5.bb
@@ -0,0 +1,29 @@
+SECTION = "x11/libs"
+PRIORITY = "optional"
+MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+DEPENDS = "libx11 libsm"
+PROVIDES = "xt"
+DESCRIPTION = "X Toolkit Intrinsics"
+LICENSE = "X-MIT"
+PR = "r1"
+SRC_URI = "${XLIBS_MIRROR}/libXt-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libXt-${PV}"
+
+PARALLEL_MAKE = ""
+
+inherit autotools pkgconfig
+
+#nasty hack as utils need to be native
+do_compile() {
+ (
+ unset CC LD CXX CCLD
+# unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake -C util 'CFLAGS=' 'LDFLAGS=' 'CXXFLAGS=' 'CPPFLAGS=' makestrs
+ )
+ oe_runmake
+}
+
+do_stage () {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxt_cvs.bb b/packages/xlibs/libxt_cvs.bb
new file mode 100644
index 0000000000..fdabe1d90f
--- /dev/null
+++ b/packages/xlibs/libxt_cvs.bb
@@ -0,0 +1,26 @@
+PV = "0.0+cvs${SRCDATE}"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+DEPENDS = "libx11 libsm"
+PROVIDES = "xt"
+DESCRIPTION = "X Toolkit Intrinsics"
+LICENSE = "X-MIT"
+PR = "r1"
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xt"
+S = "${WORKDIR}/Xt"
+
+inherit autotools pkgconfig
+
+
+do_compile() {
+ (
+ unset CC LD CXX CCLD
+ oe_runmake -C util 'CC=${BUILD_CC}' 'LD=${BUILD_LD}' 'CFLAGS=' 'LDFLAGS=' 'CXXFLAGS=' 'CPPFLAGS=' makestrs
+ )
+ oe_runmake
+}
+
+
+do_stage () {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxtst_cvs.bb b/packages/xlibs/libxtst_cvs.bb
new file mode 100644
index 0000000000..c7c24d5d74
--- /dev/null
+++ b/packages/xlibs/libxtst_cvs.bb
@@ -0,0 +1,17 @@
+LICENSE = "GPL"
+PV = "0.0+cvs${SRCDATE}"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+DEPENDS = "libx11 recordext libxext"
+PROVIDES = "xtst"
+DESCRIPTION = "X Test Extension: client side library"
+PR = "r3"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xtst"
+S = "${WORKDIR}/Xtst"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxv_2.2.2+cvs20040918.bb b/packages/xlibs/libxv_2.2.2+cvs20040918.bb
new file mode 100644
index 0000000000..e70ce9cee9
--- /dev/null
+++ b/packages/xlibs/libxv_2.2.2+cvs20040918.bb
@@ -0,0 +1,13 @@
+LICENSE = "GPL"
+SECTION = "x11/libs"
+DEPENDS = "libx11 libxext"
+DESCRIPTION = "X Video extension library."
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xv;date=20040918;method=pserver"
+S = "${WORKDIR}/Xv"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxv_2.2.2.bb b/packages/xlibs/libxv_2.2.2.bb
new file mode 100644
index 0000000000..49e9670120
--- /dev/null
+++ b/packages/xlibs/libxv_2.2.2.bb
@@ -0,0 +1,13 @@
+LICENSE = "GPL"
+SECTION = "x11/libs"
+DEPENDS = "libx11 libxext"
+DESCRIPTION = "X Video extension library."
+
+SRC_URI = "${XLIBS_MIRROR}/libXv-${PV}.tar.bz2"
+S = "${WORKDIR}/libXv-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/libxvmc/.mtn2git_empty b/packages/xlibs/libxvmc/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xlibs/libxvmc/.mtn2git_empty
diff --git a/packages/xlibs/libxvmc/drm.patch b/packages/xlibs/libxvmc/drm.patch
new file mode 100644
index 0000000000..d48cdb3d0b
--- /dev/null
+++ b/packages/xlibs/libxvmc/drm.patch
@@ -0,0 +1,9 @@
+--- XvMC/hw/via/Makefile.am.old 2005-03-06 11:25:11.000000000 +0000
++++ XvMC/hw/via/Makefile.am 2005-03-06 11:25:22.000000000 +0000
+@@ -1,5 +1,5 @@
+ AM_CFLAGS = $(XVMC_CFLAGS)
+-libviaXvMC_la_LIBADD = $(XVMC_LIBS) -lxf86drm
++libviaXvMC_la_LIBADD = $(XVMC_LIBS) -ldrm
+
+ lib_LTLIBRARIES = libviaXvMC.la
+
diff --git a/packages/xlibs/libxvmc/true.patch b/packages/xlibs/libxvmc/true.patch
new file mode 100644
index 0000000000..7059295007
--- /dev/null
+++ b/packages/xlibs/libxvmc/true.patch
@@ -0,0 +1,11 @@
+--- XvMC/hw/via/viaXvMC.c.old 2004-10-18 20:54:49.000000000 +0100
++++ XvMC/hw/via/viaXvMC.c 2004-10-18 20:55:03.000000000 +0100
+@@ -43,6 +43,8 @@
+ #include <xf86drm.h>
+ #include <pthread.h>
+ #include "vldXvMC.h"
++
++#define TRUE 1
+
+ #define SAREAPTR(ctx) ((ViaXvMCSAreaPriv *) \
+ (((CARD8 *)(ctx)->sAreaAddress) + \
diff --git a/packages/xlibs/libxvmc/via.patch b/packages/xlibs/libxvmc/via.patch
new file mode 100644
index 0000000000..21cdfbdd6b
--- /dev/null
+++ b/packages/xlibs/libxvmc/via.patch
@@ -0,0 +1,23 @@
+--- XvMC/configure.ac.old 2004-09-18 13:16:31.000000000 +0100
++++ XvMC/configure.ac 2004-09-18 13:16:32.000000000 +0100
+@@ -14,4 +14,5 @@
+ AC_OUTPUT([Makefile
+ hw/Makefile
+ hw/i810/Makefile
++ hw/via/Makefile
+ xvmc.pc])
+--- /dev/null 2004-06-13 02:32:19.000000000 +0100
++++ XvMC/hw/via/Makefile.am 2004-09-18 13:16:01.000000000 +0100
+@@ -0,0 +1,7 @@
++AM_CFLAGS = $(XVMC_CFLAGS)
++libviaXvMC_la_LIBADD = $(XVMC_LIBS) -lxf86drm
++
++lib_LTLIBRARIES = libviaXvMC.la
++
++libviaXvMC_la_SOURCES = viaXvMC.c viaXvMC.h viaLowLevel.c viaLowLevel.h \
++ viaXvMCPriv.h
+--- XvMC/hw/Makefile.am.old 2004-10-17 22:34:27.000000000 +0100
++++ XvMC/hw/Makefile.am 2004-10-17 22:34:31.000000000 +0100
+@@ -1 +1 @@
+-SUBDIRS = i810
++SUBDIRS = i810 via
diff --git a/packages/xlibs/libxvmc_20040919.bb b/packages/xlibs/libxvmc_20040919.bb
new file mode 100644
index 0000000000..b70c9f52e4
--- /dev/null
+++ b/packages/xlibs/libxvmc_20040919.bb
@@ -0,0 +1,39 @@
+DESCRIPTION = "X Video Motion Compensation extension library."
+SECTION = "x11/libs"
+DEPENDS = "libx11 libxext libxv drm xserver-xorg"
+PR = "r2"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=XvMC;date=${PV};method=pserver \
+ cvs://anonymous@cvs.sourceforge.net/cvsroot/unichrome;module=libxvmc;date=${PV};method=pserver \
+ file://via.patch;patch=1 \
+ file://true.patch"
+S = "${WORKDIR}/XvMC"
+
+CFLAGS += "-I${STAGING_INCDIR}/X11/extensions -I${STAGING_INCDIR}/xserver-xorg"
+
+# this one is for via only atm.
+COMPATIBLE_HOST = 'i.86.*-linux'
+
+inherit autotools pkgconfig
+
+do_configure_prepend() {
+ install -d ${S}/hw/via
+ cp ${WORKDIR}/libxvmc/*.[ch] ${S}/hw/via/
+ ( cd ${S}/hw/via ; patch < ${WORKDIR}/true.patch )
+}
+
+do_compile() {
+ oe_runmake
+ oe_runmake -C hw/via
+}
+
+do_stage() {
+ oe_runmake install prefix=${STAGING_DIR} \
+ bindir=${STAGING_BINDIR} \
+ includedir=${STAGING_INCDIR} \
+ libdir=${STAGING_LIBDIR} \
+ datadir=${STAGING_DATADIR} \
+ mandir=${STAGING_DATADIR}/man
+ oe_libinstall -so -C hw/via libviaXvMC ${STAGING_LIBDIR}
+ install hw/via/vldXvMC.h ${STAGING_INCDIR}/X11/extensions/
+}
diff --git a/packages/xlibs/libxvmc_20041025.bb b/packages/xlibs/libxvmc_20041025.bb
new file mode 100644
index 0000000000..829a74d92b
--- /dev/null
+++ b/packages/xlibs/libxvmc_20041025.bb
@@ -0,0 +1,36 @@
+DESCRIPTION = "X Video Motion Compensation extension library."
+SECTION = "x11/libs"
+DEPENDS = "libx11 libxext libxv drm xserver-xorg"
+PR = "r2"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=XvMC;date=${PV};method=pserver \
+ file://true.patch;patch=1 file://drm.patch;patch=1"
+S = "${WORKDIR}/XvMC"
+
+CFLAGS += "-I${STAGING_INCDIR}/X11/extensions -I${STAGING_INCDIR}/xserver-xorg -D_BSD_SOURCE"
+
+# this one is for via only atm.
+COMPATIBLE_HOST = 'i.86.*-linux'
+
+inherit autotools pkgconfig
+
+do_compile() {
+ oe_runmake
+ oe_runmake -C hw/via
+}
+
+do_install() {
+ oe_runmake DESTDIR='${D}' install
+ oe_runmake -C hw/via DESTDIR='${D}' install
+}
+
+do_stage() {
+ oe_runmake install prefix=${STAGING_DIR} \
+ bindir=${STAGING_BINDIR} \
+ includedir=${STAGING_INCDIR} \
+ libdir=${STAGING_LIBDIR} \
+ datadir=${STAGING_DATADIR} \
+ mandir=${STAGING_DATADIR}/man
+ oe_libinstall -so -C hw/via libviaXvMC ${STAGING_LIBDIR}
+ install hw/via/vldXvMC.h ${STAGING_INCDIR}/X11/extensions/
+}
diff --git a/packages/xlibs/libxvmc_20050612.bb b/packages/xlibs/libxvmc_20050612.bb
new file mode 100644
index 0000000000..18cd369acc
--- /dev/null
+++ b/packages/xlibs/libxvmc_20050612.bb
@@ -0,0 +1,37 @@
+DESCRIPTION = "X Video Motion Compensation extension library."
+SECTION = "x11/libs"
+DEPENDS = "libx11 libxext libxv drm xserver-xorg"
+PR = "r0"
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=XvMC;date=${PV};method=pserver \
+ ${FREEDESKTOP_CVS}/xorg;module=xc/lib/XvMC;date=${PV};method=pserver \
+ file://true.patch;patch=1 file://drm.patch;patch=1"
+S = "${WORKDIR}/XvMC"
+
+CFLAGS += "-I${STAGING_INCDIR}/X11/extensions -I${STAGING_INCDIR}/xserver-xorg -D_BSD_SOURCE"
+
+# this one is for via only atm.
+COMPATIBLE_HOST = 'i.86.*-linux'
+
+inherit autotools pkgconfig
+
+do_compile() {
+ oe_runmake
+ oe_runmake -C hw/via
+}
+
+do_install() {
+ oe_runmake DESTDIR='${D}' install
+ oe_runmake -C hw/via DESTDIR='${D}' install
+}
+
+do_stage() {
+ oe_runmake install prefix=${STAGING_DIR} \
+ bindir=${STAGING_BINDIR} \
+ includedir=${STAGING_INCDIR} \
+ libdir=${STAGING_LIBDIR} \
+ datadir=${STAGING_DATADIR} \
+ mandir=${STAGING_DATADIR}/man
+ oe_libinstall -so -C hw/via libviaXvMC ${STAGING_LIBDIR}
+ install hw/via/vldXvMC.h ${STAGING_INCDIR}/X11/extensions/
+}
diff --git a/packages/xlibs/libxxf86dga_cvs.bb b/packages/xlibs/libxxf86dga_cvs.bb
new file mode 100644
index 0000000000..96acce5d0e
--- /dev/null
+++ b/packages/xlibs/libxxf86dga_cvs.bb
@@ -0,0 +1,15 @@
+PV = "0.0+cvs${SRCDATE}"
+LICENSE = "XFree86"
+
+SECTION = "x11/libs"
+DEPENDS = "libx11 libxext xxf86dgaext"
+DESCRIPTION = "Xxf86dga extension library."
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xxf86dga"
+S = "${WORKDIR}/Xxf86dga"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ oe_libinstall -so -a libXxf86dga ${STAGING_LIBDIR}
+}
diff --git a/packages/xlibs/libxxf86vm_cvs.bb b/packages/xlibs/libxxf86vm_cvs.bb
new file mode 100644
index 0000000000..5eb48f930d
--- /dev/null
+++ b/packages/xlibs/libxxf86vm_cvs.bb
@@ -0,0 +1,15 @@
+PV = "0.0+cvs${SRCDATE}"
+LICENSE = "MIT"
+
+SECTION = "x11/libs"
+DEPENDS = "libx11 libxext xxf86vmext"
+DESCRIPTION = "Xxf86vm extension library."
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xxf86vm"
+S = "${WORKDIR}/Xxf86vm"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/xtrans-native_0.1.bb b/packages/xlibs/xtrans-native_0.1.bb
new file mode 100644
index 0000000000..80de95c869
--- /dev/null
+++ b/packages/xlibs/xtrans-native_0.1.bb
@@ -0,0 +1,3 @@
+SECTION = "x11/base"
+include xtrans_${PV}.bb
+inherit native
diff --git a/packages/xlibs/xtrans_0.1.bb b/packages/xlibs/xtrans_0.1.bb
new file mode 100644
index 0000000000..8fee0d5089
--- /dev/null
+++ b/packages/xlibs/xtrans_0.1.bb
@@ -0,0 +1,15 @@
+SECTION = "x11/libs"
+LICENSE = "MIT"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DESCRIPTION = "network API translation layer to \
+insulate X applications and libraries from OS \
+network vageries."
+
+SRC_URI = "${XLIBS_MIRROR}/libXtrans-0.1.tar.bz2"
+S = "${WORKDIR}/libXtrans-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/packages/xlibs/xtrans_cvs.bb b/packages/xlibs/xtrans_cvs.bb
new file mode 100644
index 0000000000..9714f4017b
--- /dev/null
+++ b/packages/xlibs/xtrans_cvs.bb
@@ -0,0 +1,16 @@
+PV = "0.0+cvs${SRCDATE}"
+LICENSE = "MIT"
+SECTION = "x11/libs"
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+DESCRIPTION = "network API translation layer to \
+insulate X applications and libraries from OS \
+network vageries."
+
+SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=xtrans"
+S = "${WORKDIR}/xtrans"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}