diff options
Diffstat (limited to 'gnu/packages/spice.scm')
-rw-r--r-- | gnu/packages/spice.scm | 134 |
1 files changed, 58 insertions, 76 deletions
diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index 9c88b63108..1eb92d8f96 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -64,12 +64,9 @@ "19jnpzlanq0a1m5lmlcsp50wxf7icxvpvclx7hnf0zxw8azngqd3")))) (build-system gnu-build-system) (propagated-inputs - `(("libusb" ,libusb))) + (list libusb)) (native-inputs - `(("autoconf" ,autoconf) - ("automake" ,automake) - ("libtool" ,libtool) - ("pkg-config" ,pkg-config))) + (list autoconf automake libtool pkg-config)) (synopsis "Tools for sending USB device traffic over a network") (description "Usbredir is a network protocol for sending USB device traffic over a @@ -92,11 +89,9 @@ different (virtual) machine than the one to which the USB device is attached.") "06kf0q4l52gzx5p63l8850hff8pmhp7xv1hk8zgx2apbw18y6jd5")))) (build-system gnu-build-system) (inputs - `(("libepoxy" ,libepoxy) - ("mesa" ,mesa) - ("udev" ,eudev))) + (list libepoxy mesa eudev)) (native-inputs - `(("pkg-config" ,pkg-config))) + (list pkg-config)) (synopsis "Virtual 3D GPU library") (description "A virtual 3D GPU library that enables a virtualized operating system to use the host GPU to accelerate 3D rendering.") @@ -147,15 +142,14 @@ which allows users to view a desktop computing environment.") "1drvj8y35gnxbnrxsipwi15yh0vs9ixzv4wslz6r3lra8w3bfa0z")))) (build-system gnu-build-system) (propagated-inputs - `(("gstreamer" ,gstreamer) - ("gst-plugins-base" ,gst-plugins-base) - ("gst-plugins-good" ,gst-plugins-good) - ("spice-protocol" ,spice-protocol) - - ;; These are required by the pkg-config files. - ("gtk+" ,gtk+) - ("pixman" ,pixman) - ("openssl" ,openssl))) + (list gstreamer + gst-plugins-base + gst-plugins-good + spice-protocol + ;; These are required by the pkg-config files. + gtk+ + pixman + openssl)) (inputs `(("glib-networking" ,glib-networking) ("gobject-introspection" ,gobject-introspection) @@ -227,31 +221,36 @@ which allows users to view a desktop computing environment.") "1xd0xffw0g5vvwbq4ksmm3jjfq45f9dw20xpmi82g1fj9f7wy85k")))) (build-system gnu-build-system) (propagated-inputs - `(("openssl" ,openssl) - ("pixman" ,pixman) - ("spice-protocol" ,spice-protocol))) + (list openssl pixman spice-protocol)) (inputs - `(("cyrus-sasl" ,cyrus-sasl) - ("glib" ,glib) - ("libjpeg-turbo" ,libjpeg-turbo) - ("libcacard" ,libcacard) ; smartcard support - ("lz4" ,lz4) - ("opus" ,opus) - ("orc" ,orc) - ("zlib" ,zlib))) + (list cyrus-sasl + glib + libjpeg-turbo + libcacard ; smartcard support + lz4 + opus + orc + zlib)) (native-inputs - `(("pkg-config" ,pkg-config) - ("python" ,python) - ("spice-gtk" ,spice-gtk) - - ;; These are needed for the server listen tests. - ("glib-networking" ,glib-networking) - ("gsettings-desktop-schemas" ,gsettings-desktop-schemas))) + (list pkg-config + python + spice-gtk + ;; These are needed for the server listen tests. + glib-networking + gsettings-desktop-schemas)) (arguments `(#:configure-flags '("--enable-lz4" "--enable-automated-tests") + #:phases + (modify-phases %standard-phases + ;; XXX: Otherwise the server listen tests fails with + ;; Failed to create /homeless-shelter/.config/glib-2.0/settings + (add-before 'check 'set-XDG_CONFIG_HOME + (lambda _ + (setenv "XDG_CONFIG_HOME" "/tmp")))) + ;; Several tests appear to be opening the same sockets concurrently. #:parallel-tests? #f)) (synopsis "Server implementation of the SPICE protocol") @@ -305,21 +304,20 @@ Internet and from a wide variety of machine architectures.") (("ps -ef") "ps -efww"))))))) (inputs - `(("alsa-lib" ,alsa-lib) - ("dbus" ,dbus) - ("glib" ,glib) - ("gtk+" ,gtk+) - ("libdrm" ,libdrm) - ("libpciaccess" ,libpciaccess) - ("libx11" ,libx11) - ("libxext" ,libxext) - ("libxfixes" ,libxfixes) - ("libxinerama" ,libxinerama) - ("libxrandr" ,libxrandr) - ("spice-protocol" ,spice-protocol))) + (list alsa-lib + dbus + glib + gtk+ + libdrm + libpciaccess + libx11 + libxext + libxfixes + libxinerama + libxrandr + spice-protocol)) (native-inputs - `(("pkg-config" ,pkg-config) - ("procps" ,procps))) ;tests use 'ps' + (list pkg-config procps)) ;tests use 'ps' (synopsis "Spice agent for Linux") (description "Spice-vdagent enables sharing the clipboard and guest display resolution scaling on graphical console window resize.") @@ -340,29 +338,17 @@ resolution scaling on graphical console window resize.") (base32 "1rrjlclm6ad63gah1fa4yfwrz4z6vgq2yrybbvzvvdbxrgl4vgzv")))) (build-system meson-build-system) - (arguments - '(#:tests? #f ; TODO Tests require gnutls built with - ; p11-kit - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-tests - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "tests/setup-softhsm2.sh" - (("\\/usr\\/lib64\\/pkcs11\\/libsofthsm2\\.so") - (string-append (assoc-ref inputs "softhsm") - "/lib/softhsm/libsofthsm2.so")))))))) (propagated-inputs - `(("glib" ,glib) ; Requires: in the pkg-config file - ("nss" ,nss) ; Requires.private: in the pkg-config - ("pcsc-lite" ,pcsc-lite))) ; file + (list glib ; Requires: in the pkg-config file + nss ; Requires.private: in the pkg-config + pcsc-lite)) ; file (native-inputs - `(("openssl" ,openssl) - ("nss" ,nss "bin") - ("opensc" ,opensc) - ("softhsm" ,softhsm) - ("gnutls" ,gnutls) - ("pkg-config" ,pkg-config) - ("which" ,which))) + (list openssl + `(,nss "bin") + opensc + gnutls + pkg-config + which)) (synopsis "Emulate and share smart cards with virtual machines") (description "The @acronym{CAC,Common Access Card} library can be used to emulate and @@ -384,11 +370,7 @@ share smart cards from client system to local or remote virtual machines.") "00y9vi69sja4pkrfnvrkwsscm41bqrjzvp8aijb20pvg6ymczhj7")))) (build-system gnu-build-system) (inputs - `(("gtk+" ,gtk+) - ("gtk-vnc" ,gtk-vnc) - ("libcap" ,libcap) - ("libxml2" ,libxml2) - ("spice-gtk" ,spice-gtk))) + (list gtk+ gtk-vnc libcap libxml2 spice-gtk)) (native-inputs `(("glib:bin" ,glib "bin") ("intltool" ,intltool) |