Commit graph

109 commits

Author SHA1 Message Date
Alyssa Ross 4bcab74b94 libinput: don't try to create /etc in build
How libinput tries to create /etc changed in upstream commit
05501cd34f9c ("meson: use install_emptydir to create directory"),
so we have to update our sed expression.

This was missed in when libinput was updated in Nixpkgs due to a Nix
bug[1], which made the sandbox's /etc writeable.

[1]: https://github.com/NixOS/nix/issues/7813

Fixes: bf928e5579 ("libinput: 1.21.0 → 1.22.1")
2023-02-14 13:46:27 +00:00
R. RyanTM bf928e5579
libinput: 1.21.0 → 1.22.1
https://lists.freedesktop.org/archives/wayland-devel/2022-November/042515.html
https://gitlab.freedesktop.org/libinput/libinput/-/compare/1.21.0...1.22.1
2023-02-02 00:12:46 +01:00
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
José Romildo 01510c7ff3 treewide: no need to pass pname, version and attrPath to update scripts based on generic-updater 2022-09-27 23:41:53 -03:00
Martin Weinelt 4af35d92a0
python3Packages.sphinx-rtd-theme: rename from sphinx_rtd_theme 2022-08-03 18:39:37 +02:00
R. Ryantm a3f2567847 libinput: 1.20.1 -> 1.21.0 2022-06-12 05:16:45 +00:00
R. Ryantm de41cba76e libinput: 1.20.0 -> 1.20.1
https://lists.x.org/archives/xorg-announce/2022-April/003159.html

Fixes: CVE-2022-1215
2022-04-20 17:49:34 +02:00
Bobby Rong aac2283c26
libinput: 1.19.3 → 1.20.0
https://gitlab.freedesktop.org/libinput/libinput/-/releases/1.19.901
https://gitlab.freedesktop.org/libinput/libinput/-/releases/1.20.0
2022-03-10 19:04:33 +08:00
Jan Tojnar 818de15e48 libinput: fix docs build 2022-01-28 20:07:28 +01:00
Jan Tojnar 1e144d4d08 libinput: add freedesktop team to maintainers 2022-01-28 19:26:03 +01:00
Jan Tojnar 2144f37d36 libinput: Clean up
- format with nixpkgs-fmt
- use more conventional attribute ordering
- remove non-existent file from patchShebang args
- remove unnecessary if from sphinx-build binding (Nix is lazy so we do not need to null it when not used)
2022-01-28 19:26:03 +01:00
R. Ryantm 58fb597c43 libinput: 1.19.1 → 1.19.3
https://lists.x.org/archives/wayland-devel/2021-October/042003.html
https://lists.x.org/archives/wayland-devel/2021-December/042068.html
2022-01-28 19:05:51 +01:00
Thiago Kenji Okada 63b4b8616b nixos/libinput: add module tests 2021-11-16 13:09:02 -03:00
Edmund Wu 41a1204bb4
libinput: 1.18.1 -> 1.19.1 2021-10-02 21:22:18 -04:00
Alyssa Ross b75bb092e7 libinput: 1.16.4 -> 1.18.1 2021-08-10 06:34:07 +00:00
Sandro Jäckel d96ee7c7bd
libinput: format, cleanup 2021-08-05 16:49:10 +02:00
Ben Siraphob 66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
R. RyanTM b3aa4e2945 libinput: 1.16.3 -> 1.16.4 2020-12-02 15:00:42 +00:00
R. RyanTM 6dd536a3cb libinput: 1.16.2 -> 1.16.3 2020-11-18 15:44:12 +01:00
Vladimír Čunát 336bc8283b
Re-Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"
This reverts commit c778945806.

I believe this is exactly what brings the staging branch into
the right shape after the last merge from master (through staging-next);
otherwise part of staging changes would be lost
(due to being already reachable from master but reverted).
2020-10-26 08:19:17 +01:00
Vladimír Čunát c778945806
Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"
I'm sorry; I didn't notice it contained staging commits.

This reverts commit 17f5305b6c, reversing
changes made to a8a018ddc0.
2020-10-25 09:41:51 +01:00
TredwellGit c95bed1b9d libinput: 1.16.1 -> 1.16.2
https://lists.freedesktop.org/archives/wayland-devel/2020-October/041640.html
2020-10-20 21:08:03 +02:00
Jan Tojnar 47d561b10f libinput: 1.15.6 -> 1.16.1
https://lists.freedesktop.org/archives/wayland-devel/2020-August/041578.html
https://lists.freedesktop.org/archives/wayland-devel/2020-August/041590.html
2020-08-14 21:28:29 +02:00
Jan Tojnar d49b38b73c
Merge pull request #92715 from jtojnar/fix-libinput-commands 2020-07-16 04:58:38 +02:00
Jan Tojnar 6cf8110264
libinput: fix subcommands
Running subcommands like `libinput measure` requires python and some python modules.

I previously added the dependencies in [1] but [2] accidentally moved them to checkInputs so they are not available at runtime by patchShebangs (especially since tests are disabled).

Additionally, the tools were ported from evdev python module to python-libevdev in libinput 1.14, which was missed [3] during upgrade.

Finally, other python modules are needed so let's add them as well.

[1]: https://github.com/NixOS/nixpkgs/pull/51304
[2]: de14f0c6e1
[3]: b291f2a995
2020-07-15 06:15:16 +02:00
R. RyanTM b1c6615feb libinput: 1.15.5 -> 1.15.6 2020-07-06 04:29:24 +02:00
R. RyanTM b6e2d80a3d libinput: 1.15.4 -> 1.15.5 2020-05-08 06:53:50 +02:00
Jan Tojnar b4a6714571
Merge branch 'staging-next' into staging 2020-04-13 18:54:59 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM 7b0a055beb libinput: 1.15.3 -> 1.15.4 2020-04-09 21:42:09 +00:00
Matthew Bauer 67b0ddf3f3 Merge remote-tracking branch 'origin/staging' into mb-cross-fixes-march-2020 2020-03-16 14:34:03 -04:00
R. RyanTM 699eb40353 libinput: 1.15.2 -> 1.15.3 2020-03-14 14:32:55 +01:00
Matthew Bauer de14f0c6e1 libinput: move test dependencies to checkInputs
This avoids pulling them in when tests are disabled.
2020-03-05 20:40:45 -05:00
Artemis Tosini df3849e5c7 libinput: 1.15.1 → 1.15.2 2020-02-27 10:10:56 +01:00
R. RyanTM 2277a41b55 libinput: 1.15.0 -> 1.15.1 2020-02-16 08:59:18 +01:00
R. RyanTM 7a71a86a03 libinput: 1.14.3 -> 1.15.0 2020-01-06 11:15:33 -08:00
Daniel Barlow c36e1b0d18 build libinput to look for local quirks in /etc
If the user wants to configure libinput locally (e.g. to tune
touchpad sensitivity) the advertised[*] mechanism to do this
upstream is by adding a file /etc/libinput/local-overrides.quirks

Add --sysconfdir option to the libinput configurePhase so that we
build libinput to look for the file there instead of in libinput's
store path

[*] can't quite claim it as "supported", but it's certainly the
mechanism that's publically described.  See
https://wayland.freedesktop.org/libinput/doc/latest/device-quirks.html
2019-11-24 10:03:14 +01:00
R. RyanTM b64bb00298 libinput: 1.14.1 -> 1.14.3 2019-11-03 10:32:04 +01:00
Cole Mickens b291f2a995 libinput: 1.13.4 -> 1.14.1 2019-09-01 17:46:30 +02:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
R. RyanTM e62b771433 libinput: 1.13.2 -> 1.13.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/libinput/versions
2019-07-03 08:41:21 +02:00
Will Dietz 7d1246ca74
libinput: 1.13.1 -> 1.13.2
https://lists.freedesktop.org/archives/wayland-devel/2019-May/040548.html
2019-05-09 13:25:49 -05:00
R. RyanTM e33145305a libinput: 1.12.6 -> 1.13.1
https://lists.freedesktop.org/archives/wayland-devel/2019-March/040363.html
https://lists.freedesktop.org/archives/wayland-devel/2019-April/040403.html
2019-04-10 11:13:03 -04:00
Matthew Bauer 92f0f8dd68 Merge remote-tracking branch 'NixOS/master' into staging 2019-01-27 00:01:13 -05:00
Jörg Thalheim b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
Will Dietz b97044d5a2 libinput: 1.12.5 -> 1.12.6
https://lists.freedesktop.org/archives/wayland-devel/2019-January/039864.html
2019-01-21 00:30:18 -06:00
Will Dietz bfdf9d67a3 libinput: 1.12.4 -> 1.12.5
https://lists.freedesktop.org/archives/wayland-devel/2019-January/039804.html
2019-01-10 17:34:31 -06:00
Will Dietz 435565d58d libinput: 1.12.3 -> 1.12.4
https://lists.freedesktop.org/archives/wayland-devel/2018-December/039782.html
2018-12-18 09:35:29 -06:00
Jan Tojnar 27aed1b642
libinput: fix docs & libinput command
libinput switched from Doxygen to Sphinx for user docs. Since Sphinx is a Python
module, it propagates Python. And because it is listed in nativeBuildInputs,
its python binary takes precedence over the one added in buildInputs.
This results in a wrong interpreter being substituted into shebangs.

The contamination occurred previously too but libinput does not use pyparsing
dependency since 1.12.0, so it could be removed.

I prevented Sphinx from propagating Python and added some additional
dependencies to it. In the future we might want something more reusable.

While at it, I also fixed the tests.
2018-12-01 03:35:08 +01:00