Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xorg74.git;a=commitdiff;h=ce10b147683a3a4f6e5057a48fe46c2d519f74ff
commit ce10b147683a3a4f6e5057a48fe46c2d519f74ff Author: Devil505 <devil505li...@gmail.com> Date: Wed Jun 3 22:56:45 2009 +0200 xf86-input-digitaledge-1.1.1-1-x86_64 * version bump * added patch to successfully build diff --git a/source/x11/xf86-input-digitaledge/FrugalBuild b/source/x11/xf86-input-digitaledge/FrugalBuild index 4129060..32a4d48 100644 --- a/source/x11/xf86-input-digitaledge/FrugalBuild +++ b/source/x11/xf86-input-digitaledge/FrugalBuild @@ -2,8 +2,10 @@ # Maintainer: Christian Hamar alias krix <kr...@linuxforum.hu> pkgname=xf86-input-digitaledge -pkgver=1.1.0 -pkgrel=3 +pkgver=1.1.1 +pkgrel=1 Finclude xorg -sha1sums=('3389b112b1e7fb0423d7547cc6b346045a61b352') +source=($source git-5e7b6ec4.patch) +sha1sums=('c8dcb950d54312b49427705d56be797f59f35bee' \ + '973d5c2d8f4e927e33434dcf48601cc91de859c6') # optimization OK diff --git a/source/x11/xf86-input-digitaledge/git-5e7b6ec4.patch b/source/x11/xf86-input-digitaledge/git-5e7b6ec4.patch new file mode 100644 index 0000000..e34e60d --- /dev/null +++ b/source/x11/xf86-input-digitaledge/git-5e7b6ec4.patch @@ -0,0 +1,684 @@ +diff -ruN -x .gitignore xf86-input-digitaledge-17a4a58b225b4d16fe9bd8bf280ff518693b950e/ChangeLog xf86-input-digitaledge-5e7b6ec409dc8eeb955d69f33d0c20d54baaf233/ChangeLog +--- xf86-input-digitaledge-17a4a58b225b4d16fe9bd8bf280ff518693b950e/ChangeLog 2008-03-20 19:14:36.000000000 +0000 ++++ xf86-input-digitaledge-5e7b6ec409dc8eeb955d69f33d0c20d54baaf233/ChangeLog 1970-01-01 00:00:00.000000000 +0000 +@@ -1,48 +0,0 @@ +-2006-04-06 Adam Jackson <a...@freedesktop.org> +- +- * configure.ac: +- * src/DigitalEdge.c: +- Unlibcwrap. Bump server version requirement. Bump to 1.1.0. +- +- * src/DigitalEdge.c: +- Undo over-aggressive deletion. +- +-2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org> +- +- * configure.ac: +- Update package version for X11R7 release. +- +-2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org> +- +- * configure.ac: +- Update package version number for final X11R7 release candidate. +- +-2005-12-06 Kevin E. Martin <kem-at-freedesktop-dot-org> +- +- * man/Makefile.am: +- Change *man_SOURCES ==> *man_PRE to fix autotools warnings. +- +-2005-12-03 Kevin E. Martin <kem-at-freedesktop-dot-org> +- +- * configure.ac: +- Update package version number for X11R7 RC3 release. +- +-2005-12-01 Kevin E. Martin <kem-at-freedesktop-dot-org> +- +- * configure.ac: +- Remove extraneous AC_MSG_RESULT. +- +-2005-11-29 Adam Jackson <a...@freedesktop.org> +- +- * configure.ac: +- Only build dlloader modules by default. +- +-2005-11-09 Kevin E. Martin <kem-at-freedesktop-dot-org> +- +- * configure.ac: +- Update package version number for X11R7 RC2 release. +- +-2005-11-01 Kevin E. Martin <kem-at-freedesktop-dot-org> +- +- * configure.ac: +- Update pkgcheck dependencies to work with separate build roots. +diff -ruN -x .gitignore xf86-input-digitaledge-17a4a58b225b4d16fe9bd8bf280ff518693b950e/Makefile.am xf86-input-digitaledge-5e7b6ec409dc8eeb955d69f33d0c20d54baaf233/Makefile.am +--- xf86-input-digitaledge-17a4a58b225b4d16fe9bd8bf280ff518693b950e/Makefile.am 2008-03-20 19:14:36.000000000 +0000 ++++ xf86-input-digitaledge-5e7b6ec409dc8eeb955d69f33d0c20d54baaf233/Makefile.am 2009-02-02 20:37:53.000000000 +0000 +@@ -20,3 +20,12 @@ + + AUTOMAKE_OPTIONS = foreign + SUBDIRS = src man ++EXTRA_DIST = ChangeLog ++MAINTAINERCLEANFILES = ChangeLog ++ ++.PHONY: ChangeLog ++ ++ChangeLog: ++ $(CHANGELOG_CMD) ++ ++dist-hook: ChangeLog +diff -ruN -x .gitignore xf86-input-digitaledge-17a4a58b225b4d16fe9bd8bf280ff518693b950e/README xf86-input-digitaledge-5e7b6ec409dc8eeb955d69f33d0c20d54baaf233/README +--- xf86-input-digitaledge-17a4a58b225b4d16fe9bd8bf280ff518693b950e/README 1970-01-01 00:00:00.000000000 +0000 ++++ xf86-input-digitaledge-5e7b6ec409dc8eeb955d69f33d0c20d54baaf233/README 2009-02-02 20:37:53.000000000 +0000 +@@ -0,0 +1,19 @@ ++ ++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-digitaledge ++ ++ http://cgit.freedesktop.org/xorg/driver/xf86-input-digitaledge ++ ++For more information on the git code manager, see: ++ ++ http://wiki.x.org/wiki/GitPage +diff -ruN -x .gitignore xf86-input-digitaledge-17a4a58b225b4d16fe9bd8bf280ff518693b950e/configure.ac xf86-input-digitaledge-5e7b6ec409dc8eeb955d69f33d0c20d54baaf233/configure.ac +--- xf86-input-digitaledge-17a4a58b225b4d16fe9bd8bf280ff518693b950e/configure.ac 2008-03-20 19:14:36.000000000 +0000 ++++ xf86-input-digitaledge-5e7b6ec409dc8eeb955d69f33d0c20d54baaf233/configure.ac 2009-02-02 20:37:53.000000000 +0000 +@@ -32,15 +32,16 @@ + + AM_MAINTAINER_MODE + +-DRIVER_NAME=digitaledge +-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 >= 1.0.99.901] 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=digitaledge ++AC_SUBST([DRIVER_NAME]) ++ + XORG_MANPAGE_SECTIONS + XORG_RELEASE_VERSION ++XORG_CHANGELOG + + AC_OUTPUT([Makefile src/Makefile man/Makefile]) +diff -ruN -x .gitignore xf86-input-digitaledge-17a4a58b225b4d16fe9bd8bf280ff518693b950e/src/DigitalEdge.c xf86-input-digitaledge-5e7b6ec409dc8eeb955d69f33d0c20d54baaf233/src/DigitalEdge.c +--- xf86-input-digitaledge-17a4a58b225b4d16fe9bd8bf280ff518693b950e/src/DigitalEdge.c 2008-03-20 19:14:36.000000000 +0000 ++++ xf86-input-digitaledge-5e7b6ec409dc8eeb955d69f33d0c20d54baaf233/src/DigitalEdge.c 2009-02-02 20:37:53.000000000 +0000 +@@ -36,13 +36,7 @@ + #include "config.h" + #endif + +-#include "xf86Version.h" +- +-#if XF86_VERSION_CURRENT >= XF86_VERSION_NUMERIC(3,9,0,0,0) +-#define XFREE86_V4 1 +-#endif +- +-/* post 3.9 headers */ ++#include "xorgVersion.h" + + #include <unistd.h> + #include <errno.h> +@@ -150,61 +144,6 @@ + */ + #define DEDGE_SECTION_NAME "DigitalEdge" + +-#ifndef XFREE86_V4 +- +-#define PORT 1 +-#define DEVICENAME 2 +-#define THE_MODE 3 +-#define CURSOR 4 +-#define INCREMENT 5 +-#define BORDER 6 +-#define DEBUG_LEVEL 7 +-#define HISTORY_SIZE 8 +-#define ALWAYS_CORE 9 +-#define ACTIVE_AREA 10 +-#define ACTIVE_OFFSET 11 +-#define COMPATIBLE 12 +-#define CLICK_THRESHOLD 13 +- +-#if !defined(sun) || defined(i386) +-static SymTabRec SumTab[] = { +- {ENDSUBSECTION, "endsubsection"}, +- {PORT, "port"}, +- {DEVICENAME, "devicename"}, +- {THE_MODE, "mode"}, +- {CURSOR, "cursor"}, +- {INCREMENT, "increment"}, +- {BORDER, "border"}, +- {DEBUG_LEVEL, "debuglevel"}, +- {HISTORY_SIZE, "historysize"}, +- {ALWAYS_CORE, "alwayscore"}, +- {ACTIVE_AREA, "activearea"}, +- {ACTIVE_OFFSET, "activeoffset"}, +- {COMPATIBLE, "compatible"}, +- {CLICK_THRESHOLD, "clickthreshold"}, +- {-1, ""} +-}; +- +-#define RELATIVE 1 +-#define ABSOLUTE 2 +- +-static SymTabRec SumModeTabRec[] = { +- {RELATIVE, "relative"}, +- {ABSOLUTE, "absolute"}, +- {-1, ""} +-}; +- +-#define PUCK 1 +-#define STYLUS 2 +- +-static SymTabRec SumPointTabRec[] = { +- {PUCK, "puck"}, +- {STYLUS, "stylus"}, +- {-1, ""} +-}; +- +-#endif +-#endif /* Pre 3.9 headers */ + + /* + ** Contants and macro +@@ -246,203 +185,6 @@ + ** External declarations + */ + +-#ifndef XFREE86_V4 +- +-#if defined(sun) && !defined(i386) +-#define ENQUEUE suneqEnqueue +-#else +-#define ENQUEUE xf86eqEnqueue +- +-extern void xf86eqEnqueue( +- xEventPtr /*e */ +- ); +-#endif +- +-extern void miPointerDeltaCursor( +- int /*dx */ , +- int /*dy */ , +- unsigned long /*time */ +- ); +- +-#if !defined(sun) || defined(i386) +-/* +-** xf86SumConfig +-** Reads the DigitalEdge section from the XF86Config file +-*/ +-static Bool +-xf86SumConfig(LocalDevicePtr * array, int inx, int max, LexPtr val) +-{ +- LocalDevicePtr dev = array[inx]; +- DigitalEdgeDevicePtr priv = (DigitalEdgeDevicePtr) (dev->private); +- int token; +- int mtoken; +- +- DBG(1, ErrorF("xf86SumConfig\n")); +- +- while ((token = xf86GetToken(SumTab)) != ENDSUBSECTION) { +- switch (token) { +- case DEVICENAME: +- if (xf86GetToken(NULL) != STRING) +- xf86ConfigError("Option string expected"); +- else { +- dev->name = strdup(val->str); +- if (xf86Verbose) +- ErrorF("%s DigitalEdge X device name is %s\n", +- XCONFIG_GIVEN, dev->name); +- } +- break; +- +- case PORT: +- if (xf86GetToken(NULL) != STRING) +- xf86ConfigError("Option string expected"); +- else { +- priv->dedgeDevice = strdup(val->str); +- if (xf86Verbose) +- ErrorF("%s DigitalEdge port is %s\n", XCONFIG_GIVEN, +- priv->dedgeDevice); +- } +- break; +- +- case THE_MODE: +- mtoken = xf86GetToken(SumModeTabRec); +- if ((mtoken == EOF) || (mtoken == STRING) +- || (mtoken == +- NUMBER)) xf86ConfigError("Mode type token expected"); +- else { +- switch (mtoken) { +- case ABSOLUTE: +- priv->flags |= ABSOLUTE_FLAG; +- break; +- case RELATIVE: +- priv->flags &= ~ABSOLUTE_FLAG; +- break; +- default: +- xf86ConfigError("Illegal Mode type"); +- break; +- } +- } +- break; +- +- case CURSOR: +- mtoken = xf86GetToken(SumPointTabRec); +- if ((mtoken == EOF) || (mtoken == STRING) +- || (mtoken == +- NUMBER)) xf86ConfigError("Cursor token expected"); +- else { +- switch (mtoken) { +- case STYLUS: +- priv->flags |= STYLUS_FLAG; +- break; +- case PUCK: +- priv->flags &= ~STYLUS_FLAG; +- break; +- default: +- xf86ConfigError("Illegal cursor type"); +- break; +- } +- } +- break; +- +- case INCREMENT: +- if (xf86GetToken(NULL) != NUMBER) +- xf86ConfigError("Option number expected"); +- priv->dedgeInc = val->num; +- if (xf86Verbose) +- ErrorF("%s DigitalEdge increment value is %d\n", +- XCONFIG_GIVEN, priv->dedgeInc); +- break; +- +- case CLICK_THRESHOLD: +- if (xf86GetToken(NULL) != NUMBER) +- xf86ConfigError("Option number expected"); +- priv->dedgeClickThresh = val->num; +- if (xf86Verbose) +- ErrorF("%s DigitalEdge click threshold is %d\n", +- XCONFIG_GIVEN, priv->dedgeClickThresh); +- break; +- +- case DEBUG_LEVEL: +- if (xf86GetToken(NULL) != NUMBER) +- xf86ConfigError("Option number expected"); +- debug_level = val->num; +- if (xf86Verbose) { +-#if DEBUG +- ErrorF("%s DigitalEdge debug level sets to %d\n", +- XCONFIG_GIVEN, debug_level); +-#else +- ErrorF("%s DigitalEdge debug level not sets to %d because" +- " debugging is not compiled\n", XCONFIG_GIVEN, +- debug_level); +-#endif +- } +- break; +- +- case HISTORY_SIZE: +- if (xf86GetToken(NULL) != NUMBER) +- xf86ConfigError("Option number expected"); +- dev->history_size = val->num; +- if (xf86Verbose) +- ErrorF("%s DigitalEdge Motion history size is %d\n", +- XCONFIG_GIVEN, dev->history_size); +- break; +- case COMPATIBLE: +- priv->flags |= COMPATIBLE_FLAG; +- if (xf86Verbose) +- ErrorF +- ("DigitalEdge compatible - will not query firmware ID\n"); +- break; +- +- case ALWAYS_CORE: +- xf86AlwaysCore(dev, TRUE); +- if (xf86Verbose) +- ErrorF("%s DigitalEdge device always stays core pointer\n", +- XCONFIG_GIVEN); +- break; +- +- case ACTIVE_AREA: +- if (xf86GetToken(NULL) != NUMBER) +- xf86ConfigError("Option number expected"); +- priv->dedgeXSize = val->num; +- if (xf86GetToken(NULL) != NUMBER) +- xf86ConfigError("Option number expected"); +- priv->dedgeYSize = val->num; +- ErrorF("%s DigitalEdge active area set to %d.%1dx%d.%1d" +- " inches\n", XCONFIG_GIVEN, priv->dedgeXSize / 10, +- priv->dedgeXSize % 10, priv->dedgeYSize / 10, +- priv->dedgeYSize % 10); +- break; +- +- case ACTIVE_OFFSET: +- if (xf86GetToken(NULL) != NUMBER) +- xf86ConfigError("Option number expected"); +- priv->dedgeXOffset = val->num; +- if (xf86GetToken(NULL) != NUMBER) +- xf86ConfigError("Option number expected"); +- priv->dedgeYOffset = val->num; +- if (xf86Verbose) +- ErrorF +- ("%s DigitalEdge active area offset set to %d.%1dx%d.%1d" +- " inches\n", XCONFIG_GIVEN, priv->dedgeXOffset / 10, +- priv->dedgeXOffset % 10, priv->dedgeYOffset / 10, +- priv->dedgeYOffset % 10); +- break; +- +- case EOF: +- FatalError("Unexpected EOF (missing EndSubSection)"); +- break; +- +- default: +- xf86ConfigError("DigitalEdge subsection keyword expected"); +- break; +- } +- } +- +- DBG(1, ErrorF("xf86SumConfig name=%s\n", priv->dedgeDevice)); +- +- return Success; +-} +-#endif +-#endif /* pre 3.9 headers */ + + /* + ** xf86SumConvert +@@ -661,29 +403,14 @@ + int cr_term) + { + int err, numread = 0; +-#ifndef XFREE86_V4 +- fd_set readfds; +- struct timeval timeout; +-#endif + + SYSCALL(err = write(fd, data, strlen(data))); + if (err == -1) { + Error("DigitalEdge write"); + return NULL; + } +-#ifndef XFREE86_V4 +- FD_ZERO(&readfds); +- FD_SET(fd, &readfds); +-#endif + while (numread < len) { +-#ifndef XFREE86_V4 +- timeout.tv_sec = 0; +- timeout.tv_usec = 200000; +- +- SYSCALL(err = select(FD_SETSIZE, &readfds, NULL, NULL, &timeout)); +-#else + err = xf86WaitForInput(fd, 1000); +-#endif + if (err == -1) { + Error("DigitalEdge select"); + return NULL; +@@ -719,77 +446,19 @@ + */ + static Bool xf86SumOpen(LocalDevicePtr local) + { +-#ifndef XFREE86_V4 +- struct termios termios_tty; +- struct timeval timeout; +-#endif + char buffer[256]; + int err, idx; + DigitalEdgeDevicePtr priv = (DigitalEdgeDevicePtr) local->private; + + DBG(1, ErrorF("opening %s\n", priv->dedgeDevice)); + +-#ifdef XFREE86_V4 + local->fd = xf86OpenSerial(local->options); +-#else +- SYSCALL(local->fd = open(priv->dedgeDevice, O_RDWR | O_NDELAY, 0)); +-#endif + if (local->fd == -1) { + Error(priv->dedgeDevice); + return !Success; + } + DBG(2, ErrorF("%s opened as fd %d\n", priv->dedgeDevice, local->fd)); + +-#ifndef XFREE86_V4 +-#ifdef POSIX_TTY +- err = tcgetattr(local->fd, &termios_tty); +- if (err == -1) { +- Error("DigitalEdge tcgetattr"); +- return !Success; +- } +- termios_tty.c_iflag = IXOFF; +- termios_tty.c_cflag = +- B9600 | CS8 | CREAD | CLOCAL | HUPCL | PARENB | PARODD; +- termios_tty.c_lflag = 0; +- +-/* I wonder what these all do, anyway */ +- termios_tty.c_cc[VINTR] = 0; +- termios_tty.c_cc[VQUIT] = 0; +- termios_tty.c_cc[VERASE] = 0; +-#ifdef VWERASE +- termios_tty.c_cc[VWERASE] = 0; +-#endif +-#ifdef VREPRINT +- termios_tty.c_cc[VREPRINT] = 0; +-#endif +- termios_tty.c_cc[VKILL] = 0; +- termios_tty.c_cc[VEOF] = 0; +- termios_tty.c_cc[VEOL] = 0; +-#ifdef VEOL2 +- termios_tty.c_cc[VEOL2] = 0; +-#endif +- termios_tty.c_cc[VSUSP] = 0; +-#ifdef VDISCARD +- termios_tty.c_cc[VDISCARD] = 0; +-#endif +-#ifdef VLNEXT +- termios_tty.c_cc[VLNEXT] = 0; +-#endif +- +- termios_tty.c_cc[VMIN] = 1; +- termios_tty.c_cc[VTIME] = 10; +- +- err = tcsetattr(local->fd, TCSANOW, &termios_tty); +- if (err == -1) { +- Error("DigitalEdge tcsetattr TCSANOW"); +- return !Success; +- } +-#else +- Code for someone +- else +- to write to handle OSs without POSIX tty functions +-#endif +-#endif + DBG(1, ErrorF("initializing DigitalEdge tablet\n")); + + /* Send reset (NULL) to the tablet */ +@@ -800,13 +469,7 @@ + } + + /* wait 200 mSecs, just in case */ +-#ifndef XFREE86_V4 +- timeout.tv_sec = 0; +- timeout.tv_usec = 200000; +- SYSCALL(err = select(0, NULL, NULL, NULL, &timeout)); +-#else + err = xf86WaitForInput(-1, 200); +-#endif + if (err == -1) { + Error("DigitalEdge select"); + return !Success; +@@ -820,11 +483,7 @@ + return !Success; + } + /* Clear any pending input */ +-#ifndef XFREE86_V4 +- tcflush(local->fd, TCIFLUSH); +-#else + xf86FlushInput(local->fd); +-#endif + + if (priv->dedgeXOffset > 0 && priv->dedgeYOffset > 0) { + if (priv->dedgeXSize * 50 < priv->dedgeMaxX - priv->dedgeXOffset && +@@ -972,7 +631,9 @@ + + if (InitValuatorClassDeviceStruct(pSum, + nbaxes, ++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 + xf86GetMotionEvents, ++#endif + local->history_size, + (priv->flags & ABSOLUTE_FLAG) ? + Absolute : Relative) == FALSE) { +@@ -981,9 +642,6 @@ + } + /* allocate the motion history buffer if needed */ + xf86MotionHistoryAllocate(local); +-#ifndef XFREE86_V4 +- AssignTypeAndName(pSum, local->atom, local->name); +-#endif + + /* open the device to gather informations */ + xf86SumOpenDevice(pSum); +@@ -996,11 +654,7 @@ + return !Success; + } + SYSCALL(write(local->fd, SS_PROMPT, strlen(SS_PROMPT))); +-#ifdef XFREE86_V4 + xf86AddEnabledDevice(local); +-#else +- AddEnabledDevice(local->fd); +-#endif + pSum->public.on = TRUE; + break; + +@@ -1008,11 +662,7 @@ + DBG(1, ErrorF("xf86SumProc pSum=%p what=%s\n", (void *)pSum, + (what == DEVICE_CLOSE) ? "CLOSE" : "OFF")); + if (local->fd >= 0) +-#ifdef XFREE86_V4 + xf86RemoveEnabledDevice(local); +-#else +- RemoveEnabledDevice(local->fd); +-#endif + pSum->public.on = FALSE; + break; + +@@ -1100,11 +750,7 @@ + */ + static LocalDevicePtr xf86SumAllocate(void) + { +-#ifdef XFREE86_V4 + LocalDevicePtr local = xf86AllocateInput(dedgeDrv, 0); +-#else +- LocalDevicePtr local = (LocalDevicePtr) xalloc(sizeof(LocalDeviceRec)); +-#endif + DigitalEdgeDevicePtr priv = (DigitalEdgeDevicePtr) xalloc(sizeof(DigitalEdgeDeviceRec)); + #if defined (sun) && !defined(i386) + char *dev_name = getenv("DEDGESKETCH_DEV"); +@@ -1113,11 +759,6 @@ + local->name = XI_NAME; + local->type_name = "DigitalEdge Tablet"; + local->flags = 0; /*XI86_NO_OPEN_ON_INIT; */ +-#ifndef XFREE86_V4 +-#if !defined(sun) || defined(i386) +- local->device_config = xf86SumConfig; +-#endif +-#endif + local->device_control = xf86SumProc; + local->read_input = xf86SumReadInput; + local->control_proc = xf86SumChangeControl; +@@ -1161,42 +802,6 @@ + return local; + } + +-#ifndef XFREE86_V4 +- +-/* +-** DigitalEdge device association +-** Device section name and allocation function. +-*/ +-DeviceAssocRec dedgemasketch_assoc = { +- DEDGE_SECTION_NAME, /* config_section_name */ +- xf86SumAllocate /* device_allocate */ +-}; +- +-#ifdef DYNAMIC_MODULE +-/* +-** init_module +-** Entry point for dynamic module. +-*/ +-int +-#ifndef DLSYM_BUG +-init_module(unsigned long server_version) +-#else +-init_xf86DigitalEdge(unsigned long server_version) +-#endif +-{ +- xf86AddDeviceAssoc(&dedgemasketch_assoc); +- +- if (server_version != XF86_VERSION_CURRENT) { +- ErrorF("Warning: DigitalEdgeKetch module compiled for version%s\n", +- XF86_VERSION); +- return 0; +- } else { +- return 1; +- } +-} +-#endif +- +-#else + + /* + * xf86SumUninit -- +@@ -1422,6 +1027,5 @@ + }; + + #endif /* XFree86LOADER */ +-#endif /* XFREE86_V4 */ + + /* end of xf86DigitalEdge.c */ +diff -ruN -x .gitignore xf86-input-digitaledge-17a4a58b225b4d16fe9bd8bf280ff518693b950e/src/Makefile.am xf86-input-digitaledge-5e7b6ec409dc8eeb955d69f33d0c20d54baaf233/src/Makefile.am +--- xf86-input-digitaledge-17a4a58b225b4d16fe9bd8bf280ff518693b950e/src/Makefile.am 2008-03-20 19:14:36.000000000 +0000 ++++ xf86-input-digitaledge-5e7b6ec409dc8eeb955d69f33d0c20d54baaf233/src/Makefile.am 2009-02-02 20:37:53.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_n...@_drv_la_ltlibraries = @driver_n...@_drv.la + @driver_n...@_drv_la_ldflags = -module -avoid-version + @driver_n...@_drv_ladir = @inputdir@ _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git