[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/22: gnu: spice-gtk: Update to 0.42.
From: |
guix-commits |
Subject: |
04/22: gnu: spice-gtk: Update to 0.42. |
Date: |
Sat, 25 Feb 2023 14:51:25 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit 9f3494fa9c12bfd3df937893683f8c5402f1e7f3
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Feb 16 09:09:06 2023 -0500
gnu: spice-gtk: Update to 0.42.
* gnu/packages/spice.scm (spice-gtk): Update to 0.42.
[build-system]: Use meson-build-system.
[arguments]: Remove configure-flags.
Rename disable-session-test phase to disable-problematic-tests, and adjust.
Remove the patch-la-files phase.
[native-inputs]: Add python, python-pyparsing and python-six.
[inputs]: Remove python.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
gnu/packages/spice.scm | 41 +++++++++++++++++------------------------
1 file changed, 17 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm
index 3d625a063a..f67a049176 100644
--- a/gnu/packages/spice.scm
+++ b/gnu/packages/spice.scm
@@ -41,6 +41,8 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-build)
+ #:use-module (gnu packages python-xyz)
#:use-module (gnu packages security-token)
#:use-module (gnu packages tls)
#:use-module (gnu packages virtualization)
@@ -137,40 +139,29 @@ which allows users to view a desktop computing
environment.")
(define-public spice-gtk
(package
(name "spice-gtk")
- (version "0.37")
+ (version "0.42")
(source (origin
(method url-fetch)
(uri (string-append
"https://spice-space.org/download/gtk/"
- "spice-gtk-" version ".tar.bz2"))
+ "spice-gtk-" version ".tar.xz"))
(sha256
(base32
- "1drvj8y35gnxbnrxsipwi15yh0vs9ixzv4wslz6r3lra8w3bfa0z"))))
- (build-system gnu-build-system)
+ "0n3s1rn7yzs28hnl9k6ql3a90qlv8w16djqj32m1zb8i31zi304k"))))
+ (build-system meson-build-system)
(arguments
(list
- #:configure-flags #~(list "--enable-gstaudio"
- "--enable-gstvideo"
- "--enable-pulse"
- "--enable-vala"
- "--enable-introspection")
#:phases
#~(modify-phases %standard-phases
- (add-before 'check 'disable-session-test
- (lambda _
- ;; XXX: Disable session tests, because they require USB support,
- ;; which is not available in the build container.
- (substitute* "tests/Makefile"
- (("test-session\\$\\(EXEEXT\\) ") ""))))
- (add-after 'install 'patch-la-files
+ (add-after 'unpack 'disable-problematic-tests
(lambda _
- ;; Add an absolute reference for libjpeg in the .la files
- ;; so it does not have to be propagated.
- (substitute* (find-files (string-append #$output "/lib")
- "\\.la$")
- (("-ljpeg")
- (string-append "-L" #$(this-package-input "libjpeg-turbo")
- "/lib -ljpeg")))))
+ ;; XXX: Disable the session and cd-emu tests, because they
+ ;; require USB support, which is not available in the build
+ ;; container.
+ (substitute* "tests/meson.build"
+ ((".*'session.c',.*") "")
+ (("tests_sources \\+= 'cd-emu.c'" all)
+ (string-append "# " all)))))
(add-after 'install 'wrap-spicy
(lambda* (#:key outputs #:allow-other-keys)
(wrap-program (search-input-file outputs "bin/spicy")
@@ -180,6 +171,9 @@ which allows users to view a desktop computing
environment.")
(list `(,glib "bin")
intltool
pkg-config
+ python
+ python-pyparsing
+ python-six
vala))
(inputs
(list glib-networking
@@ -191,7 +185,6 @@ which allows users to view a desktop computing
environment.")
lz4
mesa
pulseaudio
- python
opus
usbredir))
(propagated-inputs
- 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, 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 <=
- 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
- 10/22: gnu: spice: Update to 0.15.1., guix-commits, 2023/02/25
- 19/22: services: gnome-desktop-service-type: Extend setuid-program-service-type., guix-commits, 2023/02/25
- 05/22: gnu: spice-gtk: Propagate libjpeg-turbo, lz4, opus, and usbredir., guix-commits, 2023/02/25