summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-09-07 15:21:38 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-09-17 11:17:40 +0200
commit44c7cdefee88e22532dcc1269d3c148a20899b6a (patch)
tree6160dc8363ca06e2e9d4298490724c5423432eca /meta-oe
parentd06417a892b16cccea3a393e467d65d4668aedc1 (diff)
downloadmeta-openembedded-44c7cdefee88e22532dcc1269d3c148a20899b6a.tar.gz
xserver-xorg: drop 1.9.4 and git version
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-1.9.4/dolt-fix.patch22
-rw-r--r--meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-1.9.4/hack-assume-pixman-supports-overlapped-blt.patch14
-rw-r--r--meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-1.9.4/hack-fbdev-ignore-return-mode.patch39
-rw-r--r--meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-1.9.4/randr-support.patch102
-rw-r--r--meta-oe/recipes-graphics/xorg-xserver/xserver-xorg_1.9.4.bb31
-rw-r--r--meta-oe/recipes-graphics/xorg-xserver/xserver-xorg_git.bb38
6 files changed, 0 insertions, 246 deletions
diff --git a/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-1.9.4/dolt-fix.patch b/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-1.9.4/dolt-fix.patch
deleted file mode 100644
index e332ce0bb..000000000
--- a/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-1.9.4/dolt-fix.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1Index: xorg-server/m4/dolt.m4
2===================================================================
3--- xorg-server.orig/m4/dolt.m4 2009-04-14 21:14:56.000000000 +0400
4+++ xorg-server/m4/dolt.m4 2009-07-15 12:38:33.796848843 +0400
5@@ -147,7 +147,7 @@
6 cat <<__DOLTLIBTOOL__EOF__ > doltlibtool
7 #!$DOLT_BASH
8 __DOLTLIBTOOL__EOF__
9- cat <<'__DOLTLIBTOOL__EOF__' >>doltlibtool
10+ cat <<'__DOLTLIBTOOL__EOF__' | sed -e "s/@host_alias@/$host_alias/g" >>doltlibtool
11 top_builddir_slash="${0%%doltlibtool}"
12 : ${top_builddir_slash:=./}
13 args=()
14@@ -163,7 +163,7 @@
15 if $modeok && $tagok ; then
16 . ${top_builddir_slash}doltcompile "${args@<:@@@:>@}"
17 else
18- exec ${top_builddir_slash}libtool "$[]@"
19+ exec ${top_builddir_slash}@host_alias@-libtool "$[]@"
20 fi
21 __DOLTLIBTOOL__EOF__
22
diff --git a/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-1.9.4/hack-assume-pixman-supports-overlapped-blt.patch b/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-1.9.4/hack-assume-pixman-supports-overlapped-blt.patch
deleted file mode 100644
index a947582f1..000000000
--- a/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-1.9.4/hack-assume-pixman-supports-overlapped-blt.patch
+++ /dev/null
@@ -1,14 +0,0 @@
1diff --git a/fb/fbcopy.c b/fb/fbcopy.c
2index 07eb663..ba394b7 100644
3--- a/fb/fbcopy.c
4+++ b/fb/fbcopy.c
5@@ -91,8 +91,7 @@ fbCopyNtoN (DrawablePtr pSrcDrawable,
6 while (nbox--)
7 {
8 #ifndef FB_ACCESS_WRAPPER /* pixman_blt() doesn't support accessors yet */
9- if (pm == FB_ALLONES && alu == GXcopy && !reverse &&
10- !upsidedown)
11+ if (pm == FB_ALLONES && alu == GXcopy)
12 {
13 if (!pixman_blt ((uint32_t *)src, (uint32_t *)dst, srcStride, dstStride, srcBpp, dstBpp,
14 (pbox->x1 + dx + srcXoff),
diff --git a/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-1.9.4/hack-fbdev-ignore-return-mode.patch b/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-1.9.4/hack-fbdev-ignore-return-mode.patch
deleted file mode 100644
index d3661cbea..000000000
--- a/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-1.9.4/hack-fbdev-ignore-return-mode.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1Ugly hack that prevents server termination with xf86-video-fbdev-0.4.1
2(and probably other) while returning from chvt or resume on some
3hardware (e. g. zaurus).
4
5Correct fix would require debugging of fbdev mode during LeaveVT and
6EnterVT.
7
8This patch may cause staying in incorrect or corrupted display mode
9after EnterVT, but on man affected devices it does not cause any visible
10problems.
11
12Hacked code is never called on properly written drivers.
13
14Devices affected and testers involved for future patch removal:
15Sharp Zaurus (spitz/akita): Stanislav Brabec <utx@penguin.cz>
16
17See also:
18https://bugzilla.redhat.com/show_bug.cgi?id=238451
19
20The bug (first line indicates that your device is affected):
21
22(EE) FBDEV(0): FBIOPUT_VSCREENINFO succeeded but modified mode
23
24Fatal server error:
25EnterVT failed for screen 0
26
27Index: xorg-server-1.7.3/hw/xfree86/fbdevhw/fbdevhw.c
28===================================================================
29--- xorg-server-1.7.3.orig/hw/xfree86/fbdevhw/fbdevhw.c
30+++ xorg-server-1.7.3/hw/xfree86/fbdevhw/fbdevhw.c
31@@ -571,7 +571,7 @@ fbdevHWSetMode(ScrnInfoPtr pScrn, Displa
32 #if DEBUG
33 print_fbdev_mode("returned", &set_var);
34 #endif
35- return FALSE;
36+ /* return FALSE; UGLY HACK to allow return from chvt */
37 }
38
39 if (!check)
diff --git a/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-1.9.4/randr-support.patch b/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-1.9.4/randr-support.patch
deleted file mode 100644
index abc7db41e..000000000
--- a/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-1.9.4/randr-support.patch
+++ /dev/null
@@ -1,102 +0,0 @@
1diff -uNr xorg-server-1.9.0.orig//hw/xfree86/common/xf86Xinput.c xorg-server-1.9.0/hw/xfree86/common/xf86Xinput.c
2--- xorg-server-1.9.0.orig//hw/xfree86/common/xf86Xinput.c 2010-08-13 07:53:48.000000000 +0200
3+++ xorg-server-1.9.0/hw/xfree86/common/xf86Xinput.c 2010-08-28 21:31:10.000000000 +0200
4@@ -106,6 +106,8 @@
5
6 #include "os.h"
7
8+#define RR_Rotate_All (RR_Rotate_0|RR_Rotate_90|RR_Rotate_180|RR_Rotate_270)
9+
10 EventListPtr xf86Events = NULL;
11
12 /**
13@@ -1359,4 +1361,73 @@
14 EnableDevice(dev, TRUE);
15 }
16
17+/* Taken from evdev-properties.h. */
18+#define EVDEV_PROP_SWAP_AXES "Evdev Axes Swap"
19+#define EVDEV_PROP_INVERT_AXES "Evdev Axis Inversion"
20+
21+/* This is a hack until we get device -> CRTC association. */
22+void
23+xf86InputRotationNotify(Rotation rotation)
24+{
25+ DeviceIntPtr dev;
26+ LocalDevicePtr local;
27+ int ret;
28+ int swap_axes = 0;
29+ CARD8 invert[2] = { 0, 0 };
30+ static Atom prop_swap = 0, prop_invert = 0;
31+ static int atom_generation = -1;
32+
33+ if (atom_generation != serverGeneration) {
34+ prop_swap = 0;
35+ prop_invert = 0;
36+ }
37+
38+ switch (rotation & RR_Rotate_All) {
39+ case RR_Rotate_0:
40+ swap_axes = 1;
41+ invert[0] = 0;
42+ invert[1] = 0;
43+ break;
44+ case RR_Rotate_90:
45+ swap_axes = 0;
46+ invert[0] = 0;
47+ invert[1] = 1;
48+ break;
49+ case RR_Rotate_180:
50+ swap_axes = 1;
51+ invert[0] = 0;
52+ invert[1] = 0;
53+ break;
54+ case RR_Rotate_270:
55+ swap_axes = 0;
56+ invert[0] = 0;
57+ invert[1] = 1;
58+ break;
59+ }
60+
61+ if (!prop_swap)
62+ prop_swap = MakeAtom(EVDEV_PROP_SWAP_AXES,
63+ strlen(EVDEV_PROP_SWAP_AXES), TRUE);
64+ if (!prop_invert)
65+ prop_invert = MakeAtom(EVDEV_PROP_INVERT_AXES,
66+ strlen(EVDEV_PROP_INVERT_AXES), TRUE);
67+
68+ for (dev = inputInfo.devices; dev; dev = dev->next) {
69+ local = dev->public.devicePrivate;
70+ ret = XIChangeDeviceProperty(dev, prop_swap, XA_INTEGER, 8,
71+ PropModeReplace, 1, &swap_axes, FALSE);
72+ if (ret != Success) {
73+ xf86Msg(X_ERROR, "Changing swap_xy property failed!\n");
74+ continue;
75+ }
76+ ret = XIChangeDeviceProperty(dev, prop_invert, XA_INTEGER, 8,
77+ PropModeReplace, 2, invert, FALSE);
78+ if (ret != Success) {
79+ xf86Msg(X_ERROR, "Changing invert property failed!\n");
80+ continue;
81+ }
82+ }
83+}
84+
85+
86 /* end of xf86Xinput.c */
87diff -uNr xorg-server-1.9.0.orig//hw/xfree86/modes/xf86Crtc.c xorg-server-1.9.0/hw/xfree86/modes/xf86Crtc.c
88--- xorg-server-1.9.0.orig//hw/xfree86/modes/xf86Crtc.c 2010-07-20 05:24:12.000000000 +0200
89+++ xorg-server-1.9.0/hw/xfree86/modes/xf86Crtc.c 2010-08-28 21:28:48.000000000 +0200
90@@ -387,6 +387,12 @@
91 if (didLock)
92 crtc->funcs->unlock (crtc);
93
94+ /*
95+ * Rotate Touchscreen
96+ */
97+ xf86InputRotationNotify(crtc->rotation);
98+
99+
100 return ret;
101 }
102
diff --git a/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg_1.9.4.bb b/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg_1.9.4.bb
deleted file mode 100644
index 16f21c6e7..000000000
--- a/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg_1.9.4.bb
+++ /dev/null
@@ -1,31 +0,0 @@
1# Assign it here, since the hal->udev transition happens post 1.7 in angstrom
2DISTRO_XORG_CONFIG_MANAGER_angstrom = "udev"
3
4require xorg-xserver-common.inc
5
6DESCRIPTION = "the X.Org X server"
7DEPENDS += "pixman libpciaccess openssl dri2proto glproto font-util-native"
8PE = "2"
9PR = "${INC_PR}.0"
10
11SRC_URI += " \
12 file://dolt-fix.patch \
13 file://randr-support.patch \
14 file://hack-fbdev-ignore-return-mode.patch \
15 file://hack-assume-pixman-supports-overlapped-blt.patch \
16 "
17SRC_URI[md5sum] = "040f091dfdfb4e335116eb0032cc690b"
18SRC_URI[sha256sum] = "ad11047ebba58f2e37b03c70c986db3ea0cc0f1a19d2d3612713ab77b8ec2458"
19
20do_install_prepend() {
21 mkdir -p ${D}/${libdir}/X11/fonts
22}
23
24# The NVidia driver requires Xinerama support in the X server. Ion uses it.
25PACKAGE_ARCH_ion = "${MACHINE_ARCH}"
26XINERAMA = "${@['--disable-xinerama','--enable-xinerama'][bb.data.getVar('MACHINE',d) in ['ion']]}"
27
28EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-kdrive --disable-xephyr --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx"
29EXTRA_OECONF += " --enable-dri2 --disable-unit-tests --disable-docs --disable-devel-docs"
30
31export LDFLAGS += " -ldl "
diff --git a/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg_git.bb b/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg_git.bb
deleted file mode 100644
index ee91ae00e..000000000
--- a/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg_git.bb
+++ /dev/null
@@ -1,38 +0,0 @@
1# Assign it here, since the hal->udev transition happens post 1.7 in angstrom
2DISTRO_XORG_CONFIG_MANAGER_angstrom = "udev"
3
4require xorg-xserver-common.inc
5
6LICENSE = "MIT-X"
7LIC_FILES_CHKSUM = "file://COPYING;md5=74df27b6254cc88d2799b5f4f5949c00"
8
9DESCRIPTION = "the X.Org X server"
10DEPENDS += "pixman libpciaccess openssl dri2proto glproto font-util-native"
11PV = "1.10.1"
12PR = "${INC_PR}.0"
13PR_append = "+gitr${SRCPV}"
14PE = "2"
15
16DEFAULT_PREFERENCE = "-1"
17
18SRCREV = "a73311f8304193f9245fb077f173bf1e1d52e040"
19SRC_URI = " \
20 git://anongit.freedesktop.org/xorg/xserver;protocol=git;branch=server-1.10-branch \
21 file://hack-fbdev-ignore-return-mode.patch \
22 file://hack-assume-pixman-supports-overlapped-blt.patch \
23"
24
25S = "${WORKDIR}/git"
26
27do_install_prepend() {
28 mkdir -p ${D}/${libdir}/X11/fonts
29}
30
31# The NVidia driver requires Xinerama support in the X server. Ion uses it.
32PACKAGE_ARCH_ion = "${MACHINE_ARCH}"
33XINERAMA = "${@['--disable-xinerama','--enable-xinerama'][bb.data.getVar('MACHINE',d) in ['ion']]}"
34
35EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-kdrive --disable-xephyr --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx"
36EXTRA_OECONF += " --enable-dri2 --disable-unit-tests --disable-docs --disable-devel-docs"
37
38export LDFLAGS += " -ldl "