| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Jason Gerecke <killertofu@gmail.com>
|
|
|
|
| |
Signed-off-by: Jason Gerecke <killertofu@gmail.com>
|
|
|
|
| |
Signed-off-by: Jason Gerecke <killertofu@gmail.com>
|
|
|
|
| |
Signed-off-by: Jason Gerecke <killertofu@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The NVIDIA binary driver doesn't support RandR 1.2 but it does support
Xinerama. Due to a server bug, we still get the current server's RandR
version back when we query, so we need to check to the binary
driver-specific NV-CONTROL extension first. If that or a RandR < 1.2
version is present fall back to Xinerama if we need to.
User commands:
xsetwacom set "device name" MapToOutput HEAD-0
xsetwacom set "device name" MapToOutput HEAD-1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Jason Gerecke <killertofu@gmail.com>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>
|
|
|
|
|
|
|
|
| |
We weren't really using any of the glib-specific stuff anyway, so just
replace g_assert with normal assert and drop the dependency.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
New release versioning scheme until we settle on a stable 1.0.
- 0.x.99 is the version number in-between releases
- 0.x.99.901 is the first RC
- 0.x.99.902 is the second RC
- 0.x+1.0 is next the release
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
|
| |
The release number in the main page will always be in sync.
This will allow archiving the API documentation for each release,
enabling multiple versions to coexist on the web.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
| |
Add Makefile.am and docygen.conf with some customization
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This uses glib's testing framework provided glib-devel was available at
configure time (same as the X server's testing framework).
How this works:
The wacom driver is recompiled for the testing framework and linked into the
wacom-tests binary (there's a warning about that but ignore that). Since the
.so uses a number of symbols from the Xorg binary, these are provided as
stubs in fake-symbols.c. Additional binaries can be added through the
check_PROGRAMS automake variable.
The driver will be rebuild without static symbols for the test, allowing
each function call to be tested.
To run the tests, run 'make check'.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>
|
|
|
|
|
|
|
|
| |
To enable asprintf, _GNU_SOURCE must be defined before including stdio.h.
Use AC_USE_SYSTEM_EXTENSIONS to define it for us in config.h
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem introduced in commit 8f1dd625e00c182ec1b6a92b277214d1b8f88986.
# Store the list of server defined optional extensions in REQUIRED_MODULES
XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
The role of the driver check macro is to supply the name of optional extension
to the PKG_CHECK_MODULES through the REQUIRED_MODULES variable.
By reversing the order of the statements the variable is empty.
The real fix would be to have 2 PKG_CHECK_MODULES statements, one to ensure
the server is present at the correct level and one to check the dependencies.
This won't be necessary as the RANDR extension is not optional,
it is always present. It can simply go next to the others.
All the xorg drivers have this flaw.
This undetected missing randr ext problem only happens with server 1.8 or prior,
as a new Requires.private statement has been added to server 1.9.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
| |
If a distro doesn't want it, they can always disable it. Most of us building
from source definitely want it enabled.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provides a new xsetwacom parameter to restrict the tablet to a given RandR
1.2 output. The output has to be active. The command
xsetwacom set <device name> "MapToOutput" VGA1
maps the coordinates of the tablet to the given output. This is a once-off
effect only. xsetwacom does not track the output for reconfiguration. If the
output is reconfigured, re-running the command will re-configure the tablet
with the new configuration. A list of outputs can be obtained with e.g.
xrandr.
If used together with rotation, the tablet must be rotated before being
mapped to the output.
Requires the "Coordinate Transformation Matrix" property to be present and
handled by the X server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reported by Pablo Castellano, patch modified for current tree. From the
tracker:
"It was crashing like this if xserver-xorg-dev wasn't found:
./configure: line 11635: syntax error near unexpected token `XINPUT,'
./configure: line 11635: `XORG_DRIVER_CHECK_EXT(XINPUT, inputproto)'
Now it's shown a message saying that the dependency is not found,
which is more intuitive."
https://sourceforge.net/tracker/?func=detail&aid=2960774&group_id=69596&atid=525126
Reported-by: Pablo Castellano <pablog.ubuntu@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
| |
The support statement is for server versions 1.7 and above.
Builders save time when a problem is detected early.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Acked-by: Ping Cheng <pinglinux@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
| |
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
| |
Fix warning for AC_HELP_STRING
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
|
|
|
| |
configdir is where the config file is installed
dist_config_DATA lists the filename
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
|
|
|
|
| |
If a user provides a path in --with-xorg-conf-dir,
the configuartion assumes the server does have a config path which may
not be the case.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
|
|
|
| |
Further analysis shows that these checks suggested by Autotools
are not relevant to the platforms supported by xorg.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
|
|
| |
These protocols are required to compile the driver.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The xf86.h file contains external declarations specific to RANDR
If this extension is defined (installed) wacom will not compile
if randrproto is not installed under the same prefix.
Because this is an optional extension, XORG_DRIVER_CHECK_EXT
must be used.
move inputproto check to PKG_CHECK_MODULES:
The XORG_DRIVER_CHECK_EXT macro conditionally adds inputproto
to PKG_CHECK_MODULES if this extension is defined in xorg-server.h.
It allows a module to use ifdef XINPUT if the extension is available.
In the case of inputproto, it is part of server and always defined.
In this module, the extension is required and not optional.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
|
|
|
|
| |
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.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
|
|
|
| |
It depends on util-macros 1.8
The existing statement can now be removed from the configuration file.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
|
|
|
|
|
| |
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
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
|
| |
Don't install the .fdi if we're using the xorg.conf dir.
Based on a patch from Julien Cristau <jcristau@debian.org>,
based on a patch by Peter Hutterer for xf86-input-synaptics.
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
| |
A hidden dependency on statement order was discovered.
The REQUIRE_MODULES variable was removed but needed.
Comments added to clarify the situation.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
Signed-off-by: Ron Lee <ron@debian.org>
|
|
|
|
|
|
|
|
| |
There are two separate targets for which config should not be mixed.
Follow-up from review.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
| |
AC_DISABLE_STATIC must be places before AC_PROG_LIBTOOL,
requirement which is not documented in libtool.
This will prevent the creation of src/.libs/wacom_drv.a
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
| |
No functional changes.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
|
|
| |
sdkdir in needed for other purposes.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
|
|
|
| |
This version matches the content of the configuration as it was before
this patch series.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
|
|
| |
Use AC_CONFIG_FILES
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
|
|
|
| |
As suggested by autoscan for this module. These will provide
default values if none defined on the system.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
|
|
| |
As suggested by Autoconf. Checked with SunCC compiler docs.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
|
|
|
| |
Autoconf: This macro is obsolescent, as current systems
have conforming header files.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|