all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 74622@debbugs.gnu.org
Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com,
	vivien@planete-kraus.eu
Subject: [bug#74622] [PATCH gnome-team v2 04/10] gnu: Make xdg-desktop-portal-next the new xdg-desktop-portal.
Date: Sun, 24 Nov 2024 16:06:16 +0100	[thread overview]
Message-ID: <44bf760314f56fe79cb822a91b6ae54f408b42e7.1733559490.git.liliana.prikler@gmail.com> (raw)
In-Reply-To: <f8f2c1e590a2c0d1edcb23d95447dc88c699ad7d.1733559490.git.liliana.prikler@gmail.com>

* gnu/packages/freedesktop.scm (xdg-desktop-portal-next): Inline into…
(xdg-desktop-portal): … this.
---
 gnu/packages/freedesktop.scm | 80 ++++++++++++------------------------
 1 file changed, 26 insertions(+), 54 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index d197b5f553..64d7218a5c 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -3122,7 +3122,7 @@ (define-public libportal
 (define-public xdg-desktop-portal
   (package
     (name "xdg-desktop-portal")
-    (version "1.16.0")
+    (version "1.18.4")
     (source
      (origin
        (method url-fetch)
@@ -3131,30 +3131,13 @@ (define-public xdg-desktop-portal
              version "/xdg-desktop-portal-" version ".tar.xz"))
        (sha256
         (base32
-         "06cczlh39kc41rvav06v37sad827y61rffy3v29i918ibj8sahav"))))
-    (build-system gnu-build-system)
-    (native-inputs
-     `(("pkg-config" ,pkg-config)
-       ("autoconf" ,autoconf)
-       ("automake" ,automake)
-       ("libtool" ,libtool)
-       ("glib:bin" ,glib "bin")
-       ("which" ,which)
-       ("gettext" ,gettext-minimal)))
-    (inputs
-     `(("gdk-pixbuf" ,gdk-pixbuf)
-       ("glib" ,glib)
-       ("flatpak" ,flatpak)
-       ("fontconfig" ,fontconfig)
-       ("json-glib" ,json-glib)
-       ("libportal" ,libportal)
-       ("dbus" ,dbus)
-       ("geoclue" ,geoclue)
-       ("pipewire" ,pipewire)
-       ("fuse" ,fuse)))
+         "0r8y8qmzcfj7b7brqcxr9lg8pavfds815ffvj0kqc378fhgaln5q"))
+       ;; Disable portal tests since they try to use fuse.
+       (patches (search-patches "xdg-desktop-portal-disable-portal-tests.patch"))))
+    (build-system meson-build-system)
     (arguments
      `(#:configure-flags
-       (list "--with-systemd=no")
+       (list "-Dsystemd=disabled")
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'po-chmod
@@ -3165,6 +3148,26 @@ (define-public xdg-desktop-portal
                        (find-files "po" "\\.po$"))))
          (add-after 'unpack 'set-home-directory
            (lambda _ (setenv "HOME" "/tmp"))))))
+    (native-inputs
+     (list pkg-config
+           `(,glib "bin")
+           gettext-minimal
+           python
+           python-dbusmock
+           python-pytest
+           python-pytest-xdist))
+    (inputs
+     (list bubblewrap
+           gdk-pixbuf
+           glib
+           flatpak
+           fontconfig
+           json-glib
+           libportal
+           dbus
+           geoclue
+           pipewire
+           fuse))
     (native-search-paths
      (list (search-path-specification
             (variable "XDG_DESKTOP_PORTAL_DIR")
@@ -3183,37 +3186,6 @@ (define-public xdg-desktop-portal
 and others.")
     (license license:lgpl2.1+)))
 
-(define-public xdg-desktop-portal-next
-  (package
-    (inherit xdg-desktop-portal)
-    (version "1.18.4")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://github.com/flatpak/xdg-desktop-portal/releases/download/"
-             version "/xdg-desktop-portal-" version ".tar.xz"))
-       (sha256
-        (base32
-         "0r8y8qmzcfj7b7brqcxr9lg8pavfds815ffvj0kqc378fhgaln5q"))
-       ;; Disable portal tests since they try to use fuse.
-       (patches (search-patches "xdg-desktop-portal-disable-portal-tests.patch"))))
-    (build-system meson-build-system)
-    (arguments
-     (substitute-keyword-arguments (package-arguments xdg-desktop-portal)
-       ((#:configure-flags _ ''())
-        #~(list "-Dsystemd=disabled"))))
-    (native-inputs
-     (list pkg-config
-           `(,glib "bin")
-           gettext-minimal
-           python
-           python-dbusmock
-           python-pytest
-           python-pytest-xdist))
-    (inputs (modify-inputs (package-inputs xdg-desktop-portal)
-              (prepend bubblewrap)))))
-
 (define-public xdg-desktop-portal-gtk
   (package
     (name "xdg-desktop-portal-gtk")
-- 
2.46.0





  parent reply	other threads:[~2024-12-07  9:07 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-30 10:53 [bug#74622] [PATCH gnome-team 00/10] Getting ready to finally deliver GNOME 46 Liliana Marie Prikler
2024-11-23 19:52 ` [bug#74622] [PATCH gnome-team v2 01/10] gnu: gnome-settings-daemon: Update to 47.2 Liliana Marie Prikler
2024-11-23 20:40   ` [bug#74622] [PATCH gnome-team v2 02/10] gnu: lock: Update to 1.1.3 Liliana Marie Prikler
2024-11-23 20:58   ` [bug#74622] [PATCH gnome-team v2 03/10] gnu: mutter: Update to 46.6 Liliana Marie Prikler
2024-11-24 15:06   ` Liliana Marie Prikler [this message]
2024-12-09  0:23     ` [bug#74622] [PATCH gnome-team v2 04/10] gnu: Make xdg-desktop-portal-next the new xdg-desktop-portal Maxim Cournoyer
2024-11-30  1:13   ` [bug#74622] [PATCH gnome-team v2 08/10] gnu: gnome-keyring: Update to 46.2 Liliana Marie Prikler
2024-11-30  1:17   ` [bug#74622] [PATCH gnome-team v2 09/10] gnu: libshumate: Update to 1.3.0 Liliana Marie Prikler
2024-11-30  1:17   ` [bug#74622] [PATCH gnome-team v2 06/10] folks: Disable tests Liliana Marie Prikler
2024-11-30  1:18   ` [bug#74622] [PATCH gnome-team v2 07/10] gnu: folks: Update to 0.15.9 Liliana Marie Prikler
2024-11-30  1:24   ` [bug#74622] [PATCH gnome-team v2 10/10] gnu: gnome-initial-setup: Update to 46.4 Liliana Marie Prikler
2024-12-20 13:58     ` bug#74622: " Maxim Cournoyer
2024-11-30  1:25   ` [bug#74622] [PATCH gnome-team v2 05/10] gnu: gnome-shell: Update to 46.7 Liliana Marie Prikler
2024-12-09  0:28   ` [bug#74622] [PATCH gnome-team v2 01/10] gnu: gnome-settings-daemon: Update to 47.2 Maxim Cournoyer
2024-11-23 19:52 ` [bug#74622] [PATCH gnome-team " Liliana Marie Prikler
2024-11-23 20:40 ` [bug#74622] [PATCH gnome-team 02/10] gnu: lock: Update to 1.1.3 Liliana Marie Prikler
2024-11-23 20:58 ` [bug#74622] [PATCH gnome-team 03/10] gnu: mutter: Update to 46.6 Liliana Marie Prikler
2024-11-24 15:06 ` [bug#74622] [PATCH gnome-team 04/10] gnu: Make xdg-desktop-portal-next the new xdg-desktop-portal Liliana Marie Prikler
2024-11-30  1:13 ` [bug#74622] [PATCH gnome-team 08/10] gnu: gnome-keyring: Update to 46.2 Liliana Marie Prikler
2024-11-30  1:17 ` [bug#74622] [PATCH gnome-team 09/10] gnu: libshumate: Update to 1.3.0 Liliana Marie Prikler
2024-11-30  1:17 ` [bug#74622] [PATCH gnome-team 06/10] folks: Disable tests Liliana Marie Prikler
2024-11-30  1:18 ` [bug#74622] [PATCH gnome-team 07/10] gnu: folks: Update to 0.15.9 Liliana Marie Prikler
2024-11-30  1:24 ` [bug#74622] [PATCH gnome-team 10/10] gnu: gnome-initial-setup: Update to 46.4 Liliana Marie Prikler
2024-11-30  1:25 ` [bug#74622] [PATCH gnome-team 05/10] [WIP] gnu: gnome-shell: Update to 46.6 Liliana Marie Prikler

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

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

  git send-email \
    --in-reply-to=44bf760314f56fe79cb822a91b6ae54f408b42e7.1733559490.git.liliana.prikler@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=74622@debbugs.gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    --cc=vivien@planete-kraus.eu \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.