commit: f26a031f98c389a5578f90e222210166bd412474 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> AuthorDate: Thu Jan 29 16:19:00 2026 +0000 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> CommitDate: Thu Jan 29 16:21:49 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f26a031f
media-gfx/fotocx: add 26.2 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> media-gfx/fotocx/Manifest | 1 + media-gfx/fotocx/fotocx-26.2.ebuild | 79 +++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/media-gfx/fotocx/Manifest b/media-gfx/fotocx/Manifest index 06649d291f8c..ab180cf54d44 100644 --- a/media-gfx/fotocx/Manifest +++ b/media-gfx/fotocx/Manifest @@ -5,3 +5,4 @@ DIST fotocx-25.3-source.tar.gz 14619475 BLAKE2B 82a55c164c5a5d4fdf5b9b566a67d153 DIST fotocx-25.4-source.tar.gz 14620597 BLAKE2B 9324722b96ed793a0a967b7246b9757b678ac9f67bf355cad069d4f220c053ff9174a7737b8832908a21999573b2ae28f81d09bebd980688bffe4c9ce8c625d5 SHA512 906ffc71abd2ec888e1e3b258892a11a3900abe6698dc1297c51d813a46bfca74cae034c9981a5bbc3106fc3148a910b3096e6aca0d0684b65b0ab2bd428b7e3 DIST fotocx-25.5-source.tar.gz 14619485 BLAKE2B 0cca7ee9cf7ed735647236586f445d7f8be19a84c708389bb04e5f806396a18f3cf6d5534cc91542d347957b5b4eb6960117b98771832f9db7e3c0b83d99ffba SHA512 d801a99cc498cca55b0d4c45e749d2bc8d0dca9f4b7f15e0c03ea026908153e5bf27e447b73ddbfba3cb04e2c0ccafc0b2dd3b87fbd86c6797c6b8d39e027a18 DIST fotocx-26.1-source.tar.gz 12526700 BLAKE2B b357c090c4ace25cd2a064bd1cc4c20b421952d46070e9a520dce91f5ab0a32a34e226eca98bbc16aa0ac30899aa6645a52aac453f285563857c4c70051ab38a SHA512 d396e77ffe367f100f7d492aee781cd836fa3e7c9c235e0c0145583b6076e6d31d1e63a5a4f3493341faa0af731a73b995bd6cf80c1df94d33a8f2921d4ea24d +DIST fotocx-26.2-source.tar.gz 12552122 BLAKE2B cd0319decba608ce829a1f6f06e47bfe638eb7b49925ae13b95f9a5748c2c9866b09f1f237cf83adb15d478250ca93455298bd3e549dba5dd97f013e54074e1a SHA512 ee5a5a727334e574d3c9486b17c936b4536a01ce38929146f0240cc2cc64d61b763fe89924770214d346cb7304f3fc14a711488d7f9c48ca99e15f56ad83e642 diff --git a/media-gfx/fotocx/fotocx-26.2.ebuild b/media-gfx/fotocx/fotocx-26.2.ebuild new file mode 100644 index 000000000000..e935b84392d6 --- /dev/null +++ b/media-gfx/fotocx/fotocx-26.2.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2026 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}-26.1-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 +}
