aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-09-05 02:40:33 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-09-13 02:04:34 -0400
commitdd5d0fd76b1932b6b15c1c60ed76f552214397c7 (patch)
tree060f84c9e9c5c0d4cbfecdd7e3881dd3634981c3
parent3c2a70604706363668d9a4b04fbfe5105ae70381 (diff)
downloadguix-dd5d0fd76b1932b6b15c1c60ed76f552214397c7.tar.gz
guix-dd5d0fd76b1932b6b15c1c60ed76f552214397c7.zip
gnu: gnome-characters: Update to 42.0.
* gnu/packages/gnome.scm (gnome-characters): Update to 42.0. [phases]{disable-gtk-update-icon-cache}: New phase. {wrap}: Use search-input-file. [native-inputs]: Delete labels. Remove gtk+:bin. [inputs]: Replace gtk+ with gtk. Add libadwaita.
-rw-r--r--gnu/packages/gnome.scm45
1 files changed, 26 insertions, 19 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index a93c4928b7..34a1914def 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2032,7 +2032,7 @@ to other formats.")
(define-public gnome-characters
(package
(name "gnome-characters")
- (version "40.0")
+ (version "42.0")
(source
(origin
(method url-fetch)
@@ -2041,28 +2041,35 @@ to other formats.")
"/gnome-characters-" version ".tar.xz"))
(sha256
(base32
- "0z2xa4w921bzpzj6gv88pvbrijcnnwni6jxynwz0ybaravyzaqha"))))
+ "1y40g7k7yyzikbbxhf69q4c0221lga1cli1p617v99pq2swgz82x"))))
(build-system meson-build-system)
(arguments
- `(#:glib-or-gtk? #t
- #:meson ,meson-0.60
- #:phases (modify-phases %standard-phases
- (add-after 'install 'wrap
- (lambda* (#:key outputs #:allow-other-keys)
- ;; GNOME Characters needs Typelib files from GTK and
- ;; gnome-desktop.
- (wrap-program (string-append (assoc-ref outputs "out")
- "/bin/gnome-characters")
- `("GI_TYPELIB_PATH" ":" prefix
- (,(getenv "GI_TYPELIB_PATH")))))))))
+ (list
+ #:glib-or-gtk? #t
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'disable-gtk-update-icon-cache
+ (lambda _
+ (setenv "DESTDIR" "/")))
+ (add-after 'install 'wrap
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; GNOME Characters needs Typelib files from GTK and
+ ;; gnome-desktop.
+ (wrap-program (search-input-file outputs
+ "bin/gnome-characters")
+ `("GI_TYPELIB_PATH" ":" prefix
+ (,(getenv "GI_TYPELIB_PATH")))))))))
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("glib:bin" ,glib "bin")
- ("gtk+:bin" ,gtk+ "bin")
- ("pkg-config" ,pkg-config)
- ("python" ,python-minimal)))
+ (list gettext-minimal
+ `(,glib "bin")
+ pkg-config
+ python-minimal))
(inputs
- (list gjs gtk+ libhandy libunistring gnome-desktop))
+ (list gjs
+ gnome-desktop
+ gtk
+ libadwaita
+ libhandy
+ libunistring))
(home-page "https://wiki.gnome.org/Apps/CharacterMap")
(synopsis "Find and insert unusual characters")
(description "Characters is a simple utility application to find