diff options
Diffstat (limited to 'xorg')
-rw-r--r-- | xorg/xorg-xf86-input-aiptek/.footprint | 11 | ||||
-rw-r--r-- | xorg/xorg-xf86-input-aiptek/.md5sum | 1 | ||||
-rw-r--r-- | xorg/xorg-xf86-input-aiptek/Pkgfile | 19 | ||||
-rw-r--r-- | xorg/xorg-xf86-input-fpit/.footprint | 11 | ||||
-rw-r--r-- | xorg/xorg-xf86-input-fpit/.md5sum | 2 | ||||
-rw-r--r-- | xorg/xorg-xf86-input-fpit/Pkgfile | 20 | ||||
-rw-r--r-- | xorg/xorg-xf86-input-fpit/fpit-1.3.0-abi.patch | 95 | ||||
-rw-r--r-- | xorg/xorg-xf86-input-hyperpen/.footprint | 10 | ||||
-rw-r--r-- | xorg/xorg-xf86-input-hyperpen/.md5sum | 2 | ||||
-rw-r--r-- | xorg/xorg-xf86-input-hyperpen/Pkgfile | 20 | ||||
-rw-r--r-- | xorg/xorg-xf86-input-hyperpen/hyperpen-1.3.0-abi.patch | 89 | ||||
-rw-r--r-- | xorg/xorg-xf86-input-mutouch/.footprint | 11 | ||||
-rw-r--r-- | xorg/xorg-xf86-input-mutouch/.md5sum | 2 | ||||
-rw-r--r-- | xorg/xorg-xf86-input-mutouch/Pkgfile | 19 | ||||
-rw-r--r-- | xorg/xorg-xf86-input-mutouch/mutouch-1.2.1-abi.patch | 73 |
15 files changed, 385 insertions, 0 deletions
diff --git a/xorg/xorg-xf86-input-aiptek/.footprint b/xorg/xorg-xf86-input-aiptek/.footprint new file mode 100644 index 000000000..77125a23c --- /dev/null +++ b/xorg/xorg-xf86-input-aiptek/.footprint @@ -0,0 +1,11 @@ +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/aiptek_drv.la +-rwxr-xr-x root/root usr/lib/xorg/modules/input/aiptek_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/aiptek.4.gz diff --git a/xorg/xorg-xf86-input-aiptek/.md5sum b/xorg/xorg-xf86-input-aiptek/.md5sum new file mode 100644 index 000000000..529ea4533 --- /dev/null +++ b/xorg/xorg-xf86-input-aiptek/.md5sum @@ -0,0 +1 @@ +ae3ec07aff6c156cf5307f53feb6b293 xf86-input-aiptek-1.3.0.tar.bz2 diff --git a/xorg/xorg-xf86-input-aiptek/Pkgfile b/xorg/xorg-xf86-input-aiptek/Pkgfile new file mode 100644 index 000000000..d39b7d274 --- /dev/null +++ b/xorg/xorg-xf86-input-aiptek/Pkgfile @@ -0,0 +1,19 @@ +# Description: Pilote pour les tablettes digitales Aiptek +# URL: http://xorg.freedesktop.org +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: xorg-server + +name=xorg-xf86-input-aiptek +version=1.3.0 +release=1 +source=(http://xorg.freedesktop.org/releases/individual/driver/xf86-input-aiptek-$version.tar.bz2) + +build() { + cd xf86-input-aiptek-$version + + ./configure --prefix=/usr + + make + make DESTDIR=$PKG install +} diff --git a/xorg/xorg-xf86-input-fpit/.footprint b/xorg/xorg-xf86-input-fpit/.footprint new file mode 100644 index 000000000..3987d099a --- /dev/null +++ b/xorg/xorg-xf86-input-fpit/.footprint @@ -0,0 +1,11 @@ +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/fpit_drv.la +-rwxr-xr-x root/root usr/lib/xorg/modules/input/fpit_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/fpit.4.gz diff --git a/xorg/xorg-xf86-input-fpit/.md5sum b/xorg/xorg-xf86-input-fpit/.md5sum new file mode 100644 index 000000000..01512000c --- /dev/null +++ b/xorg/xorg-xf86-input-fpit/.md5sum @@ -0,0 +1,2 @@ +9d8f1033924deb04edc1775bc82440f3 fpit-1.3.0-abi.patch +e5bfda480f25121e3c4222e5e1eb5880 xf86-input-fpit-1.3.0.tar.bz2 diff --git a/xorg/xorg-xf86-input-fpit/Pkgfile b/xorg/xorg-xf86-input-fpit/Pkgfile new file mode 100644 index 000000000..3dc1b78f9 --- /dev/null +++ b/xorg/xorg-xf86-input-fpit/Pkgfile @@ -0,0 +1,20 @@ +# Description: xorg driver xf86-input-fpit +# URL: http://xorg.freedesktop.org +# Maintainer: NuTyX core team +# Packager: lesibel at free dot fr +# Depends on: xorg-server + +name=xorg-xf86-input-fpit +version=1.3.0 +release=3 +source=(http://xorg.freedesktop.org/releases/individual/driver/xf86-input-fpit-$version.tar.bz2 \ + fpit-1.3.0-abi.patch) + +build() { + cd xf86-input-fpit-$version + patch -Np1 -i ../fpit-1.3.0-abi.patch + ./configure --prefix=/usr + + make + make DESTDIR=$PKG install +} diff --git a/xorg/xorg-xf86-input-fpit/fpit-1.3.0-abi.patch b/xorg/xorg-xf86-input-fpit/fpit-1.3.0-abi.patch new file mode 100644 index 000000000..a9864e20a --- /dev/null +++ b/xorg/xorg-xf86-input-fpit/fpit-1.3.0-abi.patch @@ -0,0 +1,95 @@ +From 7d203627e7e3e7a6f8d0e847ed650b0b89760c09 Mon Sep 17 00:00:00 2001 +From: Peter Hutterer <peter.hutterer@who-t.net> +Date: Fri, 17 Jul 2009 14:38:31 +1000 +Subject: [PATCH] Cope with XINPUT ABI 7. + +--- + src/xf86Fpit.c | 40 +++++++++++++++++++++++++++++++++++----- + 1 files changed, 35 insertions(+), 5 deletions(-) + +diff --git a/src/xf86Fpit.c b/src/xf86Fpit.c +index 528ebb9..f40c6a9 100644 +--- a/src/xf86Fpit.c ++++ b/src/xf86Fpit.c +@@ -188,6 +188,9 @@ static void xf86FpitSetUpAxes(DeviceIntPtr dev, FpitPrivatePtr priv) + * screen to fit one meter. + */ + int quarter_turns; ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 ++ Atom axis_labels[2] = { 0, 0 }; ++#endif + + priv->screen_width = screenInfo.screens[priv->screen_no]->width; + priv->screen_height = screenInfo.screens[priv->screen_no]->height; +@@ -212,14 +215,30 @@ static void xf86FpitSetUpAxes(DeviceIntPtr dev, FpitPrivatePtr priv) + } + + if (priv->fpitTotalOrientation & FPIT_THEN_SWAP_XY) { +- InitValuatorAxisStruct(dev, 1, priv->fpitMinX, priv->fpitMaxX, 9500, 0 /* min_res */ , ++ InitValuatorAxisStruct(dev, 1, ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 ++ axis_labels[1], ++#endif ++ priv->fpitMinX, priv->fpitMaxX, 9500, 0 /* min_res */ , + 9500 /* max_res */ ); +- InitValuatorAxisStruct(dev, 0, priv->fpitMinY, priv->fpitMaxY, 10500, 0 /* min_res */ , ++ InitValuatorAxisStruct(dev, 0, ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 ++ axis_labels[0], ++#endif ++ priv->fpitMinY, priv->fpitMaxY, 10500, 0 /* min_res */ , + 10500 /* max_res */ ); + } else { +- InitValuatorAxisStruct(dev, 0, priv->fpitMinX, priv->fpitMaxX, 9500, 0 /* min_res */ , ++ InitValuatorAxisStruct(dev, 0, ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 ++ axis_labels[0], ++#endif ++ priv->fpitMinY, priv->fpitMaxY, 9500, 0 /* min_res */ , + 9500 /* max_res */ ); +- InitValuatorAxisStruct(dev, 1, priv->fpitMinY, priv->fpitMaxY, 10500, 0 /* min_res */ , ++ InitValuatorAxisStruct(dev, 1, ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 ++ axis_labels[1], ++#endif ++ priv->fpitMinY, priv->fpitMaxY, 10500, 0 /* min_res */ , + 10500 /* max_res */ ); + } + } +@@ -408,6 +427,10 @@ static Bool xf86FpitControl(DeviceIntPtr dev, int mode) + unsigned char map[] = { + 0, 1, 2, 3 /* DMC: changed this so we can use all three buttons */ + }; ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 ++ Atom btn_labels[3] = { 0 }; ++ Atom axis_labels[2] = { 0, 0 }; ++#endif + + + switch (mode) { +@@ -420,7 +443,11 @@ static Bool xf86FpitControl(DeviceIntPtr dev, int mode) + /* + * Device reports button press for up to 3 buttons. + */ +- if (InitButtonClassDeviceStruct(dev, 3, map) == FALSE) { ++ if (InitButtonClassDeviceStruct(dev, 3, ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 ++ btn_labels, ++#endif ++ map) == FALSE) { + ErrorF("Unable to allocate Fpit touchscreen ButtonClassDeviceStruct\n"); + return !Success; + } +@@ -435,6 +462,9 @@ static Bool xf86FpitControl(DeviceIntPtr dev, int mode) + } + + 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 +-- +1.6.3.rc1.2.g0164.dirty + diff --git a/xorg/xorg-xf86-input-hyperpen/.footprint b/xorg/xorg-xf86-input-hyperpen/.footprint new file mode 100644 index 000000000..e07e7074c --- /dev/null +++ b/xorg/xorg-xf86-input-hyperpen/.footprint @@ -0,0 +1,10 @@ +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/hyperpen_drv.la +-rwxr-xr-x root/root usr/lib/xorg/modules/input/hyperpen_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/ diff --git a/xorg/xorg-xf86-input-hyperpen/.md5sum b/xorg/xorg-xf86-input-hyperpen/.md5sum new file mode 100644 index 000000000..a0ee1c138 --- /dev/null +++ b/xorg/xorg-xf86-input-hyperpen/.md5sum @@ -0,0 +1,2 @@ +d04c41d6f00487f36b2ea14ae86df708 hyperpen-1.3.0-abi.patch +c50d0da3206d18d9d94f720e3688eca5 xf86-input-hyperpen-1.3.0.tar.bz2 diff --git a/xorg/xorg-xf86-input-hyperpen/Pkgfile b/xorg/xorg-xf86-input-hyperpen/Pkgfile new file mode 100644 index 000000000..8dd6cacdb --- /dev/null +++ b/xorg/xorg-xf86-input-hyperpen/Pkgfile @@ -0,0 +1,20 @@ +# Description: xorg driver xf86-input-hyperpen +# URL: http://xorg.freedesktop.org +# Maintainer: NuTyX core team +# Packager: lesibel at free dot fr +# Depends on: xorg-server + +name=xorg-xf86-input-hyperpen +version=1.3.0 +release=2 +source=(http://xorg.freedesktop.org/releases/individual/driver/xf86-input-hyperpen-$version.tar.bz2 \ + hyperpen-1.3.0-abi.patch ) + +build() { + cd xf86-input-hyperpen-$version + patch -Np1 -i ../hyperpen-1.3.0-abi.patch + ./configure --prefix=/usr + + make + make DESTDIR=$PKG install +} diff --git a/xorg/xorg-xf86-input-hyperpen/hyperpen-1.3.0-abi.patch b/xorg/xorg-xf86-input-hyperpen/hyperpen-1.3.0-abi.patch new file mode 100644 index 000000000..efc5294bb --- /dev/null +++ b/xorg/xorg-xf86-input-hyperpen/hyperpen-1.3.0-abi.patch @@ -0,0 +1,89 @@ +From 7f3815f74e77df6122320d845d6e7e9541a28b76 Mon Sep 17 00:00:00 2001 +From: Peter Hutterer <peter.hutterer@who-t.net> +Date: Fri, 17 Jul 2009 14:28:42 +1000 +Subject: [PATCH] Cope with XINPUT ABI 7. + +--- + src/xf86HyperPen.c | 24 ++++++++++++++++++++++-- + 1 files changed, 22 insertions(+), 2 deletions(-) + +diff --git a/src/xf86HyperPen.c b/src/xf86HyperPen.c +index bd630a5..3920a04 100644 +--- a/src/xf86HyperPen.c ++++ b/src/xf86HyperPen.c +@@ -719,6 +719,9 @@ xf86HypOpenDevice(DeviceIntPtr pHyp) + { + LocalDevicePtr local = (LocalDevicePtr)pHyp->public.devicePrivate; + HyperPenDevicePtr priv = (HyperPenDevicePtr)PRIVATE(pHyp); ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 ++ Atom axis_labels[3] = { 0 }; ++#endif + + if (xf86HypOpen(local) != Success) { + if (local->fd >= 0) { +@@ -730,6 +733,9 @@ xf86HypOpenDevice(DeviceIntPtr pHyp) + /* Set the real values */ + InitValuatorAxisStruct(pHyp, + 0, ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 ++ axis_labels[0], ++#endif + 0, /* min val */ + priv->hypXSize, /* max val */ + LPI2CPM(priv->hypRes), /* resolution */ +@@ -737,6 +743,9 @@ xf86HypOpenDevice(DeviceIntPtr pHyp) + LPI2CPM(priv->hypRes)); /* max_res */ + InitValuatorAxisStruct(pHyp, + 1, ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 ++ axis_labels[1], ++#endif + 0, /* min val */ + priv->hypYSize, /* max val */ + LPI2CPM(priv->hypRes), /* resolution */ +@@ -744,6 +753,9 @@ xf86HypOpenDevice(DeviceIntPtr pHyp) + LPI2CPM(priv->hypRes)); /* max_res */ + InitValuatorAxisStruct(pHyp, + 2, ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 ++ axis_labels[2], ++#endif + 0, /* min val */ + 511, /* max val */ + 512, /* resolution */ +@@ -765,8 +777,10 @@ xf86HypProc(DeviceIntPtr pHyp, int what) + int loop; + LocalDevicePtr local = (LocalDevicePtr)pHyp->public.devicePrivate; + HyperPenDevicePtr priv = (HyperPenDevicePtr)PRIVATE(pHyp); +- +- ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 ++ Atom btn_labels[4] = { 0 }; ++ Atom axis_labels[3] = { 0 }; ++#endif + + switch (what) { + case DEVICE_INIT: +@@ -779,6 +793,9 @@ xf86HypProc(DeviceIntPtr pHyp, int what) + + if (InitButtonClassDeviceStruct(pHyp, + nbbuttons, ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 ++ btn_labels, ++#endif + map) == FALSE) { + ErrorF("unable to allocate Button class device\n"); + return !Success; +@@ -802,6 +819,9 @@ xf86HypProc(DeviceIntPtr pHyp, int what) + + if (InitValuatorClassDeviceStruct(pHyp, + nbaxes, ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 ++ axis_labels, ++#endif + #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 + xf86GetMotionEvents, + #endif +-- +1.6.3.rc1.2.g0164.dirty + diff --git a/xorg/xorg-xf86-input-mutouch/.footprint b/xorg/xorg-xf86-input-mutouch/.footprint new file mode 100644 index 000000000..33db3c496 --- /dev/null +++ b/xorg/xorg-xf86-input-mutouch/.footprint @@ -0,0 +1,11 @@ +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/mutouch_drv.la +-rwxr-xr-x root/root usr/lib/xorg/modules/input/mutouch_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/mutouch.4.gz diff --git a/xorg/xorg-xf86-input-mutouch/.md5sum b/xorg/xorg-xf86-input-mutouch/.md5sum new file mode 100644 index 000000000..8ced93213 --- /dev/null +++ b/xorg/xorg-xf86-input-mutouch/.md5sum @@ -0,0 +1,2 @@ +720ecbcc20aaf0b5a78325d048095369 mutouch-1.2.1-abi.patch +f28998cdfae2a4c41589299a4ee1f459 xf86-input-mutouch-1.2.1.tar.bz2 diff --git a/xorg/xorg-xf86-input-mutouch/Pkgfile b/xorg/xorg-xf86-input-mutouch/Pkgfile new file mode 100644 index 000000000..58098c004 --- /dev/null +++ b/xorg/xorg-xf86-input-mutouch/Pkgfile @@ -0,0 +1,19 @@ +# Description: xorg driver xf86-input-mutouch +# URL: http://xorg.freedesktop.org +# Maintainer: NuTyX core team +# Packager: lesibel at free dot fr +# Depends on: xorg-server + +name=xorg-xf86-input-mutouch +version=1.2.1 +release=2 +source=(http://xorg.freedesktop.org/releases/individual/driver/xf86-input-mutouch-$version.tar.bz2 \ + mutouch-1.2.1-abi.patch) +build() { + cd xf86-input-mutouch-$version + patch -Np1 -i ../mutouch-1.2.1-abi.patch + ./configure --prefix=/usr + + make + make DESTDIR=$PKG install +} diff --git a/xorg/xorg-xf86-input-mutouch/mutouch-1.2.1-abi.patch b/xorg/xorg-xf86-input-mutouch/mutouch-1.2.1-abi.patch new file mode 100644 index 000000000..ec4e72139 --- /dev/null +++ b/xorg/xorg-xf86-input-mutouch/mutouch-1.2.1-abi.patch @@ -0,0 +1,73 @@ +From db04a5333b545a0442b995bae47d2c5527a7459e Mon Sep 17 00:00:00 2001 +From: Peter Hutterer <peter.hutterer@who-t.net> +Date: Fri, 17 Jul 2009 14:18:51 +1000 +Subject: [PATCH] Cope with XINPUT ABI 7. + +Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> +--- + src/xf86MuTouch.c | 25 ++++++++++++++++++++++--- + 1 files changed, 22 insertions(+), 3 deletions(-) + +diff --git a/src/xf86MuTouch.c b/src/xf86MuTouch.c +index 2d5cdb0..de319fc 100644 +--- a/src/xf86MuTouch.c ++++ b/src/xf86MuTouch.c +@@ -749,6 +749,10 @@ xf86MuTControl(DeviceIntPtr dev, + unsigned char req[MuT_PACKET_SIZE]; + unsigned char reply[MuT_BUFFER_SIZE]; + char *id_string = DEVICE_ID(local->private_flags) == FINGER_ID ? "finger" : "stylus"; ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 ++ Atom btn_label; ++ Atom axis_labels[2] = { 0, 0 }; ++#endif + + switch(mode) { + +@@ -766,7 +770,11 @@ xf86MuTControl(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 ButtonClassDeviceStruct\n"); + return !Success; + } +@@ -779,6 +787,9 @@ xf86MuTControl(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 +@@ -787,11 +798,19 @@ xf86MuTControl(DeviceIntPtr dev, + return !Success; + } + else { +- InitValuatorAxisStruct(dev, 0, priv->min_x, priv->max_x, ++ InitValuatorAxisStruct(dev, 0, ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 ++ axis_labels[0], ++#endif ++ priv->min_x, priv->max_x, + 9500, + 0 /* min_res */, + 9500 /* max_res */); +- InitValuatorAxisStruct(dev, 1, priv->min_y, priv->max_y, ++ InitValuatorAxisStruct(dev, 1, ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 ++ axis_labels[1], ++#endif ++ priv->min_y, priv->max_y, + 10500, + 0 /* min_res */, + 10500 /* max_res */); +-- +1.6.3.rc1.2.g0164.dirty + |