summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* configure.ac: libinput 0.70.7.0Peter Hutterer2014-12-051-2/+2
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Split libinput-util into a noinst helper libraryPeter Hutterer2014-12-051-1/+1
| | | | | | | | | | | | | | | | Fixes distcheck (automake 1.14.1) make[2]: Entering directory '....../libinput-0.7.0/_build/test' Makefile:926: ../src/.deps/libinput-util.Plo: No such file or directory make[2]: *** No rule to make target '../src/.deps/libinput-util.Plo'. Stop. make[2]: Leaving directory '....../libinput/libinput-0.7.0/_build/test' Makefile:412: recipe for target 'distclean-recursive' failed That was the only place we used subdir objects, so we can drop it from configure now. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
* configure.ac: libinput 0.60.6.0Jonas Ådahl2014-09-111-2/+2
| | | | Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
* build: symbol ck_assert_ptr_ne requires check-0.9.10Jan Engelhardt2014-09-111-1/+1
| | | | | | | | openSUSE 12.3 ships with check-0.9.9 and subsequently fails to build the tests. Change the call to look for check >= 0.9.10 where that symbol is available. Signed-off-by: Jan Engelhardt <jengelh@inai.de>
* configure.ac: libinput 0.50.5.0Jonas Ådahl2014-07-221-2/+2
| | | | Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
* configure.ac: Add subdir-objects to AM_INIT_AUTOMAKE paramatersJonas Ådahl2014-07-151-1/+1
| | | | | | | | | | Silences a warning when running autogen.sh. This also adds a work-around for a bug in automake <https://lists.gnu.org/archive/html/bug-automake/2014-01/msg00005.html> replacing $(top_srcdir) with ../ in test/Makefile.am. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
* configure: print a summary of the build optionsPeter Hutterer2014-07-031-0/+9
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add -lrt to the libsPeter Hutterer2014-07-031-0/+1
| | | | | | Needed for clock_gettime() Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* configure: check for -lm through AC_CHECK_LIBPeter Hutterer2014-07-031-0/+1
| | | | | | Saves us from manually appending it everywhere Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* configure.ac: libinput 0.40.4.0Peter Hutterer2014-06-251-2/+2
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: add a tool for GUI-based debuggingPeter Hutterer2014-06-231-0/+15
| | | | | | | | Looking at debugging output is nice but not useful when testing for the feel of a device. Add a tool that presents a canvas and draws the various events onto it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* test: silence compiler warning for C++ build testPeter Hutterer2014-06-101-1/+3
| | | | | | | | | | | | cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] Since gcc also complains about adding -Wno-strict-prototypes we have to handle the two separately. A side-effect here: now that we promote the GCC_CFLAGS to AM_CFLAGS, litest.la is built with the correct CFLAGS too. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
* configure.ac: libinput 0.30.3.0Jonas Ådahl2014-06-091-2/+2
| | | | Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
* configure: simplify a conditionPeter Hutterer2014-05-301-3/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* configure.ac: libinput 0.20.2.0Jonas Ådahl2014-05-221-2/+2
| | | | | | Bump the libinput version and the libtool version. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
* configure.ac: Add libtool versioning setting to configure.acJonas Ådahl2014-05-221-0/+11
| | | | | | | Add the explanatory description of the version components from libevdev as well. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
* test: automatically run the tests against valgrind for leaksPeter Hutterer2014-04-101-2/+7
| | | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
* configure.ac: Always check for C++ compilerJonas Ådahl2014-03-291-3/+1
| | | | | | | | | Even though libinput uses no C++, it should be supported to include libinput.h from C++. Therefore a build test ensuring this possibility exist. However, since we can not conditionally invoke AC_PROG_CXX in configure.ac just do it always. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
* test: Add include from C++ build testJonas Ådahl2014-03-291-0/+3
|
* configure.ac: Bump to 0.1.00.1.0Jonas Ådahl2014-02-261-2/+2
| | | | Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
* configure.ac: Update URLsJonas Ådahl2014-02-261-2/+2
| | | | Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
* Hook up libevdev as backendPeter Hutterer2014-02-241-5/+2
| | | | | | | | | | | | | libevdev wraps the various peculiarities of the evdev kernel API into a type-safe API. It also buffers the device so checking for specific features at a later time is easier than re-issuing the ioctls. Plus, it gives us almost free support for SYN_DROPPED events (in the following patch). This patch switches all the bit checks over to libevdev and leaves the event processing as-is. Makes it easier to review. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
* tools: add a tool for basic event debuggingPeter Hutterer2014-01-311-1/+2
| | | | | | | | | | | | | | | | | | | Simply prints the various events to make it easier to check what's coming out of libinput. Works for --udev (the default) or for --device /dev/input/event0. Example output: event7 DEVICE_ADDED seat0 default event8 DEVICE_ADDED seat0 default event4 POINTER_BUTTON +1.35s 272 pressed event5 POINTER_MOTION +2.31s -3.00/ 2.00 Time is displayed relative to the starting time. Note: statically linked for easier debugging, but we don't distribute it (yet) anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
* Add a device test suitePeter Hutterer2014-01-151-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A rather large commit, copied from a similar (almost identical) suite in libtouchpad and ported for libinput. The goal here is to make testing for various devices easy, so the litest ("libinput test") wrappers do that. The idea is that each device has some features, and tests are likely to exercise some features or won't work with other features. Each test case takes a list of required features and a list of excluded features. The test suite will create a new test case for each device in the suite that matches that set. For example, the set of required LITEST_TOUCHPAD, excluded LITEST_BUTTON would run on clickpads only, not on touchpads with buttons. check supports suites and test cases, both named. We wrap that so that each named set of cases we add are a test suite, with the set of devices being the test cases. i.e. litest_add("foo:bar", some_test_function, LITEST_ANY, LITEST_ANY); adds a suite named "foo:bar" and test cases for both devices given, with their shortnames as test case name, resulting in: "foo:bar", "trackpoint" "foo:bar", "clickpad" ... Multiple test functions can be added to a suite. For tests without a device requirement there is litest_add_no_device_test(...). The environment variables CK_RUN_SUITE and CK_RUN_CASE can be used to narrow the set of test cases. The test suite detects when run inside a debugger and disables fork mode (the default). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add the framework for a test suitePeter Hutterer2014-01-101-1/+9
| | | | | | Just the scaffolding, no actual tests just yet Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* configure: require c99Peter Hutterer2013-12-151-1/+1
| | | | | | This enables a few nice things that gcc would otherwise not allow. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* configure: add libudev dependencyPeter Hutterer2013-12-151-0/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* doc: hook up doxygen to generate the public API documentationPeter Hutterer2013-12-071-0/+11
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Introduce libinput object managing all input dataJonas Ådahl2013-11-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of having the user manage added and removed fd's as well as the fd used for creating evdev devices, introduce a libinput object that itself has an epoll fd. The user no longer manages multiple fd's per libinput instance, but instead handles one fd, dispatches libinput when data is available, then reading events using libinput_get_event(). libinput_event's are now per libinstance, but divided into categories. So far the only category is device events. Device events are categorized by the presence of a non-NULL device pointer in the event. The current API usage should look like: struct libinput libinput = ...; struct libinput_event *event; if (libinput_dispatch(libinput) != 0) return -1; while ((event = libinput_get_event(libinput))) { if (event->device) process_device_event(event); free(event); } Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
* Port evdev code to be used as a shared libraryJonas Ådahl2013-11-121-0/+53
This commit introduces build script configuration for building a shared library 'libinput.so' containing the evdev input device functionality from weston. evdev.c, evdev.h and evdev-touchpad.c are ported to not use the data structures and API in weston and libwayland-server in order to minimize dependencies. The API of filter.c and filter.h are renamed to not include the 'weston_' prefix. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>