gnu: indi: Update to 2.0.4.

* gnu/packages/astronomy.scm (indi-2.0): New variable.
(indi-1.9): New variable. Inherited from indi-2.0.
(indi): Set it to use indi-1.9 as default, as Stellarium and PHD2 are
still depended on 1.9 and fail with Indi 2.0+.
See: https://github.com/Stellarium/stellarium/issues/3038

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Sharlatan Hellseher 2023-10-09 00:40:22 +01:00 committed by Christopher Baines
parent 1592749dd1
commit 9ad9113fc2
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -3124,10 +3124,10 @@ (define-public imppg
32-bit floating-point.") 32-bit floating-point.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public indi (define-public indi-2.0
(package (package
(name "indi") (name "indi")
(version "1.9.9") (version "2.0.4")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -3136,7 +3136,7 @@ (define-public indi
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1vfcas59nlw8v7n6qhxhcm4isf5wk0crip5rmsallq3bsv3zznfr")))) (base32 "1pp72bqxrvdij47fqfrnyxwqw1w8prxvs1igjsazcw8ncbrdbbjc"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
;; TODO: fix failing tests on aarch64-system. ;; TODO: fix failing tests on aarch64-system.
@ -3185,6 +3185,24 @@ (define-public indi
license:lgpl2.0+ license:lgpl2.0+
license:lgpl2.1+)))) license:lgpl2.1+))))
(define-public indi-1.9
(package
(inherit indi-2.0)
(version "1.9.9")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/indilib/indi")
(commit (string-append "v" version))))
(file-name (git-file-name "indi" version))
(sha256
(base32 "1vfcas59nlw8v7n6qhxhcm4isf5wk0crip5rmsallq3bsv3zznfr"))))))
(define-public indi
;; Default version of INDI..
indi-1.9)
(define-public sunclock (define-public sunclock
(let ((commit "f4106eb0a81f7594726d6b2859efd8fc64cc1225") (let ((commit "f4106eb0a81f7594726d6b2859efd8fc64cc1225")
(revision "1")) (revision "1"))