aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2022-03-06 14:50:18 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-03-08 20:53:44 +0100
commit0a7c355e0a11f800880a4d576e9cd40e5345c91d (patch)
tree155e0c6007c55ca6f1805f7ca6d019022116d74a
parent716265fd69d4de958a792b9f6f4d0ac15df8d3f9 (diff)
downloadguix-0a7c355e0a11f800880a4d576e9cd40e5345c91d.tar
guix-0a7c355e0a11f800880a4d576e9cd40e5345c91d.tar.gz
gnu: gitg: Update to 41.
* gnu/packages/gnome.scm (gitg): Update to 41. [arguments]: Drop ‘harden’ phase. [inputs]: Replace gtkspell3 with gspell and gtksourceview-3 with gtksourceview. [native-inputs]: Add python.
-rw-r--r--gnu/packages/gnome.scm24
1 files changed, 6 insertions, 18 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 024e513b6b..3da05afba7 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -11342,15 +11342,15 @@ higher level porcelain stuff.")
(define-public gitg
(package
(name "gitg")
- (version "3.32.1")
+ (version "41")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
+ (version-major version) "/"
name "-" version ".tar.xz"))
(sha256
(base32
- "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
+ "0aa6djcf7rjw0q688mfy47k67bbjpnx6aw1xs94abfhgn6gipdkz"))))
(build-system meson-build-system)
(arguments
(list
@@ -11367,19 +11367,6 @@ higher level porcelain stuff.")
(lambda _
(substitute* "tests/libgitg/test-commit.vala"
(("/bin/bash") (which "bash")))))
- ;; XXX: Remove upon next version bump
- (add-after 'unpack 'harden
- (lambda _
- ;; See <https://gitlab.gnome.org/GNOME/gitg/-/issues/337>
- (substitute* "libgitg/gitg-date.vala"
- (("(val\|tzs) == null" all val)
- (string-append val " == null || " val " == \"\""))
- (("(val\|tzs) != null" all val)
- (string-append val " != null && " val " != \"\"")))
- ;; See <https://gitlab.gnome.org/GNOME/gitg/-/merge_requests/159>
- (substitute* "gitg/gitg-action-support.vala"
- (("stash_if_needed\\((.*), Gitg.Ref head" all other)
- (string-append "stash_if_needed(" other ", Gitg.Ref? head")))))
(add-after 'glib-or-gtk-wrap 'wrap-typelib
(lambda* (#:key outputs #:allow-other-keys)
(let ((prog (string-append #$output "/bin/gitg")))
@@ -11388,9 +11375,9 @@ higher level porcelain stuff.")
(inputs
(list glib
gsettings-desktop-schemas
+ gspell
gtk+
- gtkspell3
- gtksourceview-3
+ gtksourceview
json-glib
libdazzle
libgee
@@ -11405,6 +11392,7 @@ higher level porcelain stuff.")
gobject-introspection
intltool
pkg-config
+ python
vala))
(synopsis "Graphical user interface for git")
(description