From 0a7c355e0a11f800880a4d576e9cd40e5345c91d Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Sun, 6 Mar 2022 14:50:18 +0100 Subject: gnu: gitg: Update to 41. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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. --- gnu/packages/gnome.scm | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) (limited to 'gnu/packages/gnome.scm') 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 @@ (define-public libgit2-glib (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 @@ (define-public gitg (lambda _ (substitute* "tests/libgitg/test-commit.vala" (("/bin/bash") (which "bash"))))) - ;; XXX: Remove upon next version bump - (add-after 'unpack 'harden - (lambda _ - ;; See - (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 - (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 @@ (define-public gitg (inputs (list glib gsettings-desktop-schemas + gspell gtk+ - gtkspell3 - gtksourceview-3 + gtksourceview json-glib libdazzle libgee @@ -11405,6 +11392,7 @@ (define-public gitg gobject-introspection intltool pkg-config + python vala)) (synopsis "Graphical user interface for git") (description -- cgit v1.2.3