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