Message ID | tNuBKoaI8bHsZaFio2MR9KrBJ5_yzvB38GqnX45U2Z174ERcD2rAEgEV76tS5RnZ2Yl3WHkzhKUUJ81zvkEj3xJ7x-Ibad2tU_X3Dqtiemw=@protonmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [bug#49357] gnu darktable update to 3.6.0 | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
Hello, I noticed a warning in the build that darktable now expects LLVM-12, and this: > CMake Warning at src/CMakeLists.txt:332 (find_package): > Could not find a configuration file for package "OpenEXR" that is > compatible with requested version "3.0". > > The following configuration files were considered but not accepted: > > /gnu/store/rhixcbc778wwbi9g7j7qdcbbzpv5rgf7-openexr- > 2.5.5/lib/cmake/OpenEXR/OpenEXRConfig.cmake, version: 2.5.5 > Is the openexr export working in the compiled package? If not, I'd suggest renaming openexr to openexr-2, packaging openexr 3, and then updating darktable to keep the same set of features. WDYT? OpenEXR 3 seems to be incompatible with version 2 [1]. [1] https://github.com/AcademySoftwareFoundation/Imath/blob/master/docs/PortingGuide2-3.md
Thanks, did not catch those. For LLVM, I don't think Darktable cares about version, as this commit just shows they added v12 since it was reported to work: https://github.com/darktable-org/darktable/commit/4215f9995fdcc308eb9c6769b839ffac83ded5d9 As for OpenEXR, I have not tested it nor used that feature in the past. I just tried and "darktable --version" does show OpenEXR support. Also, it does export a photo with openexr without complaint and I can open it (I just tried in Gimp). It seems like moving to openexr 3 should be done to address security issues: https://issues.guix.gnu.org/47509 This looks like it may involve patching many of the dependent packages, based on what I see in Arch (which only has openexr 3 and numerous small patches, though looked easy enough). So I think this update to Darktable is okay, but we should move to openexr 3 for everything due to #47509. How does that sound to you?
> It seems like moving to openexr 3 should be done to address security > issues: https://issues.guix.gnu.org/47509This looks like it may > involve patching many of the dependent packages, based on what I see > in Arch (which only has openexr 3 and numerous small patches, though > looked easy enough). I left a comment on that issue. OpenEXR addressed those vulnerabilities in version 2.5.4, while we're at 2.5.5. > So I think this update to Darktable is okay, but we should move to > openexr 3 for everything due to #47509. Looking at the releases page for openexr, it seems that both versions 2 and 3 are being actively maintained. We can have both, and IMO we should. But there's no need to work on it immediately. I built the package and executed darktable --version and also see that openexr support is enabled. This patch LGTM then. I will now wait for a committer to review. Thanks, Vinicius
Thanks for the follow-up, that sounds good to me!
Hello,
John Kehayias via Guix-patches via <guix-patches@gnu.org> writes:
> Thanks for the follow-up, that sounds good to me!
I applied your patch, thank you! And thanks to Vinicius Monego for the
review.
I also added a proper commit message. Next time, please use "git
format-patch" to generate one. You may want to look at the "Submitting
Patches" section of the Guix manual for more information.
Regards,
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Thursday, July 8th, 2021 at 3:47 AM, Nicolas Goaziou wrote: > Hello, > > John Kehayias via Guix-patches via guix-patches@gnu.org writes: > > > Thanks for the follow-up, that sounds good to me! > > I applied your patch, thank you! And thanks to Vinicius Monego for the > > review. > > I also added a proper commit message. Next time, please use "git > > format-patch" to generate one. You may want to look at the "Submitting > > Patches" section of the Guix manual for more information. > Thanks, and will do for the next ones!
diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm index e2d76d9908..673989e06b 100644 --- a/gnu/packages/photo.scm +++ b/gnu/packages/photo.scm @@ -471,7 +471,7 @@ photographic equipment.") (define-public darktable (package (name "darktable") - (version "3.4.1") + (version "3.6.0") (source (origin (method url-fetch) @@ -479,7 +479,7 @@ photographic equipment.") "https://github.com/darktable-org/darktable/releases/" "download/release-" version "/darktable-" version ".tar.xz")) (sha256 - (base32 "07llfhhz5dhh43smhv4ax4xi1diym8hrzl7cad87rkcvv98zihvz")))) + (base32 "0f8aqwkgw4gs97b5i4ygiqk5zilwq7ax7zwdd31r72zk98cd1g46")))) (build-system cmake-build-system) (arguments `(#:configure-flags '("-DBINARY_PACKAGE_BUILD=On"