From dcb7c19ada78eaebd5831dc3c07107e136ce3f35 Mon Sep 17 00:00:00 2001 From: Philipp Zabel Date: Thu, 29 Mar 2007 10:18:26 +0000 Subject: xserver-kdrive: fix patch directory name for 1.2 --- .../xserver-kdrive-1.2.0/.mtn2git_empty | 0 .../disable-xf86-dga-xorgcfg.patch | 39 ++++++++++++++++++++++ .../xserver-kdrive-1.2.0/enable-epson.patch | 11 ++++++ .../xserver-kdrive-1.2.0/enable-tslib.patch | 28 ++++++++++++++++ .../xserver-kdrive-1.2.0/enable-xcalibrate.patch | 24 +++++++++++++ .../xorg-xserver/xserver-kdrive-1.2/.mtn2git_empty | 0 .../disable-xf86-dga-xorgcfg.patch | 39 ---------------------- .../xserver-kdrive-1.2/enable-epson.patch | 11 ------ .../xserver-kdrive-1.2/enable-tslib.patch | 28 ---------------- .../xserver-kdrive-1.2/enable-xcalibrate.patch | 24 ------------- 10 files changed, 102 insertions(+), 102 deletions(-) create mode 100644 packages/xorg-xserver/xserver-kdrive-1.2.0/.mtn2git_empty create mode 100644 packages/xorg-xserver/xserver-kdrive-1.2.0/disable-xf86-dga-xorgcfg.patch create mode 100644 packages/xorg-xserver/xserver-kdrive-1.2.0/enable-epson.patch create mode 100644 packages/xorg-xserver/xserver-kdrive-1.2.0/enable-tslib.patch create mode 100644 packages/xorg-xserver/xserver-kdrive-1.2.0/enable-xcalibrate.patch delete mode 100644 packages/xorg-xserver/xserver-kdrive-1.2/.mtn2git_empty delete mode 100644 packages/xorg-xserver/xserver-kdrive-1.2/disable-xf86-dga-xorgcfg.patch delete mode 100644 packages/xorg-xserver/xserver-kdrive-1.2/enable-epson.patch delete mode 100644 packages/xorg-xserver/xserver-kdrive-1.2/enable-tslib.patch delete mode 100644 packages/xorg-xserver/xserver-kdrive-1.2/enable-xcalibrate.patch diff --git a/packages/xorg-xserver/xserver-kdrive-1.2.0/.mtn2git_empty b/packages/xorg-xserver/xserver-kdrive-1.2.0/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/xorg-xserver/xserver-kdrive-1.2.0/disable-xf86-dga-xorgcfg.patch b/packages/xorg-xserver/xserver-kdrive-1.2.0/disable-xf86-dga-xorgcfg.patch new file mode 100644 index 0000000000..4b7e41e3e9 --- /dev/null +++ b/packages/xorg-xserver/xserver-kdrive-1.2.0/disable-xf86-dga-xorgcfg.patch @@ -0,0 +1,39 @@ +Index: git/configure.ac +=================================================================== +--- git.orig/configure.ac 2006-08-31 22:44:06.000000000 +0200 ++++ git/configure.ac 2006-08-31 22:49:39.000000000 +0200 +@@ -513,7 +513,11 @@ + XEXTXORG_LIB='$(top_builddir)/Xext/libXextbuiltin.la' + + dnl Core modules for most extensions, et al. ++if test "$KDRIVE" = yes; then ++REQUIRED_MODULES="randrproto renderproto [fixesproto >= 4.0] damageproto xcmiscproto xextproto xproto xtrans xf86bigfontproto [scrnsaverproto >= 1.1] bigreqsproto resourceproto fontsproto inputproto [kbproto >= 1.0.3]" ++else + REQUIRED_MODULES="randrproto renderproto [fixesproto >= 4.0] damageproto xcmiscproto xextproto xproto xtrans xf86miscproto xf86vidmodeproto xf86bigfontproto [scrnsaverproto >= 1.1] bigreqsproto resourceproto fontsproto inputproto xf86dgaproto [kbproto >= 1.0.3]" ++fi + REQUIRED_LIBS="xfont xau fontenc" + + AM_CONDITIONAL(XV, [test "x$XV" = xyes]) +@@ -1540,7 +1544,9 @@ + AC_SUBST(XKB_COMPILED_DIR) + + dnl and the rest of these are generic, so they're in config.h ++if test ! x"$KDRIVE" = xyes; then + AC_DEFINE(XFreeXDGA, 1, [Build XDGA support]) ++fi + AC_DEFINE(XResExtension, 1, [Build XRes extension]) + + dnl CYGWIN does not define fd_set if _POSIX_SOURCE is defined +@@ -1560,10 +1566,12 @@ + + AC_DEFINE_DIR(PROJECTROOT, prefix, [Overall prefix]) + ++if test ! "x$KDRIVE" = xyes ; then + dnl xorgconfig CLI configuration utility + PKG_CHECK_MODULES([XORGCONFIG_DEP], [xkbfile x11]) + AC_SUBST(XORGCONFIG_DEP_CFLAGS) + AC_SUBST(XORGCONFIG_DEP_LIBS) ++fi + + dnl xorgcfg GUI configuration utility + AC_ARG_ENABLE(xorgcfg, AS_HELP_STRING([--enable-xorgcfg], diff --git a/packages/xorg-xserver/xserver-kdrive-1.2.0/enable-epson.patch b/packages/xorg-xserver/xserver-kdrive-1.2.0/enable-epson.patch new file mode 100644 index 0000000000..8ec3a37c78 --- /dev/null +++ b/packages/xorg-xserver/xserver-kdrive-1.2.0/enable-epson.patch @@ -0,0 +1,11 @@ +Index: xorg-server-1.2.0/hw/kdrive/Makefile.am +=================================================================== +--- xorg-server-1.2.0.orig/hw/kdrive/Makefile.am 2007-03-28 17:11:38.000000000 +0200 ++++ xorg-server-1.2.0/hw/kdrive/Makefile.am 2007-03-28 17:12:28.000000000 +0200 +@@ -1,5 +1,5 @@ + if KDRIVEFBDEV +-FBDEV_SUBDIRS = fbdev ++FBDEV_SUBDIRS = fbdev epson + endif + + if KDRIVEIMAGEON diff --git a/packages/xorg-xserver/xserver-kdrive-1.2.0/enable-tslib.patch b/packages/xorg-xserver/xserver-kdrive-1.2.0/enable-tslib.patch new file mode 100644 index 0000000000..1e72a3ea53 --- /dev/null +++ b/packages/xorg-xserver/xserver-kdrive-1.2.0/enable-tslib.patch @@ -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.0/enable-xcalibrate.patch b/packages/xorg-xserver/xserver-kdrive-1.2.0/enable-xcalibrate.patch new file mode 100644 index 0000000000..aec94a3a6d --- /dev/null +++ b/packages/xorg-xserver/xserver-kdrive-1.2.0/enable-xcalibrate.patch @@ -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 diff --git a/packages/xorg-xserver/xserver-kdrive-1.2/.mtn2git_empty b/packages/xorg-xserver/xserver-kdrive-1.2/.mtn2git_empty deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/xorg-xserver/xserver-kdrive-1.2/disable-xf86-dga-xorgcfg.patch b/packages/xorg-xserver/xserver-kdrive-1.2/disable-xf86-dga-xorgcfg.patch deleted file mode 100644 index 4b7e41e3e9..0000000000 --- a/packages/xorg-xserver/xserver-kdrive-1.2/disable-xf86-dga-xorgcfg.patch +++ /dev/null @@ -1,39 +0,0 @@ -Index: git/configure.ac -=================================================================== ---- git.orig/configure.ac 2006-08-31 22:44:06.000000000 +0200 -+++ git/configure.ac 2006-08-31 22:49:39.000000000 +0200 -@@ -513,7 +513,11 @@ - XEXTXORG_LIB='$(top_builddir)/Xext/libXextbuiltin.la' - - dnl Core modules for most extensions, et al. -+if test "$KDRIVE" = yes; then -+REQUIRED_MODULES="randrproto renderproto [fixesproto >= 4.0] damageproto xcmiscproto xextproto xproto xtrans xf86bigfontproto [scrnsaverproto >= 1.1] bigreqsproto resourceproto fontsproto inputproto [kbproto >= 1.0.3]" -+else - REQUIRED_MODULES="randrproto renderproto [fixesproto >= 4.0] damageproto xcmiscproto xextproto xproto xtrans xf86miscproto xf86vidmodeproto xf86bigfontproto [scrnsaverproto >= 1.1] bigreqsproto resourceproto fontsproto inputproto xf86dgaproto [kbproto >= 1.0.3]" -+fi - REQUIRED_LIBS="xfont xau fontenc" - - AM_CONDITIONAL(XV, [test "x$XV" = xyes]) -@@ -1540,7 +1544,9 @@ - AC_SUBST(XKB_COMPILED_DIR) - - dnl and the rest of these are generic, so they're in config.h -+if test ! x"$KDRIVE" = xyes; then - AC_DEFINE(XFreeXDGA, 1, [Build XDGA support]) -+fi - AC_DEFINE(XResExtension, 1, [Build XRes extension]) - - dnl CYGWIN does not define fd_set if _POSIX_SOURCE is defined -@@ -1560,10 +1566,12 @@ - - AC_DEFINE_DIR(PROJECTROOT, prefix, [Overall prefix]) - -+if test ! "x$KDRIVE" = xyes ; then - dnl xorgconfig CLI configuration utility - PKG_CHECK_MODULES([XORGCONFIG_DEP], [xkbfile x11]) - AC_SUBST(XORGCONFIG_DEP_CFLAGS) - AC_SUBST(XORGCONFIG_DEP_LIBS) -+fi - - dnl xorgcfg GUI configuration utility - AC_ARG_ENABLE(xorgcfg, AS_HELP_STRING([--enable-xorgcfg], diff --git a/packages/xorg-xserver/xserver-kdrive-1.2/enable-epson.patch b/packages/xorg-xserver/xserver-kdrive-1.2/enable-epson.patch deleted file mode 100644 index 8ec3a37c78..0000000000 --- a/packages/xorg-xserver/xserver-kdrive-1.2/enable-epson.patch +++ /dev/null @@ -1,11 +0,0 @@ -Index: xorg-server-1.2.0/hw/kdrive/Makefile.am -=================================================================== ---- xorg-server-1.2.0.orig/hw/kdrive/Makefile.am 2007-03-28 17:11:38.000000000 +0200 -+++ xorg-server-1.2.0/hw/kdrive/Makefile.am 2007-03-28 17:12:28.000000000 +0200 -@@ -1,5 +1,5 @@ - if KDRIVEFBDEV --FBDEV_SUBDIRS = fbdev -+FBDEV_SUBDIRS = fbdev epson - endif - - if KDRIVEIMAGEON diff --git a/packages/xorg-xserver/xserver-kdrive-1.2/enable-tslib.patch b/packages/xorg-xserver/xserver-kdrive-1.2/enable-tslib.patch deleted file mode 100644 index 1e72a3ea53..0000000000 --- a/packages/xorg-xserver/xserver-kdrive-1.2/enable-tslib.patch +++ /dev/null @@ -1,28 +0,0 @@ -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 deleted file mode 100644 index aec94a3a6d..0000000000 --- a/packages/xorg-xserver/xserver-kdrive-1.2/enable-xcalibrate.patch +++ /dev/null @@ -1,24 +0,0 @@ -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 -- cgit v1.2.3