[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xserver-xorg-input-aiptek: Changes to 'debian-experimental'



 .gitignore       |   76 ++++++++++++--
 COPYING          |   33 ++++--
 ChangeLog        |  281 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 Makefile.am      |   11 +-
 configure.ac     |   59 +++++------
 debian/changelog |    7 +
 debian/control   |    2 
 man/Makefile.am  |   61 +++--------
 src/Makefile.am  |    4 
 src/xf86Aiptek.c |   68 ++++++++-----
 src/xf86Aiptek.h |    6 -
 11 files changed, 486 insertions(+), 122 deletions(-)

New commits:
commit 3537d32f7812ce5618d2a69d97d49a2bbcaa106a
Author: Robert Hooker <sarvatt@ubuntu.com>
Date:   Mon Oct 18 13:53:42 2010 -0400

    Bump xutils-dev requirement for new util-macros.

diff --git a/debian/changelog b/debian/changelog
index 992c944..c1b88e6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
 xserver-xorg-input-aiptek (1:1.3.1-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * Bump xutils-dev requirement for new util-macros.
 
- -- Robert Hooker <robert.hooker@canonical.com>  Mon, 18 Oct 2010 13:48:45 -0400
+ -- Robert Hooker <sarvatt@ubuntu.com>  Mon, 18 Oct 2010 13:52:05 -0400
 
 xserver-xorg-input-aiptek (1:1.3.0-3) experimental; urgency=low
 
diff --git a/debian/control b/debian/control
index c07d90d..b957f67 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Build-Depends:
  x11proto-input-dev,
  automake,
  libtool,
- xutils-dev
+ xutils-dev (>= 1:7.5+4)
 Standards-Version: 3.8.3
 XS-Vcs-Git: git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-input-aiptek
 XS-Vcs-Browser: http://git.debian.org/?p=pkg-xorg/driver/xserver-xorg-input-aiptek.git

commit 9c211a91504fe5643f8682972c6279d48cfbd7b3
Author: Robert Hooker <sarvatt@ubuntu.com>
Date:   Mon Oct 18 13:49:24 2010 -0400

    Update changelogs.

diff --git a/ChangeLog b/ChangeLog
index 62c59be..4ccb0ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,284 @@
+commit 799d13a3ac1f15ebca3625183340379840beb2f3
+Author: Adam Jackson <ajax@redhat.com>
+Date:   Tue Aug 10 10:28:26 2010 -0400
+
+    xf86-input-aiptek 1.3.1
+    
+    Signed-off-by: Adam Jackson <ajax@redhat.com>
+
+commit 209b9147799079981db4abebdbac093dec59d5a5
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Thu May 27 19:35:46 2010 -0400
+
+    config: use AC_PROG_INSTALL now supplied by XORG_DEFAULT_OPTIONS
+    
+    It depends on util-macros 1.8
+    The existing statement can now be removed from the configuration file.
+    
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 7a08e526ad7ebe2702269d5a0a048f62b1bfbca1
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Thu May 27 19:34:40 2010 -0400
+
+    config: upgrade to util-macros 1.8 for additional man page support
+    
+    Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
+    The value of MAN_SUBST is the same for all X.Org packages.
+    
+    Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS
+    
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit e4976108867158f0c90cd1023595f858bea1ea56
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Sat Apr 17 18:52:54 2010 -0400
+
+    man: Use Autoconf provided $(AM_V_GEN)$(SED)
+    
+    Enables silent rule and use platform appropriate version of sed.
+    
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 39f1c78b01fb8f2c0450f02c8f5a6329dff6dd04
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Thu Apr 15 10:46:42 2010 -0400
+
+    config: fix warnings, m4 quoting and layout
+    
+    Fix some m4 quoting
+    Fix some autoconf warnings
+    Regroup statements per section
+    Add comments
+    Upgrade X.Org macros to 1.4 for INSTALL file copying
+    
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 43cdbc01fb1f7197134434b7db00705e4e6c8d56
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Thu Apr 15 10:24:16 2010 -0400
+
+    config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
+    
+    XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
+    AC_PROG_C_C99. This sets gcc with -std=gnu99.
+    If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
+    
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit e97e0199a722bdfa30ef0ba070f421e01987ce25
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Thu Apr 15 10:22:35 2010 -0400
+
+    config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
+    
+    Regroup AC statements at the top.
+    
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit a4da6aa6996c7030b48b39eafbadeed8e512010e
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Thu Apr 15 10:20:43 2010 -0400
+
+    config: update AC_PREREQ statement to 2.60
+    
+    Unrelated to the previous patches, the new value simply reflects
+    the reality that the minimum level for autoconf to configure
+    all x.org modules is 2.60 dated June 2006.
+    
+    ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
+    
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit c0aa30c9d92617d0febe521780588e095569216a
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Sun Apr 11 14:04:39 2010 -0400
+
+    config: use AC_CHECK_LIB to verify library and add -lm to LIBS
+    
+    Ensures library is present and contains the desired symbol.
+    
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 0d88d9fb6f1200126212dd45cbddc08f3b75ebfb
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Sun Apr 11 10:59:21 2010 -0400
+
+    config: replace hard-coded -DLINUX_INPUT with proper AC_CHECK_HEADERS
+    
+    Not all platforms have Linux kernel input subsystem.
+    Automake AC_CHECK_HEADERS is designed for that purpose.
+    
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 2996458c2fc88671ba8626de984b2f082042dc62
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Sun Apr 11 10:21:40 2010 -0400
+
+    config: remove AH_TOP autoheader statement
+    
+    The generated config.h does not need to include xorg-server.h
+    for the content it provides.
+    Add #include <xorg-server.h> in .[hc] files as needed.
+    
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit be8297b5edd06e8cbf41b06da4588d5f548e627b
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Sat Jun 12 09:41:05 2010 -0400
+
+    COPYING: replace stub file with Copyright notices
+    
+    Copyright 2003 by Bryan W. Headley
+    
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit d87747df73114953ac39f3d77ca146adc3b80088
+Author: Olivier Samyn <code@oleastre.be>
+Date:   Wed Feb 24 00:24:02 2010 +0100
+
+    aiptek: Add keyboard feedback struct initialization.
+    
+    Without a call to InitKbdFeedbackClassDeviceStruct, no keyboard events
+    are seen by xev. This adds the call and required callback functions.
+    
+    Signed-off-by: Olivier Samyn <code@oleastre.be>
+    
+    [This patch only fixes the case for X server 1.6 and earlier.]
+    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+
+commit deb7cb9c89c64f61c870b5eaf8029a600077aecc
+Author: Olivier Samyn <code@oleastre.be>
+Date:   Wed Feb 24 00:12:42 2010 +0100
+
+    aiptek: Initialize the keymap with 256 items.
+    
+    X.Org keymap requires at least 256 defined entries. This patch
+    initialize the keymap with the required entries count.
+    
+    Signed-off-by: Olivier Samyn <code@oleastre.be>
+    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+
+commit 01d39e1efea68797b27231fecc8535b440e87ae4
+Author: Olivier Samyn <code@oleastre.be>
+Date:   Sun Feb 21 00:22:28 2010 +0100
+
+    aiptek: Change index offset for generated key events.
+    
+    Since the first 8 elements in the xorg key map are NoSymbol, and the first
+    linux kernel element index is 0, the first keysym is at offset 8 and not 7.
+    
+    Signed-off-by: Olivier Samyn <code@oleastre.be>
+    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+
+commit 823d606ca716253ac55ed46ee1559fd17adc0988
+Author: Olivier Samyn <code@oleastre.be>
+Date:   Sun Feb 21 00:17:57 2010 +0100
+
+    aiptek: Correct linux keymap to keysym index loop.
+    
+    Makes the loop iterate over all elements of the linux key map, and if the
+    current macroKey matches, generate a key event.
+    
+    Signed-off-by: Olivier Samyn <code@oleastre.be>
+    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+
+commit 8b2eb587cc2ec96e54c28def4fa9388d7bd49c91
+Author: Olivier Samyn <code@oleastre.be>
+Date:   Wed Feb 17 21:35:11 2010 +0100
+
+    aiptek: Uses event->code instead of event->value
+    
+    From the Linux input documentation, on a key press or release event,
+    the actual key code is contained in the event->code field.
+    
+    Signed-off-by: Olivier Samyn <code@oleastre.be>
+    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
+    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+
+commit a7460d35743b7343a6dcce13f14cfd28428385bf
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Thu Feb 11 10:08:07 2010 -0500
+
+    config: move CWARNFLAGS from configure.ac to Makefile.am
+    
+    Compiler warning flags should be explicitly set in the makefile
+    rather than being merged with other packages compiler flags.
+    
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 2701762143f7ccdfb95e2b19f963b80d011a3f72
+Author: Alan Coopersmith <alan.coopersmith@sun.com>
+Date:   Fri Jan 15 15:05:05 2010 -0800
+
+    Update Sun license notices to current X.Org standard form
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
+
+commit 77d46f0a4527ba7919c58b13934a7b9a07a7a810
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Tue Dec 15 22:01:02 2009 -0500
+
+    configure.ac: remove unused sdkdir=$(pkg-config...) statement
+    
+    The sdkdir variable isn't use, so remove the statement.
+    
+    Acked-by: Dan Nicholson <dbn.lists@gmail.com>
+    
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 7de1580b327e2395ae1e393c59c2e6900680981b
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Mon Nov 23 09:25:05 2009 -0500
+
+    Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
+    
+    Now that the INSTALL file is generated.
+    Allows running make maintainer-clean.
+
+commit 4c6d7d9a91d35473de9fe8a2aac93747c0d794d1
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Wed Oct 28 14:41:40 2009 -0400
+
+    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
+    
+    Automake 'foreign' option is specified in configure.ac.
+    Remove from Makefile.am
+
+commit 80327029754b63738ee21709b3847681df6278c5
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Wed Oct 28 14:09:09 2009 -0400
+
+    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
+    
+    Add missing INSTALL file. Use standard GNU file on building tarball
+    README may have been updated
+    Remove AUTHORS file as it is empty and no content available yet.
+    Remove NEWS file as it is empty and no content available yet.
+
+commit 59bc379e87489f95f89851e2b5b27bdc680c656f
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Mon Oct 26 12:54:20 2009 -0400
+
+    Several driver modules do not have a ChangeLog target in Makefile.am #23814
+    
+    The git generated ChangeLog replaces the hand written one.
+    Update configure.ac to xorg-macros level 1.3.
+    Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros
+    Update Makefile.am to add ChangeLog target if missing
+    Remove ChangeLog from EXTRA_DIST or *CLEAN variables
+    This is a pre-req for the INSTALL_CMD
+
+commit 7e2a262db906b8ac2d59c4ce3ba24312f3b5259f
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Thu Oct 22 12:34:16 2009 -0400
+
+    .gitignore: use common defaults with custom section # 24239
+    
+    Using common defaults will reduce errors and maintenance.
+    Only the very small or inexistent custom section need periodic maintenance
+    when the structure of the component changes. Do not edit defaults.
+
 commit 19ab688471916b0b4ab780ea39b60f2199234f54
 Author: Peter Hutterer <peter.hutterer@who-t.net>
 Date:   Fri Sep 11 12:04:00 2009 +1000
diff --git a/debian/changelog b/debian/changelog
index a2057c9..992c944 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+xserver-xorg-input-aiptek (1:1.3.1-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Robert Hooker <robert.hooker@canonical.com>  Mon, 18 Oct 2010 13:48:45 -0400
+
 xserver-xorg-input-aiptek (1:1.3.0-3) experimental; urgency=low
 
   * Build against Xserver 1.9.1 rc1.

commit 799d13a3ac1f15ebca3625183340379840beb2f3
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue Aug 10 10:28:26 2010 -0400

    xf86-input-aiptek 1.3.1
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

diff --git a/configure.ac b/configure.ac
index dfd7f1c..2038c23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@
 
 AC_PREREQ([2.60])
 AC_INIT([xf86-input-aiptek],
-        [1.3.0],
+        [1.3.1],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
         [xf86-input-aiptek])
 AC_CONFIG_SRCDIR([Makefile.am])

commit 209b9147799079981db4abebdbac093dec59d5a5
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu May 27 19:35:46 2010 -0400

    config: use AC_PROG_INSTALL now supplied by XORG_DEFAULT_OPTIONS
    
    It depends on util-macros 1.8
    The existing statement can now be removed from the configuration file.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

diff --git a/configure.ac b/configure.ac
index ca0deb0..dfd7f1c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,9 +43,6 @@ m4_ifndef([XORG_MACROS_VERSION],
 XORG_MACROS_VERSION(1.8)
 XORG_DEFAULT_OPTIONS
 
-# Checks for programs.
-AC_PROG_INSTALL
-
 # Checks for libraries.
 AC_CHECK_LIB([m],[sqrt])
 

commit 7a08e526ad7ebe2702269d5a0a048f62b1bfbca1
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu May 27 19:34:40 2010 -0400

    config: upgrade to util-macros 1.8 for additional man page support
    
    Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
    The value of MAN_SUBST is the same for all X.Org packages.
    
    Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

diff --git a/configure.ac b/configure.ac
index 8d37120..ca0deb0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,8 +39,8 @@ AC_PROG_LIBTOOL
 
 # Initialize X.Org macros
 m4_ifndef([XORG_MACROS_VERSION],
-          [m4_fatal([must install xorg-macros 1.4 or later before running autoconf/autogen])])
-XORG_MACROS_VERSION(1.4)
+          [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.8)
 XORG_DEFAULT_OPTIONS
 
 # Checks for programs.
diff --git a/man/Makefile.am b/man/Makefile.am
index c020b58..d10f548 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -32,22 +32,6 @@ EXTRA_DIST = @DRIVER_NAME@.man
 
 CLEANFILES = $(driverman_DATA)
 
-# Strings to replace in man pages
-XORGRELSTRING = @PACKAGE_STRING@
-  XORGMANNAME = X Version 11
-
-MAN_SUBSTS = \
-	-e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
-	-e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
-	-e 's|__xservername__|Xorg|g' \
-	-e 's|__xconfigfile__|xorg.conf|g' \
-	-e 's|__projectroot__|$(prefix)|g' \
-	-e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \
-	-e 's|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)|g' \
-	-e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \
-	-e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \
-	-e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'
-
 SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
 
 .man.$(DRIVER_MAN_SUFFIX):

commit e4976108867158f0c90cd1023595f858bea1ea56
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sat Apr 17 18:52:54 2010 -0400

    man: Use Autoconf provided $(AM_V_GEN)$(SED)
    
    Enables silent rule and use platform appropriate version of sed.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

diff --git a/man/Makefile.am b/man/Makefile.am
index 29fcf92..c020b58 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -32,8 +32,6 @@ EXTRA_DIST = @DRIVER_NAME@.man
 
 CLEANFILES = $(driverman_DATA)
 
-SED = sed
-
 # Strings to replace in man pages
 XORGRELSTRING = @PACKAGE_STRING@
   XORGMANNAME = X Version 11
@@ -53,4 +51,4 @@ MAN_SUBSTS = \
 SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
 
 .man.$(DRIVER_MAN_SUFFIX):
-	sed $(MAN_SUBSTS) < $< > $@
+	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@

commit 39f1c78b01fb8f2c0450f02c8f5a6329dff6dd04
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Apr 15 10:46:42 2010 -0400

    config: fix warnings, m4 quoting and layout
    
    Fix some m4 quoting
    Fix some autoconf warnings
    Regroup statements per section
    Add comments
    Upgrade X.Org macros to 1.4 for INSTALL file copying
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

diff --git a/configure.ac b/configure.ac
index b2ec1e9..8d37120 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,43 +20,31 @@
 #
 # Process this file with autoconf to produce a configure script
 
-AC_PREREQ(2.60)
+AC_PREREQ([2.60])
 AC_INIT([xf86-input-aiptek],
-        1.3.0,
+        [1.3.0],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
-        xf86-input-aiptek)
-
+        [xf86-input-aiptek])
 AC_CONFIG_SRCDIR([Makefile.am])
-AC_CONFIG_AUX_DIR(.)
 AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_AUX_DIR(.)
 
+# Initialize Automake
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
 AM_MAINTAINER_MODE
 
-# Require xorg-macros: XORG_DEFAULT_OPTIONS
-m4_ifndef([XORG_MACROS_VERSION], 
-          [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])])
-XORG_MACROS_VERSION(1.3)
-XORG_DEFAULT_OPTIONS
-
-# Checks for programs.
+# Initialize libtool
 AC_DISABLE_STATIC
 AC_PROG_LIBTOOL
 
-AC_ARG_WITH(xorg-module-dir,
-            AC_HELP_STRING([--with-xorg-module-dir=DIR],
-                           [Default xorg module directory [[default=$libdir/xorg/modules]]]),
-            [moduledir="$withval"],
-            [moduledir="$libdir/xorg/modules"])
-inputdir=${moduledir}/input
-AC_SUBST(inputdir)
-
-# Checks for extensions
-XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
-XORG_DRIVER_CHECK_EXT(XINPUT, inputproto)
+# Initialize X.Org macros
+m4_ifndef([XORG_MACROS_VERSION],
+          [m4_fatal([must install xorg-macros 1.4 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.4)
+XORG_DEFAULT_OPTIONS
 
-# Checks for pkg-config packages
-PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901] xproto $REQUIRED_MODULES)
+# Checks for programs.
+AC_PROG_INSTALL
 
 # Checks for libraries.
 AC_CHECK_LIB([m],[sqrt])
@@ -64,7 +52,26 @@ AC_CHECK_LIB([m],[sqrt])
 # Checks for header files.
 AC_CHECK_HEADERS([linux/input.h])
 
+# Store the list of server defined extensions in REQUIRED_MODULES
+XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
+XORG_DRIVER_CHECK_EXT(XINPUT, inputproto)
+
+# Obtain compiler/linker options from server and required extensions
+PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901] xproto $REQUIRED_MODULES)
+
+# Define a configure option for an alternate input module directory
+AC_ARG_WITH(xorg-module-dir,
+            AS_HELP_STRING([--with-xorg-module-dir=DIR],
+                           [Default xorg module directory [[default=$libdir/xorg/modules]]]),
+            [moduledir="$withval"],
+            [moduledir="$libdir/xorg/modules"])
+inputdir=${moduledir}/input
+AC_SUBST(inputdir)
+
 DRIVER_NAME=aiptek
 AC_SUBST([DRIVER_NAME])
 
-AC_OUTPUT([Makefile src/Makefile man/Makefile])
+AC_CONFIG_FILES([Makefile
+                 man/Makefile
+                 src/Makefile])
+AC_OUTPUT

commit 43cdbc01fb1f7197134434b7db00705e4e6c8d56
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Apr 15 10:24:16 2010 -0400

    config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
    
    XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
    AC_PROG_C_C99. This sets gcc with -std=gnu99.
    If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

diff --git a/configure.ac b/configure.ac
index 6b3b68e..b2ec1e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,8 +42,6 @@ XORG_DEFAULT_OPTIONS
 # Checks for programs.
 AC_DISABLE_STATIC
 AC_PROG_LIBTOOL
-AC_PROG_CC
-
 
 AC_ARG_WITH(xorg-module-dir,
             AC_HELP_STRING([--with-xorg-module-dir=DIR],

commit e97e0199a722bdfa30ef0ba070f421e01987ce25
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Apr 15 10:22:35 2010 -0400

    config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
    
    Regroup AC statements at the top.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

diff --git a/configure.ac b/configure.ac
index 3cca447..6b3b68e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,8 +28,9 @@ AC_INIT([xf86-input-aiptek],
 
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_AUX_DIR(.)
-AM_INIT_AUTOMAKE([foreign dist-bzip2])
+AC_CONFIG_HEADERS([config.h])
 
+AM_INIT_AUTOMAKE([foreign dist-bzip2])
 AM_MAINTAINER_MODE
 
 # Require xorg-macros: XORG_DEFAULT_OPTIONS
@@ -38,8 +39,6 @@ m4_ifndef([XORG_MACROS_VERSION],
 XORG_MACROS_VERSION(1.3)
 XORG_DEFAULT_OPTIONS
 
-AM_CONFIG_HEADER([config.h])
-
 # Checks for programs.
 AC_DISABLE_STATIC
 AC_PROG_LIBTOOL

commit a4da6aa6996c7030b48b39eafbadeed8e512010e
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Apr 15 10:20:43 2010 -0400

    config: update AC_PREREQ statement to 2.60
    
    Unrelated to the previous patches, the new value simply reflects
    the reality that the minimum level for autoconf to configure
    all x.org modules is 2.60 dated June 2006.
    
    ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

diff --git a/configure.ac b/configure.ac
index 9ba51c4..3cca447 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@
 #
 # Process this file with autoconf to produce a configure script
 
-AC_PREREQ(2.57)
+AC_PREREQ(2.60)
 AC_INIT([xf86-input-aiptek],
         1.3.0,
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],

commit c0aa30c9d92617d0febe521780588e095569216a
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Apr 11 14:04:39 2010 -0400

    config: use AC_CHECK_LIB to verify library and add -lm to LIBS
    
    Ensures library is present and contains the desired symbol.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

diff --git a/configure.ac b/configure.ac
index e03b13c..9ba51c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,6 +62,7 @@ XORG_DRIVER_CHECK_EXT(XINPUT, inputproto)
 PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901] xproto $REQUIRED_MODULES)
 
 # Checks for libraries.
+AC_CHECK_LIB([m],[sqrt])
 
 # Checks for header files.
 AC_CHECK_HEADERS([linux/input.h])
diff --git a/src/Makefile.am b/src/Makefile.am
index 0b8f60a..80ad025 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -30,6 +30,5 @@ AM_CFLAGS = $(XORG_CFLAGS) $(CWARNFLAGS)
 @DRIVER_NAME@_drv_la_LTLIBRARIES = @DRIVER_NAME@_drv.la
 @DRIVER_NAME@_drv_la_LDFLAGS = -module -avoid-version
 @DRIVER_NAME@_drv_ladir = @inputdir@
-@DRIVER_NAME@_drv_la_LIBADD = -lm
 
 @DRIVER_NAME@_drv_la_SOURCES = xf86Aiptek.c xf86Aiptek.h

commit 0d88d9fb6f1200126212dd45cbddc08f3b75ebfb
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Apr 11 10:59:21 2010 -0400

    config: replace hard-coded -DLINUX_INPUT with proper AC_CHECK_HEADERS
    
    Not all platforms have Linux kernel input subsystem.
    Automake AC_CHECK_HEADERS is designed for that purpose.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

diff --git a/configure.ac b/configure.ac
index 6395548..e03b13c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,7 +64,7 @@ PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901] xproto $REQUIRED_MODULES)
 # Checks for libraries.
 
 # Checks for header files.
-AC_HEADER_STDC
+AC_CHECK_HEADERS([linux/input.h])
 
 DRIVER_NAME=aiptek
 AC_SUBST([DRIVER_NAME])
diff --git a/src/Makefile.am b/src/Makefile.am
index abae1f4..0b8f60a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -25,7 +25,7 @@
 # _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) $(CWARNFLAGS) -DLINUX_INPUT
+AM_CFLAGS = $(XORG_CFLAGS) $(CWARNFLAGS)
 
 @DRIVER_NAME@_drv_la_LTLIBRARIES = @DRIVER_NAME@_drv.la
 @DRIVER_NAME@_drv_la_LDFLAGS = -module -avoid-version
diff --git a/src/xf86Aiptek.c b/src/xf86Aiptek.c
index bd78121..c282bf3 100644
--- a/src/xf86Aiptek.c
+++ b/src/xf86Aiptek.c
@@ -117,10 +117,6 @@
  *
  */
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
 #include "xf86Aiptek.h"
 #include <errno.h>
 #include <string.h>
@@ -2264,7 +2260,7 @@ xf86AiptekInit(InputDriverPtr    drv,
     xf86Msg(X_CONFIG, "%s is in %s mode\n", local->name,
         (device->flags & ABSOLUTE_FLAG) ? "absolute" : "relative");
 
-#ifdef LINUX_INPUT
+#ifdef HAVE_LINUX_INPUT_H
     /* The define-name is accurate; the XFree86 keyword is not. We are
      * reading from a Linux kernel "Input" device. The Input device
      * layer generally supports mice, joysticks, and keyboards. As
diff --git a/src/xf86Aiptek.h b/src/xf86Aiptek.h
index 810185b..8a8b5cc 100644
--- a/src/xf86Aiptek.h
+++ b/src/xf86Aiptek.h
@@ -40,8 +40,11 @@
 #ifndef _AIPTEK_H_
 #define _AIPTEK_H_
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 
-#ifdef LINUX_INPUT
+#ifdef HAVE_LINUX_INPUT_H
 #   include <asm/types.h>
 #   include <linux/input.h>
 #   ifndef EV_MSC

commit 2996458c2fc88671ba8626de984b2f082042dc62
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Apr 11 10:21:40 2010 -0400

    config: remove AH_TOP autoheader statement
    
    The generated config.h does not need to include xorg-server.h
    for the content it provides.
    Add #include <xorg-server.h> in .[hc] files as needed.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

diff --git a/configure.ac b/configure.ac
index 7c090f8..6395548 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,7 +45,6 @@ AC_DISABLE_STATIC
 AC_PROG_LIBTOOL
 AC_PROG_CC
 
-AH_TOP([#include "xorg-server.h"])
 
 AC_ARG_WITH(xorg-module-dir,
             AC_HELP_STRING([--with-xorg-module-dir=DIR],
diff --git a/src/xf86Aiptek.h b/src/xf86Aiptek.h
index 2842775..810185b 100644
--- a/src/xf86Aiptek.h
+++ b/src/xf86Aiptek.h
@@ -56,6 +56,7 @@
 #   endif
 #endif
 
+#include <xorg-server.h>
 #include <xorgVersion.h>
 
 #ifndef XFree86LOADER

commit be8297b5edd06e8cbf41b06da4588d5f548e627b
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sat Jun 12 09:41:05 2010 -0400

    COPYING: replace stub file with Copyright notices
    
    Copyright 2003 by Bryan W. Headley
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

diff --git a/COPYING b/COPYING
index 7f33cbf..9b3372c 100644
--- a/COPYING
+++ b/COPYING
@@ -1,12 +1,29 @@
-This is a stub file.  This package has not yet had its complete licensing
-information compiled.  Please see the individual source files for details on
-your rights to use and modify this software.
+Copyright 2003 by Bryan W. Headley. <bwheadley@earthlink.net>
 
-Please submit updated COPYING files to the Xorg bugzilla:
+Lineage: This driver is based on both the xf86HyperPen and xf86Wacom tablet
+         drivers.
 
-https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
+     xf86HyperPen -- modified from xf86Summa (c) 1996 Steven Lang
+         (c) 2000 Roland Jansen
+         (c) 2000 Christian Herzog (button & 19200 baud support)
 
-All licensing questions regarding this software should be directed at the
-Xorg mailing list:
+     xf86Wacom -- (c) 1995-2001 Frederic Lepied
 
-http://lists.freedesktop.org/mailman/listinfo/xorg
+
+Permission to use, copy, modify, distribute, and sell this software and its
+documentation for any purpose is hereby granted without fee, provided that
+the above copyright notice appear in all copies and that both that
+copyright notice and this permission notice appear in supporting
+documentation, and that the name of Bryan W. Headley not be used in
+advertising or publicity pertaining to distribution of the software
+without specific, written prior permission.  Bryan W. Headley makes no
+representations about the suitability of this software for any purpose.
+It is provided "as is" without express or implied warranty.
+ *
+BRYAN W. HEADLEY DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+EVENT SHALL BRYAN W. HEADLEY BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+TORTIOUS ACTIONS, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.

commit d87747df73114953ac39f3d77ca146adc3b80088
Author: Olivier Samyn <code@oleastre.be>
Date:   Wed Feb 24 00:24:02 2010 +0100

    aiptek: Add keyboard feedback struct initialization.
    
    Without a call to InitKbdFeedbackClassDeviceStruct, no keyboard events
    are seen by xev. This adds the call and required callback functions.
    
    Signed-off-by: Olivier Samyn <code@oleastre.be>
    
    [This patch only fixes the case for X server 1.6 and earlier.]
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

diff --git a/src/xf86Aiptek.c b/src/xf86Aiptek.c
index c53ccde..bd78121 100644
--- a/src/xf86Aiptek.c
+++ b/src/xf86Aiptek.c
@@ -1569,6 +1569,23 @@ xf86AiptekOpenDevice(DeviceIntPtr pDriver)
 }
 
 /*
+ * xf86AiptekBellCallback
+ */
+static void
+xf86AiptekBellCallback(int pct, DeviceIntPtr di, pointer ctrl, int x)
+{
+}
+
+/*
+ * xf86AiptekKbdCtrlCallback
+ */
+static void
+xf86AiptekKbdCtrlCallback(DeviceIntPtr di, KeybdCtrl* ctrl)
+{
+}
+
+
+/*
  * xf86AiptekProc
  *
  *  Call dispatcher for this driver.
@@ -1648,6 +1665,15 @@ xf86AiptekProc(DeviceIntPtr pAiptek, int requestCode)
                 ErrorF("Unable to init Key Class Device\n");
                 return !Success;
             }
+
+            if(InitKbdFeedbackClassDeviceStruct(pAiptek,
+                xf86AiptekBellCallback,
+                xf86AiptekKbdCtrlCallback) == FALSE)
+            {
+                ErrorF("Unable to init Keyboard Feedback Class Device\n");
+                return !Success;
+            }
+
 #endif
 
             /* we don't label the axes here, done later in

commit deb7cb9c89c64f61c870b5eaf8029a600077aecc
Author: Olivier Samyn <code@oleastre.be>
Date:   Wed Feb 24 00:12:42 2010 +0100

    aiptek: Initialize the keymap with 256 items.
    
    X.Org keymap requires at least 256 defined entries. This patch
    initialize the keymap with the required entries count.
    
    Signed-off-by: Olivier Samyn <code@oleastre.be>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

diff --git a/src/xf86Aiptek.c b/src/xf86Aiptek.c
index bb5aa21..c53ccde 100644
--- a/src/xf86Aiptek.c
+++ b/src/xf86Aiptek.c
@@ -174,7 +174,7 @@ static int linux_inputDevice_keyMap[] =
  *
  * This is a list of X keystrokes the macro keys can send.
  */
-static KeySym aiptek_map[] =
+static KeySym aiptek_map[256] =
 {
     /* 0x00 .. 0x07 */
     NoSymbol,NoSymbol,NoSymbol,NoSymbol,NoSymbol,NoSymbol,NoSymbol,NoSymbol,
@@ -192,7 +192,7 @@ static KeySym aiptek_map[] =
 static KeySymsRec keysyms =
 {
   /* map        minKeyCode  maxKC   width */
-  aiptek_map,   8,          0x27,   1
+  aiptek_map,   8,          0xff,   1
 };
 #endif
 

commit 01d39e1efea68797b27231fecc8535b440e87ae4
Author: Olivier Samyn <code@oleastre.be>
Date:   Sun Feb 21 00:22:28 2010 +0100

    aiptek: Change index offset for generated key events.
    
    Since the first 8 elements in the xorg key map are NoSymbol, and the first
    linux kernel element index is 0, the first keysym is at offset 8 and not 7.
    
    Signed-off-by: Olivier Samyn <code@oleastre.be>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

diff --git a/src/xf86Aiptek.c b/src/xf86Aiptek.c
index e70d58f..bb5aa21 100644
--- a/src/xf86Aiptek.c
+++ b/src/xf86Aiptek.c
@@ -461,11 +461,11 @@ xf86AiptekSendEvents(LocalDevicePtr local, int r_z)


Reply to: