me
/
guix
Archived
1
0
Fork 0

gnu: gnome-desktop: Update to 42.4 and remove input labels.

* gnu/packages/gnome.scm (gnome-desktop): Update to 42.4.
[phases]: Delete trailing #t.
{patch-path}: Use search-input-file.
[native-inputs]: Delete labels.
[propagated-inputs]: Add gtk.  Replace gsettings-desktop-schemas with
gsettings-desktop-schemas-next.
[inputs]: Sort lexicographically.
master
Maxim Cournoyer 2022-08-22 21:31:35 -04:00
parent f24bf279d4
commit ee871fc92c
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 26 additions and 27 deletions

View File

@ -2147,7 +2147,7 @@ offline sources, providing a centralized place for managing your contacts.")
(define-public gnome-desktop
(package
(name "gnome-desktop")
(version "40.4")
(version "42.4")
(source
(origin
(method url-fetch)
@ -2156,18 +2156,16 @@ offline sources, providing a centralized place for managing your contacts.")
name "-" version ".tar.xz"))
(sha256
(base32
"1vs5knn2yj6a449p9bn5w5407i1yvxfxg8xv844qgl70hpsrdbl8"))))
"09ddr5fzhh02fcn7xl1wy18qfsdqryd5msl2nbhdnsbr0vawkqhw"))))
(build-system meson-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(add-before 'configure 'patch-path
(lambda* (#:key inputs #:allow-other-keys)
(let ((libc (assoc-ref inputs "libc")))
(substitute* "libgnome-desktop/gnome-languages.c"
(("\"locale\"")
(string-append "\"" libc "/bin/locale\"")))
#t)))
(format #f "~s" (search-input-file inputs "bin/locale"))))))
(add-before 'configure 'patch-bubblewrap
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "libgnome-desktop/gnome-desktop-thumbnail-script.c"
@ -2179,8 +2177,8 @@ offline sources, providing a centralized place for managing your contacts.")
"\", \""
(%store-directory)
"\","))
(("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",") ""))
#t))
(("\"--ro-bind\", \"/etc/ld.so.cache\", \"/etc/ld.so.cache\",")
""))))
(add-before 'check 'pre-check
(lambda* (#:key inputs #:allow-other-keys)
;; Tests require a running X server and locales.
@ -2192,26 +2190,27 @@ offline sources, providing a centralized place for managing your contacts.")
(search-input-directory inputs
"lib/locale")))))))
(native-inputs
`(("glib:bin" ,glib "bin") ; for gdbus-codegen
("glibc-locales" ,glibc-locales) ; for tests
("gobject-introspection" ,gobject-introspection)
("itstool" ,itstool)
("intltool" ,intltool)
("pkg-config" ,pkg-config)
("xmllint" ,libxml2)
("xorg-server" ,xorg-server-for-tests)))
(list `(,glib "bin") ;for gdbus-codegen
glibc-locales ;for tests
gobject-introspection
itstool
intltool
pkg-config
libxml2
xorg-server-for-tests))
(propagated-inputs
;; Required by gnome-desktop-3.0.pc.
(list gsettings-desktop-schemas
(list gsettings-desktop-schemas-next
gtk
gtk+
iso-codes
libseccomp
libx11
xkeyboard-config))
(inputs
(list gdk-pixbuf
(list bubblewrap
gdk-pixbuf
glib
bubblewrap
libxext
libxkbfile
libxrandr))