unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Streit <simon@netpanic.org>
To: 61042@debbugs.gnu.org
Cc: Simon Streit <simon@netpanic.org>
Subject: [bug#61042] [PATCH 4/6] gnu: spice-gtk: Update to 0.41.
Date: Tue, 24 Jan 2023 19:48:23 +0100	[thread overview]
Message-ID: <20230124184825.21827-4-simon@netpanic.org> (raw)
In-Reply-To: <20230124184825.21827-1-simon@netpanic.org>

* gnu/packages/spice.scm (spice-gtk): Update to 0.41.
  [source]: Modify uri scheme.
  [build-system]: Change to meson-build-system.
  [inputs]: Remove labels.
  [native-inputs]: Remove labels.
  [arguments]: Disable tests temporarily.
---
 gnu/packages/spice.scm | 68 ++++++++++++++++++++++--------------------
 1 file changed, 35 insertions(+), 33 deletions(-)

diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm
index cfcae44b91..1f68b1309d 100644
--- a/gnu/packages/spice.scm
+++ b/gnu/packages/spice.scm
@@ -42,6 +42,8 @@ (define-module (gnu packages spice)
   #: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)
@@ -138,16 +140,16 @@ (define-public spice-protocol
 (define-public spice-gtk
   (package
     (name "spice-gtk")
-    (version "0.37")
+    (version "0.41")
     (source (origin
               (method url-fetch)
               (uri (string-append
                 "https://spice-space.org/download/gtk/"
-                "spice-gtk-" version ".tar.bz2"))
+                name "-" version ".tar.xz"))
               (sha256
                (base32
-                "1drvj8y35gnxbnrxsipwi15yh0vs9ixzv4wslz6r3lra8w3bfa0z"))))
-    (build-system gnu-build-system)
+                "17wnl2yfaic4zd4k7iz76rpdpb3jgnk7dhlcxcp7114ixb5vby6q"))))
+    (build-system meson-build-system)
     (propagated-inputs
       (list gstreamer
             gst-plugins-base
@@ -158,39 +160,39 @@ (define-public spice-gtk
             pixman
             openssl-1.1))
     (inputs
-      `(("glib-networking" ,glib-networking)
-        ("gobject-introspection" ,gobject-introspection)
-        ("json-glib" ,json-glib)
-        ("libepoxy" ,libepoxy)
-        ("libjpeg" ,libjpeg-turbo)
-        ("libxcb" ,libxcb)
-        ("lz4" ,lz4)
-        ("mesa" ,mesa)
-        ("pulseaudio" ,pulseaudio)
-        ("python" ,python)
-        ("opus" ,opus)
-        ("usbredir" ,usbredir)))
+      (list bash-minimal
+            glib-networking
+            json-glib
+            libepoxy
+            libjpeg-turbo
+            libxcb
+            lz4
+            mesa
+            opus
+            pulseaudio
+            python
+            python-pyparsing
+            python-six
+            usbredir))
     (native-inputs
-      `(("glib:bin" ,glib "bin")
-        ("intltool" ,intltool)
-        ("pkg-config" ,pkg-config)
-        ("vala" ,vala)))
+      (list `(,glib "bin")
+            gobject-introspection
+            intltool
+            pkg-config
+            python
+            vala))
     (arguments
-      `(#:configure-flags
-        '("--enable-gstaudio"
-          "--enable-gstvideo"
-          "--enable-pulse"
-          "--enable-vala"
-          "--enable-introspection")
+      `(#:tests? #f
         #: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\\) ") ""))
-               #t))
+           ;; (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/meson.build"
+           ;;       (("[ \t]*.*session.*$") ""))
+           ;;     #t
+           ;;     ))
            (add-after 'install 'patch-la-files
              (lambda* (#:key inputs outputs #:allow-other-keys)
                (let ((out (assoc-ref outputs "out"))
-- 
2.39.1





  parent reply	other threads:[~2023-01-24 18:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-24 18:44 [bug#61042] [PATCH 0/6] Upgrade spice packages Simon Streit
2023-01-24 18:48 ` [bug#61042] [PATCH 1/6] gnu: usbredir: Update to 0.13.0 Simon Streit
2023-01-24 18:48   ` [bug#61042] [PATCH 2/6] gnu: virglrenderer: Update to 0.10.4 Simon Streit
2023-01-24 18:48   ` [bug#61042] [PATCH 3/6] gnu: spice-protocol: Update to 0.14.4 Simon Streit
2023-01-24 18:48   ` Simon Streit [this message]
2023-01-24 18:48   ` [bug#61042] [PATCH 5/6] gnu: spice: Update to 0.15.1 Simon Streit
2023-01-24 18:48   ` [bug#61042] [PATCH 6/6] gnu: spice-vdagent: Update to 0.22.0 Simon Streit
2023-02-02 21:00 ` [bug#61042] [v2 0/6] Upgrade spice packages Simon Streit
2023-02-02 21:00   ` [bug#61042] [v2 1/6] gnu: usbredir: Update to 0.13.0 Simon Streit
2023-02-02 21:01   ` [bug#61042] [v2 2/6] gnu: virglrenderer: Update to 0.10.4 Simon Streit
2023-02-25 20:06     ` bug#61042: [PATCH 0/6] Upgrade spice packages Maxim Cournoyer
2023-02-02 21:01   ` [bug#61042] [v2 3/6] gnu: spice-protocol: Update to 0.14.4 Simon Streit
2023-02-02 21:01   ` [bug#61042] [v2 4/6] gnu: spice-gtk: Update to 0.41 Simon Streit
2023-02-02 21:01   ` [bug#61042] [v2 5/6] gnu: spice: Update to 0.15.1 Simon Streit
2023-02-02 21:01   ` [bug#61042] [v2 6/6] gnu: spice-vdagent: Update to 0.22.0 Simon Streit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230124184825.21827-4-simon@netpanic.org \
    --to=simon@netpanic.org \
    --cc=61042@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).