Subject: [PATCH gnome-team 12/12] gnu: gnome-remote-desktop: Update to 46.3.

From: Liliana Marie Prikler <[email-masked]>
Date: Sun, 8 Sep 2024 22:28:23 +0200

* gnu/packages/gnome.scm (gnome-remote-desktop): Update to 46.3.
[#:configure-flags]: Drop “-Dfdk_aac=false”.
[#:phases]: Drop ‘shorten-vnc-test’.
[inputs]: Add libei and wireplumber.
[native-inputs]: Add xdg-desktop-portal-gnome.
---
 gnu/packages/gnome.scm | 21 ++++++---------------
 1 file changed, 6 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 90669e6703..9cecc3c044 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -13950,7 +13950,7 @@ (define-public xffm+
 (define-public gnome-remote-desktop
   (package
     (name "gnome-remote-desktop")
-    (version "44.2")
+    (version "46.3")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnome/sources/" name "/"
@@ -13958,30 +13958,18 @@ (define-public gnome-remote-desktop
                                   name "-" version ".tar.xz"))
               (sha256
                (base32
-                "13kvr1f2vk0qfqr9alpz7wb542b5d5i9ypk74rnn7jsz3csgv7vs"))))
+                "156pfx61mfwjr413w0zawb0pshh2ypl2k29ajys9wqyl25pnbih8"))))
     (build-system meson-build-system)
     (arguments
      (list #:configure-flags
            #~'("-Dsystemd=false"
                ;; RDP support requires CUDA (ffnvcodec)
                "-Drdp=false"
-               ;; This is for the RDP back-end
-               "-Dfdk_aac=false"
                ;; Enable VNC support
                "-Dvnc=true")
            #:glib-or-gtk? #t
            #:phases
            #~(modify-phases %standard-phases
-               (add-after 'unpack 'shorten-vnc-test
-                 (lambda _
-                   ;; The VNC test sets up the connection, parses a message
-                   ;; from the server, and then waits forever.  This
-                   ;; modification lets it succeed once it has parsed a
-                   ;; message from the server.
-                   (substitute* "tests/test-client-vnc.c"
-                     (("while \\(TRUE\\)")
-                      "int ret = 0; while (ret == 0)")
-                     (("int ret;") ""))))
                (delete 'check)
                (add-after 'install 'check
                  (assoc-ref %standard-phases
@@ -14010,6 +13998,7 @@ (define-public gnome-remote-desktop
      (list cairo
            glib
            libdrm
+           libei
            libepoxy
            libgudev
            libnotify
@@ -14020,6 +14009,7 @@ (define-public gnome-remote-desktop
              '(gnu packages vnc))
             'libvnc)
            pipewire
+           wireplumber
            tpm2-tss))
     (native-inputs
      (list asciidoc
@@ -14035,7 +14025,8 @@ (define-public gnome-remote-desktop
            pkg-config
            python
            python-dbus
-           python-pygobject))
+           python-pygobject
+           xdg-desktop-portal-gnome))
     (home-page "https://gitlab.gnome.org/GNOME/gnome-remote-desktop")
     (synopsis "Share GNOME desktop with remote sessions")
     (description "This package provides a remote desktop server for GNOME.")
-- 
2.45.2