| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Squashes the warning about the deprecated set-output, see
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
|
|
|
| |
Node 12 is deprecated so let's switch to the newer version
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
|
|
|
|
|
|
|
|
| |
Multiple artifacts with the same name only work if they're in the same
job. We use a matrix here, so our resulting artifact is simply whichever
job finished last.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
| |
The current 10.15 is about to be deprecated,
see https://github.com/vmactions/freebsd-vm/issues/50
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
| |
See https://github.com/linuxwacom/libwacom/pull/511#issuecomment-1198782050
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
FreeBSD doesn't support /latest and /quarterly package repos on EOL
versions. 13.0 reaches EOL on 2022-08-31, so avoid CI breakage.
|
|
|
|
|
|
|
| |
pip now pulls down meson 0.62.1 with this issue fixed, so let's revert
this.
This reverts commit 7ff829e07622bb01daaad643f981d29e878a063a.
|
|
|
|
|
|
|
|
|
| |
0.62.0 fails meson dist with a python complaint, which has been fixed
upstream. But until pip pulls down a fixed version, let's pin meson.
See issue https://github.com/mesonbuild/meson/issues/10181
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a leftover from autotools builds, meson uses the warning_level
option for this. The net result of our CFLAGS being appended was this
sequence:
-Wall -Wextra -Wno-foo -Wall -Wextra
The second set of -Wall -Wextra undid all the -Wno-foo we carefully
selected in meson.build - at least with clang, possibly with gcc too.
This means we can now drop -Wno-error=unused-parameter because that's
already disabled in meson.build.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
| |
Compiler issues are easier to debug in a pipeline when you see the
actual command.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
And use macos-10.15 as requested in the README
|
|
|
|
|
|
|
|
|
| |
This is a simple grep only, we don't need anything fancier since the
main goal here is to have the CI alert us that the sysinfo is missing.
Fixes #348
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
| |
|
|
|
|
|
|
|
| |
This allows us to drop the .gitignore file as well since meson doesn't
dirty the git tree.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
| |
meson setup takes a srcdir argument, so let's use that instead
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
| |
Fixes #102
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Let's output something that is both human- and machine-readable. This makes
it easier to search for specific devices with YAML parsers, e.g. to select all
bluetooth devices one could use:
$ libwacom-list-devices | yq '.devices[] | select(.bus == "bluetooth") | .name'
Output for list-devices is now:
devices:
- { bus: 'i2c', vid: '0x056a', pid: '0x5169', name: 'Wacom ISDv4 5169' }
...
Output for list-local-devices is now for example:
devices:
- name: 'Wacom Intuos Pro M'
bus: 'usb'
vid: '0x056a'
pid: '0x0357'
nodes:
- /dev/input/event24
- /dev/input/event23
- /dev/input/event22
Output for list-compatible-stylis is now for example:
- name: 'ISDv4 0163'
styli:
- { id: '0x1', name: 'AES Pen' }
- { id: '0x11', name: 'AES Pen' }
- { id: '0x19', name: 'AES Pen' }
Note that as shown above, all hex numbers are encoded as strings. This
prevents automatic conversion to decimal when using yq or other yaml
formatters since the final result of the processing is almost always for human
consumption (and thus needs the hex codes).
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
| |
Apparently that file is no longer there, so let's hope things work without the
hack.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See #379, there is a use-case for overriding tablet files with existing
matches. HUION devices re-use USB IDs but apparently also change those IDs
within the same product line - causing clashes with other devices.
Right now our duplicate detection prevents any tablet file to have the same
match as another one, so a user would have to change two files to get the
right match - the one for the device needs the match added and the wrong
tablet file needs the match removed.
Fix this by allowing duplicate files across data directories and setting /etc
as preferred: it's now possible to drop a .tablet file into /etc/libwacom and
have that override any matching file from /usr/share.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
| |
autogen.sh is the script we use, but the build system is referred to as
"autotools".
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
| |
Now that we have custom actions to install and build (see c559076848b)
the duplications aren't quite as bad anymore so it's better to have a separate
job than mixing it in with the normal build job through custom handling of the
meson options.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
| |
Looks better than just using the filename
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Build it twice, once as list-devices, once as libwacom-list-devices. The
former uses the source tree's data files, the latter the installed data files.
Having this as installed tools makes it easier to debug situations where it's
not clear whether the data file is picked up correctly or whether it's not
applied correctly to the device. It also makes it easier to figure out "is
this device supported by my libwacom version".
Fixes #367
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes the default output format to a one-line format which is more
useful in most cases anyway. Example output:
usb:056a:5000:Wacom ISDv4 5000
usb:056a:5002:Wacom ISDv4 5002
usb:056a:5010:Wacom ISDv4 5010
usb:056a:503e:Wacom ISDv4 503E
usb:056a:503f:Wacom ISDv4 503F
usb:056a:5040:Wacom ISDv4 5040
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
| |
* CI: unhardcode pip and install python3 symlink
FreeBSD only builds py-* packages for default Python version
Once PYTHON_DEFAULT is bumped to 3.8, py37-pip will go missing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Two github actions are added: pkginstall and meson. They can be trigged with
uses: in the CI jobs and standardize the package installs and meson setup
jobs. This cuts down on duplication and in theory the same actions can be used
by xf86-input-wacom later.
A few noteworthy behaviors:
- the postgres package repo has to be disabled, it causes random CI failures
with a 404
- the precmd approach is a bit weird but it's the easiest way to use sudo on
demand.
- every run: command starts a new shell, so we can't easily export variables
between the various steps
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
| |
freebsd-vm@v0.0.7 uses FreeBSD 12.1 which has reached EOL on 2021-01-31. FreeBSD Project doesn't keep old packages for /latest and /quarterly. Once 12.2 packages are built there would be none for 12.1 except for /release_1 which is more than 1 year old.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To add a new .tablet file, a user would have to add that file to /usr/share.
This location may be read-only on some systems, and any file there will
conflict with files provided by the distribution package. In the best case,
the user's file will be overwritten on update, in the worst case a file name
change leaves both files in place, causing conflicts.
The traditional approach is to have distribution-provided files in /usr and
host-specific packages in /etc, so let's do the same here: add /etc/libwacom
as default lookup path for .tablet and .stylus files.
This requires a change in the file loading: where a directory does not exist
we count it as a non-failure and continue.
In the CI, we have a set of jobs that split the database in various ways
across /usr and /etc. Then we compare the device list before/after the split
and expect them to be the same.
Fixes #327
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
| |
Otherwise we are trying to pull down old packages and failing with 404s
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
| |
Only test right now is the udev rules test which requires root, so we're
running pytest but skipping all tests. Oh well.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
| |
Main motivation here: the python-libevdev needs a newer libevdev than is
available in 18.04
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Travis CI is about to severely limit the free tiers. Specifically, we would
get 1000 minutes (which at current use would last us a few months) but once
they're up, we have to request more on a case-by-case basis.
This is not workable.
Switch to GitHub actions instead. This patch convers the autogen, meson and
build-from-tarball parts over.
It does **not** provide:
- ppc64le
- FreeBSD
- coverity
In the ppc64le and FreeBSD case I don't know how how to get those working.
There doesn't seem to be any available runners for either of those.
Coverity is just a matter of porting from travis to the github action syntax.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
If the tablet doesn't work, libwacom is the wrong place to file a bug report
for. Use an issue template for this purpose to point users to the right
repositories.
Likewise for new tablet support, let's make the user fill in the bits we'll
need the most.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|