mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 11:29:59 +01:00
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.
This commit is contained in:
parent
716265fd69
commit
0a7c355e0a
1 changed files with 6 additions and 18 deletions
|
@ -11342,15 +11342,15 @@ higher level porcelain stuff.")
|
||||||
(define-public gitg
|
(define-public gitg
|
||||||
(package
|
(package
|
||||||
(name "gitg")
|
(name "gitg")
|
||||||
(version "3.32.1")
|
(version "41")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||||
(version-major+minor version) "/"
|
(version-major version) "/"
|
||||||
name "-" version ".tar.xz"))
|
name "-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
|
"0aa6djcf7rjw0q688mfy47k67bbjpnx6aw1xs94abfhgn6gipdkz"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -11367,19 +11367,6 @@ higher level porcelain stuff.")
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "tests/libgitg/test-commit.vala"
|
(substitute* "tests/libgitg/test-commit.vala"
|
||||||
(("/bin/bash") (which "bash")))))
|
(("/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
|
(add-after 'glib-or-gtk-wrap 'wrap-typelib
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((prog (string-append #$output "/bin/gitg")))
|
(let ((prog (string-append #$output "/bin/gitg")))
|
||||||
|
@ -11388,9 +11375,9 @@ higher level porcelain stuff.")
|
||||||
(inputs
|
(inputs
|
||||||
(list glib
|
(list glib
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
|
gspell
|
||||||
gtk+
|
gtk+
|
||||||
gtkspell3
|
gtksourceview
|
||||||
gtksourceview-3
|
|
||||||
json-glib
|
json-glib
|
||||||
libdazzle
|
libdazzle
|
||||||
libgee
|
libgee
|
||||||
|
@ -11405,6 +11392,7 @@ higher level porcelain stuff.")
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
intltool
|
intltool
|
||||||
pkg-config
|
pkg-config
|
||||||
|
python
|
||||||
vala))
|
vala))
|
||||||
(synopsis "Graphical user interface for git")
|
(synopsis "Graphical user interface for git")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Reference in a new issue