xserver-kdrive: clean up different patch versions, drop imageon from 1.2 for now
authorPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 29 Mar 2007 10:10:26 +0000 (10:10 +0000)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 29 Mar 2007 10:10:26 +0000 (10:10 +0000)
packages/xorg-xserver/xserver-kdrive-1.2/.mtn2git_empty [new file with mode: 0644]
packages/xorg-xserver/xserver-kdrive-1.2/disable-xf86-dga-xorgcfg.patch [moved from packages/xorg-xserver/xserver-kdrive/disable-xf86-dga-xorgcfg-1.2.patch with 100% similarity]
packages/xorg-xserver/xserver-kdrive-1.2/enable-epson.patch [moved from packages/xorg-xserver/xserver-kdrive/enable-epson-1.2.patch with 100% similarity]
packages/xorg-xserver/xserver-kdrive-1.2/enable-tslib.patch [new file with mode: 0644]
packages/xorg-xserver/xserver-kdrive-1.2/enable-xcalibrate.patch [new file with mode: 0644]
packages/xorg-xserver/xserver-kdrive-common.inc
packages/xorg-xserver/xserver-kdrive/build-fix-panoramix.patch [new file with mode: 0644]
packages/xorg-xserver/xserver-kdrive_1.2.0.bb
packages/xorg-xserver/xserver-kdrive_X11R7.1-1.1.0.bb

diff --git a/packages/xorg-xserver/xserver-kdrive-1.2/.mtn2git_empty b/packages/xorg-xserver/xserver-kdrive-1.2/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/xorg-xserver/xserver-kdrive-1.2/enable-tslib.patch b/packages/xorg-xserver/xserver-kdrive-1.2/enable-tslib.patch
new file mode 100644 (file)
index 0000000..1e72a3e
--- /dev/null
@@ -0,0 +1,28 @@
+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@                                   
++
diff --git a/packages/xorg-xserver/xserver-kdrive-1.2/enable-xcalibrate.patch b/packages/xorg-xserver/xserver-kdrive-1.2/enable-xcalibrate.patch
new file mode 100644 (file)
index 0000000..aec94a3
--- /dev/null
@@ -0,0 +1,24 @@
+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
index 3cb0386..72c2a87 100644 (file)
@@ -96,7 +96,10 @@ KDRIVE_COMMON_PATCHES = " \
        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 \
        "
 
diff --git a/packages/xorg-xserver/xserver-kdrive/build-fix-panoramix.patch b/packages/xorg-xserver/xserver-kdrive/build-fix-panoramix.patch
new file mode 100644 (file)
index 0000000..f919b48
--- /dev/null
@@ -0,0 +1,18 @@
+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)
index ac276a8..d4c01f2 100644 (file)
@@ -3,19 +3,12 @@ require xserver-kdrive-common.inc
 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"
index 1aff9cd..3f97527 100644 (file)
@@ -8,10 +8,7 @@ PACKAGES =+ "xserver-kdrive-w100"
 
 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 \
        "