me
/
guix
Archived
1
0
Fork 0

gnu: ghex: Update to 42.3.

* gnu/packages/gnome.scm (ghex): Update to 42.3.
[source]: Adjust URL.
[phases]{skip-gtk-update-icon-cache}: Update.
[native-inputs]: Remove labels.  Replace intltool with gettext-minimal.
Remove which.
[inputs]: Replace gtk+ with gtk.
master
Maxim Cournoyer 2022-09-10 10:29:44 -04:00
parent 731b56f311
commit 4237ccbb49
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 14 additions and 15 deletions

View File

@ -11312,15 +11312,15 @@ micro-pauses and rest breaks, and restricts you to your daily limit.")
(define-public ghex
(package
(name "ghex")
(version "3.18.4")
(version "42.3")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/ghex/"
(version-major+minor version) "/"
(version-major version) "/"
"ghex-" version ".tar.xz"))
(sha256
(base32
"1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2"))))
"1vsd6l78pymdrsgdgj7xhxyrf09j4w08zrbvs8qdn8a9na50zm5d"))))
(build-system meson-build-system)
(arguments
'(#:glib-or-gtk? #t
@ -11329,20 +11329,19 @@ micro-pauses and rest breaks, and restricts you to your daily limit.")
(add-after 'unpack 'skip-gtk-update-icon-cache
;; Don't create 'icon-theme.cache'.
(lambda _
(substitute* "meson_post_install.py"
(("gtk-update-icon-cache") (which "true")))
#t)))))
(substitute* "meson.build"
(("gtk_update_icon_cache: true")
"gtk_update_icon_cache: false")))))))
(native-inputs
`(("pkg-config" ,pkg-config)
("glib:bin" ,glib "bin") ; for glib-compile-schemas
("gnome-common" ,gnome-common)
("which" ,which)
("intltool" ,intltool)
("yelp-tools" ,yelp-tools)
("desktop-file-utils" ,desktop-file-utils))) ; for 'desktop-file-validate'
(list desktop-file-utils ;for 'desktop-file-validate'
gettext-minimal
`(,glib "bin") ;for glib-compile-schemas
gnome-common
pkg-config
yelp-tools))
(inputs
`(("atk" ,atk)
("gtk" ,gtk+)))
(list atk
gtk))
(synopsis "GNOME hexadecimal editor")
(description "The GHex program can view and edit files in two ways:
hexadecimal or ASCII. It is useful for editing binary files in general.")