guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.
commit 975a1baab9072d52781827252b028a1d1aa32811
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Sat May 17 19:42:34 2025 +0900
gnu: xdg-desktop-portal-gtk: Improve package definition.
This is a follow-up to a17a5c02a8e3278c4bd0a326127d4043e663560e, which
inadvertently left old inputs and phases.
* gnu/packages/freedesktop.scm (xdg-desktop-portal-gtk)[arguments]:
Add #:glib-or-gtk?. Remove #:configure-flags and #:phases.
[native-inputs]: Remove autoconf, automake, libtool, libxml2 and which.
Drop labels.
[inputs]: Replace gtk+ with gtk. Drop labels.
Change-Id: Ifaa7092872884b74fd3f783b677449935bfd4a2a
---
gnu/packages/freedesktop.scm | 37 ++++---------------------------------
1 file changed, 4 insertions(+), 33 deletions(-)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index ecb528de0e..039b67fa42 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -3292,39 +3292,10 @@ and others.")
(base32
"0drvlanj4pydcmq1fhk8nbj5mb2zpf2pxcqxd4g61a0r4hyp98s7"))))
(build-system meson-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'po-chmod
- (lambda _
- ;; Make sure 'msgmerge' can modify the PO files.
- (for-each (lambda (po)
- (chmod po #o666))
- (find-files "po" "\\.po$"))
- #t)))
- #:configure-flags
- (list
- "-Dappchooser=enabled"
- "-Dwallpaper=enabled"
- "-Dsettings=enabled"
- "-Dlockdown=enabled")))
- (native-inputs
- `(("pkg-config" ,pkg-config)
- ("autoconf" ,autoconf)
- ("automake" ,automake)
- ("libtool" ,libtool)
- ("libxml2" ,libxml2)
- ("glib:bin" ,glib "bin")
- ("which" ,which)
- ("gettext" ,gettext-minimal)))
- (inputs
- `(("glib" ,glib)
- ("gtk" ,gtk+)
- ("fontconfig" ,fontconfig)
- ("gnome-desktop" ,gnome-desktop)
- ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
- (propagated-inputs
- (list xdg-desktop-portal))
+ (arguments (list #:glib-or-gtk? #t))
+ (native-inputs (list gettext-minimal `(,glib "bin") pkg-config))
+ (inputs (list glib gtk fontconfig gnome-desktop gsettings-desktop-schemas))
+ (propagated-inputs (list xdg-desktop-portal))
(home-page "https://github.com/flatpak/xdg-desktop-portal-gtk")
(synopsis "GTK implementation of xdg-desktop-portal")
(description