Bug 242943 - graphics/darktable: upgrade to 3.0.0 release [non-maintainer submission]
Summary: graphics/darktable: upgrade to 3.0.0 release [non-maintainer submission]
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Jean-Sébastien Pédron
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-28 16:47 UTC by Matthias Andree
Modified: 2020-01-06 16:53 UTC (History)
1 user (show)

See Also:
dumbbell: maintainer-feedback+


Attachments
update darktable from 2.6.2_3 to 3.0.0 (new upstream release) (8.75 KB, patch)
2019-12-28 16:47 UTC, Matthias Andree
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree freebsd_committer freebsd_triage 2019-12-28 16:47:56 UTC
Created attachment 210288 [details]
update darktable from 2.6.2_3 to 3.0.0 (new upstream release)

Greetings, find attached an upgrade to darktable 3.0.0 - let's see if we can get this in before 2020Q1 branches!

Additional changes:
- ONLY_FOR_ARCHS* variables moved up to please portlint
- LDFLAGS add -Wl,--as-needed (not sure if that fixes libintl for non-NLS configurations)
- some CMAKE_ARGS hacks with CMAKE_*_COMPILER_LAUNCHER to get ccache back in
- switch from hardcoding LLVM_VER=60 to ${LLVM_DEFAULT}
- strip out -D_XOPEN_SOURCE=... (upstream CMakeLists.txt) because it is harmful in hiding, for instance, u_char typedefs, which causes compilation failure down the road for cups_print.

Compile tested on 12.0 amd64 (poudriere) and 12.1 amd64 (live system), and lightly smoke tested (12.1 live) meaning that import, lighttable, darkroom work on one Sony .ARW image.
Comment 1 Jean-Sébastien Pédron freebsd_committer freebsd_triage 2020-01-06 06:48:59 UTC
The patch looks good to me, thank you! Feel free to commit it.

One quick question: what is the purpose of "-Wl,--as-needed"?
Comment 2 Matthias Andree freebsd_committer freebsd_triage 2020-01-06 16:46:28 UTC
The -Wl,--as-needed was an unsuccessful attempt at fixing the extra libintl.so inclusion. Doesn't seem to make a difference on 12.1.  I will commit without it to avoid confusion.
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-01-06 16:52:06 UTC
A commit references this bug:

Author: mandree
Date: Mon Jan  6 16:52:01 UTC 2020
New revision: 522259
URL: https://svnweb.freebsd.org/changeset/ports/522259

Log:
  graphics/darktable: update to new release 3.0.0

  Announcement:
  <https://www.darktable.org/2019/12/darktable-300-released/>

  <https://www.darktable.org/2019/12/darktable-30/>

  Additional changes:
  - ONLY_FOR_ARCHS* variables moved up to please portlint
  - some CMAKE_ARGS hacks with CMAKE_*_COMPILER_LAUNCHER to get ccache back in
  - switch from hardcoding LLVM_VER=60 to ${LLVM_DEFAULT}
  - strip out -D_XOPEN_SOURCE=... (upstream CMakeLists.txt) because it is harmful
    in hiding, for instance, u_char typedefs, which causes compilation failure
    down the road for cups_print.

  PR:		242943
  Approved by:	dumbbell@ (maintainer)

Changes:
  head/graphics/darktable/Makefile
  head/graphics/darktable/distinfo
  head/graphics/darktable/pkg-plist
Comment 4 Matthias Andree freebsd_committer freebsd_triage 2020-01-06 16:52:43 UTC
Thanks for the review and approval, committed to ports/ head.