Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736144 - Ebuild request for ART, a free, open-source, cross-platform raw image processing program.
Summary: Ebuild request for ART, a free, open-source, cross-platform raw image process...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: https://bitbucket.org/agriggio/art/wi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-06 14:50 UTC by Marcus Wißmann
Modified: 2024-02-20 12:58 UTC (History)
2 users (show)

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


Attachments
non working ebuild for art-1.4.1 (art-1.4.1.ebuild,1.74 KB, text/plain)
2020-08-15 16:27 UTC, Marcus Wißmann
Details
A working ebuild for ART 1.9.1 (art-1.9.1.ebuild,1.74 KB, text/plain)
2021-07-02 13:25 UTC, Marcus Wißmann
Details
A working and optimized ebuild for ART 1.9.1 (art-1.9.1.ebuild,1.78 KB, text/plain)
2021-07-03 09:51 UTC, Marcus Wißmann
Details
A working ebuild for ART 1.9.3 (art-1.9.3.ebuild,1.78 KB, text/plain)
2021-07-08 13:21 UTC, Marcus Wißmann
Details
version bump to ART 1.10.1 (art-1.10.1.ebuild,1.78 KB, text/plain)
2021-10-16 11:47 UTC, Marcus Wißmann
Details
version bump to ART 1.20.1 (art-1.20.1.ebuild,1.81 KB, application/vnd.gentoo.ebuild)
2023-08-23 12:17 UTC, Marcus Wißmann
Details
version bump to ART 1.20.2 and some use flag changes (art-1.20.2.ebuild,1.81 KB, application/vnd.gentoo.ebuild)
2023-09-25 02:11 UTC, Marcus Wißmann
Details
version bump to ART 1.21.1 (art-1.21.1.ebuild,1.81 KB, application/vnd.gentoo.ebuild)
2024-02-20 12:58 UTC, Marcus Wißmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Wißmann 2020-08-06 14:50:48 UTC
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
Comment 1 Marcus Wißmann 2020-08-15 16:27:00 UTC
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.
Comment 2 Marcus Wißmann 2021-07-02 13:25:35 UTC
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.
Comment 3 Marcus Wißmann 2021-07-03 09:51:12 UTC
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
Comment 4 Marcus Wißmann 2021-07-08 13:21:17 UTC
Created attachment 722731 [details]
A working ebuild for ART 1.9.3

Just a version bump to 1.9.3
Comment 5 Marcus Wißmann 2021-10-16 11:47:55 UTC
Created attachment 745170 [details]
version bump to ART 1.10.1
Comment 6 Manfred Knick 2022-10-16 13:08:12 UTC
https://bitbucket.org/agriggio/art/downloads/

provides ART in version 1.16.3 now.
Comment 7 Marcus Wißmann 2023-08-23 12:17:37 UTC
Created attachment 868521 [details]
version bump to ART 1.20.1
Comment 8 Marcus Wißmann 2023-09-25 02:11:01 UTC
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 9 Marcus Wißmann 2023-10-04 01:22:55 UTC
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
>}
Comment 10 Marcus Wißmann 2024-02-20 12:58:17 UTC
Created attachment 885520 [details]
version bump to ART 1.21.1