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.
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?
I'd rather have this support available in the cmake scripts via a tools option instead of manually compiling/installing all the pieces required.
Should be easy enough to do, at least in version 3.0.2 CMake accepts the options BUILD_CURVE_TOOLS and BUILD_NOISE_TOOLS.
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(-)