aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-09-10 10:29:44 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-09-13 02:04:54 -0400
commit4237ccbb49c0ee83eea2283b29df760373162bd2 (patch)
tree46430340808e5714725912526e99069b5f8d3de8 /gnu
parent731b56f311d92aa27f7ee272a28edb263bff6e7b (diff)
downloadguix-4237ccbb49c0ee83eea2283b29df760373162bd2.tar.gz
guix-4237ccbb49c0ee83eea2283b29df760373162bd2.zip
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnome.scm29
1 files changed, 14 insertions, 15 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 6d553618a4..3bc1f044a2 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -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.")