From cbc8a9948da249805f2b5d16af3c8c7245cbd982 Mon Sep 17 00:00:00 2001 From: tnut Date: Sat, 11 Sep 2010 16:58:52 +0200 Subject: pilotes xorg dans acompiler --- xorg/xorg-xf86-input-elographics/.footprint | 11 -- xorg/xorg-xf86-input-elographics/.md5sum | 3 - xorg/xorg-xf86-input-elographics/Pkgfile | 20 --- .../elographics-1.2.3-abi.patch | 73 ---------- .../xorg-xf86-input-elographics/git-c97c9f47.patch | 149 --------------------- 5 files changed, 256 deletions(-) delete mode 100644 xorg/xorg-xf86-input-elographics/.footprint delete mode 100644 xorg/xorg-xf86-input-elographics/.md5sum delete mode 100644 xorg/xorg-xf86-input-elographics/Pkgfile delete mode 100644 xorg/xorg-xf86-input-elographics/elographics-1.2.3-abi.patch delete mode 100644 xorg/xorg-xf86-input-elographics/git-c97c9f47.patch (limited to 'xorg/xorg-xf86-input-elographics') diff --git a/xorg/xorg-xf86-input-elographics/.footprint b/xorg/xorg-xf86-input-elographics/.footprint deleted file mode 100644 index e7752bd33..000000000 --- a/xorg/xorg-xf86-input-elographics/.footprint +++ /dev/null @@ -1,11 +0,0 @@ -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/lib/ -drwxr-xr-x root/root usr/lib/xorg/ -drwxr-xr-x root/root usr/lib/xorg/modules/ -drwxr-xr-x root/root usr/lib/xorg/modules/input/ --rwxr-xr-x root/root usr/lib/xorg/modules/input/elographics_drv.la --rwxr-xr-x root/root usr/lib/xorg/modules/input/elographics_drv.so -drwxr-xr-x root/root usr/share/ -drwxr-xr-x root/root usr/share/man/ -drwxr-xr-x root/root usr/share/man/man4/ --rw-r--r-- root/root usr/share/man/man4/elographics.4.gz diff --git a/xorg/xorg-xf86-input-elographics/.md5sum b/xorg/xorg-xf86-input-elographics/.md5sum deleted file mode 100644 index 850b4b8a1..000000000 --- a/xorg/xorg-xf86-input-elographics/.md5sum +++ /dev/null @@ -1,3 +0,0 @@ -ca8a9e00eb639214e21eec4db193d4cf elographics-1.2.3-abi.patch -6ee7c814f57fc898f52cb765c3e50c31 git-c97c9f47.patch -cc2923460c8eff9652b01889a063058d xf86-input-elographics-1.2.3.tar.bz2 diff --git a/xorg/xorg-xf86-input-elographics/Pkgfile b/xorg/xorg-xf86-input-elographics/Pkgfile deleted file mode 100644 index c52767e30..000000000 --- a/xorg/xorg-xf86-input-elographics/Pkgfile +++ /dev/null @@ -1,20 +0,0 @@ -# Description: xorg driver xf86-input-elographics -# URL: http://xorg.freedesktop.org -# Maintainer: NuTyX core team -# Packager: lesibel at free dot fr -# Depends on: xorg-server - -name=xorg-xf86-input-elographics -version=1.2.3 -release=2 -source=(http://xorg.freedesktop.org/releases/individual/driver/xf86-input-elographics-$version.tar.bz2\ - git-c97c9f47.patch elographics-1.2.3-abi.patch) -build() { - cd xf86-input-elographics-$version - patch -Np1 -i ../git-c97c9f47.patch - patch -Np1 -i ../elographics-1.2.3-abi.patch - ./configure --prefix=/usr - - make - make DESTDIR=$PKG install -} diff --git a/xorg/xorg-xf86-input-elographics/elographics-1.2.3-abi.patch b/xorg/xorg-xf86-input-elographics/elographics-1.2.3-abi.patch deleted file mode 100644 index b90fe99d8..000000000 --- a/xorg/xorg-xf86-input-elographics/elographics-1.2.3-abi.patch +++ /dev/null @@ -1,73 +0,0 @@ -From a18af14b1df5271fbe3100df3fcb3a8811981ddf Mon Sep 17 00:00:00 2001 -From: Peter Hutterer -Date: Fri, 17 Jul 2009 14:44:55 +1000 -Subject: [PATCH] Cope with XINPUT ABI 7. - -Signed-off-by: Peter Hutterer ---- - src/xf86Elo.c | 25 ++++++++++++++++++++++--- - 1 files changed, 22 insertions(+), 3 deletions(-) - -diff --git a/src/xf86Elo.c b/src/xf86Elo.c -index 4ca60f1..495a43c 100644 ---- a/src/xf86Elo.c -+++ b/src/xf86Elo.c -@@ -780,6 +780,10 @@ xf86EloControl(DeviceIntPtr dev, - unsigned char map[] = { 0, 1 }; - unsigned char req[ELO_PACKET_SIZE]; - unsigned char reply[ELO_PACKET_SIZE]; -+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 -+ Atom btn_label; -+ Atom axis_labels[2] = { 0, 0 }; -+#endif - - switch(mode) { - -@@ -797,7 +801,11 @@ xf86EloControl(DeviceIntPtr dev, - /* - * Device reports button press for up to 1 button. - */ -- if (InitButtonClassDeviceStruct(dev, 1, map) == FALSE) { -+ if (InitButtonClassDeviceStruct(dev, 1, -+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 -+ &btn_label, -+#endif -+ map) == FALSE) { - ErrorF("Unable to allocate Elographics touchscreen ButtonClassDeviceStruct\n"); - return !Success; - } -@@ -818,6 +826,9 @@ xf86EloControl(DeviceIntPtr dev, - * screen to fit one meter. - */ - if (InitValuatorClassDeviceStruct(dev, 2, -+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 -+ axis_labels, -+#endif - #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 - xf86GetMotionEvents, - #endif -@@ -827,11 +838,19 @@ xf86EloControl(DeviceIntPtr dev, - } - else { - /* I will map coordinates myself */ -- InitValuatorAxisStruct(dev, 0, -1, -1, -+ InitValuatorAxisStruct(dev, 0, -+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 -+ axis_labels[0], -+#endif -+ -1, -1, - 9500, - 0 /* min_res */, - 9500 /* max_res */); -- InitValuatorAxisStruct(dev, 1, -1, -1, -+ InitValuatorAxisStruct(dev, 1, -+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 -+ axis_labels[1], -+#endif -+ -1, -1, - 10500, - 0 /* min_res */, - 10500 /* max_res */); --- -1.6.3.rc1.2.g0164.dirty - diff --git a/xorg/xorg-xf86-input-elographics/git-c97c9f47.patch b/xorg/xorg-xf86-input-elographics/git-c97c9f47.patch deleted file mode 100644 index f026e4d10..000000000 --- a/xorg/xorg-xf86-input-elographics/git-c97c9f47.patch +++ /dev/null @@ -1,149 +0,0 @@ -diff -ruN -x .gitignore -x .cvsignore xf86-input-elographics-37cd09e99c7f5fa4ce7511b8ed171a3ae130300f/Makefile.am xf86-input-elographics-c97c9f470636e6caf4374a6930e5fe380f58b8bb/Makefile.am ---- xf86-input-elographics-37cd09e99c7f5fa4ce7511b8ed171a3ae130300f/Makefile.am 2008-10-21 05:03:43.000000000 +0000 -+++ xf86-input-elographics-c97c9f470636e6caf4374a6930e5fe380f58b8bb/Makefile.am 2009-02-02 21:06:55.000000000 +0000 -@@ -28,8 +28,7 @@ - .PHONY: ChangeLog - - ChangeLog: -- (GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || \ -- (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2) -+ $(CHANGELOG_CMD) - - dist-hook: ChangeLog - -diff -ruN -x .gitignore -x .cvsignore xf86-input-elographics-37cd09e99c7f5fa4ce7511b8ed171a3ae130300f/README xf86-input-elographics-c97c9f470636e6caf4374a6930e5fe380f58b8bb/README ---- xf86-input-elographics-37cd09e99c7f5fa4ce7511b8ed171a3ae130300f/README 1970-01-01 00:00:00.000000000 +0000 -+++ xf86-input-elographics-c97c9f470636e6caf4374a6930e5fe380f58b8bb/README 2009-02-02 21:06:55.000000000 +0000 -@@ -0,0 +1,20 @@ -+xf86-input-elographics - Elographics input driver for the Xorg X server -+ -+Please submit bugs & patches to the Xorg bugzilla: -+ -+ https://bugs.freedesktop.org/enter_bug.cgi?product=xorg -+ -+All questions regarding this software should be directed at the -+Xorg mailing list: -+ -+ http://lists.freedesktop.org/mailman/listinfo/xorg -+ -+The master development code repository can be found at: -+ -+ git://anongit.freedesktop.org/git/xorg/driver/xf86-input-elographics -+ -+ http://cgit.freedesktop.org/xorg/driver/xf86-input-elographics -+ -+For more information on the git code manager, see: -+ -+ http://wiki.x.org/wiki/GitPage -diff -ruN -x .gitignore -x .cvsignore xf86-input-elographics-37cd09e99c7f5fa4ce7511b8ed171a3ae130300f/configure.ac xf86-input-elographics-c97c9f470636e6caf4374a6930e5fe380f58b8bb/configure.ac ---- xf86-input-elographics-37cd09e99c7f5fa4ce7511b8ed171a3ae130300f/configure.ac 2008-10-21 05:03:43.000000000 +0000 -+++ xf86-input-elographics-c97c9f470636e6caf4374a6930e5fe380f58b8bb/configure.ac 2009-02-02 21:06:55.000000000 +0000 -@@ -32,15 +32,16 @@ - - AM_MAINTAINER_MODE - --DRIVER_NAME=elographics --AC_SUBST([DRIVER_NAME]) -- -+# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG -+m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.2 or later before running autoconf/autogen])]) -+XORG_MACROS_VERSION(1.2) - AM_CONFIG_HEADER([config.h]) - - # Checks for programs. - AC_DISABLE_STATIC - AC_PROG_LIBTOOL - AC_PROG_CC -+XORG_CWARNFLAGS - - AH_TOP([#include "xorg-server.h"]) - -@@ -77,16 +78,18 @@ - # Checks for pkg-config packages - PKG_CHECK_MODULES(XORG, xorg-server xproto $REQUIRED_MODULES) - sdkdir=$(pkg-config --variable=sdkdir xorg-server) -- --CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src' --AC_SUBST([CFLAGS]) -+XORG_CFLAGS="$CWARNFLAGS $XORG_CFLAGS" - - # Checks for libraries. - - # Checks for header files. - AC_HEADER_STDC - -+DRIVER_NAME=elographics -+AC_SUBST([DRIVER_NAME]) -+ - XORG_MANPAGE_SECTIONS - XORG_RELEASE_VERSION -+XORG_CHANGELOG - - AC_OUTPUT([Makefile src/Makefile man/Makefile]) -diff -ruN -x .gitignore -x .cvsignore xf86-input-elographics-37cd09e99c7f5fa4ce7511b8ed171a3ae130300f/man/elographics.man xf86-input-elographics-c97c9f470636e6caf4374a6930e5fe380f58b8bb/man/elographics.man ---- xf86-input-elographics-37cd09e99c7f5fa4ce7511b8ed171a3ae130300f/man/elographics.man 2008-10-21 05:03:43.000000000 +0000 -+++ xf86-input-elographics-c97c9f470636e6caf4374a6930e5fe380f58b8bb/man/elographics.man 2009-02-02 21:06:55.000000000 +0000 -@@ -75,7 +75,7 @@ - .BI "Option \*qModel\*q \*q" string \*q - The touchscreen model. Default: unset. Supported models: "Sunit dSeries". - .SH "SEE ALSO" --__xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), xorgconfig(__appmansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__). -+__xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__). - .SH AUTHORS - Authors include: - Patrick Lecoanet -diff -ruN -x .gitignore -x .cvsignore xf86-input-elographics-37cd09e99c7f5fa4ce7511b8ed171a3ae130300f/src/Makefile.am xf86-input-elographics-c97c9f470636e6caf4374a6930e5fe380f58b8bb/src/Makefile.am ---- xf86-input-elographics-37cd09e99c7f5fa4ce7511b8ed171a3ae130300f/src/Makefile.am 2008-10-21 05:03:43.000000000 +0000 -+++ xf86-input-elographics-c97c9f470636e6caf4374a6930e5fe380f58b8bb/src/Makefile.am 2009-02-02 21:06:55.000000000 +0000 -@@ -24,6 +24,8 @@ - # -avoid-version prevents gratuitous .0.0.0 version numbers on the end - # _ladir passes a dummy rpath to libtool so the thing will actually link - # TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc. -+AM_CFLAGS = $(XORG_CFLAGS) -+ - @DRIVER_NAME@_drv_la_LTLIBRARIES = @DRIVER_NAME@_drv.la - @DRIVER_NAME@_drv_la_LDFLAGS = -module -avoid-version - @DRIVER_NAME@_drv_ladir = @inputdir@ -diff -ruN -x .gitignore -x .cvsignore xf86-input-elographics-37cd09e99c7f5fa4ce7511b8ed171a3ae130300f/src/xf86Elo.c xf86-input-elographics-c97c9f470636e6caf4374a6930e5fe380f58b8bb/src/xf86Elo.c ---- xf86-input-elographics-37cd09e99c7f5fa4ce7511b8ed171a3ae130300f/src/xf86Elo.c 2008-10-21 05:03:43.000000000 +0000 -+++ xf86-input-elographics-c97c9f470636e6caf4374a6930e5fe380f58b8bb/src/xf86Elo.c 2009-02-02 21:06:55.000000000 +0000 -@@ -970,7 +970,7 @@ - *************************************************************************** - */ - static LocalDevicePtr --xf86EloAllocate(InputDriverPtr drv) -+xf86EloAllocate(InputDriverPtr drv, IDevPtr dev) - { - LocalDevicePtr local; - EloPrivatePtr priv; -@@ -1002,7 +1002,7 @@ - priv->packet_buf_p = 0; - priv->swap_axes = 0; - -- local->name = XI_TOUCHSCREEN; -+ local->name = xstrdup(dev->identifier); - local->flags = 0 /* XI86_NO_OPEN_ON_INIT */; - local->device_control = xf86EloControl; - local->read_input = xf86EloReadInput; -@@ -1029,12 +1029,8 @@ - { - EloPrivatePtr priv = (EloPrivatePtr) local->private; - -- xf86EloControl(local->dev, DEVICE_OFF); -- - xfree(priv->input_dev); - xfree(priv); -- xfree(local->name); -- xfree(local); - - xf86DeleteInput(local, 0); - } -@@ -1064,7 +1060,7 @@ - Model* model; - - -- local = xf86EloAllocate(drv); -+ local = xf86EloAllocate(drv, dev); - if (!local) { - return NULL; - } -- cgit v1.2.3-70-g09d2