diff options
author | Oleg Pykhalov <go.wigust@gmail.com> | 2024-05-01 08:45:04 +0300 |
---|---|---|
committer | Oleg Pykhalov <go.wigust@gmail.com> | 2024-05-01 09:11:05 +0300 |
commit | 757bbaaf14183419a9c6e56072f3b202ea1bff3d (patch) | |
tree | 19dc995d765dd5d0ef783ab579de963bb0480522 | |
parent | 2e505090aee0c706dc87371f5a411f6cb328953f (diff) |
gnu: gource: Update to 0.54.
* gnu/packages/version-control.scm (gource)[version]: Update to 0.54.
[arguments]<#:disallowed-references>: Add tzdata-for-tests.
<#:phases>: Unbundle tinyxml. Set TZDIR environment variable.
<#:configure-flags>: Add --with-tinyxml argument.
[native-inputs]: Add tzdata-for-tests.
[inputs]: Replace pcre with pcre2. Add tinyxml.
Change-Id: I67c2a1ee74582ed3e0a4ec5e6d229c948f9d5265
-rw-r--r-- | gnu/packages/version-control.scm | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 0c7c496c82..2567acd2af 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -17,7 +17,7 @@ ;;; Copyright © 2017, 2020 EuAndreh <eu@euandre.org> ;;; Copyright © 2017, 2018, 2020, 2022 Marius Bakke <marius@gnu.org> ;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at> -;;; Copyright © 2017, 2020 Oleg Pykhalov <go.wigust@gmail.com> +;;; Copyright © 2017, 2020, 2024 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2018 Sou Bunnbu <iyzsong@member.fsf.org> ;;; Copyright © 2018 Christopher Baines <mail@cbaines.net> ;;; Copyright © 2018 Timothy Sample <samplet@ngyro.com> @@ -3158,7 +3158,7 @@ be served with a HTTP file server of your choice.") (define-public gource (package (name "gource") - (version "0.51") + (version "0.54") (source (origin (method url-fetch) (uri (string-append @@ -3166,15 +3166,26 @@ be served with a HTTP file server of your choice.") "/gource-" version "/gource-" version ".tar.gz")) (sha256 (base32 - "16p7b1x4r0915w883lp374jcdqqja37fnb7m8vnsfnl2n64gi8qr")))) + "1rgsssff5ygafc5svg19p046r4h2q9a3wqqbzrllvkyjcpgwxjqx")))) (build-system gnu-build-system) (arguments `(#:configure-flags (list (string-append "--with-boost-libdir=" (assoc-ref %build-inputs "boost") - "/lib")))) + "/lib") + "--with-tinyxml") + #:disallowed-references (,tzdata-for-tests) + #:phases (modify-phases %standard-phases + (add-after 'unpack 'unbundle + (lambda _ + (delete-file-recursively "src/tinyxml"))) + (add-before 'check 'check-setup + (lambda* (#:key inputs #:allow-other-keys) + (setenv "TZDIR" ; for src/test/datetime_tests.cpp + (search-input-directory inputs + "share/zoneinfo"))))))) (native-inputs - (list pkg-config)) + (list pkg-config tzdata-for-tests)) (inputs (list boost ftgl @@ -3183,8 +3194,9 @@ be served with a HTTP file server of your choice.") glu libpng mesa - pcre - (sdl-union (list sdl2 sdl2-image)))) + pcre2 + (sdl-union (list sdl2 sdl2-image)) + tinyxml)) (home-page "https://gource.io/") (synopsis "3D visualisation tool for source control repositories") (description "@code{gource} provides a software version control |