It would be nice to have ART in the official tree. ART is a derivative of the popular RawTherapee, trading a bit of customization and control over various processing parameters for a simpler and (hopefully) easier to use interface, while still maintaining the power and quality of RawTherapee. The compilation instruction states: "The only difference between compiling RawTherapee and ART is that ART depends also on the exiv2 library." But renaming the rawtherapee's ebuild and adding the dependency on exiv2 is not successful. I think there is some more work to do in src_prepare which is beyong my skills. Reproducible: Always
Created attachment 654816 [details] non working ebuild for art-1.4.1 I tried to adopt the rawtherapee's ebuild for art: Download and configure seem to work but compile phase not, but I am clueless.
Created attachment 721005 [details] A working ebuild for ART 1.9.1 Finally I managed to compile ART 1.9.1 with this attached ebuild. Some not so nice thing is the line S="${WORKDIR}/agriggio-art-6f6e53ff3d59" because the archive contains the commit id in the folder name. I dont know how to work around it in a more flexible way, so I had to hardcode it in the ebuild. You have to change it every time a new version arrives. Maybe someone with more knowledge in writing ebuild can get rid of it.
Created attachment 721217 [details] A working and optimized ebuild for ART 1.9.1 With the help of Gentoo Forums Moderator "Hu" I managed to optimize the ebuild: 1. The hardcoded path is gone now 2. lto USE flag is now recognized
Created attachment 722731 [details] A working ebuild for ART 1.9.3 Just a version bump to 1.9.3
Created attachment 745170 [details] version bump to ART 1.10.1
https://bitbucket.org/agriggio/art/downloads/ provides ART in version 1.16.3 now.
Created attachment 868521 [details] version bump to ART 1.20.1
Created attachment 871264 [details] version bump to ART 1.20.2 and some use flag changes Changes: - removed use flag "tmalloc" due to removed tmalloc support in ART - added use flag "opencolorio" for OpenColorIO support
Comment on attachment 654816 [details] non working ebuild for art-1.4.1 ># Copyright 1999-2020 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >EAPI=7 > >MY_P=${P/_rc/-rc} >inherit cmake flag-o-matic toolchain-funcs xdg-utils > >DESCRIPTION="ART, a free, open-source, cross-platform raw image processing program. " >HOMEPAGE="https://bitbucket.org/agriggio/art/wiki/Home" >SRC_URI="https://bitbucket.org/agriggio/art/get/${PV}.tar.bz2 -> ${P}.tar.bz2" > >LICENSE="GPL-3" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="openmp tcmalloc" > >RDEPEND=" > media-gfx/exiv2 > dev-libs/expat > dev-libs/libsigc++:2 > media-libs/lcms:2 > media-libs/lensfun > media-libs/libcanberra[gtk3] > media-libs/libiptcdata > media-libs/libpng:0= > media-libs/tiff:0 > sci-libs/fftw:3.0= > sys-libs/zlib > virtual/jpeg:0 > x11-libs/gtk+:3 > tcmalloc? ( dev-util/google-perftools )" >DEPEND="${RDEPEND} > dev-cpp/gtkmm:3.0 > gnome-base/librsvg" >BDEPEND="virtual/pkgconfig" > >S="${WORKDIR}/agriggio-art-c266695fa066" > >pkg_pretend() { > if use openmp ; then > tc-has-openmp || die "Please switch to an openmp compatible compiler" > fi >} > >src_configure() { > # upstream tested that "fast-math" give wrong results, so filter it > # https://bugs.gentoo.org/show_bug.cgi?id=606896#c2 > filter-flags -ffast-math > # -Ofast enable "fast-math" both in gcc and clang > replace-flags -Ofast -O3 > # In case we add an ebuild for klt we can (i)use that one, > # see http://cecas.clemson.edu/~stb/klt/ > local mycmakeargs=( > -DOPTION_OMP=$(usex openmp) > -DDOCDIR=/usr/share/doc/${PF} > -DCREDITSDIR=/usr/share/${PN} > -DLICENCEDIR=/usr/share/${PN} > -DCACHE_NAME_SUFFIX="" > -DWITH_SYSTEM_KLT="off" > -DENABLE_TCMALLOC=$(usex tcmalloc) > ) > cmake_src_configure >} > >pkg_postinst() { > xdg_icon_cache_update > xdg_desktop_database_update >} > >pkg_postrm() { > xdg_icon_cache_update > xdg_desktop_database_update >}
Created attachment 885520 [details] version bump to ART 1.21.1
Created attachment 894955 [details] version bump to ART 1.22
Created attachment 905651 [details] version bump to ART 1.24.1 Version bump to ART 1.24.1 and removal of media-libs/libiptcdata dependency which ART is never linked against.
Created attachment 907954 [details] updated deps to media-libs/libcanberra-gtk3 instead of media-libs/libcanberra[gtk3]