[neon/backports-noble/libinput-noble/Neon/release] debian/patches: remove upstreamed patch
Carlos De Maine
null at kde.org
Tue Aug 12 09:28:18 BST 2025
Git commit a82e5085e5168cac02eb25c612a48a1b27b0f5fc by Carlos De Maine.
Committed on 12/08/2025 at 08:28.
Pushed by carlosdem into branch 'Neon/release'.
remove upstreamed patch
D +0 -2 debian/patches/series
D +0 -87 debian/patches/tools-remove-references-to-libinput_quir.patch
https://invent.kde.org/neon/backports-noble/libinput-noble/-/commit/a82e5085e5168cac02eb25c612a48a1b27b0f5fc
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index e1eff3c..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1,2 +0,0 @@
-#placeholder
-tools-remove-references-to-libinput_quir.patch
diff --git a/debian/patches/tools-remove-references-to-libinput_quir.patch b/debian/patches/tools-remove-references-to-libinput_quir.patch
deleted file mode 100644
index 2dea082..0000000
--- a/debian/patches/tools-remove-references-to-libinput_quir.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-From: Vagrant Cascadian <vagrant at reproducible-builds.org>
-Date: Fri, 1 Dec 2023 14:17:20 -0800
-X-Dgit-Generated: 1.23.0-2.1 8d72c3fd82d3eb08e28adc552aaeb93df83f9d3a
-Subject: tools: Remove references to LIBINPUT_QUIRKS_SRCDIR. (Closes: #995809)
-
-This embeds the build path which is not generally available at runtime and
-makes it more difficult to reproduce the build.
-
-https://reproducible-builds.org/docs/build-path/
-
----
-
-diff --git a/tools/libinput-quirks.c b/tools/libinput-quirks.c
-index e97eff6..7f3e26f 100644
---- a/tools/libinput-quirks.c
-+++ b/tools/libinput-quirks.c
-@@ -166,14 +166,8 @@ main(int argc, char **argv)
-
- /* Overriding the data dir means no custom override file */
- if (!data_path) {
-- char *builddir = builddir_lookup();
-- if (builddir) {
-- data_path = LIBINPUT_QUIRKS_SRCDIR;
-- free(builddir);
-- } else {
-- data_path = LIBINPUT_QUIRKS_DIR;
-- override_file = LIBINPUT_QUIRKS_OVERRIDE_FILE;
-- }
-+ data_path = LIBINPUT_QUIRKS_DIR;
-+ override_file = LIBINPUT_QUIRKS_OVERRIDE_FILE;
- }
-
- quirks = quirks_init_subsystem(data_path,
-diff --git a/tools/libinput-record.c b/tools/libinput-record.c
-index 30b2900..1de63bc 100644
---- a/tools/libinput-record.c
-+++ b/tools/libinput-record.c
-@@ -1762,19 +1762,10 @@ print_device_quirks(struct record_device *dev)
- struct quirks_context *quirks;
- const char *data_path = LIBINPUT_QUIRKS_DIR;
- const char *override_file = LIBINPUT_QUIRKS_OVERRIDE_FILE;
-- char *builddir = NULL;
-
- if (stat(dev->devnode, &st) < 0)
- return;
-
-- if ((builddir = builddir_lookup())) {
-- setenv("LIBINPUT_QUIRKS_DIR", LIBINPUT_QUIRKS_SRCDIR, 0);
-- data_path = LIBINPUT_QUIRKS_SRCDIR;
-- override_file = NULL;
-- }
--
-- free(builddir);
--
- quirks = quirks_init_subsystem(data_path,
- override_file,
- quirks_log_handler,
-diff --git a/tools/shared.c b/tools/shared.c
-index 7a73027..fcacb03 100644
---- a/tools/shared.c
-+++ b/tools/shared.c
-@@ -411,16 +411,6 @@ tools_open_device(const char **paths, bool verbose, bool *grab)
- return li;
- }
-
--static void
--tools_setenv_quirks_dir(void)
--{
-- char *builddir = builddir_lookup();
-- if (builddir) {
-- setenv("LIBINPUT_QUIRKS_DIR", LIBINPUT_QUIRKS_SRCDIR, 0);
-- free(builddir);
-- }
--}
--
- struct libinput *
- tools_open_backend(enum tools_backend which,
- const char **seat_or_device,
-@@ -429,8 +419,6 @@ tools_open_backend(enum tools_backend which,
- {
- struct libinput *li;
-
-- tools_setenv_quirks_dir();
--
- switch (which) {
- case BACKEND_UDEV:
- li = tools_open_udev(seat_or_device[0], verbose, grab);
More information about the Neon-commits
mailing list