unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#49357] [PATCH] gnu darktable update to 3.6.0
@ 2021-07-03 16:17 John Kehayias via Guix-patches via
  2021-07-03 16:29 ` Vinicius Monego
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: John Kehayias via Guix-patches via @ 2021-07-03 16:17 UTC (permalink / raw)
  To: 49357

[-- Attachment #1: Type: text/plain, Size: 84 bytes --]

Update for darktable to latest release, 3.6.0 (tested build locally, no problems).

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: darktable-3.6.0.diff --]
[-- Type: text/x-patch; name=darktable-3.6.0.diff, Size: 833 bytes --]

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"

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#49357] [PATCH] gnu darktable update to 3.6.0
  2021-07-03 16:17 [bug#49357] [PATCH] gnu darktable update to 3.6.0 John Kehayias via Guix-patches via
@ 2021-07-03 16:29 ` Vinicius Monego
  2021-07-04  0:38 ` John Kehayias via Guix-patches via
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Vinicius Monego @ 2021-07-03 16:29 UTC (permalink / raw)
  To: 49357

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [bug#49357] [PATCH] gnu darktable update to 3.6.0
  2021-07-03 16:17 [bug#49357] [PATCH] gnu darktable update to 3.6.0 John Kehayias via Guix-patches via
  2021-07-03 16:29 ` Vinicius Monego
@ 2021-07-04  0:38 ` John Kehayias via Guix-patches via
  2021-07-06  0:03 ` Vinicius Monego
  2021-07-06 21:51 ` John Kehayias via Guix-patches via
  3 siblings, 0 replies; 7+ messages in thread
From: John Kehayias via Guix-patches via @ 2021-07-04  0:38 UTC (permalink / raw)
  To: 49357@debbugs.gnu.org

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?




^ permalink raw reply	[flat|nested] 7+ messages in thread

* [bug#49357] [PATCH] gnu darktable update to 3.6.0
  2021-07-03 16:17 [bug#49357] [PATCH] gnu darktable update to 3.6.0 John Kehayias via Guix-patches via
  2021-07-03 16:29 ` Vinicius Monego
  2021-07-04  0:38 ` John Kehayias via Guix-patches via
@ 2021-07-06  0:03 ` Vinicius Monego
  2021-07-06 21:51 ` John Kehayias via Guix-patches via
  3 siblings, 0 replies; 7+ messages in thread
From: Vinicius Monego @ 2021-07-06  0:03 UTC (permalink / raw)
  To: 49357

> 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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [bug#49357] [PATCH] gnu darktable update to 3.6.0
  2021-07-03 16:17 [bug#49357] [PATCH] gnu darktable update to 3.6.0 John Kehayias via Guix-patches via
                   ` (2 preceding siblings ...)
  2021-07-06  0:03 ` Vinicius Monego
@ 2021-07-06 21:51 ` John Kehayias via Guix-patches via
  2021-07-08  7:47   ` bug#49357: " Nicolas Goaziou
  3 siblings, 1 reply; 7+ messages in thread
From: John Kehayias via Guix-patches via @ 2021-07-06 21:51 UTC (permalink / raw)
  To: 49357@debbugs.gnu.org

Thanks for the follow-up, that sounds good to me!




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#49357: [PATCH] gnu darktable update to 3.6.0
  2021-07-06 21:51 ` John Kehayias via Guix-patches via
@ 2021-07-08  7:47   ` Nicolas Goaziou
  2021-07-08 14:39     ` [bug#49357] " John Kehayias via Guix-patches via
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2021-07-08  7:47 UTC (permalink / raw)
  To: John Kehayias via Guix-patches via; +Cc: John Kehayias, 49357@debbugs.gnu.org

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,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 7+ messages in thread

* [bug#49357] [PATCH] gnu darktable update to 3.6.0
  2021-07-08  7:47   ` bug#49357: " Nicolas Goaziou
@ 2021-07-08 14:39     ` John Kehayias via Guix-patches via
  0 siblings, 0 replies; 7+ messages in thread
From: John Kehayias via Guix-patches via @ 2021-07-08 14:39 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 49357-done, 49357

‐‐‐‐‐‐‐ 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!




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-07-08 14:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-03 16:17 [bug#49357] [PATCH] gnu darktable update to 3.6.0 John Kehayias via Guix-patches via
2021-07-03 16:29 ` Vinicius Monego
2021-07-04  0:38 ` John Kehayias via Guix-patches via
2021-07-06  0:03 ` Vinicius Monego
2021-07-06 21:51 ` John Kehayias via Guix-patches via
2021-07-08  7:47   ` bug#49357: " Nicolas Goaziou
2021-07-08 14:39     ` [bug#49357] " John Kehayias via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).