summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-04-30gitlab CI: don't run MR pipelines in forksHEADmasterPeter Hutterer2-4/+8
Commit originally by Simon Ser in wayland/wayland-protocols!305. Currently our CI setup has a downside: for each push on a merge request, two pipelines are triggered. The first is triggered in the context of the forked repository, and the second is triggered in the context of the MR in the parent repository. Replace the workflow rules with the ones in the official docs [1], so that a branch pipeline isn't triggered when a MR exists for that branch. [1]: https://docs.gitlab.com/ee/ci/yaml/workflow.html#switch-between-branch-pipelines-and-merge-request-pipelines Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2024-03-21meson.build: remove superfluous double doxygen checkPeter Hutterer1-2/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2024-03-21meson.build: specify the include directory correctlyPeter Hutterer1-1/+3
If libevdev is used as subproject header lookup for libevdev.h fails because our build directory isn't correctly set as one of the include directories. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2024-03-21meson.build: declare the file list as suchPeter Hutterer1-3/+2
Not much of an effect but where libevdev is used as subproject those files are now correctly accessible. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2024-03-21meson.build: allow disabling building the various toolsPeter Hutterer2-28/+34
A bit of a niche case but this helps with embedding libevdev as static library when the tools don't matter. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2024-03-21gitlab CI: rebuild the imagesPeter Hutterer2-8/+8
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2024-03-21gitlab CI: drop Ubuntu 22.10Peter Hutterer2-40/+0
Repos are 404 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2024-03-21gitlab CI: drop unnecessary B2C_VERSIONPeter Hutterer2-2/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2024-03-21gitlab CI: update to the same b2c image libinput usesPeter Hutterer3-6/+6
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2024-03-21gitlab CI: remove the jobs for the scheduled forced rebuildPeter Hutterer2-81/+0
This scheduled pipeline no long runs, so let's drop this job. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2024-03-21gitlab CI: update to latest FedorasPeter Hutterer2-44/+44
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2024-03-21gitlab CI: update to latest template and use the ci-fairy imagePeter Hutterer2-46/+32
Makes life easier because we don't have to deal with the pip complaints. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-05-30CI: add a comment to the meson build helperPeter Hutterer1-0/+3
We now have an upstream for it so we can sync changes between projects. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-05-08CI: bump to new fedoras and ubuntusPeter Hutterer2-70/+70
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-05-07tools/publish-doc: enable pushing docs for specific tagsPeter Hutterer1-3/+29
Historically, I copied the docs on the server directly after pushing latest, but (especially with meson) it's a lot easier to just build that specific tag locally and rsync it to the correct target directory. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-05-07tools/publish-doc: build the docs with meson before synchingPeter Hutterer1-2/+6
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-05-08doc: update the ioctl list with missing ioctlsPeter Hutterer1-0/+8
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-05-08doc: remove duplicate doc entry for EVIOCSKEYCODEPeter Hutterer1-4/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-05-05libevdev 1.13.1libevdev-1.13.1Peter Hutterer2-2/+2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-04-20include: sync event codes with kernel 6.2Peter Hutterer2-0/+8
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-04-19test: Get the print mode from the CK_VERBOSITY environment variableEnric Balletbo i Serra1-1/+1
On a test run it only prints the summary and one message per failed test. While having this behaviour by default is nice it might be interesting in some case to have more information print. Make the print mode configurable from the environment variable CK_VERBOSITY, which can have the values "silent", "minimal", "normal" or "verbose" so we can have different outputs. $ sudo CK_VERBOSITY=verbose ./test-libevdev Running suite(s): libevdev init tests libevdev_has_event tests libevdev event tests 100%: Checks: 79, Failures: 0, Errors: 0 test-libevdev-init.c:23:P:test_new_device:test_new_device:0: Passed test-libevdev-init.c:28:P:test_free_device:test_free_device:0: Passed [ ... ] Note that the default print mode doesn't change after this patch. Signed-off-by: Enric Balletbo i Serra <eballetbo@redhat.com>
2023-03-15gitlab CI: add new workflow rulesPeter Hutterer2-0/+10
Required for pipelines to run after some infrastructure changes, see https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-02-15gitlab CI: bump to latest fedorasPeter Hutterer2-55/+55
The F37 update was delayed by https://github.com/systemd/systemd/pull/25941 which is now available in F37 as of v251.11 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-02-08CI: bump b2c and kernelBenjamin Tissoires2-5/+5
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
2023-01-13Include all include files in dist tarballsAlyssa Ross1-1/+1
Otherwise, the distribution tarballs will be generated based on what's in libevdev_la_SOURCES, which only includes the headers for the operating system the maintainer happens to be running "make dist" from. As a result of this, e.g. the 1.13.0 tarball only includes the headers for Linux, making the tarball unbuildable for FreeBSD. "meson dist" was already doing the right thing. Signed-off-by: Alyssa Ross <hi@alyssa.is>
2023-01-10gitlab CI: sync the meson-build.sh script with libinputPeter Hutterer1-3/+10
Pulls in the three libinput commits up to 31ecda70087 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-01-05gitlab CI: use b2c instead of qemuPeter Hutterer4-156/+149
This is copied from libinput's CI but as one large change rather than cherry-picking the process on how to get here. meson-build.sh is synched with libinput's version - it is a more generic version anyway. With this change we no longer require separate images for the qemu runs, our default image is qemu-capable and can be run in qemu via boot2container (b2c). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-01-05gitlab CI: pass the --no-suite to meson buildsPeter Hutterer2-2/+8
Only use the LIBEVDEV_SKIP_ROOT_TESTS env var in autotools where we need it, in meson we can use meson to control which tests we (don't) want to run. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-01-05gitlab CI: drop the ninja dist for every jobPeter Hutterer2-6/+2
Unlike autotools distcheck which ensures we didn't forget to add anything to the makefiles, ninja dist just zips up the git repo. It does run the tests though but without suite selection which is a problem for us here. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-01-05gitlab CI: skip the right tests in the tarball jobsPeter Hutterer2-6/+6
Use the new needs-uinput suite specifier for the meson build job, and use --no-tests for ninja dist in the autotools build job. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-01-05meson.build: add the tests that need uinput into a needs-uinput suitePeter Hutterer3-5/+11
This way we can skip it all by meson test --no-suite=needs-uinput Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-01-05gitlab CI: replace the meson-build.sh with the libinput onePeter Hutterer1-14/+43
The libinput one is more generic and expressive, taking arguments and whatnot. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-01-05gitlab CI: drop MESON_SKIP_TEST variablesPeter Hutterer2-6/+0
In the no-check:meson job, the ninja arg was "dist" so the test would be run as part of that anyway (and skipped, since we didn't have check). In the no-doxygen-check:meson job, the ninja arg was zero so the test would be skipped but since we don't have check we might as well just run it as empty test suite. And the same applies to the scan-build job, running the test shouldn't hurt here. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-01-05gitlab CI: drop the custom meson to junit conversion scriptPeter Hutterer4-138/+4
And always collect test logs, makes it easier to debug when things fail to go wrong Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-01-04test: drop the valgrind make check wrappers from autotoolsPeter Hutterer2-18/+2
We have meson with a proper test suite setup and this currently breaks the CI due to some Arch issues with glibc debuginfo packages. Let's just drop this so we don't run valgrind unconditionally. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-01-04gitlab CI: bump to newer UbuntusPeter Hutterer2-44/+44
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-01-04gitlab CI: bump to a newer version of the templatesPeter Hutterer2-2/+2
Required by the debian sid containers, otherwise we fail because of a missing /etc/apt/sources.list file. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-01-04gitlab CI: do not retry the qemu runsPeter Hutterer2-8/+0
See libinput commit fb4f4131a112201c86c510179cfc939fcfa8aece by Benjamin Tissoires Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-01-04gitlab CI: change an explicit Fedora to {{distro}}Peter Hutterer1-1/+1
See libinput commit 0d602e12a4b66d5b5f27d2a9fd9899d43cf128fe by Benjamin Tissoires Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-01-04gitlab CI: prettify the include of templatesPeter Hutterer2-21/+15
Identical to libinput commit c8c825289f1b7575ee10b849c04f5caa60483a7e by Benjamin Tissoires. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2022-10-20meson: Use proper type for bool objectilliliti1-1/+1
Fix invalid bool usage which violates official meson specification and thus breaks muon, an implementation of meson written in C. Signed-off-by: illiliti <illiliti@protonmail.com>
2022-08-16Correct documentZixian Liu1-1/+1
2022-08-08configure.ac: Update the bug report URL.Douglas R. Reno1-1/+1
While I was running the tests for libevdev on a system, I had a test failure, and it told me to report it to bugs.freedesktop.org. This project uses GitLab now, so update the URL. Signed-off-by: Douglas R. Reno <renodr@linuxfromscratch.org>
2022-08-02libevdev 1.13.0libevdev-1.13.0Peter Hutterer2-2/+2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2022-08-02include: sync event codes with kernel 5.19Peter Hutterer3-4/+50
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2022-07-12meson: drop the uinput.h header listingPeter Hutterer1-4/+0
This is a noop, meson gets its compile dependencies from the compiler, listing it here makes no difference. Same is true for listing the other two linux/input/*.h headers as sources. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2022-07-12meson.build: drop the use of join_pathsPeter Hutterer1-10/+10
Replace with the slash notation supported since 0.49 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2022-07-12meson.build: use project_source_root() instead of source_root()Peter Hutterer1-8/+9
The latter is deprecated, so let's bump the meson version requirement and use the newer, shiny feature. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2022-07-11uinput: use named initializers for the event structPeter Hutterer1-1/+7
With the 64 bit timestamps, the struct layout changes into a flatter version, so let's use the input_event_(u)sec helpers to transparently handle this. Fixes #25 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2022-07-11Fix a few whitespace/coding style issuesPeter Hutterer3-3/+5
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>