.gitignore | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++----- COPYING | 41 +++++++++++++++----------------- Makefile.am | 13 ++++------ configure.ac | 41 ++++++++------------------------ man/.gitignore | 2 - man/Makefile.am | 70 ++++++++++++++++++-------------------------------------- man/void.man | 7 +---- src/.gitignore | 6 ---- src/void.c | 59 ++++++++++++++++++++++++----------------------- 9 files changed, 154 insertions(+), 155 deletions(-)
New commits: commit baf55a08ee006d43f5a2e3d72b10da800ab03afd Author: Alan Coopersmith <alan.coopersm...@oracle.com> Date: Sat Oct 30 09:25:57 2010 -0700 xf86-input-void 1.3.1 Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> diff --git a/configure.ac b/configure.ac index cbf9120..671ebc5 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_PREREQ(2.60) AC_INIT([xf86-input-void], - 1.3.0, + [1.3.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xf86-input-void) commit 27d39d3c95785a1737bd1669850a7747b7dd7140 Author: Gaetan Nadon <mems...@videotron.ca> Date: Sat Oct 30 09:24:53 2010 -0700 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 <mems...@videotron.ca> Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> diff --git a/configure.ac b/configure.ac index 0afc629..cbf9120 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-void], 1.3.0, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], commit a78b13f1c5ebf40295ce35a4f80cc4d0e3331f8c Author: Alan Coopersmith <alan.coopersm...@oracle.com> Date: Sat Oct 30 09:24:25 2010 -0700 Sun's copyrights now belong to Oracle Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> diff --git a/COPYING b/COPYING index 5119f69..f6e38b1 100644 --- a/COPYING +++ b/COPYING @@ -38,7 +38,7 @@ ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -Copyright 2005 Sun Microsystems, Inc. All rights reserved. +Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/man/Makefile.am b/man/Makefile.am index 399cc9d..a265155 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,5 +1,5 @@ # -# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -19,7 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. -# +# drivermandir = $(DRIVER_MAN_DIR) driverman_PRE = @driver_n...@.man commit 0d7e2780cf832d0fdf8bbd419d399511c72ef680 Author: Alan Coopersmith <alan.coopersm...@oracle.com> Date: Wed Oct 27 22:23:03 2010 -0700 Remove refcnt field from InputDriverRec. Wasn't used in the server and is now removed. Fixes compiler error: "void.c", line 340: too many struct/union initializers Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> diff --git a/src/void.c b/src/void.c index c741d87..df973fa 100644 --- a/src/void.c +++ b/src/void.c @@ -343,7 +343,6 @@ _X_EXPORT InputDriverRec VOID = { xf86VoidInit, /* pre-init */ xf86VoidUninit, /* un-init */ NULL, /* module */ - 0 /* ref count */ }; /* commit c4cfc5891ba13f38fcfaa2d330ff99ea7b61b9b6 Author: Gaetan Nadon <mems...@videotron.ca> Date: Mon Oct 18 19:58:07 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 Use the appropriate platform version of sed Signed-off-by: Gaetan Nadon <mems...@videotron.ca> diff --git a/configure.ac b/configure.ac index 74e3f8b..0afc629 100644 --- a/configure.ac +++ b/configure.ac @@ -35,10 +35,10 @@ AM_MAINTAINER_MODE DRIVER_NAME=void AC_SUBST([DRIVER_NAME]) -# Require xorg-macros: XORG_DEFAULT_OPTIONS +# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS m4_ifndef([XORG_MACROS_VERSION], - [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])]) -XORG_MACROS_VERSION(1.3) + [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS AM_CONFIG_HEADER([config.h]) diff --git a/man/Makefile.am b/man/Makefile.am index 8f2454b..399cc9d 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -22,34 +22,13 @@ # drivermandir = $(DRIVER_MAN_DIR) - driverman_PRE = @driver_n...@.man - driverman_DATA = $(driverman_PRE:m...@driver_man_suffix@) EXTRA_DIST = @driver_n...@.man - CLEANFILES = $(driverman_DATA) - -SED = sed - -# 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 +# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure .man.$(DRIVER_MAN_SUFFIX): - sed $(MAN_SUBSTS) < $< > $@ + $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ commit 06f0a7da7d848a0079272439fd468204688b053d Author: Alan Coopersmith <alan.coopersm...@sun.com> Date: Fri Jan 15 14:51:59 2010 -0800 Update Sun license notices to current X.Org standard form Signed-off-by: Alan Coopersmith <alan.coopersm...@sun.com> diff --git a/COPYING b/COPYING index 6d25ee3..5119f69 100644 --- a/COPYING +++ b/COPYING @@ -40,24 +40,21 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Copyright 2005 Sun Microsystems, Inc. All rights reserved. -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. - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR -OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - -Except as contained in this notice, the name of the copyright holders shall -not be used in advertising or otherwise to promote the sale, use or -other dealings in this Software without prior written authorization -from the copyright holders. +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice (including the next +paragraph) shall be included in all copies or substantial portions of the +Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/man/Makefile.am b/man/Makefile.am index f0eb29b..8f2454b 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,27 +1,24 @@ # # Copyright 2005 Sun Microsystems, Inc. All rights reserved. -# -# 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. -# -# The above copyright notice and this permission notice shall be included -# in all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -# IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR -# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -# OTHER DEALINGS IN THE SOFTWARE. -# -# Except as contained in this notice, the name of the copyright holders shall -# not be used in advertising or otherwise to promote the sale, use or -# other dealings in this Software without prior written authorization -# from the copyright holders. +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice (including the next +# paragraph) shall be included in all copies or substantial portions of the +# Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. # drivermandir = $(DRIVER_MAN_DIR) commit 4d38e6ba6a100fd3b23507f17525f1e40b9bbacd Author: Gaetan Nadon <mems...@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. diff --git a/Makefile.am b/Makefile.am index d451f3e..4c278ba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,6 +19,7 @@ # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. SUBDIRS = src man +MAINTAINERCLEANFILES = ChangeLog INSTALL .PHONY: ChangeLog INSTALL commit 5dc7270bccce4d84589a4465cd0f3b968799dd12 Author: Gaetan Nadon <mems...@videotron.ca> Date: Wed Oct 28 14:41:41 2009 -0400 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 Automake 'foreign' option is specified in configure.ac. Remove from Makefile.am diff --git a/Makefile.am b/Makefile.am index 882733f..d451f3e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,7 +18,6 @@ # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -AUTOMAKE_OPTIONS = foreign SUBDIRS = src man .PHONY: ChangeLog INSTALL commit 56efaa1d58487727a50d1756ad856525dde8d46f Author: Gaetan Nadon <mems...@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. diff --git a/Makefile.am b/Makefile.am index 8b7c3c7..882733f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,9 +21,12 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = src man -.PHONY: ChangeLog +.PHONY: ChangeLog INSTALL + +INSTALL: + $(INSTALL_CMD) ChangeLog: $(CHANGELOG_CMD) -dist-hook: ChangeLog +dist-hook: ChangeLog INSTALL diff --git a/configure.ac b/configure.ac index bba71c7..74e3f8b 100644 --- a/configure.ac +++ b/configure.ac @@ -28,7 +28,7 @@ AC_INIT([xf86-input-void], AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_AUX_DIR(.) -AM_INIT_AUTOMAKE([dist-bzip2]) +AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE commit 8f89812dd9fef33aa7427e3aabd0897fe8ffcc2f Author: Gaetan Nadon <mems...@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 diff --git a/Makefile.am b/Makefile.am index 2c2cd08..8b7c3c7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,10 +21,6 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = src man -EXTRA_DIST = ChangeLog - -MAINTAINERCLEANFILES = ChangeLog - .PHONY: ChangeLog ChangeLog: diff --git a/configure.ac b/configure.ac index a73a3b1..bba71c7 100644 --- a/configure.ac +++ b/configure.ac @@ -36,15 +36,17 @@ DRIVER_NAME=void AC_SUBST([DRIVER_NAME]) # Require xorg-macros: XORG_DEFAULT_OPTIONS -m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.3 or later before running autoconf/autogen])]) +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 + AM_CONFIG_HEADER([config.h]) # Checks for programs. AC_DISABLE_STATIC AC_PROG_LIBTOOL AC_PROG_CC -XORG_DEFAULT_OPTIONS AH_TOP([#include "xorg-server.h"]) commit d229780bcb9461386d01f51bf7f26ca295f24cfb Author: Gaetan Nadon <mems...@videotron.ca> Date: Thu Oct 22 12:55:26 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. diff --git a/man/.gitignore b/man/.gitignore deleted file mode 100644 index 282522d..0000000 --- a/man/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -Makefile -Makefile.in diff --git a/src/.gitignore b/src/.gitignore deleted file mode 100644 index 9730646..0000000 --- a/src/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -.deps -.libs -Makefile -Makefile.in -*.la -*.lo commit b0622025568e790b00df8ff81205d5fe7d4e5503 Author: Gaetan Nadon <mems...@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. diff --git a/.gitignore b/.gitignore index 2df4a8d..5db219d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,20 +1,78 @@ -Makefile -Makefile.in -*.la -*.lo +# +# X.Org module default exclusion patterns +# The next section if for module specific patterns +# +# Do not edit the following section +# GNU Build System (Autotools) aclocal.m4 -autom4te.cache +autom4te.cache/ +autoscan.log +ChangeLog +compile config.guess config.h config.h.in config.log +config-ml.in +config.py config.status +config.status.lineno config.sub configure +configure.scan depcomp +.deps/ +INSTALL install-sh +.libs/ libtool +libtool.m4 ltmain.sh +lt~obsolete.m4 +ltoptions.m4 +ltsugar.m4 +ltversion.m4 +Makefile +Makefile.in +mdate-sh missing -stamp-h1 +mkinstalldirs +*.pc +py-compile +stamp-h? +symlink-tree +texinfo.tex +ylwrap + +# Do not edit the following section +# Edit Compile Debug Document Distribute *~ +*.[0-9] +*.[0-9]x +*.bak +*.bin +core +*.dll +*.exe +*-ISO*.bdf +*-JIS*.bdf +*-KOI8*.bdf +*.kld +*.ko +*.ko.cmd +*.lai +*.l[oa] +*.[oa] +*.obj +*.patch +*.so +*.pcf.gz +*.pdb +*.tar.bz2 +*.tar.gz +# +# Add & Override patterns for xf86-input-void +# +# Edit the following section as needed +# For example, !report.pc overrides *.pc. See 'man gitignore' +# commit f78c894fd1c7645460488cf3ebe5e93eb5f73c9d Author: Gaetan Nadon <mems...@videotron.ca> Date: Sun Sep 27 16:30:48 2009 -0400 Makefile.am: do not include autogen.sh in distribution #24183 This is a private build script that should not be distributed diff --git a/Makefile.am b/Makefile.am index 061da14..2c2cd08 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,7 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = src man -EXTRA_DIST = autogen.sh ChangeLog +EXTRA_DIST = ChangeLog MAINTAINERCLEANFILES = ChangeLog commit 1377264aaf712025ee695eb51b0ec076ee29bea8 Author: Peter Hutterer <peter.hutte...@who-t.net> Date: Fri Sep 11 11:36:23 2009 +1000 void 1.3.0 Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> diff --git a/configure.ac b/configure.ac index 5b03f86..a73a3b1 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_PREREQ(2.57) AC_INIT([xf86-input-void], - 1.2.0, + 1.3.0, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xf86-input-void) commit 1f8f6431bf84228b3c5877be8e20eeb43dcab64d Author: Peter Hutterer <peter.hutte...@who-t.net> Date: Thu Sep 10 11:25:21 2009 +1000 Require xorg-macros 1.3 and XORG_DEFAULT_OPTIONS. Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> diff --git a/configure.ac b/configure.ac index 9135ad2..5b03f86 100644 --- a/configure.ac +++ b/configure.ac @@ -35,16 +35,16 @@ AM_MAINTAINER_MODE DRIVER_NAME=void 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) +# Require xorg-macros: XORG_DEFAULT_OPTIONS +m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.3 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.3) AM_CONFIG_HEADER([config.h]) # Checks for programs. AC_DISABLE_STATIC AC_PROG_LIBTOOL AC_PROG_CC -XORG_CWARNFLAGS +XORG_DEFAULT_OPTIONS AH_TOP([#include "xorg-server.h"]) @@ -65,8 +65,5 @@ AC_SUBST([CFLAGS]) # Checks for header files. AC_HEADER_STDC -XORG_MANPAGE_SECTIONS -XORG_RELEASE_VERSION -XORG_CHANGELOG AC_OUTPUT([Makefile src/Makefile man/Makefile]) commit 6b476f2e22337e6d0b4f0e6194ed25e0ed0f9330 Author: Peter Hutterer <peter.hutte...@who-t.net> Date: Mon Sep 7 17:05:56 2009 +1000 Don't pass an empty RMLVO to InitKeyboardDeviceStruct. Passing in NULL is ok, an empty one isn't. Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> diff --git a/src/void.c b/src/void.c index c4016a0..c741d87 100644 --- a/src/void.c +++ b/src/void.c @@ -177,9 +177,6 @@ xf86VoidControlProc(DeviceIntPtr device, int what) InputInfoPtr pInfo; unsigned char map[MAXBUTTONS + 1]; int i; -#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 5 - XkbRMLVOSet rmlvo; -#endif Bool result; #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 Atom btn_labels[MAXBUTTONS] = {0}; @@ -215,8 +212,7 @@ xf86VoidControlProc(DeviceIntPtr device, int what) } #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 5 - memset(&rmlvo, 0, sizeof(XkbRMLVOSet)); - result = InitKeyboardDeviceStruct(device, &rmlvo, + result = InitKeyboardDeviceStruct(device, NULL, BellProc, KeyControlProc); #else result = InitKeyboardDeviceStruct((DevicePtr)device, &void_keysyms, commit 6bc27d6b56336c6dbaad026fb0478f7e620c6258 Author: Peter Hutterer <peter.hutte...@who-t.net> Date: Mon Sep 7 14:52:11 2009 +1000 Remove some unused variables from configure. diff --git a/configure.ac b/configure.ac index 3ce517c..9135ad2 100644 --- a/configure.ac +++ b/configure.ac @@ -57,14 +57,11 @@ inputdir=${moduledir}/input AC_SUBST(inputdir) # 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) +PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901] xproto) CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src' AC_SUBST([CFLAGS]) -# Checks for libraries. - # Checks for header files. AC_HEADER_STDC commit df567ec35b67ae83269e97d377e4c4e060c6eb63 Author: Peter Hutterer <peter.hutte...@who-t.net> Date: Mon Sep 7 14:49:15 2009 +1000 man: void is only necessary for server < 1.4 1.4 and input hotplug introduced virtual core devices. Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> diff --git a/man/void.man b/man/void.man index 3faed5a..b04fdf3 100644 --- a/man/void.man +++ b/man/void.man @@ -16,8 +16,8 @@ void \- null input driver is an dummy/null __xservername__ input driver. It doesn't connect to any physical device, and it never delivers any events. It functions as both a pointer and keyboard device, and may be used as X server's core -pointer and/or core keyboard. It's purpose is to allow the X server -to operate without a core pointer and/or core keyboard. +pointer and/or core keyboard. It's purpose is to allow X servers pre +version 1.4 to operate without a core pointer and/or core keyboard. .SH CONFIGURATION DETAILS Please refer to __xconfigfile__(__filemansuffix__) for general configuration details and for options that can be used with all input drivers. This commit a2ce16486c63e48446cc0fb0e5ea4153cae98e90 Author: Peter Hutterer <peter.hutte...@who-t.net> Date: Mon Sep 7 14:48:05 2009 +1000 Remove RCS tags, some useless comments, empty AUTHORS from man. diff --git a/man/void.man b/man/void.man index 9054363..3faed5a 100644 --- a/man/void.man +++ b/man/void.man @@ -1,4 +1,3 @@ -.\" $XFree86: xc/programs/Xserver/hw/xfree86/input/void/void.man,v 1.1 2001/01/24 00:06:38 dawes Exp $ .\" shorthand for double quote that works everywhere. .ds q \N'34' .TH VOID __drivermansuffix__ __vendorversion__ @@ -25,5 +24,3 @@ details and for options that can be used with all input drivers. This driver doesn't have any configuration options in addition to those. .SH "SEE ALSO" __xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__). -.SH AUTHORS -Authors include... diff --git a/src/void.c b/src/void.c index aeed18d..c4016a0 100644 --- a/src/void.c +++ b/src/void.c @@ -21,8 +21,6 @@ * */ -/* $XFree86: xc/programs/Xserver/hw/xfree86/input/void/void.c,v 1.1 1999/11/19 13:54:57 hohndel Exp $ */ - /* Input device which doesn't output any event. This device can be used * as a core pointer or as a core keyboard. */ @@ -408,11 +406,3 @@ _X_EXPORT XF86ModuleData voidModuleData = { }; #endif /* XFree86LOADER */ - -/* - * Local variables: - * change-log-default-name: "~/xinput.log" - * c-file-style: "bsd" - * End: - */ -/* end of void.c */ commit 7d62e4c5d4dc158be6224b5a048f206d2ff7b0ec Author: Peter Hutterer <peter.hutte...@who-t.net> Date: Wed Jul 8 15:10:34 2009 +1000 void doesn't require randrproto or inputproto. Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> diff --git a/configure.ac b/configure.ac index 14dc5d3..3ce517c 100644 --- a/configure.ac +++ b/configure.ac @@ -56,10 +56,6 @@ AC_ARG_WITH(xorg-module-dir, inputdir=${moduledir}/input AC_SUBST(inputdir) -# Checks for extensions -XORG_DRIVER_CHECK_EXT(RANDR, randrproto) -XORG_DRIVER_CHECK_EXT(XINPUT, inputproto) - # 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) commit e1e98ad7d6b813854420206bca6c88356656c299 Author: Peter Hutterer <peter.hutte...@who-t.net> Date: Wed Jul 8 15:09:10 2009 +1000 Remove long-obsolete chunks from configure.ac. Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> diff --git a/configure.ac b/configure.ac index b9efc24..14dc5d3 100644 --- a/configure.ac +++ b/configure.ac @@ -48,24 +48,6 @@ XORG_CWARNFLAGS AH_TOP([#include "xorg-server.h"]) -#AC_DEFINE(XFree86LOADER,1,[Stub define for loadable drivers]) -# -#AC_ARG_ENABLE(XINPUT, AS_HELP_STRING([--enable-xinput], -# [Build XInput support (default: yes)]), -# [XINPUT=$enableval],[XINPUT=yes]) -#AM_CONDITIONAL(XINPUT, test "x$XINPUT" = "xyes") -#if test "x$XINPUT" = "xyes" ; then -# AC_DEFINE(XINPUT,1,[Enable XInput support]) -#fi -# -#AC_ARG_ENABLE(XKB, AS_HELP_STRING([--enable-xkb], -# [Build XKB support (default: yes)]), -# [XKB=$enableval],[XKB=yes]) -#AM_CONDITIONAL(XKB, test "x$XKB" = "xyes") -#if test "x$XKB" = "xyes" ; then -# AC_DEFINE(XKB,1,[Enable XKB support]) -#fi - AC_ARG_WITH(xorg-module-dir, AC_HELP_STRING([--with-xorg-module-dir=DIR], [Default xorg module directory [[default=$libdir/xorg/modules]]]), commit f8bd425aeff224b01bede7ec4b4731132de1a1bd Author: Peter Hutterer <peter.hutte...@who-t.net> Date: Wed Jul 8 14:51:17 2009 +1000 Replace changelog command with CHANGELOG_CMD from m4 macros. Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> diff --git a/Makefile.am b/Makefile.am index 4f9559c..061da14 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,6 +28,6 @@ MAINTAINERCLEANFILES = ChangeLog .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 --git a/configure.ac b/configure.ac index ecb863d..b9efc24 100644 --- a/configure.ac +++ b/configure.ac @@ -35,12 +35,16 @@ AM_MAINTAINER_MODE DRIVER_NAME=void 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"]) @@ -88,5 +92,6 @@ AC_HEADER_STDC XORG_MANPAGE_SECTIONS XORG_RELEASE_VERSION +XORG_CHANGELOG AC_OUTPUT([Makefile src/Makefile man/Makefile]) commit fb5ef37927c9c440c0ded515cea6ccaca418d00b Author: Peter Hutterer <peter.hutte...@who-t.net> Date: Fri Jun 19 08:29:59 2009 +1000 Remove obsolete chunk, focus/key class is added by InitKeyboardDeviceStruct. Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> diff --git a/src/void.c b/src/void.c index 9d49308..aeed18d 100644 --- a/src/void.c +++ b/src/void.c @@ -215,18 +215,6 @@ xf86VoidControlProc(DeviceIntPtr device, int what) ErrorF("unable to allocate Button class device\n"); return !Success; } - -/* - if (InitFocusClassDeviceStruct(device) == FALSE) { - ErrorF("unable to init Focus class device\n"); - return !Success; - } - - if (InitKeyClassDeviceStruct(device, &void_keysyms, NULL) == FALSE) { - ErrorF("unable to init key class device\n"); - return !Success; - } -*/ #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 5 memset(&rmlvo, 0, sizeof(XkbRMLVOSet)); commit 1c549f65bdcb735f45000d88ec5e6016fe00b72d Author: Peter Hutterer <peter.hutte...@who-t.net> Date: Fri Jun 19 08:38:14 2009 +1000 Adjust for ABI_XINPUT_VERSION >= 7 diff --git a/src/void.c b/src/void.c index ce005d0..9d49308 100644 --- a/src/void.c +++ b/src/void.c @@ -52,6 +52,11 @@ #include <xf86Module.h> #endif +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 +#include <X11/Xatom.h> +#include <xserver-properties.h> +#endif + #define MAXBUTTONS 3 /****************************************************************************** @@ -178,7 +183,18 @@ xf86VoidControlProc(DeviceIntPtr device, int what) XkbRMLVOSet rmlvo; #endif Bool result; - +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 + Atom btn_labels[MAXBUTTONS] = {0}; + Atom axes_labels[2] = {0}; + + axes_labels[0] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_X); + axes_labels[1] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_Y); + + btn_labels[0] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_LEFT); + btn_labels[1] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_MIDDLE); + btn_labels[2] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_RIGHT); +#endif + pInfo = device->public.devicePrivate; switch (what) @@ -192,6 +208,9 @@ xf86VoidControlProc(DeviceIntPtr device, int what) if (InitButtonClassDeviceStruct(device, MAXBUTTONS, +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 + btn_labels, +#endif map) == FALSE) { ErrorF("unable to allocate Button class device\n"); -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1pczhm-0003wv...@alioth.debian.org