[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#38122] [PATCH 007/197] gnu: Add gitg.
From: |
Hartmut Goebel |
Subject: |
[bug#38122] [PATCH 007/197] gnu: Add gitg. |
Date: |
Fri, 8 Nov 2019 11:33:35 +0100 |
From: Leo Prikler <address@hidden>
* gnu/packages/gnome.scm: (gitg): New variable.
Signed-off-by: Mathieu Othacehe <address@hidden>
---
gnu/packages/gnome.scm | 67 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 276fa56138..428fe1cd16 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8400,6 +8400,73 @@ higher level porcelain stuff.")
(home-page "https://wiki.gnome.org/Projects/Libgit2-glib")
(license license:gpl2+)))
+(define-public gitg
+ (package
+ (name "gitg")
+ (version "3.32.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:glib-or-gtk? #t
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'disable-post-install-partially
+ (lambda _
+ (substitute* "meson_post_install.py"
+ (("'python'") ; there are no python sources to compile
+ (string-append "'" (which "true") "'"))
+ (("gtk-update-icon-cache") (which "true")))
+ #t))
+ (add-after 'unpack 'fix-test-sources
+ (lambda _
+ (substitute* "tests/libgitg/test-commit.vala"
+ (("/bin/bash") (which "bash")))
+ #t))
+ (add-after 'glib-or-gtk-wrap 'wrap-typelib
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((prog (string-append (assoc-ref outputs "out")
+ "/bin/gitg")))
+ (wrap-program prog
+ `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
+ #t))))))
+ (inputs
+ `(("glib" ,glib)
+ ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+ ("gtk+" ,gtk+)
+ ("gtkspell3" ,gtkspell3)
+ ("gtksourceview" ,gtksourceview-3)
+ ("json-glib" ,json-glib)
+ ("libdazzle" ,libdazzle)
+ ("libgee" ,libgee)
+ ("libgit2" ,libgit2) ; propagated by libgit2-glib
+ ("libgit2-glib" ,libgit2-glib)
+ ("libpeas" ,libpeas)
+ ("libsecret" ,libsecret)
+ ("libsoup" ,libsoup)
+ ("libxml2" ,libxml2)))
+ (native-inputs
+ `(("glib:bin" ,glib "bin")
+ ("gtk+:bin" ,gtk+ "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("intltool" ,intltool)
+ ("pkg-config" ,pkg-config)
+ ("vala" ,vala)))
+ (synopsis "Graphical user interface for git")
+ (description
+ "gitg is a graphical user interface for git. It aims at being a small,
+fast and convenient tool to visualize the history of git repositories.
+Besides visualization, gitg also provides several utilities to manage your
+repository and commit your work.")
+ (home-page "https://wiki.gnome.org/Apps/Gitg")
+ (license license:gpl2+)))
+
(define-public gnome-mahjongg
(package
(name "gnome-mahjongg")
--
2.21.0
- [bug#38122] [PATCH 0/1] qtwebkit: Uses sqlite-with-column-metadata., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 001/197] gnu: Add emacs-eshell-prompt-extras., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 1/1] gnu: qtwebkit: Uses sqlite-with-column-metadata., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 003/197] gnu: Fix attribution., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 002/197] gnu: Add emacs-eshell-did-you-mean., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 004/197] gnu: make-nsis: Fix cross-compilation., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 005/197] gnu: Add dxvk., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 006/197] gnu: Fix make-gcc-libc., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 007/197] gnu: Add gitg.,
Hartmut Goebel <=
- [bug#38122] [PATCH 010/197] services: ntp: Ensure no double quotes are output to config file., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 012/197] gnu: pingus: Adjust for GCC 7., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 011/197] gnu: pingus: Update source URI., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 008/197] gnu: Add python-keyutils., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 013/197] gnu: Remove python2-feather-format., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 009/197] gnu: Add udiskie., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 015/197] gnu: pocl: Update to 1.4., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 017/197] gnu: Chibi-Scheme: Update to 0.8., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 018/197] gnu: Chibi-Scheme: Do not use unstable tarball., Hartmut Goebel, 2019/11/08
- [bug#38122] [PATCH 021/197] gnu: musescore: Update to 3.3., Hartmut Goebel, 2019/11/08