mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: gsettings-desktop-schemas: Fix file name of default background.
Reported by Alexandros Theodotou <alex@zrythm.org> at <https://lists.gnu.org/archive/html/guix-devel/2019-11/msg00157.html>. * gnu/packages/gnome.scm (gsettings-desktop-schemas)[arguments]: New field. [inputs]: Add GNOME-BACKGROUNDS.
This commit is contained in:
parent
bead6dcb58
commit
65209ffabd
1 changed files with 14 additions and 1 deletions
|
@ -861,8 +861,21 @@ (define-public gsettings-desktop-schemas
|
|||
(base32
|
||||
"0bshwm49cd01ighsxqlbqn10q0ch71ff99gcrx8pr2gyky2ad3pq"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases (modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-adwaita-theme-file-name
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; Provide the correct file name of the default GNOME
|
||||
;; background, 'adwaita-timed.xml'.
|
||||
(let ((theme (assoc-ref inputs "gnome-backgrounds")))
|
||||
(substitute* (find-files "schemas"
|
||||
"\\.gschema\\.xml\\.in$")
|
||||
(("@datadir@/backgrounds/gnome")
|
||||
(string-append theme "/share/backgrounds/gnome")))
|
||||
#t))))))
|
||||
(inputs
|
||||
`(("glib" ,glib)))
|
||||
`(("glib" ,glib)
|
||||
("gnome-backgrounds" ,gnome-backgrounds)))
|
||||
(native-inputs
|
||||
`(("intltool" ,intltool)
|
||||
("glib" ,glib "bin") ; glib-compile-schemas, etc.
|
||||
|
|
Loading…
Reference in a new issue