commit: 5d94b3176e6d49dd4e14824459f19a86be27d2d6 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> AuthorDate: Mon Oct 27 18:38:50 2025 +0000 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> CommitDate: Mon Oct 27 18:39:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d94b317
media-gfx/fotocx: add 25.4 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> media-gfx/fotocx/Manifest | 1 + media-gfx/fotocx/fotocx-25.4.ebuild | 79 +++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/media-gfx/fotocx/Manifest b/media-gfx/fotocx/Manifest index 21f32f7a3daa..5555ae99f377 100644 --- a/media-gfx/fotocx/Manifest +++ b/media-gfx/fotocx/Manifest @@ -2,3 +2,4 @@ DIST fotocx-25.0-source.tar.gz 15651266 BLAKE2B e6330541a3a0d341055a326b0ab4e3cc DIST fotocx-25.1-source.tar.gz 14627082 BLAKE2B 03bae91fbf4b6df4bd76598ba2b744bfde36d2a1899947b6f8851a9087eed90ef6f1b4a197f7f21c96fe95666bc39d75f748e5686f6282ea36aea508af2bdafa SHA512 d13cf34429c93b38fd90e8c2541865f9ab44f0003750c1a9d3486afca85f1927ccce47ff917a62942b50e404829eeba18243e80e4f1241352bb2ed0807579350 DIST fotocx-25.2-source.tar.gz 14619329 BLAKE2B 048e6894fa7ec4f835b247cf59d981e5e3f60bd5d146d8eee8560222980a8a745dbda84be8f1a347383e339614db600ea36a6d69bd1686129be42e081b525a81 SHA512 cf4b198db6ace69af4ab4d6991347feb96ea65e16d11837e3b304b97a947f1878d9c5341593cd5af4d7587b3423232a9ff7719d415a647e258759b70b21b07ba DIST fotocx-25.3-source.tar.gz 14619475 BLAKE2B 82a55c164c5a5d4fdf5b9b566a67d153df047ea6736cb0e6d67476fa3dbd8da25166a23c18a826604f5f690abfaea42930abed56cce3185a1bec1b1823c5f571 SHA512 d08e88a47d52cfa2286e4030a9d486446d9008c9dd9c76c359e464f2645f88446190fc92390ce08fba22bcc64e649c039930667557011660d16c16379a9b57dc +DIST fotocx-25.4-source.tar.gz 14620597 BLAKE2B 9324722b96ed793a0a967b7246b9757b678ac9f67bf355cad069d4f220c053ff9174a7737b8832908a21999573b2ae28f81d09bebd980688bffe4c9ce8c625d5 SHA512 906ffc71abd2ec888e1e3b258892a11a3900abe6698dc1297c51d813a46bfca74cae034c9981a5bbc3106fc3148a910b3096e6aca0d0684b65b0ab2bd428b7e3 diff --git a/media-gfx/fotocx/fotocx-25.4.ebuild b/media-gfx/fotocx/fotocx-25.4.ebuild new file mode 100644 index 000000000000..8c904f825206 --- /dev/null +++ b/media-gfx/fotocx/fotocx-25.4.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature xdg-utils + +DESCRIPTION="Program for improving image files made with a digital camera" +HOMEPAGE="https://kornelix.net/fotocx/fotocx.html" +SRC_URI="https://kornelix.net/downloads/downloads/${P}-source.tar.gz" +S="${WORKDIR}/${PN}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +# For required dependencies read doc/README, for required tools read +# data/userguide [INSTALLATION]. xdg-open (x11-misc/xdg-utils) is an +# alternative to firefox and chromium-browser. `grep '"which ' * -R` +# is helpful to report some required tools run via the shell. + +DEPEND=" + media-libs/clutter + media-libs/clutter-gtk + media-libs/lcms:2 + media-libs/libjpeg-turbo:= + media-libs/libpng:= + media-libs/tiff:= + media-libs/libchamplain[gtk] + x11-libs/gtk+:3" +RDEPEND=" + ${DEPEND} + media-gfx/dcraw + media-libs/exiftool + x11-misc/xdg-utils +" + +PATCHES=( "${FILESDIR}/${PN}-24.20-documentation.patch" ) + +DOCS=() +HTML_DOCS=() + +src_prepare() { + sed -i -e "/^DOCDIR/ s/${PN}$/${PF}/" Makefile || die + sed -i -e "/^Icon/ s/\.png$//" ${PN}.desktop || die + default +} + +src_install() { + # For the Help menu items to work, *.html must be in /usr/share/doc/${PF}, + # and README, changelog, copyright, license, etc. must not be compressed. + emake DESTDIR="${D}" PREFIX="/usr" install + rm -f "${D}"/usr/share/doc/${PF}/*.man || die + docompress -x /usr/share/doc +} + +pkg_postinst() { + optfeature "HEIC & AVIF file support" media-libs/libheif + optfeature "additional RAW file support" media-gfx/rawtherapee + optfeature "additional RAW file support" media-gfx/darktable + optfeature "video thumbnails & playback" media-video/ffmpeg + optfeature "copying images to optical media" app-cdr/dvd+rw-tools + optfeature "WEBP file support" media-libs/libwebp + + elog + elog "Please read the Help > User Guide for details. The source location is" + elog "/usr/share/fotocx/data/userguide and after running fotocx a copy will" + elog "be placed at /home/<user>/.fotocx/userguide." + elog + elog "To play videos, in Tools > Preferences set 'Video File Play Command'." + elog + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +}
