mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-18 17:01:51 -05:00
gnu: gnome-font-viewer: Update to 42.0.
* gnu/packages/gnome.scm (gnome-font-viewer): Update to 42.0. [phases]: Delete trailing #t. Use gexps. {patch-thumbnailer}: Use search-input-file. [native-inputs]: Delete labels. [inputs]: Replace gtk+ with gtk. Add libadwaita.
This commit is contained in:
parent
314444917b
commit
b74f837118
1 changed files with 25 additions and 24 deletions
|
@ -2287,7 +2287,7 @@ (define-public gnome-disk-utility
|
|||
(define-public gnome-font-viewer
|
||||
(package
|
||||
(name "gnome-font-viewer")
|
||||
(version "40.0")
|
||||
(version "42.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/gnome-font-viewer/"
|
||||
|
@ -2295,33 +2295,34 @@ (define-public gnome-font-viewer
|
|||
"/gnome-font-viewer-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0hpyi0sz3gcqqs9lkwyk8b6hr39m3n27432x98kxr436jj37dk6j"))))
|
||||
"1k4dhk5dmkpxb5xpr9vrl7k2fdpi2fidzni1l2hhb891zzgvi8ng"))))
|
||||
(build-system meson-build-system)
|
||||
(arguments
|
||||
`(#:meson ,meson-0.60
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-post-install-script
|
||||
(lambda _
|
||||
(substitute* "meson-postinstall.sh"
|
||||
(("update-desktop-database") (which "true")))
|
||||
#t))
|
||||
(add-after 'install 'patch-thumbnailer
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(substitute*
|
||||
(string-append
|
||||
out
|
||||
"/share/thumbnailers/gnome-font-viewer.thumbnailer")
|
||||
(("gnome-thumbnail-font")
|
||||
(string-append out "/bin/gnome-thumbnail-font"))))
|
||||
#t)))))
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-post-install-script
|
||||
(lambda _
|
||||
(substitute* "meson-postinstall.sh"
|
||||
(("update-desktop-database") (which "true")))))
|
||||
(add-after 'install 'patch-thumbnailer
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(substitute*
|
||||
(search-input-file
|
||||
outputs "share/thumbnailers/gnome-font-viewer.thumbnailer")
|
||||
(("gnome-thumbnail-font")
|
||||
(search-input-file outputs "bin/gnome-thumbnail-font"))))))))
|
||||
(native-inputs
|
||||
`(("gettext" ,gettext-minimal)
|
||||
("glib:bin" ,glib "bin")
|
||||
("pkg-config" ,pkg-config)))
|
||||
(list gettext-minimal
|
||||
`(,glib "bin")
|
||||
pkg-config))
|
||||
(inputs
|
||||
(list glib gnome-desktop gtk+ libhandy libxml2))
|
||||
(list glib
|
||||
gnome-desktop
|
||||
gtk
|
||||
libadwaita
|
||||
libhandy
|
||||
libxml2))
|
||||
(home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer")
|
||||
(synopsis "GNOME Fonts")
|
||||
(description "Application to show you the fonts installed on your computer
|
||||
|
|
Loading…
Reference in a new issue