summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-04-10 22:39:36 +0100
committerMarek Szuba <marecki@gentoo.org>2020-04-10 22:47:53 +0100
commit78468709f8de7414bb71a419074a3d53110cdbc0 (patch)
tree3eedc22bd3912d44b8eb1a885f1ce39bcfe5a518 /sys-auth/rtkit/files/rtkit-0.13_meson_rtkitctl_dir.patch
parentnet-im/zoom: Remove old. (diff)
downloadgentoo-78468709f8de7414bb71a419074a3d53110cdbc0.tar.gz
gentoo-78468709f8de7414bb71a419074a3d53110cdbc0.tar.bz2
gentoo-78468709f8de7414bb71a419074a3d53110cdbc0.zip
sys-auth/rtkit: fix 0.13 meson build scripts
One, they installed rtkitctl into bin rather than, like autotools, into sbin. Already fixed upstream. Two, they aborted if the program 'xxd' couldn't be found without even trying to use a pre-generated header file. I have just submitted a pull request to fix this upstream as well. Will stick with Meson though, in order to revert to autotools someone would have to make it possible not to install tests and I really do not want to hack at this particular build system any more than I absolutely have to. Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'sys-auth/rtkit/files/rtkit-0.13_meson_rtkitctl_dir.patch')
-rw-r--r--sys-auth/rtkit/files/rtkit-0.13_meson_rtkitctl_dir.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-auth/rtkit/files/rtkit-0.13_meson_rtkitctl_dir.patch b/sys-auth/rtkit/files/rtkit-0.13_meson_rtkitctl_dir.patch
new file mode 100644
index 000000000000..6d48004e6dc1
--- /dev/null
+++ b/sys-auth/rtkit/files/rtkit-0.13_meson_rtkitctl_dir.patch
@@ -0,0 +1,25 @@
+From c295fa849f52b487be6433e69e08b46251950399 Mon Sep 17 00:00:00 2001
+From: Felipe Sateler <fsateler@users.noreply.github.com>
+Date: Sun, 5 Apr 2020 12:16:01 -0400
+Subject: [PATCH 1/2] meson: Install rtkitctl to sbin
+
+That is the path previously used in the autotools system
+---
+ meson.build | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/meson.build b/meson.build
+index 50e137c..02e6c73 100644
+--- a/meson.build
++++ b/meson.build
+@@ -115,6 +115,7 @@ executable(
+ 'rtkitctl',
+ 'rtkitctl.c', 'rtkit.h', config_h,
+ install: true,
++ install_dir: get_option('sbindir'),
+ dependencies: [dbus_dep],
+ )
+
+--
+2.24.1
+