Age | Commit message (Collapse) | Author |
|
It ensures library is installed and sets LIBS = -lm
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
The current conditional building of the apps was introduced by
commit 080caee95c46bb471d1442dcab246460cad8c7be due to optional
support properties. This is no longer an issue.
There are no longer any reason not to build these bona fide apps.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Fix some m4 quoting
Fix some autoconf warnings
Regroup statements per section
Add comments
Regroup xtst and recordproto (a prereq) flags together
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
The driver does not require inputproto package
The hunting for record.h is done only if libXtst is installed
AC_CHECK_HEADERS is used rather than checking for package versions
HAVE_PROPERTIES is no longer required
Normal config output:
checking for XI... yes
checking for XTST... yes
checking for X11/extensions/record.h... yes
Permutations of --enable-tools and dependencies:
build_tools libXi installed Result
----------- --------------- ---------
yes yes build tools
auto yes build tools
no yes skip build
yes no abort configuration
auto no warn and skip build
no no warn and skip build
Permutations of libXtst, record.h and recordproto
libXtst record.h recordproto syndaemon
installed installed installed using XRecord?
yes yes yes yes
yes no yes no
no no yes no
no yes yes no
no no no no
Other scenarios are possible where you have 2 different versions of
record.h installed in different $prefix locations. The order
of *_CFLAGS will determine which one gets picked first.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Reported-by: Gabor Z. Papp <gzp@papp.hu>
Signed-off-by: Gabor Z. Papp <gzp@papp.hu>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
-I$(top_srcdir)/include: required for synaptics.h and
synaptics-properties.h. The module has not yet been installed
so there is no copy in server sdkdir (unless old copy)
$(XTST_1_1_CFLAGS): required if record.h is provided by
libXtst in $(includedir)/X11/extensions.
$(RECORDPROTO_1_13_CFLAGS): required if record.h is provided by
recordproto in $(includedir)/X11/extensions.
-I$(sdkdir): required for xserver-properties.h
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Acked-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Header record.h is not found in X11/extensions because -I leading
to that directory is missing. I think it was accidently removed
when fixing the CFLAGS misuse in an earlier commit.
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
CFLAGS is a user variable.
Signed-off-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
The record.h header used to be in recordproto up to excluding 1.14, then
moved to libXtst. Check for both and enable it dependent on which version we
have.
This avoids build errors on setups where a user updated recordproto but not
libXtst.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Xavier Chantry <shiningxc@gmail.com>
|
|
Separate dependencies for driver and synclient/syndaemon.
Add option --enable-tools to explicitly build the tools (default: auto)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
By default, use the properties unless the -s flag is given. For -m and -h
imply SHM though.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Christoph Brill <egore911@egore911.de>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Christoph Brill <egore911@egore911.de>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
|
This reverts commit 641b26da531b38313ecc68badac1a3ccfd6fc7af.
As requested by Peter Hutterer and Henrik Rydberg.
|
|
This patch prevents the polling of the keyboard state. Instead it uses the
XRecord extension of the Xserver for an event triggered notification of key
events. Of course, there is a fallback to the polling when no XRecord
extension is found. This should finally stop complains of syndaemon
preventing good power saving.
Signed-off-by: Christoph Brill <egore911@egore911.de>
|
|
This just separates driver-internal stuff (synapticsstr.h) from external
stuff used for the SHM config.
|
|
|
|
Let's keep the driver source and the client program source separate.
|