gnu: darktable: Update to 4.4.1.

* gnu/packages/photo.scm (darktable): Update to 4.4.1.
[phases]{fix-missing-include}: Remove phase as this has been fixed upstream.
This commit is contained in:
John Kehayias 2023-07-04 11:27:47 -04:00
parent 1011100868
commit ce4f4c23a5
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9

View file

@ -9,7 +9,7 @@
;;; Copyright © 2020 Sebastian Schott <sschott@mailbox.org> ;;; Copyright © 2020 Sebastian Schott <sschott@mailbox.org>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com> ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020. 2021, 2022 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2020. 2021, 2022 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com> ;;; Copyright © 2022, 2023 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com> ;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
@ -459,7 +459,7 @@ (define-public lensfun
(define-public darktable (define-public darktable
(package (package
(name "darktable") (name "darktable")
(version "4.4.0") (version "4.4.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -467,7 +467,7 @@ (define-public darktable
"https://github.com/darktable-org/darktable/releases/" "https://github.com/darktable-org/darktable/releases/"
"download/release-" version "/darktable-" version ".tar.xz")) "download/release-" version "/darktable-" version ".tar.xz"))
(sha256 (sha256
(base32 "105hyc8rhc8md683h8mbvqxxc2f5w2bk3348n2c4jz6rmcsgr1w8")))) (base32 "038gdri1mcmq9mlaikq5x9xyrs20b99jpcchfspngnwa5s6x6hz0"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
(list (list
@ -484,13 +484,6 @@ (define-public darktable
(string-append "\"" (string-append "\""
(search-input-file inputs "/lib/libOpenCL.so") (search-input-file inputs "/lib/libOpenCL.so")
"\""))))) "\"")))))
(add-after 'unpack 'fix-missing-include
(lambda _
;; Fix missing include needed to build tests. See upstream
;; issue: https://github.com/darktable-org/darktable/issues/12604
(substitute* "./src/common/variables.h"
(("once")
"once\n#include \"common/image.h\""))))
(add-before 'configure 'prepare-build-environment (add-before 'configure 'prepare-build-environment
(lambda _ (lambda _
;; Rawspeed fails to build with GCC due to OpenMP error: ;; Rawspeed fails to build with GCC due to OpenMP error: