Bug 167464 - [PATCH] Update graphics/darktable to 1.0.3
Summary: [PATCH] Update graphics/darktable to 1.0.3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-30 22:30 UTC by Jean-Sébastien Pédron
Modified: 2012-05-11 15:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Sébastien Pédron freebsd_committer freebsd_triage 2012-04-30 22:30:09 UTC
The patch is available here:
http://people.freebsd.org/~dumbbell/darktable/graphics-darktable-update-to-103.2.patch

With this update, I changed two things:

1. USE_GCC=4.6+: while not required, this permits the use of OpenMP and this improves performances.

2. ONLY_FOR_ARCHS=i386 amd64: darktable requires SSE.

I also force the "darktable" executable to be linked to libstdc++. This is a workaround to fix a problem with CMake: it strips any RPATH from libdarktable.so (the one linked to libstdc++), therefore the wrong libstdc++ is picked (/usr/lib/libstdc++.so.6 instead of /usr/local/lib/gcc46/libstdc++.so.6). Because RPATH is kept with the "darktable" executable, forcing the link to libstdc++ fixes the issue.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-04-30 22:30:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danfe

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alexey Dokuchaev freebsd_committer freebsd_triage 2012-05-11 15:20:25 UTC
State Changed
From-To: open->closed

Committed with modifications, thanks!