88 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
691582b022 configure.ac: tiny formatting cleanup
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-31 13:02:03 +01:00
Enrico Weigelt, metux IT consult
1770c366dd configure.ac: drop AC_USE_SYSTEM_EXTENSIONS
we don't (and don't want to) rely on system specific language extensions.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-31 12:48:48 +01:00
Enrico Weigelt, metux IT consult
5b7b873dfa configure.ac: increase minimum xserver version to 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-19 16:00:03 +01:00
Enrico Weigelt, metux IT consult
c7e287c2a7 release 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 18:38:57 +01:00
Enrico Weigelt, metux IT consult
89d7cf603d configure.ac: drop obsolete XORG_WITH_LINT
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 17:52:31 +01:00
Enrico Weigelt, metux IT consult
34763e2943 drop xorg-mouse.pc
It's not a library that anything compiles against, so no need for
for pkgconfig descriptors.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 17:52:28 +01:00
Enrico Weigelt, metux IT consult
90489352dc configure.ac: replace DRIVER_NAME symbol by actual name
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 12:59:03 +01:00
Enrico Weigelt, metux IT consult
5f530ddedb release 1.9.6
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 12:27:53 +01:00
Enrico Weigelt, metux IT consult
dbbdaa407a configure.ac: fix package name and issue tracker URL
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 12:24:54 +01:00
Enrico Weigelt, metux IT consult
c4dfa6803a drop compat for ancient xserver versions
We're relying on at least 1.18 now.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-27 19:58:27 +01:00
b-aaz
762d7650df configure: Automatically detect the default xorg-module-dir.
The module directory has changed to a per ABI folder in the xlibre-xserver.
Now the default value of `xorg-module-dir` will be detected from the `moduledir` variable in xorg-server.pc.

Signed-off-by: b-aaz <b-aazbsd.proton.me>
2025-07-29 17:33:12 +02:00
stefan11111
ba4c235867 bring back linux support
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2025-06-30 15:35:06 +02:00
Alan Coopersmith
b6d147fb53 Make switch fallthrough markers compatible with clang and C23
Uses _X_FALLTHROUGH from xproto 7.0.34 if available,
local fallback if xproto is older than that.

Clears warnings from clang 19.1.7 of the form:

mouse.c:1219:17: warning: unannotated fall-through between switch labels
 [-Wimplicit-fallthrough]
 1219 |                 default:
      |                 ^
mouse.c:1219:17: note: insert '[[fallthrough]];' to silence this warning
 1219 |                 default:
      |                 ^
      |                 [[fallthrough]];
mouse.c:1219:17: note: insert 'break;' to avoid fall-through
 1219 |                 default:
      |                 ^
      |                 break;

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-mouse/-/merge_requests/23>
2025-05-24 14:43:20 -07:00
Enrico Weigelt, metux IT consult
d719d0588c drop Linux support
Since the standard API on Linux is evdev (and we've got evdev and
libinput drivers for that), there's probably no need for using this
driver on Linux anymore. So, we can drop Linux support here.

Making the build fail on Linux, similar to xf86-input-keyboard.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-mouse/-/merge_requests/19>
2025-04-14 11:09:35 +02:00
Alan Coopersmith
d2c6c6380e Raise required xserver version from 1.7 to 1.10 (ABI_XINPUT_VERSION 12.2)
Xserver 1.10.0 was released in Feb. 2011

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-mouse/-/merge_requests/11>
2024-05-12 23:55:10 +00:00
Alan Coopersmith
93396fdfb2 configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008,
so it's time to rely on it.

Clears autoconf warnings:

configure.ac:39: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:39: You should run autoupdate.
aclocal.m4:3465: AC_PROG_LIBTOOL is expanded from...
configure.ac:39: the top level

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-12-02 14:53:50 -08:00
Alan Coopersmith
f59e8cb5b4 xf86-input-mouse 1.9.5
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-05-04 17:17:54 -07:00
Alan Coopersmith
ecd043f1de xf86-input-mouse 1.9.4
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-11-01 19:38:00 -07:00
Alan Coopersmith
29456a2ad3 configure: check for timingsafe_memcmp
Not needed by mouse driver, but quiets warnings from xorg server headers:

In file included from /usr/include/xorg/misc.h:117:0,
                 from /usr/include/xorg/xf86str.h:37,
                 from /usr/include/xorg/xf86.h:44,
                 from mouse.c:57:
/usr/include/xorg/os.h:595:1: warning: redundant redeclaration of ‘timingsafe_memcmp’ [-Wredundant-decls]
 timingsafe_memcmp(const void *b1, const void *b2, size_t len);
 ^~~~~~~~~~~~~~~~~
In file included from mouse.c:52:0:
/usr/include/string.h:235:12: note: previous declaration of ‘timingsafe_memcmp’ was here
 extern int timingsafe_memcmp(const void *s1, const void *s2, size_t n);
            ^~~~~~~~~~~~~~~~~

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-17 10:09:00 -07:00
Alan Coopersmith
9255be3c68 Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-16 12:30:22 -08:00
Alan Coopersmith
03092c520b Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-25 12:48:28 -08:00
Matt Turner
cfde5e9f34 xf86-input-mouse 1.9.3
Signed-off-by: Matt Turner <mattst88@gmail.com>
2018-06-18 21:35:56 -07:00
Peter Hutterer
9d6c38eae4 mouse 1.9.2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-11-17 14:35:47 +10:00
Alan Coopersmith
6886084b19 xf86-input-mouse 1.9.1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-08-11 23:36:23 -07:00
Patrik Jakobsson
ea504b225f Add AC_SYSTEM_EXTENSIONS to expose asprintf with GNU libc
As required by the following commit:
commit 8c75f6e1c1
Use asprintf (or Xprintf on old servers) instead of strdup+sprintf

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-01-05 10:26:32 -08:00
Alan Coopersmith
8c75f6e1c1 Use asprintf (or Xprintf on old servers) instead of strdup+sprintf
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-11-03 10:48:07 -08:00
Peter Hutterer
35cae8f435 mouse 1.9.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-03-27 10:59:05 +10:00
Adam Jackson
8e74b1db7b configure: Drop AM_MAINTAINER_MODE
Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-16 13:11:11 -05:00
Peter Hutterer
29dbd85c46 xf86-input-mouse 1.8.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-07-31 09:39:47 +10:00
Peter Hutterer
5748979008 Rename xf86-mouse.pc to xorg-mouse.pc
Other input drivers already shipping pkgconfig files use this naming scheme
and since the 1.8 release didn't install the file anyway, renaming is still
acceptable at this point.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-07-31 09:06:41 +10:00
Alan Coopersmith
3c0c022672 xf86-input-mouse 1.8.0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-07-26 23:10:47 -07:00
Alan Coopersmith
a2494e6fe3 Raise bar for xorg-server to 1.7 for XINPUT ABI 7
Not all of the button label settings were wrapped in ABI #ifdefs,
so just drop all #ifdefs for GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 7

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2012-07-24 18:53:33 -07:00
Alan Coopersmith
1816cd9198 Add settable properties for middle mouse button emulation
Based on evdev's similar properties, including using the name "middle"
button, to avoid confusion with evdev's 3rd button emulation for
emulating the right button on a single button mouse.

Allows manual enable & disable at runtime.

Exports new xf86-mouse.pc & xf86-mouse-properties.h for property name
definitions.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Alexandr Shadchin <alexandr.shadchin@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-04-30 20:15:56 -07:00
Alan Coopersmith
80d724d13a xf86-input-mouse 1.7.2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-03-15 23:34:21 -07:00
Alan Coopersmith
9f969bd4d1 xf86-input-mouse 1.7.1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-07-05 09:09:26 -07:00
Peter Hutterer
a07c353f01 mouse 1.7.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-03-10 08:32:23 +10:00
Peter Hutterer
2e507df670 mouse 1.6.99.901
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-02-21 10:50:39 +10:00
Peter Hutterer
73bb42e100 Bump to 1.6.99
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-11-25 11:35:29 +10:00
Alan Coopersmith
6d6c24768b xf86-input-mouse 1.6.0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-08 23:11:19 -07:00
Gaetan Nadon
b714882b02 config: use AC_PROG_INSTALL now supplied by XORG_DEFAULT_OPTIONS
The existing statement can now be removed from the configuration file.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-27 19:16:21 -04:00
Gaetan Nadon
1188152fee 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
The existing statement can now be removed from the configuration file.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-27 19:16:21 -04:00
Gaetan Nadon
9a9344e66d README: keep the text version of README, discard the sgml version
The linuxdoc doc tool is deprecated.
README files are exclusively text files.
The file had not been updated for 5 years.

Reviewed-by: Rémi Cardona <remi@gentoo.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-16 16:27:42 -04:00
Gaetan Nadon
9711c050e6 config: fix warnings, m4 quoting and layout
Fix some m4 quoting
Fix some autoconf warnings
Regroup statements per section
Add comments

Reviewed-by: Rémi Cardona <remi@gentoo.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-16 16:27:42 -04:00
Gaetan Nadon
86ddfe7702 config: Upgrade X.Org macros to 1.4 for INSTALL file copying
Reviewed-by: Rémi Cardona <remi@gentoo.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-16 16:27:41 -04:00
Gaetan Nadon
349db3f68d 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.

Reviewed-by: Rémi Cardona <remi@gentoo.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-16 16:27:41 -04:00
Gaetan Nadon
59ace3b6fd config: remove unrequired AC_HEADER_STDC
Autoconf says:
"This macro is obsolescent, as current systems have conforming
header files. New programs need not use this macro".

Reviewed-by: Rémi Cardona <remi@gentoo.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-16 16:27:28 -04:00
Gaetan Nadon
540f1d8826 config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Regroup AC statements at the top.

Reviewed-by: Rémi Cardona <remi@gentoo.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-16 16:27:28 -04:00
Gaetan Nadon
27d00be1f8 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

Reviewed-by: Rémi Cardona <remi@gentoo.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-16 16:27:28 -04:00
Gaetan Nadon
f76449cbe3 config: optional extension check for inputproto not required
The check should be in PKG_CHECK_MODULES permanently.

The XORG_DRIVER_CHECK_EXT will add inputproto to PKG_CHECK_MODULES
only if the extension is available. By definition, this extension
is an integral part of the server and is always present.

The server always sets XINPUT macro to 1.
The conditional code was removed

Reviewed-by: Rémi Cardona <remi@gentoo.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-16 16:27:28 -04:00
Gaetan Nadon
a4dfc92927 config: remove extension check for unused RANDR extension
The randr protocol is not used, no randr*.h are included.

Reviewed-by: Rémi Cardona <remi@gentoo.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-16 16:26:42 -04:00