[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/22: gnu: spice-gtk: Adjust the default file name of the ACL helper bi
From: |
guix-commits |
Subject: |
21/22: gnu: spice-gtk: Adjust the default file name of the ACL helper binary. |
Date: |
Sat, 25 Feb 2023 14:51:30 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit bbc10628b62d9b057b4b77b941c0d8678af9e2a3
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Feb 17 09:35:15 2023 -0500
gnu: spice-gtk: Adjust the default file name of the ACL helper binary.
* gnu/packages/spice.scm (spice-gtk)
[arguments]: Add adjust-default-acl-helper-path phase.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
gnu/packages/spice.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm
index 62d1d50e5b..8d2bed38b2 100644
--- a/gnu/packages/spice.scm
+++ b/gnu/packages/spice.scm
@@ -159,6 +159,16 @@ which allows users to view a desktop computing
environment.")
((".*'session.c',.*") "")
(("tests_sources \\+= 'cd-emu.c'" all)
(string-append "# " all)))))
+ (add-after 'unpack 'adjust-default-acl-helper-path
+ (lambda _
+ ;; The USB ACL helper used to allow USB redirection as a
+ ;; non-privileged user needs to be setuid, as configured by the
+ ;; gnome-desktop-service-type. A user can still change the
+ ;; location by specifying the SPICE_USB_ACL_BINARY environment
+ ;; variable.
+ (substitute* "src/usb-acl-helper.c"
+ (("ACL_HELPER_PATH\"/spice-client-glib-usb-acl-helper\"")
+
"\"/run/setuid-programs/spice-client-glib-usb-acl-helper\""))))
(add-before 'configure 'correct-polkit-dir
(lambda _
(substitute* "meson.build"
- branch master updated (7b40cb7c6e -> 61f691fdfb), guix-commits, 2023/02/25
- 01/22: gnu: spice-gtk: Fix indentation and normalize field order., guix-commits, 2023/02/25
- 03/22: gnu: spice-gtk: Use gexps., guix-commits, 2023/02/25
- 17/22: services: gnome-polkit-settings: Add spice-gtk., guix-commits, 2023/02/25
- 14/22: gnu: spice-gtk: Enable support for polkit, webdav and others., guix-commits, 2023/02/25
- 20/22: gnu: gnome-boxes: Mention extra configuration requirements., guix-commits, 2023/02/25
- 21/22: gnu: spice-gtk: Adjust the default file name of the ACL helper binary.,
guix-commits <=
- 09/22: gnu: libcacard: Remove obsolete configure flags., guix-commits, 2023/02/25
- 13/22: gnu: phodav: Propagate glib, libsoup and libxml2., guix-commits, 2023/02/25
- 04/22: gnu: spice-gtk: Update to 0.42., guix-commits, 2023/02/25
- 18/22: services: desktop: Extract a new gnome-package procedure., guix-commits, 2023/02/25
- 07/22: gnu: usbredir: Update to 0.13.0., guix-commits, 2023/02/25
- 08/22: gnu: virglrenderer: Update to 0.7.0., guix-commits, 2023/02/25
- 11/22: gnu: spice-vdagent: Update to 0.22.1., guix-commits, 2023/02/25
- 02/22: gnu: spice-gtk: Remove input labels., guix-commits, 2023/02/25
- 15/22: gnu: osinfo-db: Use libsoup 3., guix-commits, 2023/02/25
- 12/22: gnu: usbutils: Update to 015., guix-commits, 2023/02/25