Reapply "gnu: mate: Replace 'union-build' with 'propagated-inputs'."

Now we can have both xfce and mate in a profile, since they have the
same mate-polkit package.

This reverts commit 230ad0e337.

Change-Id: Iea3e1f30d3abea4eca42d7a7dd12b40291151b02
This commit is contained in:
宋文武 2025-08-23 20:01:33 +08:00
parent 164b8b67a5
commit 1d3a80ac34
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -1632,19 +1632,8 @@ menu specification.")
(version (package-version mate-desktop))
(source #f)
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build union))
#:builder
(begin
(use-modules (ice-9 match)
(guix build union))
(match %build-inputs
(((names . directories) ...)
(union-build (assoc-ref %outputs "out")
directories)
#t)))))
(native-inputs (list desktop-file-utils))
(inputs
(arguments '(#:builder (mkdir %output)))
(propagated-inputs
;; TODO: Add more packages
(append (if (or (%current-target-system)
(supported-package? gnome-keyring))
@ -1656,9 +1645,11 @@ menu specification.")
dbus
dconf
dconf-editor
desktop-file-utils
engrampa
eom
font-abattis-cantarell
font-dejavu ;default font
glib-networking
gvfs
hicolor-icon-theme
@ -1692,9 +1683,6 @@ menu specification.")
shared-mime-info
yelp
zenity)))
(propagated-inputs
;; Default font that applications such as IceCat require.
(list font-dejavu))
(synopsis "The MATE desktop environment")
(home-page "https://mate-desktop.org/")
(description