--- /dev/null
+Index: xorg-server-1.2.0/hw/kdrive/fbdev/Makefile.am
+===================================================================
+--- xorg-server-1.2.0.orig/hw/kdrive/fbdev/Makefile.am 2007-03-29 11:53:24.000000000 +0200
++++ xorg-server-1.2.0/hw/kdrive/fbdev/Makefile.am 2007-03-29 11:53:27.000000000 +0200
+@@ -6,6 +6,10 @@
+
+ bin_PROGRAMS = Xfbdev
+
++if TSLIB
++TSLIB_FLAG = -lts
++endif
++
+ libfbdev_a_SOURCES = \
+ fbdev.c \
+ fbdev.h
+@@ -16,7 +20,10 @@
+ Xfbdev_LDADD = \
+ libfbdev.a \
+ @KDRIVE_LIBS@ \
+- @XSERVER_LIBS@
++ @XSERVER_LIBS@ \
++ $(TSLIB_FLAG)
+
+ Xfbdev_DEPENDENCIES = \
+- libfbdev.a
++ libfbdev.a \
++ @KDRIVE_LIBS@
++
--- /dev/null
+Index: xorg-server-1.2.0/mi/miinitext.c
+===================================================================
+--- xorg-server-1.2.0.orig/mi/miinitext.c 2007-03-29 11:32:40.000000000 +0200
++++ xorg-server-1.2.0/mi/miinitext.c 2007-03-29 11:33:22.000000000 +0200
+@@ -372,6 +372,9 @@
+ #ifdef DMXEXT
+ extern void DMXExtensionInit(INITARGS);
+ #endif
++#ifdef XCALIBRATE
++extern void XCalibrateExtensionInit(INITARGS);
++#endif
+ #ifdef XEVIE
+ extern void XevieExtensionInit(INITARGS);
+ #endif
+@@ -663,6 +666,9 @@
+ #ifdef DAMAGE
+ if (!noDamageExtension) DamageExtensionInit();
+ #endif
++#ifdef XCALIBRATE
++ XCalibrateExtensionInit ();
++#endif
+ }
+
+ void
file://kdrive-use-evdev.patch;patch=1 \
file://fbdev-not-fix.patch;patch=1 \
file://enable-builtin-fonts.patch;patch=1 \
+ file://disable-xf86-dga-xorgcfg.patch;patch=1 \
file://optional-xkb.patch;patch=1 \
+ file://enable-epson.patch;patch=1 \
+ file://enable-tslib.patch;patch=1 \
file://kmode-palm.patch;patch=1 \
"
--- /dev/null
+Index: git/composite/compext.c
+===================================================================
+--- git.orig/composite/compext.c 2007-03-28 16:25:12.000000000 +0200
++++ git/composite/compext.c 2007-03-28 16:25:15.000000000 +0200
+@@ -696,11 +696,13 @@
+ if (GetPictureScreenIfSet(pScreen) == NULL)
+ return;
+ }
++#ifdef PANORAMIX
+ /* Xinerama's rewriting of window drawing before Composite gets to it
+ * breaks Composite.
+ */
+ if (!noPanoramiXExtension)
+ return;
++#endif
+
+ CompositeClientWindowType = CreateNewResourceType (FreeCompositeClientWindow);
+ if (!CompositeClientWindowType)
DEPENDS += "libxkbfile libxcalibrate"
PE = "1"
-PR = "r1"
-
-PACKAGES =+ "xserver-kdrive-imageon"
+PR = "r2"
SRC_URI = "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \
${KDRIVE_COMMON_PATCHES} \
- file://disable-xf86-dga-xorgcfg-1.2.patch;patch=1 \
- file://enable-epson-1.2.patch;patch=1 \
- file://kdrive-vidmemarea.patch;patch=1 \
- file://kdrive-imageon.patch;patch=1 \
+ file://enable-xcalibrate.patch;patch=1 \
"
S = "${WORKDIR}/xorg-server-${PV}"
-IMAGEON_OECONF = "--disable-imageon"
-IMAGEON_OECONF_arm = "--enable-imageon"
SRC_URI = "${XORG_MIRROR}/X11R7.1/src/xserver/xorg-server-${PV}.tar.bz2 \
${KDRIVE_COMMON_PATCHES} \
- file://disable-xf86-dga-xorgcfg.patch;patch=1 \
file://xcalibrate.patch;patch=1 \
- file://enable-epson.patch;patch=1 \
- file://enable-tslib.patch;patch=1 \
file://w100.patch;patch=1 \
"