summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* wacom 1.1.0xf86-input-wacom-1.1.0Peter Hutterer2022-07-141-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Enable additional compiler warnings by defaultJason Gerecke2022-02-221-2/+6
| | | | | | | Removes the two `-Wno-xxxx` directives from out default set of build flags enables several new warnings as well. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* Move -Wall and -Wextra from Github-only to default CFLAGSJason Gerecke2022-02-221-0/+2
| | | | | | | | | These two options were previously only being used by the Github runner. Lets move them to configure.ac / meson.build so that we encounter these warnings on our build system **before** pushing things to Github. The only thing Github should have is `-Werror` and friends. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* autotools: Use the same set of CFLAGS as Meson buildsJason Gerecke2022-02-221-0/+31
| | | | | | | | | When building with Meson, a number of CFLAGS are automatically used if supported by the compiler. Lets copy them over so that the same behavior will occur for autotools users. While we're at it, update the other target-specific flags to also better match Meson. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* wacom 1.0.0xf86-input-wacom-1.0.0Peter Hutterer2022-02-151-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* configure.ac: fix the check for unittestsPeter Hutterer2022-02-151-16/+8
| | | | | | | | | | Leftover from ad8de30. Because we now only have one thing to check, let's always check for dl and handle the special "auto" case based on the outcome of the dl check. Fixes #248 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* wacom 0.99.3xf86-input-wacom-0.99.3Peter Hutterer2022-02-111-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Drop the build system checks for -wrapPeter Hutterer2022-02-091-18/+0
| | | | | | No longer needed as of ff94040208c9da3411753e1ffe554e6c80b87dd7 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* wacom 0.99.2xf86-input-wacom-0.99.2Peter Hutterer2022-02-081-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* configure.ac: require C99Peter Hutterer2022-02-071-0/+2
| | | | | | | Because it is... checks year... 2022 and c99 is not exactly modern anymore anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Update configure.ac to point to our issue tracker if a unit test failsJason Gerecke2022-02-041-1/+1
| | | | Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* Replace our unit-test suite with something more magic and easierPeter Hutterer2022-02-041-0/+9
| | | | | | | | | | | | | | | | | | | | | The previous approach, written 11 years ago, relied on providing all symbols the driver needs as stubs (see fake-symbols.c). Most of these symbols just needed to be there so we could compile the test, they didn't actually get utilized by the tests. Dropping this and instead add something roughly similar to Rust: the test function can be in the same file as the source function. The TEST_CASE() macro uses __attribute__((section)) to push the test cases in custom ELF section. This section we can iterate on and call all tests one-by-one. The test runner only needs to dlopen + dlsym the driver module and run the entry point function. The test-suite part of this is minimal: tests can assert on failure and everything stops. Adding things like fnmatch for test case names is possible when/if we ever need it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* wacom 0.99.1xf86-input-wacom-0.99.1Peter Hutterer2022-02-011-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Enable subdir-objects to stop autotools from complainingPeter Hutterer2021-11-301-1/+1
| | | | | | | | | | test/../src/common.mk:3: warning: source file '$(top_srcdir)/src/wcmCommon.c' is in a subdirectory, test/../src/common.mk:3: but option 'subdir-objects' is disabled test/Makefile.am:2: 'test/../src/common.mk' included from here etc Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Require xserver 1.13Peter Hutterer2021-11-291-1/+1
| | | | | | | | Released 9 years ago and available in e.g. RHEL6.4 and later, this is plenty old an X server to support. ABI version 18.0 so we can get rid of most of our ifdefs. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add support for building the driver with mesonPeter Hutterer2021-11-291-0/+1
| | | | | | | | | | In addition to autotools, the driver can now be built with meson: meson setup builddir ninja -C builddir ninja install -C builddir Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Explicitly include the config-ver.h header filePeter Hutterer2021-11-291-1/+0
| | | | | | | Don't automagically append it to the bottom of config.h, let's be explicit. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Remove the doxygen bitsPeter Hutterer2021-11-291-3/+0
| | | | | | | | This hasn't been maintained in years, we don't consistently document things and the documentation has never been published anywhere useful. Let's just drop this. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Require xserver 1.10 as minimum versionPeter Hutterer2021-11-191-1/+1
| | | | | | | | Released in 2011 and available in RHEL6.2 and later, this should be conservative enough. It allows us to drop a bunch of code that requires older ABIs (anything ABI_XINPUT_VERSION < 12). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Remove trailing whitespacesPeter Hutterer2021-11-191-3/+3
| | | | | | sed -i 's/ *$//' $(git ls-files) Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* wacom 0.40.0xf86-input-wacom-0.40.0Jason Gerecke2021-02-031-1/+1
| | | | Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* wacom 0.39.0xf86-input-wacom-0.39.0Jason Gerecke2019-12-201-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* wacom 0.38.0xf86-input-wacom-0.38.0Jason Gerecke2019-10-141-1/+1
| | | | Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* wacom 0.37.99.1xf86-input-wacom-0.37.99.1Jason Gerecke2019-10-091-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* wacom 0.37.0xf86-input-wacom-0.37.0Aaron Armstrong Skomra2019-06-171-1/+1
| | | | Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com>
* wacom 0.36.1xf86-input-wacom-0.36.1Jason Gerecke2018-03-191-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* wacom 0.36.0xf86-input-wacom-0.36.0Jason Gerecke2018-01-221-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* wacom 0.35.99.1xf86-input-wacom-0.35.99.1Jason Gerecke2018-01-091-1/+1
|
* conf: Add preprobe fdi config to workaround EV_SW issues in HALJason Gerecke2018-01-041-0/+15
| | | | | | | | | | | | | | | | | | | | | | | The HAL daemon used by RHEL6/CentOS6 does not play nicely with input devices that advertise unsupported EV_SW events. Devices with such an event will fail in the middle of the probe process, preventing the X server from being able to hotplug the device. The SW_MUTE_DEVICE event used by the Cintiq Pro touchscreen is such an event. To work around this limitation, we can define an fdi configuration file which resets the "button.has_state" property prior to probe. Because HAL only runs the failing code when this property is true, the device is able to finish the probe process just as though it never had the unsupported switch in the first place. Resetting this property does prevent HAL from being able to monitor the switch state, but that is not considered a problem. Since HAL is long-since deprecated, it doesn't make sense to install this configuration file on systems which don't require it. This commit also adds logic to configure.ac so that only systems which still use HAL will install this file. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* Use git-version-gen for build-time version stringsJason Gerecke2017-12-151-0/+1
| | | | | | | | | | | | | | | Currently the driver uses macros like PACKAGE_VERSION whenever it needs to print out a version string. These macros are only updated whenever the autoconf.sh script is run, however. As a practical result, this means that the version information which is built into development versions of the driver is often inaccurate. To fix this, we define a new BUILD_VERSION macro which is updated whenever git reports a changed version number. In addition to having `xsetwacom -V` report the precise build, we also have the X log print out the build number to augment the MAJOR/MINOR/PATCH data that is normally printed. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* wacom 0.35.0xf86-input-wacom-0.35.0Jason Gerecke2017-06-261-1/+1
|
* wacom 0.34.99.1xf86-input-wacom-0.34.99.1Jason Gerecke2017-06-191-1/+1
| | | | Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* wacom 0.34.2xf86-input-wacom-0.34.2Peter Hutterer2017-03-091-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* wacom 0.34.1Peter Hutterer2017-03-091-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* wacom 0.34.0xf86-input-wacom-0.34.0Jason Gerecke2016-12-051-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* wacom 0.33.99.1xf86-input-wacom-0.33.99.1Jason Gerecke2016-11-181-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* wacom 0.33.0xf86-input-wacom-0.33.0Jason Gerecke2016-05-131-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* wacom 0.32.99.1xf86-input-wacom-0.32.99.1Jason Gerecke2016-05-041-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* wacom 0.32.0xf86-input-wacom-0.32.0Jason Gerecke2015-11-231-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* wacom 0.31.0xf86-input-wacom-0.31.0Jason Gerecke2015-08-171-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* wacom 0.30.99.1xf86-input-wacom-0.30.99.1Jason Gerecke2015-08-101-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* wacom 0.30.0xf86-input-wacom-0.30.0Jason Gerecke2015-06-091-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* wacom 0.29.99.1xf86-input-wacom-0.29.99.1Jason Gerecke2015-05-291-1/+1
| | | | Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* xsetwacom: Add ability to read args from stdin for fuzzingJason Gerecke2015-04-281-0/+6
| | | | | | | | | Add a new "--enable-fuzz-interface" configuration option which will cause xsetwacom to read NUL-separated arguments from stdin (for example: `echo -en 'list\0devices' | xsetwacom`). This makes it easier to plug into fuzzing software for debugging. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* wacom 0.29.0xf86-input-wacom-0.29.0Jason Gerecke2015-03-161-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* wacom 0.28.99.1xf86-input-wacom-0.28.99.1Jason Gerecke2015-03-051-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* wacom 0.28.0xf86-input-wacom-0.28.0Jason Gerecke2015-01-051-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* wacom 0.27.99.1xf86-input-wacom-0.27.99.1Jason Gerecke2014-12-221-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* wacom 0.27.0xf86-input-wacom-0.27.0Jason Gerecke2014-11-031-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>
* wacom 0.26.99.1xf86-input-wacom-0.26.99.1Jason Gerecke2014-10-271-1/+1
| | | | Signed-off-by: Jason Gerecke <killertofu@gmail.com>