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
This commit is contained in:
Oleg Pykhalov 2024-05-01 08:45:04 +03:00
parent 2e505090ae
commit 757bbaaf14
No known key found for this signature in database
GPG key ID: 167F8EA5001AFA9C

View file

@ -17,7 +17,7 @@
;;; Copyright © 2017, 2020 EuAndreh <eu@euandre.org> ;;; Copyright © 2017, 2020 EuAndreh <eu@euandre.org>
;;; Copyright © 2017, 2018, 2020, 2022 Marius Bakke <marius@gnu.org> ;;; Copyright © 2017, 2018, 2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at> ;;; 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 Sou Bunnbu <iyzsong@member.fsf.org>
;;; Copyright © 2018 Christopher Baines <mail@cbaines.net> ;;; Copyright © 2018 Christopher Baines <mail@cbaines.net>
;;; Copyright © 2018 Timothy Sample <samplet@ngyro.com> ;;; Copyright © 2018 Timothy Sample <samplet@ngyro.com>
@ -3158,7 +3158,7 @@ (define-public stagit
(define-public gource (define-public gource
(package (package
(name "gource") (name "gource")
(version "0.51") (version "0.54")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -3166,15 +3166,26 @@ (define-public gource
"/gource-" version "/gource-" version ".tar.gz")) "/gource-" version "/gource-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"16p7b1x4r0915w883lp374jcdqqja37fnb7m8vnsfnl2n64gi8qr")))) "1rgsssff5ygafc5svg19p046r4h2q9a3wqqbzrllvkyjcpgwxjqx"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(list (string-append "--with-boost-libdir=" (list (string-append "--with-boost-libdir="
(assoc-ref %build-inputs "boost") (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 (native-inputs
(list pkg-config)) (list pkg-config tzdata-for-tests))
(inputs (inputs
(list boost (list boost
ftgl ftgl
@ -3183,8 +3194,9 @@ (define-public gource
glu glu
libpng libpng
mesa mesa
pcre pcre2
(sdl-union (list sdl2 sdl2-image)))) (sdl-union (list sdl2 sdl2-image))
tinyxml))
(home-page "https://gource.io/") (home-page "https://gource.io/")
(synopsis "3D visualisation tool for source control repositories") (synopsis "3D visualisation tool for source control repositories")
(description "@code{gource} provides a software version control (description "@code{gource} provides a software version control