summaryrefslogtreecommitdiffstats
path: root/meta/packages/xlibs
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/xlibs')
-rw-r--r--meta/packages/xlibs/diet-x11_6.2.1.bb10
-rw-r--r--meta/packages/xlibs/libice/autofoo.patch21
-rw-r--r--meta/packages/xlibs/libice_6.3.3.bb18
-rw-r--r--meta/packages/xlibs/libsm/autofoo.patch21
-rw-r--r--meta/packages/xlibs/libsm_6.0.3.bb17
-rw-r--r--meta/packages/xlibs/libx11-native_6.2.1.bb6
-rw-r--r--meta/packages/xlibs/libx11/autofoo.patch22
-rw-r--r--meta/packages/xlibs/libx11/errordb-keysymdb-path-fix.patch22
-rw-r--r--meta/packages/xlibs/libx11/fix-utf8-wrong-define.patch16
-rw-r--r--meta/packages/xlibs/libx11_6.2.1.bb40
-rw-r--r--meta/packages/xlibs/libxau-native_0.1.1.bb6
-rw-r--r--meta/packages/xlibs/libxau-native_cvs.bb6
-rw-r--r--meta/packages/xlibs/libxau/autofoo.patch21
-rw-r--r--meta/packages/xlibs/libxau_0.1.1.bb18
-rw-r--r--meta/packages/xlibs/libxau_cvs.bb18
-rw-r--r--meta/packages/xlibs/libxcomposite-1.0.1/autofoo.patch17
-rw-r--r--meta/packages/xlibs/libxcomposite_1.0.1.bb16
-rw-r--r--meta/packages/xlibs/libxcomposite_cvs.bb15
-rw-r--r--meta/packages/xlibs/libxcursor-1.1.2/autofoo.patch20
-rw-r--r--meta/packages/xlibs/libxcursor/autofoo.patch22
-rw-r--r--meta/packages/xlibs/libxcursor_1.1.2.bb18
-rw-r--r--meta/packages/xlibs/libxdamage-1.0.1/autofoo.patch17
-rw-r--r--meta/packages/xlibs/libxdamage/m4.patch65
-rw-r--r--meta/packages/xlibs/libxdamage_1.0.1.bb17
-rw-r--r--meta/packages/xlibs/libxdamage_cvs.bb16
-rw-r--r--meta/packages/xlibs/libxdmcp-native_0.1.3.bb6
-rw-r--r--meta/packages/xlibs/libxdmcp/autofoo.patch22
-rw-r--r--meta/packages/xlibs/libxdmcp_0.1.3.bb18
-rw-r--r--meta/packages/xlibs/libxext-native_cvs.bb6
-rw-r--r--meta/packages/xlibs/libxext/autofoo.patch18
-rw-r--r--meta/packages/xlibs/libxext_cvs.bb16
-rw-r--r--meta/packages/xlibs/libxfixes/autofoo.patch20
-rw-r--r--meta/packages/xlibs/libxfixes_2.0.1.bb15
-rw-r--r--meta/packages/xlibs/libxfixes_cvs.bb14
-rw-r--r--meta/packages/xlibs/libxfont/autofoo.patch18
-rw-r--r--meta/packages/xlibs/libxfont/scalable.patch27
-rw-r--r--meta/packages/xlibs/libxfont_1.4.2.bb19
-rw-r--r--meta/packages/xlibs/libxfont_cvs.bb18
-rw-r--r--meta/packages/xlibs/libxft/autofoo.patch21
-rw-r--r--meta/packages/xlibs/libxft_2.1.6.bb27
-rw-r--r--meta/packages/xlibs/libxft_cvs.bb26
-rw-r--r--meta/packages/xlibs/libxi/autofoo.patch12
-rw-r--r--meta/packages/xlibs/libxi_6.0.1.bb16
-rw-r--r--meta/packages/xlibs/libxmu_cvs.bb21
-rw-r--r--meta/packages/xlibs/libxpm/autofoo.patch18
-rw-r--r--meta/packages/xlibs/libxpm_3.5.1.bb19
-rw-r--r--meta/packages/xlibs/libxpm_cvs.bb19
-rw-r--r--meta/packages/xlibs/libxrandr-1.0.2/autofoo.patch20
-rw-r--r--meta/packages/xlibs/libxrandr/autofoo.patch30
-rw-r--r--meta/packages/xlibs/libxrandr_1.0.2.bb15
-rw-r--r--meta/packages/xlibs/libxrender/autofoo.patch20
-rw-r--r--meta/packages/xlibs/libxrender_cvs.bb15
-rw-r--r--meta/packages/xlibs/libxt/autofoo.patch20
-rw-r--r--meta/packages/xlibs/libxt_0.1.5.bb29
-rw-r--r--meta/packages/xlibs/libxtst_cvs.bb17
-rw-r--r--meta/packages/xlibs/xtrans-native_0.1.bb3
-rw-r--r--meta/packages/xlibs/xtrans_0.1.bb15
-rw-r--r--meta/packages/xlibs/xtrans_cvs.bb16
58 files changed, 1081 insertions, 0 deletions
diff --git a/meta/packages/xlibs/diet-x11_6.2.1.bb b/meta/packages/xlibs/diet-x11_6.2.1.bb
new file mode 100644
index 0000000000..284fcc21cc
--- /dev/null
+++ b/meta/packages/xlibs/diet-x11_6.2.1.bb
@@ -0,0 +1,10 @@
1SECTION = "x11/base"
2FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11"
3include libx11_${PV}.bb
4
5EXTRA_OECONF = "--disable-xcms --disable-xlocale --disable-xkb"
6CFLAGS += "-D_GNU_SOURCE"
7
8SRC_URI += "file://fix-utf8-wrong-define.patch;patch=1"
9
10
diff --git a/meta/packages/xlibs/libice/autofoo.patch b/meta/packages/xlibs/libice/autofoo.patch
new file mode 100644
index 0000000000..8ab0585fb8
--- /dev/null
+++ b/meta/packages/xlibs/libice/autofoo.patch
@@ -0,0 +1,21 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- libICE-6.3.3/configure.ac~autofoo 2004-05-11 01:50:07.000000000 -0400
7+++ libICE-6.3.3/configure.ac 2005-01-18 02:30:07.463895544 -0500
8@@ -8,12 +8,12 @@
9 libICE)
10
11 AC_CONFIG_SRCDIR([Makefile.am])
12+AC_CONFIG_AUX_DIR(.)
13 AM_INIT_AUTOMAKE([dist-bzip2])
14
15 AM_MAINTAINER_MODE
16
17 AM_CONFIG_HEADER([config.h])
18-AC_CONFIG_AUX_DIR(.)
19
20 # Checks for programs.
21 AC_PROG_LIBTOOL
diff --git a/meta/packages/xlibs/libice_6.3.3.bb b/meta/packages/xlibs/libice_6.3.3.bb
new file mode 100644
index 0000000000..1311145334
--- /dev/null
+++ b/meta/packages/xlibs/libice_6.3.3.bb
@@ -0,0 +1,18 @@
1SECTION = "libs"
2LICENSE= "MIT"
3PRIORITY = "optional"
4MAINTAINER = "Phil Blundell <pb@handhelds.org>"
5DEPENDS = "libx11"
6PROVIDES = "ice"
7DESCRIPTION = "X11 ICE library"
8PR = "r1"
9
10SRC_URI = "${XLIBS_MIRROR}/libICE-${PV}.tar.bz2 \
11 file://autofoo.patch;patch=1"
12S = "${WORKDIR}/libICE-${PV}"
13
14inherit autotools pkgconfig
15
16do_stage () {
17 autotools_stage_all
18}
diff --git a/meta/packages/xlibs/libsm/autofoo.patch b/meta/packages/xlibs/libsm/autofoo.patch
new file mode 100644
index 0000000000..8cb204a66e
--- /dev/null
+++ b/meta/packages/xlibs/libsm/autofoo.patch
@@ -0,0 +1,21 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- libSM-6.0.3/configure.ac~autofoo 2004-05-11 01:51:21.000000000 -0400
7+++ libSM-6.0.3/configure.ac 2005-01-18 12:15:50.405356376 -0500
8@@ -8,12 +8,12 @@
9 libSM)
10
11 AC_CONFIG_SRCDIR([Makefile.am])
12+AC_CONFIG_AUX_DIR(.)
13 AM_INIT_AUTOMAKE([dist-bzip2])
14
15 AM_MAINTAINER_MODE
16
17 AM_CONFIG_HEADER([config.h])
18-AC_CONFIG_AUX_DIR(.)
19
20 # Checks for programs.
21 AC_PROG_LIBTOOL
diff --git a/meta/packages/xlibs/libsm_6.0.3.bb b/meta/packages/xlibs/libsm_6.0.3.bb
new file mode 100644
index 0000000000..08f9597045
--- /dev/null
+++ b/meta/packages/xlibs/libsm_6.0.3.bb
@@ -0,0 +1,17 @@
1SECTION = "libs"
2LICENSE = "MIT-X"
3PRIORITY = "optional"
4MAINTAINER = "Phil Blundell <pb@handhelds.org>"
5DEPENDS = "libx11 libice"
6DESCRIPTION = "Session management library"
7PR = "r1"
8
9SRC_URI = "${XLIBS_MIRROR}/libSM-${PV}.tar.bz2 \
10 file://autofoo.patch;patch=1"
11S = "${WORKDIR}/libSM-${PV}"
12
13inherit autotools pkgconfig
14
15do_stage () {
16 autotools_stage_all
17}
diff --git a/meta/packages/xlibs/libx11-native_6.2.1.bb b/meta/packages/xlibs/libx11-native_6.2.1.bb
new file mode 100644
index 0000000000..9513c4237e
--- /dev/null
+++ b/meta/packages/xlibs/libx11-native_6.2.1.bb
@@ -0,0 +1,6 @@
1SECTION = "x11/base"
2FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11"
3include libx11_${PV}.bb
4inherit native
5DEPENDS = "xproto-native xextensions-native libxau-native xtrans-native libxdmcp-native"
6PROVIDES = ""
diff --git a/meta/packages/xlibs/libx11/autofoo.patch b/meta/packages/xlibs/libx11/autofoo.patch
new file mode 100644
index 0000000000..8bdba09768
--- /dev/null
+++ b/meta/packages/xlibs/libx11/autofoo.patch
@@ -0,0 +1,22 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- libX11-6.2.1/configure.ac~autofoo
7+++ libX11-6.2.1/configure.ac
8@@ -7,12 +7,12 @@
9 [jg@freedesktop.org],
10 libX11)
11 AC_CONFIG_SRCDIR([Makefile.am])
12-AM_INIT_AUTOMAKE([dist-bzip2])
13+AC_CONFIG_AUX_DIR(.)
14
15+AM_INIT_AUTOMAKE([dist-bzip2])
16 AM_MAINTAINER_MODE
17
18 AM_CONFIG_HEADER([src/config.h])
19-AC_CONFIG_AUX_DIR(.)
20
21 # Checks for programs.
22 AC_PROG_LIBTOOL
diff --git a/meta/packages/xlibs/libx11/errordb-keysymdb-path-fix.patch b/meta/packages/xlibs/libx11/errordb-keysymdb-path-fix.patch
new file mode 100644
index 0000000000..f43d38065e
--- /dev/null
+++ b/meta/packages/xlibs/libx11/errordb-keysymdb-path-fix.patch
@@ -0,0 +1,22 @@
1--- X11/src/ErrDes.c.orig 2005-09-03 16:15:48 +0200
2+++ X11/src/ErrDes.c 2005-09-03 16:16:03 +0200
3@@ -56,7 +56,7 @@
4 #include <stdio.h>
5
6 #ifndef ERRORDB
7-#define ERRORDB "/usr/lib/X11/XErrorDB"
8+#define ERRORDB "/usr/share/X11/XErrorDB"
9 #endif
10
11 /*
12--- X11/src/StrKeysym.c.orig 2005-09-03 16:41:18 +0200
13+++ X11/src/StrKeysym.c 2005-09-03 16:41:33 +0200
14@@ -36,7 +36,7 @@
15 #include "Key.h"
16
17 #ifndef KEYSYMDB
18-#define KEYSYMDB "/usr/lib/X11/XKeysymDB"
19+#define KEYSYMDB "/usr/share/X11/XKeysymDB"
20 #endif
21
22 static Bool initialized;
diff --git a/meta/packages/xlibs/libx11/fix-utf8-wrong-define.patch b/meta/packages/xlibs/libx11/fix-utf8-wrong-define.patch
new file mode 100644
index 0000000000..dca88fba92
--- /dev/null
+++ b/meta/packages/xlibs/libx11/fix-utf8-wrong-define.patch
@@ -0,0 +1,16 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- libX11-6.2.1/include/X11/Xlib.h~fix-utf8-wrong-define
7+++ libX11-6.2.1/include/X11/Xlib.h
8@@ -100,7 +100,7 @@
9
10 /* API mentioning "UTF8" or "utf8" is an XFree86 extension, introduced in
11 November 2000. Its presence is indicated through the following macro. */
12-#define X_HAVE_UTF8_STRING 1
13+#undef X_HAVE_UTF8_STRING
14
15 typedef char *XPointer;
16
diff --git a/meta/packages/xlibs/libx11_6.2.1.bb b/meta/packages/xlibs/libx11_6.2.1.bb
new file mode 100644
index 0000000000..901746bafa
--- /dev/null
+++ b/meta/packages/xlibs/libx11_6.2.1.bb
@@ -0,0 +1,40 @@
1SECTION = "x11/libs"
2LICENSE = "XFree86"
3PRIORITY = "optional"
4MAINTAINER = "Greg Gilbert <greg@treke.net>"
5DEPENDS = "xproto xextensions libxau xtrans libxdmcp"
6PROVIDES = "x11"
7DESCRIPTION = "Base X libs."
8FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB"
9FILES_${PN}-locale += "${datadir}/X11/locale"
10PR = "r4"
11
12SRC_URI = "${XLIBS_MIRROR}/libX11-${PV}.tar.bz2 \
13 file://errordb-keysymdb-path-fix.patch;patch=1 \
14 file://autofoo.patch;patch=1"
15S = "${WORKDIR}/libX11-${PV}"
16
17inherit autotools pkgconfig
18
19do_compile() {
20 (
21 unset CC LD CXX CCLD
22# unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
23 oe_runmake -C src/util 'CFLAGS= -D_GNU_SOURCE' 'LDFLAGS=' 'CXXFLAGS=' 'CPPFLAGS=' makekeys
24 )
25 oe_runmake
26}
27
28do_stage() {
29 install -c -m 644 include/X11/XKBlib.h ${STAGING_INCDIR}/X11/XKBlib.h
30 install -c -m 644 include/X11/Xcms.h ${STAGING_INCDIR}/X11/Xcms.h
31 install -c -m 644 include/X11/Xlib.h ${STAGING_INCDIR}/X11/Xlib.h
32 install -c -m 644 include/X11/Xlibint.h ${STAGING_INCDIR}/X11/Xlibint.h
33 install -c -m 644 include/X11/Xlocale.h ${STAGING_INCDIR}/X11/Xlocale.h
34 install -c -m 644 include/X11/Xresource.h ${STAGING_INCDIR}/X11/Xresource.h
35 install -c -m 644 include/X11/Xutil.h ${STAGING_INCDIR}/X11/Xutil.h
36 install -c -m 644 include/X11/cursorfont.h ${STAGING_INCDIR}/X11/cursorfont.h
37 install -c -m 644 include/X11/region.h ${STAGING_INCDIR}/X11/region.h
38
39 oe_libinstall -a -so -C src libX11 ${STAGING_LIBDIR}
40}
diff --git a/meta/packages/xlibs/libxau-native_0.1.1.bb b/meta/packages/xlibs/libxau-native_0.1.1.bb
new file mode 100644
index 0000000000..ecb71ce3d6
--- /dev/null
+++ b/meta/packages/xlibs/libxau-native_0.1.1.bb
@@ -0,0 +1,6 @@
1SECTION = "x11/base"
2FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/xau"
3include libxau_${PV}.bb
4inherit native
5DEPENDS = "xproto-native"
6PROVIDES = ""
diff --git a/meta/packages/xlibs/libxau-native_cvs.bb b/meta/packages/xlibs/libxau-native_cvs.bb
new file mode 100644
index 0000000000..cd070033ce
--- /dev/null
+++ b/meta/packages/xlibs/libxau-native_cvs.bb
@@ -0,0 +1,6 @@
1SECTION = "x11/base"
2FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/xau"
3include libxau_cvs.bb
4inherit native
5DEPENDS = "xproto-native"
6PROVIDES = ""
diff --git a/meta/packages/xlibs/libxau/autofoo.patch b/meta/packages/xlibs/libxau/autofoo.patch
new file mode 100644
index 0000000000..1e42eb974d
--- /dev/null
+++ b/meta/packages/xlibs/libxau/autofoo.patch
@@ -0,0 +1,21 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- libXau-0.1.1/configure.ac~autofoo
7+++ libXau-0.1.1/configure.ac
8@@ -25,11 +25,10 @@
9
10 AC_PREREQ([2.57])
11 AC_INIT(libXau, [0.1.1], [keithp@keithp.com],libXau)
12-AM_INIT_AUTOMAKE([dist-bzip2])
13-AM_MAINTAINER_MODE
14-
15 AM_CONFIG_HEADER(config.h)
16 AC_CONFIG_AUX_DIR(.)
17+AM_INIT_AUTOMAKE([dist-bzip2])
18+AM_MAINTAINER_MODE
19
20 AC_PROG_CC
21 AC_PROG_INSTALL
diff --git a/meta/packages/xlibs/libxau_0.1.1.bb b/meta/packages/xlibs/libxau_0.1.1.bb
new file mode 100644
index 0000000000..dc1a28171b
--- /dev/null
+++ b/meta/packages/xlibs/libxau_0.1.1.bb
@@ -0,0 +1,18 @@
1SECTION = "x11/libs"
2LICENSE= "MIT"
3PRIORITY = "optional"
4MAINTAINER = "Greg Gilbert <greg@treke.net>"
5DEPENDS = "xproto"
6PROVIDES = "xau"
7DESCRIPTION = "Authorization Protocol for X."
8PR = "r1"
9
10SRC_URI = "${XLIBS_MIRROR}/libXau-${PV}.tar.bz2 \
11 file://autofoo.patch;patch=1"
12S = "${WORKDIR}/libXau-${PV}"
13
14inherit autotools pkgconfig
15
16do_stage() {
17 autotools_stage_all
18}
diff --git a/meta/packages/xlibs/libxau_cvs.bb b/meta/packages/xlibs/libxau_cvs.bb
new file mode 100644
index 0000000000..518744816d
--- /dev/null
+++ b/meta/packages/xlibs/libxau_cvs.bb
@@ -0,0 +1,18 @@
1PV = "0.0+cvs${SRCDATE}"
2LICENSE= "MIT"
3PR = "r1"
4SECTION = "x11/libs"
5PRIORITY = "optional"
6MAINTAINER = "Greg Gilbert <greg@treke.net>"
7DEPENDS = "xproto"
8PROVIDES = "xau"
9DESCRIPTION = "Authorization Protocol for X."
10
11SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xau"
12S = "${WORKDIR}/Xau"
13
14inherit autotools pkgconfig
15
16do_stage() {
17 autotools_stage_all
18}
diff --git a/meta/packages/xlibs/libxcomposite-1.0.1/autofoo.patch b/meta/packages/xlibs/libxcomposite-1.0.1/autofoo.patch
new file mode 100644
index 0000000000..072cf25214
--- /dev/null
+++ b/meta/packages/xlibs/libxcomposite-1.0.1/autofoo.patch
@@ -0,0 +1,17 @@
1Index: libXcomposite-1.0.1/configure.ac
2===================================================================
3--- libXcomposite-1.0.1.orig/configure.ac 2004-01-15 03:59:12.000000000 -0500
4+++ libXcomposite-1.0.1/configure.ac 2005-01-18 17:05:25.573929256 -0500
5@@ -33,11 +33,11 @@
6 dnl protocol, so Xfixes version l.n.m corresponds to protocol version l.n
7 dnl
8 AC_INIT(libXcomposite, 1.0.1, [keithp@keithp.com], libXcomposite)
9+AC_CONFIG_AUX_DIR(.)
10 AM_INIT_AUTOMAKE([dist-bzip2])
11 AM_MAINTAINER_MODE
12
13 AM_CONFIG_HEADER(config.h)
14-AC_CONFIG_AUX_DIR(.)
15
16 # Check for progs
17 AC_PROG_CC
diff --git a/meta/packages/xlibs/libxcomposite_1.0.1.bb b/meta/packages/xlibs/libxcomposite_1.0.1.bb
new file mode 100644
index 0000000000..e2ca3bbc7b
--- /dev/null
+++ b/meta/packages/xlibs/libxcomposite_1.0.1.bb
@@ -0,0 +1,16 @@
1SECTION = "x11/libs"
2LICENSE= "BSD-X"
3DEPENDS = "libx11 compositeext xextensions libxfixes"
4PROVIDES = "xcomposite"
5DESCRIPTION = "X Composite extension library."
6PR = "r1"
7
8SRC_URI = "${XLIBS_MIRROR}/libXcomposite-${PV}.tar.bz2 \
9 file://autofoo.patch;patch=1"
10S = "${WORKDIR}/libXcomposite-${PV}"
11
12inherit autotools pkgconfig
13
14do_stage() {
15 autotools_stage_all
16}
diff --git a/meta/packages/xlibs/libxcomposite_cvs.bb b/meta/packages/xlibs/libxcomposite_cvs.bb
new file mode 100644
index 0000000000..1d8b69c8c6
--- /dev/null
+++ b/meta/packages/xlibs/libxcomposite_cvs.bb
@@ -0,0 +1,15 @@
1PV = "0.0+cvs${SRCDATE}"
2LICENSE= "BSD-X"
3SECTION = "x11/libs"
4DEPENDS = "libx11 compositeext xextensions libxfixes"
5PROVIDES = "xcomposite"
6DESCRIPTION = "X Composite extension library."
7
8SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xcomposite"
9S = "${WORKDIR}/Xcomposite"
10
11inherit autotools pkgconfig
12
13do_stage() {
14 autotools_stage_all
15}
diff --git a/meta/packages/xlibs/libxcursor-1.1.2/autofoo.patch b/meta/packages/xlibs/libxcursor-1.1.2/autofoo.patch
new file mode 100644
index 0000000000..99cd45a7ea
--- /dev/null
+++ b/meta/packages/xlibs/libxcursor-1.1.2/autofoo.patch
@@ -0,0 +1,20 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- libXcursor-1.1.2/configure.ac~autofoo 2004-01-16 23:38:26.000000000 -0500
7+++ libXcursor-1.1.2/configure.ac 2005-01-18 13:40:06.539707120 -0500
8@@ -31,11 +31,11 @@
9 dnl not possible to extract the version number here from Xcursor.h
10 dnl
11 AC_INIT([libXcursor],1.1.2,[keithp@keithp.com],[libXcursor])
12+AC_CONFIG_AUX_DIR(.)
13 AM_INIT_AUTOMAKE([dist-bzip2])
14 AC_CONFIG_SRCDIR([Makefile.am])
15 AM_MAINTAINER_MODE
16 AM_CONFIG_HEADER(config.h)
17-AC_CONFIG_AUX_DIR(.)
18
19 dnl libtool versioning
20
diff --git a/meta/packages/xlibs/libxcursor/autofoo.patch b/meta/packages/xlibs/libxcursor/autofoo.patch
new file mode 100644
index 0000000000..7aa573ce13
--- /dev/null
+++ b/meta/packages/xlibs/libxcursor/autofoo.patch
@@ -0,0 +1,22 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6Index: Xcursor/configure.ac
7===================================================================
8--- Xcursor.orig/configure.ac 2004-04-12 10:11:12.000000000 -0400
9+++ Xcursor/configure.ac 2005-01-18 16:04:36.860617992 -0500
10@@ -31,11 +31,11 @@
11 dnl not possible to extract the version number here from Xcursor.h
12 dnl
13 AC_INIT([libXcursor],1.1.3,[keithp@keithp.com],[libXcursor])
14+AC_CONFIG_AUX_DIR(.)
15 AM_INIT_AUTOMAKE([dist-bzip2])
16 AC_CONFIG_SRCDIR([Makefile.am])
17 AM_MAINTAINER_MODE
18 AM_CONFIG_HEADER(config.h)
19-AC_CONFIG_AUX_DIR(.)
20
21 dnl libtool versioning
22
diff --git a/meta/packages/xlibs/libxcursor_1.1.2.bb b/meta/packages/xlibs/libxcursor_1.1.2.bb
new file mode 100644
index 0000000000..25744c7dca
--- /dev/null
+++ b/meta/packages/xlibs/libxcursor_1.1.2.bb
@@ -0,0 +1,18 @@
1SECTION = "x11/libs"
2LICENSE= "BSD-X"
3PRIORITY = "optional"
4MAINTAINER = "Phil Blundell <pb@handhelds.org>"
5DESCRIPTION = "X Cursor library"
6DEPENDS = "libxfixes"
7PR = "r2"
8
9SRC_URI = "${XLIBS_MIRROR}/libXcursor-${PV}.tar.bz2 \
10 file://autofoo.patch;patch=1"
11S = "${WORKDIR}/libXcursor-${PV}"
12FILES_${PN} += "${libdir}/libXcursor.so"
13
14inherit autotools pkgconfig
15
16do_stage() {
17 autotools_stage_all
18}
diff --git a/meta/packages/xlibs/libxdamage-1.0.1/autofoo.patch b/meta/packages/xlibs/libxdamage-1.0.1/autofoo.patch
new file mode 100644
index 0000000000..1e3ec45d4a
--- /dev/null
+++ b/meta/packages/xlibs/libxdamage-1.0.1/autofoo.patch
@@ -0,0 +1,17 @@
1Index: libXdamage-1.0.1/configure.ac
2===================================================================
3--- libXdamage-1.0.1.orig/configure.ac 2004-01-15 03:54:55.000000000 -0500
4+++ libXdamage-1.0.1/configure.ac 2005-01-18 19:07:16.951430928 -0500
5@@ -33,11 +33,11 @@
6 dnl protocol, so Xfixes version l.n.m corresponds to protocol version l.n
7 dnl
8 AC_INIT(libXdamage, 1.0.1, [keithp@keithp.com], libXdamage)
9+AC_CONFIG_AUX_DIR(.)
10 AM_INIT_AUTOMAKE([dist-bzip2])
11 AM_MAINTAINER_MODE
12
13 AM_CONFIG_HEADER(config.h)
14-AC_CONFIG_AUX_DIR(.)
15
16 # Check for progs
17 AC_PROG_CC
diff --git a/meta/packages/xlibs/libxdamage/m4.patch b/meta/packages/xlibs/libxdamage/m4.patch
new file mode 100644
index 0000000000..393f3d13d2
--- /dev/null
+++ b/meta/packages/xlibs/libxdamage/m4.patch
@@ -0,0 +1,65 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- /dev/null
7+++ Xdamage/m4/pkg.m4
8@@ -0,0 +1,57 @@
9+
10+dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
11+dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
12+dnl also defines GSTUFF_PKG_ERRORS on error
13+AC_DEFUN(PKG_CHECK_MODULES, [
14+ succeeded=no
15+
16+ if test -z "$PKG_CONFIG"; then
17+ AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
18+ fi
19+
20+ if test "$PKG_CONFIG" = "no" ; then
21+ echo "*** The pkg-config script could not be found. Make sure it is"
22+ echo "*** in your path, or set the PKG_CONFIG environment variable"
23+ echo "*** to the full path to pkg-config."
24+ echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25+ else
26+ PKG_CONFIG_MIN_VERSION=0.9.0
27+ if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28+ AC_MSG_CHECKING(for $2)
29+
30+ if $PKG_CONFIG --exists "$2" ; then
31+ AC_MSG_RESULT(yes)
32+ succeeded=yes
33+
34+ AC_MSG_CHECKING($1_CFLAGS)
35+ $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
36+ AC_MSG_RESULT($$1_CFLAGS)
37+
38+ AC_MSG_CHECKING($1_LIBS)
39+ $1_LIBS=`$PKG_CONFIG --libs "$2"`
40+ AC_MSG_RESULT($$1_LIBS)
41+ else
42+ $1_CFLAGS=""
43+ $1_LIBS=""
44+ ## If we have a custom action on failure, don't print errors, but
45+ ## do set a variable so people can do so.
46+ $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
47+ ifelse([$4], ,echo $$1_PKG_ERRORS,)
48+ fi
49+
50+ AC_SUBST($1_CFLAGS)
51+ AC_SUBST($1_LIBS)
52+ else
53+ echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
54+ echo "*** See http://www.freedesktop.org/software/pkgconfig"
55+ fi
56+ fi
57+
58+ if test $succeeded = yes; then
59+ ifelse([$3], , :, [$3])
60+ else
61+ 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])
62+ fi
63+])
64+
65+
diff --git a/meta/packages/xlibs/libxdamage_1.0.1.bb b/meta/packages/xlibs/libxdamage_1.0.1.bb
new file mode 100644
index 0000000000..040e863447
--- /dev/null
+++ b/meta/packages/xlibs/libxdamage_1.0.1.bb
@@ -0,0 +1,17 @@
1SECTION = "x11/libs"
2LICENSE= "BSD-X"
3DEPENDS = "libx11 damageext libxfixes xproto"
4PROVIDES = "xdamage"
5DESCRIPTION = "X Damage extension library."
6PR = "r1"
7
8SRC_URI = "${XLIBS_MIRROR}/libXdamage-${PV}.tar.bz2 \
9 file://m4.patch;patch=1 \
10 file://autofoo.patch;patch=1"
11S = "${WORKDIR}/libXdamage-${PV}"
12
13inherit autotools pkgconfig
14
15do_stage() {
16 autotools_stage_all
17}
diff --git a/meta/packages/xlibs/libxdamage_cvs.bb b/meta/packages/xlibs/libxdamage_cvs.bb
new file mode 100644
index 0000000000..ba8a68033a
--- /dev/null
+++ b/meta/packages/xlibs/libxdamage_cvs.bb
@@ -0,0 +1,16 @@
1PV = "0.0+cvs${SRCDATE}"
2LICENSE= "BSD-X"
3SECTION = "x11/libs"
4DEPENDS = "libx11 damageext libxfixes xproto"
5PROVIDES = "xdamage"
6DESCRIPTION = "X Damage extension library."
7
8SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xdamage \
9 file://m4.patch;patch=1"
10S = "${WORKDIR}/Xdamage"
11
12inherit autotools pkgconfig
13
14do_stage() {
15 autotools_stage_all
16}
diff --git a/meta/packages/xlibs/libxdmcp-native_0.1.3.bb b/meta/packages/xlibs/libxdmcp-native_0.1.3.bb
new file mode 100644
index 0000000000..8d7162b351
--- /dev/null
+++ b/meta/packages/xlibs/libxdmcp-native_0.1.3.bb
@@ -0,0 +1,6 @@
1SECTION = "x11/libs"
2FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libxdmcp"
3include libxdmcp_${PV}.bb
4inherit native
5DEPENDS = "xproto-native"
6PROVIDES = ""
diff --git a/meta/packages/xlibs/libxdmcp/autofoo.patch b/meta/packages/xlibs/libxdmcp/autofoo.patch
new file mode 100644
index 0000000000..ff1a76ad04
--- /dev/null
+++ b/meta/packages/xlibs/libxdmcp/autofoo.patch
@@ -0,0 +1,22 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- libXdmcp-0.1.3/configure.ac~autofoo
7+++ libXdmcp-0.1.3/configure.ac
8@@ -25,12 +25,11 @@
9
10 AC_PREREQ([2.57])
11 AC_INIT(libXdmcp, [0.1.3], [keithp@keithp.com],libXdmcp)
12+AC_CONFIG_AUX_DIR(.)
13+AC_CONFIG_HEADERS([include/X11/Xdmcpconf.h])
14 AM_INIT_AUTOMAKE([dist-bzip2])
15 AM_MAINTAINER_MODE
16-
17 AM_CONFIG_HEADER(config.h)
18-AC_CONFIG_AUX_DIR(.)
19-AC_CONFIG_HEADERS([include/X11/Xdmcpconf.h])
20
21 AC_PROG_CC
22 AC_PROG_INSTALL
diff --git a/meta/packages/xlibs/libxdmcp_0.1.3.bb b/meta/packages/xlibs/libxdmcp_0.1.3.bb
new file mode 100644
index 0000000000..aa2736cdb2
--- /dev/null
+++ b/meta/packages/xlibs/libxdmcp_0.1.3.bb
@@ -0,0 +1,18 @@
1SECTION = "x11/libs"
2PRIORITY = "optional"
3LICENSE= "MIT"
4MAINTAINER = "Greg Gilbert <greg@treke.net>"
5DEPENDS = "xproto"
6PROVIDES = "xdmcp"
7DESCRIPTION = "X Display Manager Control Protocol library."
8PR = "r1"
9S = "${WORKDIR}/libXdmcp-${PV}"
10
11SRC_URI = "${XLIBS_MIRROR}/libXdmcp-${PV}.tar.bz2 \
12 file://autofoo.patch;patch=1"
13
14inherit autotools pkgconfig
15
16do_stage() {
17 autotools_stage_all
18}
diff --git a/meta/packages/xlibs/libxext-native_cvs.bb b/meta/packages/xlibs/libxext-native_cvs.bb
new file mode 100644
index 0000000000..9294b080b7
--- /dev/null
+++ b/meta/packages/xlibs/libxext-native_cvs.bb
@@ -0,0 +1,6 @@
1SECTION = "unknown"
2FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/xext"
3include libxext_${PV}.bb
4inherit native
5DEPENDS = "libx11-native xextensions-native"
6PROVIDES = ""
diff --git a/meta/packages/xlibs/libxext/autofoo.patch b/meta/packages/xlibs/libxext/autofoo.patch
new file mode 100644
index 0000000000..c006884526
--- /dev/null
+++ b/meta/packages/xlibs/libxext/autofoo.patch
@@ -0,0 +1,18 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- Xext/configure.ac~autofoo
7+++ Xext/configure.ac
8@@ -8,9 +8,8 @@
9 libXext)
10
11 AC_CONFIG_SRCDIR([Makefile.am])
12-AM_INIT_AUTOMAKE([dist-bzip2])
13-
14 AC_CONFIG_AUX_DIR(.)
15+AM_INIT_AUTOMAKE([dist-bzip2])
16
17 AM_MAINTAINER_MODE
18
diff --git a/meta/packages/xlibs/libxext_cvs.bb b/meta/packages/xlibs/libxext_cvs.bb
new file mode 100644
index 0000000000..0ef675ca70
--- /dev/null
+++ b/meta/packages/xlibs/libxext_cvs.bb
@@ -0,0 +1,16 @@
1PV = "0.0+cvs${SRCDATE}"
2PR = "r1"
3LICENSE= "MIT"
4DESCRIPTION = "X Server Extension library"
5SECTION = "x11/libs"
6PRIORITY = "optional"
7DEPENDS = "xproto libx11 xextensions"
8PROVIDES = "xext"
9
10SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xext"
11S = "${WORKDIR}/Xext"
12
13inherit autotools pkgconfig
14do_stage() {
15 autotools_stage_all
16}
diff --git a/meta/packages/xlibs/libxfixes/autofoo.patch b/meta/packages/xlibs/libxfixes/autofoo.patch
new file mode 100644
index 0000000000..26803cf7f3
--- /dev/null
+++ b/meta/packages/xlibs/libxfixes/autofoo.patch
@@ -0,0 +1,20 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- libXfixes-2.0.1/configure.ac~autofoo 2004-01-15 03:40:23.000000000 -0500
7+++ libXfixes-2.0.1/configure.ac 2005-01-18 13:35:33.461221360 -0500
8@@ -33,11 +33,11 @@
9 dnl protocol, so Xfixes version l.n.m corresponds to protocol version l.n
10 dnl
11 AC_INIT(libXfixes, 2.0.1, [keithp@keithp.com], libXfixes)
12+AC_CONFIG_AUX_DIR(.)
13 AM_INIT_AUTOMAKE([dist-bzip2])
14 AM_MAINTAINER_MODE
15
16 AM_CONFIG_HEADER(config.h)
17-AC_CONFIG_AUX_DIR(.)
18
19 # Check for progs
20 AC_PROG_CC
diff --git a/meta/packages/xlibs/libxfixes_2.0.1.bb b/meta/packages/xlibs/libxfixes_2.0.1.bb
new file mode 100644
index 0000000000..710fa17454
--- /dev/null
+++ b/meta/packages/xlibs/libxfixes_2.0.1.bb
@@ -0,0 +1,15 @@
1SECTION = "x11/libs"
2LICENSE= "BSD-X"
3DEPENDS = "libx11 fixesext"
4DESCRIPTION = "X Fixes extension library."
5PR = "r1"
6
7SRC_URI = "${XLIBS_MIRROR}/libXfixes-${PV}.tar.bz2 \
8 file://autofoo.patch;patch=1"
9S = "${WORKDIR}/libXfixes-${PV}"
10
11inherit autotools pkgconfig
12
13do_stage() {
14 autotools_stage_all
15}
diff --git a/meta/packages/xlibs/libxfixes_cvs.bb b/meta/packages/xlibs/libxfixes_cvs.bb
new file mode 100644
index 0000000000..4494dc9326
--- /dev/null
+++ b/meta/packages/xlibs/libxfixes_cvs.bb
@@ -0,0 +1,14 @@
1PV = "0.0+cvs${SRCDATE}"
2LICENSE= "BSD-X"
3SECTION = "x11/libs"
4DEPENDS = "libx11 fixesext"
5DESCRIPTION = "X Fixes extension library."
6
7SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xfixes"
8S = "${WORKDIR}/Xfixes"
9
10inherit autotools pkgconfig
11
12do_stage() {
13 autotools_stage_all
14}
diff --git a/meta/packages/xlibs/libxfont/autofoo.patch b/meta/packages/xlibs/libxfont/autofoo.patch
new file mode 100644
index 0000000000..4998625c24
--- /dev/null
+++ b/meta/packages/xlibs/libxfont/autofoo.patch
@@ -0,0 +1,18 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- libXfont-1.4.2/configure.ac~autofoo 2004-05-06 20:19:03.000000000 -0400
7+++ libXfont-1.4.2/configure.ac 2005-01-16 12:14:14.042598720 -0500
8@@ -35,9 +35,9 @@
9 dnl Yes, it is a pain to synchronize version numbers. Unfortunately, it's
10 dnl not possible to extract the version number here from Xfont.h
11 dnl
12+AC_CONFIG_AUX_DIR(.)
13 AM_INIT_AUTOMAKE([dist-bzip2])
14 AM_CONFIG_HEADER(config.h)
15-AC_CONFIG_AUX_DIR(.)
16 AC_CONFIG_HEADERS([include/X11/fonts/fontconf.h])
17
18 # Check for progs
diff --git a/meta/packages/xlibs/libxfont/scalable.patch b/meta/packages/xlibs/libxfont/scalable.patch
new file mode 100644
index 0000000000..7f97b9a8f6
--- /dev/null
+++ b/meta/packages/xlibs/libxfont/scalable.patch
@@ -0,0 +1,27 @@
1Index: fontfile/fontdir.c
2===================================================================
3RCS file: /cvs/xlibs/Xfont/fontfile/fontdir.c,v
4retrieving revision 3.22
5diff -u -r3.22 fontdir.c
6--- xfont/fontfile/fontdir.c 7 Jul 2003 16:40:11 -0000 3.22
7+++ xfont/fontfile/fontdir.c 30 Dec 2004 20:37:12 -0000
8@@ -699,6 +699,11 @@
9 */
10 if (isscale)
11 {
12+ /* If the fontname says it is scalable, make sure that the
13+ * renderer supports OpenScalable and GetInfoScalable.
14+ */
15+ if (renderer->OpenScalable && renderer->GetInfoScalable)
16+ {
17 if (vals.values_supplied & SIZE_SPECIFY_MASK)
18 {
19 bzero((char *)&zeroVals, sizeof(zeroVals));
20@@ -798,6 +803,7 @@
21 bitmap->name.name);
22 }
23 }
24+ }
25 }
26 return TRUE;
27 }
diff --git a/meta/packages/xlibs/libxfont_1.4.2.bb b/meta/packages/xlibs/libxfont_1.4.2.bb
new file mode 100644
index 0000000000..0cc45397fe
--- /dev/null
+++ b/meta/packages/xlibs/libxfont_1.4.2.bb
@@ -0,0 +1,19 @@
1SECTION = "x11/libs"
2LICENSE = "BSD-X"
3PRIORITY = "optional"
4MAINTAINER = "Greg Gilbert <greg@treke.net>"
5DEPENDS = "xproto xtrans zlib"
6PROVIDES = "xfont"
7DESCRIPTION = "X font library (used by the X server)."
8PR = "r2"
9
10SRC_URI = "${XLIBS_MIRROR}/libXfont-${PV}.tar.bz2 \
11 file://scalable.patch;patch=1 \
12 file://autofoo.patch;patch=1"
13S = "${WORKDIR}/libXfont-${PV}"
14
15inherit autotools pkgconfig
16
17do_stage() {
18 autotools_stage_all
19}
diff --git a/meta/packages/xlibs/libxfont_cvs.bb b/meta/packages/xlibs/libxfont_cvs.bb
new file mode 100644
index 0000000000..bd21e0fd12
--- /dev/null
+++ b/meta/packages/xlibs/libxfont_cvs.bb
@@ -0,0 +1,18 @@
1PV = "0.0+cvs${SRCDATE}"
2LICENSE = "BSD-X"
3SECTION = "x11/libs"
4PRIORITY = "optional"
5MAINTAINER = "Greg Gilbert <greg@treke.net>"
6DEPENDS = "xproto xtrans zlib"
7PROVIDES = "xfont"
8DESCRIPTION = "X font library (used by the X server)."
9
10SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xfont \
11 file://scalable.patch;patch=1"
12S = "${WORKDIR}/Xfont"
13
14inherit autotools pkgconfig
15
16do_stage() {
17 autotools_stage_all
18}
diff --git a/meta/packages/xlibs/libxft/autofoo.patch b/meta/packages/xlibs/libxft/autofoo.patch
new file mode 100644
index 0000000000..54120aa612
--- /dev/null
+++ b/meta/packages/xlibs/libxft/autofoo.patch
@@ -0,0 +1,21 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- libXft-2.1.6/configure.ac~autofoo 2004-03-22 10:02:59.000000000 -0500
7+++ libXft-2.1.6/configure.ac 2005-01-17 02:08:10.165951760 -0500
8@@ -33,12 +33,12 @@
9 dnl Please bump the minor library number at each release as well.
10 dnl
11 AC_INIT(libXft, 2.1.6, [keithp@keithp.com], libXft)
12+AC_CONFIG_AUX_DIR(.)
13
14 AM_INIT_AUTOMAKE([dist-bzip2])
15 AM_MAINTAINER_MODE
16
17 AM_CONFIG_HEADER(config.h)
18-AC_CONFIG_AUX_DIR(.)
19
20 # checks for progs
21 AC_PROG_CC
diff --git a/meta/packages/xlibs/libxft_2.1.6.bb b/meta/packages/xlibs/libxft_2.1.6.bb
new file mode 100644
index 0000000000..c3f1f74e40
--- /dev/null
+++ b/meta/packages/xlibs/libxft_2.1.6.bb
@@ -0,0 +1,27 @@
1SECTION = "x11/libs"
2LICENSE = "MIT-X"
3DEPENDS = "libx11 xproto libxrender freetype fontconfig"
4DESCRIPTION = "X FreeType library. Client-side fonts with FreeType."
5PROVIDES = "xft"
6PR = "r1"
7
8SRC_URI = "${XLIBS_MIRROR}/libXft-${PV}.tar.bz2 \
9 file://autofoo.patch;patch=1"
10S = "${WORKDIR}/libXft-${PV}"
11
12FILES_${PN} = ${libdir}/lib*.so.*
13FILES_${PN}-dev = ${includedir} ${libdir}/lib*.so ${libdir}/*.la \
14 ${libdir}/*.a ${libdir}/pkgconfig \
15 ${datadir}/aclocal ${bindir} ${sbindir}
16
17inherit autotools pkgconfig
18
19do_stage() {
20 autotools_stage_all
21}
22
23python do_package() {
24 if bb.data.getVar('DEBIAN_NAMES', d, 1):
25 bb.data.setVar('PKG_${PN}', 'libxft2', d)
26 bb.build.exec_func('package_do_package', d)
27}
diff --git a/meta/packages/xlibs/libxft_cvs.bb b/meta/packages/xlibs/libxft_cvs.bb
new file mode 100644
index 0000000000..6c1a5f5c32
--- /dev/null
+++ b/meta/packages/xlibs/libxft_cvs.bb
@@ -0,0 +1,26 @@
1PV = "0.0+cvs${SRCDATE}"
2LICENSE = "MIT-X"
3SECTION = "x11/libs"
4DEPENDS = "libx11 xproto libxrender freetype fontconfig"
5DESCRIPTION = "X FreeType library. Client-side fonts with FreeType."
6PROVIDES = "xft"
7
8SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xft"
9S = "${WORKDIR}/Xft"
10
11FILES_${PN} = ${libdir}/lib*.so.*
12FILES_${PN}-dev = ${includedir} ${libdir}/lib*.so ${libdir}/*.la \
13 ${libdir}/*.a ${libdir}/pkgconfig \
14 ${datadir}/aclocal ${bindir} ${sbindir}
15
16inherit autotools pkgconfig
17
18do_stage() {
19 autotools_stage_all
20}
21
22python do_package() {
23 if bb.data.getVar('DEBIAN_NAMES', d, 1):
24 bb.data.setVar('PKG_${PN}', 'libxft2', d)
25 bb.build.exec_func('package_do_package', d)
26}
diff --git a/meta/packages/xlibs/libxi/autofoo.patch b/meta/packages/xlibs/libxi/autofoo.patch
new file mode 100644
index 0000000000..f1bce9ed7a
--- /dev/null
+++ b/meta/packages/xlibs/libxi/autofoo.patch
@@ -0,0 +1,12 @@
1Index: libXi-6.0.1/configure.ac
2===================================================================
3--- libXi-6.0.1.orig/configure.ac 2003-11-01 04:11:49.000000000 -0500
4+++ libXi-6.0.1/configure.ac 2005-01-20 11:34:06.878357352 -0500
5@@ -8,7 +8,6 @@
6 AM_MAINTAINER_MODE
7
8 AM_CONFIG_HEADER([config.h])
9-AC_CONFIG_AUX_DIR(.)
10
11 # Checks for programs.
12 AC_PROG_LIBTOOL
diff --git a/meta/packages/xlibs/libxi_6.0.1.bb b/meta/packages/xlibs/libxi_6.0.1.bb
new file mode 100644
index 0000000000..5c44d06df3
--- /dev/null
+++ b/meta/packages/xlibs/libxi_6.0.1.bb
@@ -0,0 +1,16 @@
1DESCRIPTION = "X Input Extension library"
2LICENSE = "MIT-X"
3SECTION = "x11/libs"
4DEPENDS = "xproto libx11 xextensions"
5PR = "r1"
6
7SRC_URI = "${XLIBS_MIRROR}/libXi-${PV}.tar.bz2 \
8 file://autofoo.patch;patch=1"
9S = "${WORKDIR}/libXi-${PV}"
10
11inherit autotools pkgconfig
12
13do_stage() {
14 autotools_stage_all
15}
16
diff --git a/meta/packages/xlibs/libxmu_cvs.bb b/meta/packages/xlibs/libxmu_cvs.bb
new file mode 100644
index 0000000000..500b373c32
--- /dev/null
+++ b/meta/packages/xlibs/libxmu_cvs.bb
@@ -0,0 +1,21 @@
1PV = "0.0+cvs${SRCDATE}"
2LICENSE = "MIT"
3SECTION = "x11/libs"
4PRIORITY = "optional"
5DEPENDS = "libxt libxext"
6PROVIDES = "xmu"
7PR = "r2"
8
9SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xmu"
10S = "${WORKDIR}/Xmu"
11
12PACKAGES =+ "xmuu xmuu-dev"
13
14FILES_xmuu = "${libdir}/libXmuu.so.*"
15FILES_xmuu-dev = "${libdir}/libXmuu.so"
16
17inherit autotools pkgconfig
18
19do_stage () {
20 autotools_stage_all
21}
diff --git a/meta/packages/xlibs/libxpm/autofoo.patch b/meta/packages/xlibs/libxpm/autofoo.patch
new file mode 100644
index 0000000000..6b2174bf02
--- /dev/null
+++ b/meta/packages/xlibs/libxpm/autofoo.patch
@@ -0,0 +1,18 @@
1Index: libXpm-3.5.1/configure.ac
2===================================================================
3--- libXpm-3.5.1.orig/configure.ac 2004-05-11 02:00:35.000000000 -0400
4+++ libXpm-3.5.1/configure.ac 2005-01-19 18:35:57.187402008 -0500
5@@ -1,12 +1,12 @@
6 AC_PREREQ(2.57)
7 AC_INIT([libXpm], 3.5.1, [daniel@freedesktop.org], libXpm)
8 AC_CONFIG_SRCDIR([Makefile.am])
9+AC_CONFIG_AUX_DIR(.)
10 AM_INIT_AUTOMAKE([dist-bzip2])
11
12 AM_MAINTAINER_MODE
13
14 AM_CONFIG_HEADER([lib/config.h])
15-AC_CONFIG_AUX_DIR(.)
16
17 # Checks for programs.
18 AC_PROG_LIBTOOL
diff --git a/meta/packages/xlibs/libxpm_3.5.1.bb b/meta/packages/xlibs/libxpm_3.5.1.bb
new file mode 100644
index 0000000000..513261efd3
--- /dev/null
+++ b/meta/packages/xlibs/libxpm_3.5.1.bb
@@ -0,0 +1,19 @@
1SECTION = "x11/libs"
2LICENSE = "X-BSD"
3PRIORITY = "optional"
4MAINTAINER = "Greg Gilbert <greg@treke.net>"
5DEPENDS = "xproto libx11"
6PROVIDES = "xpm"
7DESCRIPTION = "X Pixmap library."
8PR = "r1"
9
10SRC_URI = "${XLIBS_MIRROR}/libXpm-${PV}.tar.bz2 \
11 file://autofoo.patch;patch=1"
12S = "${WORKDIR}/libXpm-${PV}"
13
14inherit autotools pkgconfig
15
16do_stage () {
17 install -m 0644 ${S}/lib/xpm.h ${STAGING_INCDIR}/X11/xpm.h
18 oe_libinstall -a -so -C lib libXpm ${STAGING_LIBDIR}
19}
diff --git a/meta/packages/xlibs/libxpm_cvs.bb b/meta/packages/xlibs/libxpm_cvs.bb
new file mode 100644
index 0000000000..1b46855735
--- /dev/null
+++ b/meta/packages/xlibs/libxpm_cvs.bb
@@ -0,0 +1,19 @@
1PV = "0.0+cvs${SRCDATE}"
2LICENSE = "X-BSD"
3SECTION = "x11/libs"
4PRIORITY = "optional"
5MAINTAINER = "Greg Gilbert <greg@treke.net>"
6DEPENDS = "xproto libx11"
7PROVIDES = "xpm"
8DESCRIPTION = "X Pixmap library."
9PR = "r1"
10
11SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xpm"
12S = "${WORKDIR}/Xpm"
13
14inherit autotools pkgconfig
15
16do_stage () {
17 install -m 0644 ${S}/lib/xpm.h ${STAGING_INCDIR}/X11/xpm.h
18 oe_libinstall -a -so -C lib libXpm ${STAGING_LIBDIR}
19}
diff --git a/meta/packages/xlibs/libxrandr-1.0.2/autofoo.patch b/meta/packages/xlibs/libxrandr-1.0.2/autofoo.patch
new file mode 100644
index 0000000000..21f6e7fd78
--- /dev/null
+++ b/meta/packages/xlibs/libxrandr-1.0.2/autofoo.patch
@@ -0,0 +1,20 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- libXrandr-1.0.2/configure.ac~autofoo 2004-01-15 03:23:00.000000000 -0500
7+++ libXrandr-1.0.2/configure.ac 2005-01-16 11:18:35.924069872 -0500
8@@ -33,11 +33,11 @@
9 dnl protocol, so Xrandr version l.n.m corresponds to protocol version l.n
10 dnl
11 AC_INIT(libXrandr, 1.0.2, [keithp@keithp.com], libXrandr)
12+AC_CONFIG_AUX_DIR(.)
13 AM_INIT_AUTOMAKE([dist-bzip2])
14 AM_MAINTAINER_MODE
15
16 AM_CONFIG_HEADER(config.h)
17-AC_CONFIG_AUX_DIR(.)
18
19 # Check for progs
20 AC_PROG_CC
diff --git a/meta/packages/xlibs/libxrandr/autofoo.patch b/meta/packages/xlibs/libxrandr/autofoo.patch
new file mode 100644
index 0000000000..7b1db760f2
--- /dev/null
+++ b/meta/packages/xlibs/libxrandr/autofoo.patch
@@ -0,0 +1,30 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- Xrandr/configure.ac~autofoo.patch 2004-07-01 15:01:55.000000000 -0400
7+++ Xrandr/configure.ac 2005-01-16 11:22:09.169651616 -0500
8@@ -33,11 +33,11 @@
9 dnl protocol, so Xrandr version l.n.m corresponds to protocol version l.n
10 dnl
11 AC_INIT(libXrandr, 1.0.2, [keithp@keithp.com], libXrandr)
12+AC_CONFIG_AUX_DIR(.)
13 AM_INIT_AUTOMAKE([dist-bzip2])
14 AM_MAINTAINER_MODE
15
16 AM_CONFIG_HEADER(config.h)
17-AC_CONFIG_AUX_DIR(.)
18
19 # Check for progs
20 AC_PROG_CC
21--- Xrandr/ChangeLog~autofoo.patch 2004-09-19 04:53:38.000000000 -0400
22+++ Xrandr/ChangeLog 2005-01-16 11:52:29.694889712 -0500
23@@ -1,3 +1,7 @@
24+2005-01-16 Chris Larson <kergoth@handhelds.org>
25+
26+ * configure.ac: Fix to work with automake 1.9.x.
27+
28 2004-09-19 Carlos Romero <kidcrash@freedesktop.org>
29
30 * Makefile.am:
diff --git a/meta/packages/xlibs/libxrandr_1.0.2.bb b/meta/packages/xlibs/libxrandr_1.0.2.bb
new file mode 100644
index 0000000000..efd0505544
--- /dev/null
+++ b/meta/packages/xlibs/libxrandr_1.0.2.bb
@@ -0,0 +1,15 @@
1SECTION = "x11/libs"
2LICENSE = "BSD-X"
3DEPENDS = "randrext libx11 libxrender libxext"
4DESCRIPTION = "X Resize and Rotate extension library."
5PR = "r1"
6
7SRC_URI = "${XLIBS_MIRROR}/libXrandr-${PV}.tar.bz2 \
8 file://autofoo.patch;patch=1"
9S = "${WORKDIR}/libXrandr-${PV}"
10
11inherit autotools pkgconfig
12
13do_stage() {
14 autotools_stage_all
15}
diff --git a/meta/packages/xlibs/libxrender/autofoo.patch b/meta/packages/xlibs/libxrender/autofoo.patch
new file mode 100644
index 0000000000..eb21c766f8
--- /dev/null
+++ b/meta/packages/xlibs/libxrender/autofoo.patch
@@ -0,0 +1,20 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- libXrender-0.8.4/configure.ac~autofoo
7+++ libXrender-0.8.4/configure.ac
8@@ -33,11 +33,10 @@
9 dnl protocol, so Xrender version l.n.m corresponds to protocol version l.n
10 dnl
11 AC_INIT(libXrender, 0.8.4, [keithp@keithp.com], libXrender)
12+AC_CONFIG_AUX_DIR(.)
13 AM_INIT_AUTOMAKE([dist-bzip2])
14 AM_MAINTAINER_MODE
15-
16 AM_CONFIG_HEADER(config.h)
17-AC_CONFIG_AUX_DIR(.)
18
19 # Check for progs
20 AC_PROG_CC
diff --git a/meta/packages/xlibs/libxrender_cvs.bb b/meta/packages/xlibs/libxrender_cvs.bb
new file mode 100644
index 0000000000..ea6b1f4607
--- /dev/null
+++ b/meta/packages/xlibs/libxrender_cvs.bb
@@ -0,0 +1,15 @@
1PV = "0.0+cvs${SRCDATE}"
2PR = "r1"
3SECTION = "libs"
4DEPENDS = "renderext libx11"
5DESCRIPTION = "X Render extension library."
6LICENSE = "BSD"
7
8SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xrender"
9S = "${WORKDIR}/Xrender"
10
11inherit autotools pkgconfig
12
13do_stage() {
14 autotools_stage_all
15}
diff --git a/meta/packages/xlibs/libxt/autofoo.patch b/meta/packages/xlibs/libxt/autofoo.patch
new file mode 100644
index 0000000000..ff6dfdbbcc
--- /dev/null
+++ b/meta/packages/xlibs/libxt/autofoo.patch
@@ -0,0 +1,20 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- libXt-0.1.5/configure.ac~autofoo 2004-05-06 20:19:04.000000000 -0400
7+++ libXt-0.1.5/configure.ac 2005-01-18 13:10:13.683262728 -0500
8@@ -28,11 +28,11 @@
9 dnl
10 dnl
11 AC_INIT(libXt, 0.1.5, [keithp@keithp.com], libXt)
12+AC_CONFIG_AUX_DIR(.)
13 AM_INIT_AUTOMAKE([dist-bzip2])
14 AM_MAINTAINER_MODE
15
16 AM_CONFIG_HEADER(config.h)
17-AC_CONFIG_AUX_DIR(.)
18
19 # Check for progs
20 AC_PROG_CC
diff --git a/meta/packages/xlibs/libxt_0.1.5.bb b/meta/packages/xlibs/libxt_0.1.5.bb
new file mode 100644
index 0000000000..00cbe9a3ad
--- /dev/null
+++ b/meta/packages/xlibs/libxt_0.1.5.bb
@@ -0,0 +1,29 @@
1SECTION = "x11/libs"
2PRIORITY = "optional"
3MAINTAINER = "Phil Blundell <pb@handhelds.org>"
4DEPENDS = "libx11 libsm"
5PROVIDES = "xt"
6DESCRIPTION = "X Toolkit Intrinsics"
7LICENSE = "X-MIT"
8PR = "r1"
9SRC_URI = "${XLIBS_MIRROR}/libXt-${PV}.tar.bz2 \
10 file://autofoo.patch;patch=1"
11S = "${WORKDIR}/libXt-${PV}"
12
13PARALLEL_MAKE = ""
14
15inherit autotools pkgconfig
16
17#nasty hack as utils need to be native
18do_compile() {
19 (
20 unset CC LD CXX CCLD
21# unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
22 oe_runmake -C util 'CFLAGS=' 'LDFLAGS=' 'CXXFLAGS=' 'CPPFLAGS=' makestrs
23 )
24 oe_runmake
25}
26
27do_stage () {
28 autotools_stage_all
29}
diff --git a/meta/packages/xlibs/libxtst_cvs.bb b/meta/packages/xlibs/libxtst_cvs.bb
new file mode 100644
index 0000000000..c7c24d5d74
--- /dev/null
+++ b/meta/packages/xlibs/libxtst_cvs.bb
@@ -0,0 +1,17 @@
1LICENSE = "GPL"
2PV = "0.0+cvs${SRCDATE}"
3SECTION = "x11/libs"
4PRIORITY = "optional"
5DEPENDS = "libx11 recordext libxext"
6PROVIDES = "xtst"
7DESCRIPTION = "X Test Extension: client side library"
8PR = "r3"
9
10SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=Xtst"
11S = "${WORKDIR}/Xtst"
12
13inherit autotools pkgconfig
14
15do_stage() {
16 autotools_stage_all
17}
diff --git a/meta/packages/xlibs/xtrans-native_0.1.bb b/meta/packages/xlibs/xtrans-native_0.1.bb
new file mode 100644
index 0000000000..80de95c869
--- /dev/null
+++ b/meta/packages/xlibs/xtrans-native_0.1.bb
@@ -0,0 +1,3 @@
1SECTION = "x11/base"
2include xtrans_${PV}.bb
3inherit native
diff --git a/meta/packages/xlibs/xtrans_0.1.bb b/meta/packages/xlibs/xtrans_0.1.bb
new file mode 100644
index 0000000000..8fee0d5089
--- /dev/null
+++ b/meta/packages/xlibs/xtrans_0.1.bb
@@ -0,0 +1,15 @@
1SECTION = "x11/libs"
2LICENSE = "MIT"
3MAINTAINER = "Greg Gilbert <greg@treke.net>"
4DESCRIPTION = "network API translation layer to \
5insulate X applications and libraries from OS \
6network vageries."
7
8SRC_URI = "${XLIBS_MIRROR}/libXtrans-0.1.tar.bz2"
9S = "${WORKDIR}/libXtrans-${PV}"
10
11inherit autotools pkgconfig
12
13do_stage() {
14 autotools_stage_all
15}
diff --git a/meta/packages/xlibs/xtrans_cvs.bb b/meta/packages/xlibs/xtrans_cvs.bb
new file mode 100644
index 0000000000..9714f4017b
--- /dev/null
+++ b/meta/packages/xlibs/xtrans_cvs.bb
@@ -0,0 +1,16 @@
1PV = "0.0+cvs${SRCDATE}"
2LICENSE = "MIT"
3SECTION = "x11/libs"
4MAINTAINER = "Greg Gilbert <greg@treke.net>"
5DESCRIPTION = "network API translation layer to \
6insulate X applications and libraries from OS \
7network vageries."
8
9SRC_URI = "${FREEDESKTOP_CVS}/xlibs;module=xtrans"
10S = "${WORKDIR}/xtrans"
11
12inherit autotools pkgconfig
13
14do_stage() {
15 autotools_stage_all
16}