mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
gnu: darktable: Update to 4.0.1.
* gnu/packages/photo.scm (darktable): Update to 4.0.1. [phases]{fix-missing-include}: New phase to work around an upstream bug of a missing include statement. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
c2b263fcb7
commit
95ffc45646
1 changed files with 9 additions and 2 deletions
|
@ -460,7 +460,7 @@ (define-public lensfun
|
|||
(define-public darktable
|
||||
(package
|
||||
(name "darktable")
|
||||
(version "4.0.0")
|
||||
(version "4.0.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -468,7 +468,7 @@ (define-public darktable
|
|||
"https://github.com/darktable-org/darktable/releases/"
|
||||
"download/release-" version "/darktable-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32 "0bfcag6bj5vcmg4z4xjirs43iafcx89al6jl41i5mrhpjzszh5hl"))))
|
||||
(base32 "0s0xwp5n4jhzdhbmsg02dlsc503jfznpwqn3rnipg687q3h83vsz"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags '("-DBINARY_PACKAGE_BUILD=On"
|
||||
|
@ -482,6 +482,13 @@ (define-public darktable
|
|||
(("\"libOpenCL\"")
|
||||
(string-append "\"" (assoc-ref inputs "opencl-icd-loader")
|
||||
"/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
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; Rawspeed fails to build with GCC due to OpenMP error:
|
||||
|
|
Loading…
Reference in a new issue