[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/22: gnu: spice-gtk: Enable support for polkit, webdav and others.
From: |
guix-commits |
Subject: |
14/22: gnu: spice-gtk: Enable support for polkit, webdav and others. |
Date: |
Sat, 25 Feb 2023 14:51:29 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit 27ae83f5f044a0aa80d804b576c397f9596b95c4
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Feb 16 12:00:25 2023 -0500
gnu: spice-gtk: Enable support for polkit, webdav and others.
* gnu/packages/spice.scm (spice-gtk) [arguments]: Add the correct-polkit-dir
and fake-pkexec phases.
[inputs]: Add acl, cyrus-sasl, libcap-ng, polkit and usbutils.
[propagated-inputs]: Add libcacard and phodav.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
gnu/packages/spice.scm | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm
index 1654ae141e..62d1d50e5b 100644
--- a/gnu/packages/spice.scm
+++ b/gnu/packages/spice.scm
@@ -22,6 +22,8 @@
(define-module (gnu packages spice)
#:use-module (gnu packages)
+ #:use-module (gnu packages acl)
+ #:use-module (gnu packages admin)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
@@ -39,6 +41,7 @@
#:use-module (gnu packages nss)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages polkit)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
@@ -156,6 +159,13 @@ which allows users to view a desktop computing
environment.")
((".*'session.c',.*") "")
(("tests_sources \\+= 'cd-emu.c'" all)
(string-append "# " all)))))
+ (add-before 'configure 'correct-polkit-dir
+ (lambda _
+ (substitute* "meson.build"
+ (("d.get_variable\\(pkgconfig: 'policydir')")
+ (string-append "'" #$output "/share/polkit-1/actions'")))))
+ (add-before 'install 'fake-pkexec
+ (lambda _ (setenv "PKEXEC_UID" "-1")))
(add-after 'install 'wrap-spicy
(lambda* (#:key outputs #:allow-other-keys)
(wrap-program (search-input-file outputs "bin/spicy")
@@ -170,13 +180,18 @@ which allows users to view a desktop computing
environment.")
python-six
vala))
(inputs
- (list glib-networking
+ (list cyrus-sasl
+ glib-networking
gobject-introspection
json-glib
+ acl
+ libcap-ng
libepoxy
libxcb
mesa
- pulseaudio))
+ polkit
+ pulseaudio
+ usbutils))
(propagated-inputs
(list gstreamer
gst-plugins-base
@@ -187,8 +202,10 @@ which allows users to view a desktop computing
environment.")
gtk+
openssl-1.1
opus
+ libcacard
libjpeg-turbo
lz4
+ phodav
pixman
usbredir))
(synopsis "Gtk client and libraries for SPICE remote desktop servers")
- 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 <=
- 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, 2023/02/25
- 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