Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465068 - media-gfx/darktable: optionally install additional tools
Summary: media-gfx/darktable: optionally install additional tools
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL: http://www.darktable.org/2012/12/prof...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-08 11:16 UTC by urcindalo
Modified: 2020-06-18 16:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description urcindalo 2013-04-08 11:16:04 UTC
Please excuse me if this isn't even a bug.

I just installed darktable-1.2 on my mostly stable amd64 box and wanted to profile my camera, an Olympus E-PM1, according to the tutorial in the darktable site:
http://www.darktable.org/2012/12/profiling-sensor-and-photon-noise/

In this tutorial you can read:
"to generate a profile, dt ships a couple of scripts and tools in tools/noise/"

The script is gen-profile, but it seems my local installation of darktable 1.2 lacks not only the gen-profile script itself, but even the tools folder. I installed darktable with this flags:
===
$ eix -I darktable
[I] media-gfx/darktable
     Available versions:  (~)1.1.2-r1 (~)1.1.3 (~)1.1.4 (~)1.2 **9999 {colord doc facebook flickr geo gnome-keyring gphoto2 graphicsmagick jpeg2k kde nls opencl openmp pax_kernel +rawspeed +slideshow}
     Installed versions:  1.2(13:05:38 08/04/13)(colord geo gphoto2 graphicsmagick jpeg2k kde nls opencl openmp rawspeed slideshow -doc -facebook -flickr -gnome-keyring -pax_kernel)
===

Am I doing something wrong or the darktable ebuild fails installing a complete darktable installation?

Again, please accept my apologies if this weren't a bug but a dumb user's fault.
Comment 1 urcindalo 2013-04-09 08:41:10 UTC
The necessary scripts are located inside the darktable-1.2/tools in the original source code file. They need also extra helping commands to be built. For instance, the gen-profile script in darktable-1.2/tools/noise needs the "noiseprofile" and "floatdump" binary commands, the .C source code of which are inside the same darktable-1.2/tools/noise folder.

It would be great if the darktable ebuild took care of the useful scripts inside darktable-1.2/tools at emerge time and installed them; maybe hanging from /opt/darktable or /usr/share/darktable?
Comment 2 Tim Harder gentoo-dev 2013-07-03 09:36:30 UTC
I'd rather have this support available in the cmake scripts via a tools option instead of manually compiling/installing all the pieces required.
Comment 3 Marek Szuba (RETIRED) archtester gentoo-dev 2020-06-18 13:07:29 UTC
Should be easy enough to do, at least in version 3.0.2 CMake accepts the options BUILD_CURVE_TOOLS and BUILD_NOISE_TOOLS.
Comment 4 Larry the Git Cow gentoo-dev 2020-06-18 16:30:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f349a37d4b7f71092c3eaef3f0234c7e0b5b6b4

commit 6f349a37d4b7f71092c3eaef3f0234c7e0b5b6b4
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-06-18 16:22:13 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-06-18 16:29:17 +0000

    media-gfx/darktable: allow installation of base-curve and noise-profile tools
    
    ...via, unsurprisingly, USE=tools.
    
    Closes: https://bugs.gentoo.org/465068
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 media-gfx/darktable/darktable-3.0.2-r1.ebuild | 6 ++++--
 media-gfx/darktable/darktable-3.0.2.ebuild    | 6 ++++--
 media-gfx/darktable/darktable-9999.ebuild     | 6 ++++--
 media-gfx/darktable/metadata.xml              | 1 +
 4 files changed, 13 insertions(+), 6 deletions(-)