From 1fb8608d6f0b1acf0e34361c105533087a09c710 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 20 Dec 2023 19:51:59 +0000 Subject: gentoo auto-resync : 20:12:2023 - 19:51:59 --- media-gfx/fotoxx/Manifest | 3 + .../fotoxx/files/fotoxx-22.82-documentation.patch | 27 ++++++++ media-gfx/fotoxx/fotoxx-23.82.ebuild | 81 ++++++++++++++++++++++ 3 files changed, 111 insertions(+) create mode 100644 media-gfx/fotoxx/files/fotoxx-22.82-documentation.patch create mode 100644 media-gfx/fotoxx/fotoxx-23.82.ebuild (limited to 'media-gfx/fotoxx') diff --git a/media-gfx/fotoxx/Manifest b/media-gfx/fotoxx/Manifest index 8d63510070b1..5a9c7b14c51a 100644 --- a/media-gfx/fotoxx/Manifest +++ b/media-gfx/fotoxx/Manifest @@ -1,12 +1,15 @@ AUX fotoxx-22.18-documentation.patch 1074 BLAKE2B ecc735e158614bdbe2d44ec7463314a3f2f1151aaa95938a9415c7041ba0677acb4393d7f4d6c8817c0335e46dd365cc6f441102e0b6eb6f5ab233e70bf11ee1 SHA512 047ec5fa957ed3a9ad4e9667998045ec1c2d4cd6676f57275c40ea7d8797a0f95c7cfa2cd747e72f0f913c376bccdc708d73f675929302ce828c9d346d20885f +AUX fotoxx-22.82-documentation.patch 1290 BLAKE2B 29b49c70167d9820927c651d1408d81e7708d38da813bb71f6fd000f725c2d0c7ef78841826955a589c93eb02aae11120e2d995f780f51ce97ec4ea6035f5a0a SHA512 33e05ae1467dd8856b85d4a866cd75956a9b8ee054d67a3f9edaa337c1fc1ab7ee38b4a460d66884bd9732431277ea2a52d35a43f6469f579296c97a748c8065 DIST fotoxx-23.70-source.tar.gz 16130595 BLAKE2B d5cd0453c7cc568ddc5a8d66d5f79f4a907a52aa0d635cb32701a4293a210d703e05056a1140287d20434c636f5acffc869af135cf8a3f3762ca55e10e102a05 SHA512 3616f3e90e973c872b25607951ebd41f851df45b715cb3c2df982c1f74387d9cbf0ee5fc14f3de4ecb4e3251ba25affe6cd3b5e118bce31ff01c14637d588c5d DIST fotoxx-23.72-source.tar.gz 16130664 BLAKE2B 913b524314ee2cf81d9f18a2a03a983585bea033e2a177e16bc213539aa9b0e76bd2b68ccee25a11529836478d0469703c614123a4e0fe627c9dde69fbee7183 SHA512 1b1f94421002da719df8d3d61e481954a017461d7f442310fcac957e71c5cf8a9bb77566f9c9451a650cb772433527a3c102c49421f291a9126b8227a34d2cb8 DIST fotoxx-23.74-source.tar.gz 16271809 BLAKE2B 88567d8da677fd95bdfbc19ebce778d7b4e64574688c4dfd56cca9d40b3bfb5005e9659801b9bf00b87e46aa10433ff32ab7aef2439b358dbdf5ffeac77be9f7 SHA512 2fe48f7a311ffa6be4be58f1769ed965a0be428956a7f0afd0ff99501c201e05877732507f27f10510f0bc29705e9184c4b92cc5eb42d31510963c70a6caf569 DIST fotoxx-23.80-source.tar.gz 16259363 BLAKE2B 15f6880c452d6b715b492c4ea46e79c43a26a7f30a3396c06e7b89edcfc8e335c75407d540e22c3a7ff9dca70c5779a544d08adebee2a75801c21e3d16e50dcb SHA512 4f0dfe47ffc811bbab7939147094b0663a1aa0fd6795d9f0f0b904d62bd4e12c8948a6cb69de33667c0f5f059e000dee62543d9f128776990b9aee772ea653e0 DIST fotoxx-23.81-source.tar.gz 16257656 BLAKE2B 8fd21650b6c493cd77b79390dba28193272531305a21cd791578366fb464a3e34612fdd3378bfa34e50873afee65b69fd1670d4a18c0443bea388e700efaf016 SHA512 350908777b23c69b1ed630fbd3d0089748b80b3c5978b74742d10a1ad6903e362038c4ed0a10eb4916bd0f169100c001da57dfc4be0b8c9dd1c653abe459e919 +DIST fotoxx-23.82-source.tar.gz 16257916 BLAKE2B b985d999003ebf53dea5f4f21bca7ecd451d89a14c98aa5269f892f183e28f01a81a33bf2a92e6cef98a466069b20622e829eee897d5d818a6f27c493de48734 SHA512 1c6ded03207eaf2e890fa642ff6d9e0bfaae551e9ec1169b30f3ef8a4763cda01dddc7e0c62e7da29a397ad22c4702c0613d383804563b065ce334918381bd2d EBUILD fotoxx-23.70.ebuild 2284 BLAKE2B 2612931ab0655bfcfa43514cad885b666a454a5ec7a3499f9fe184d6c97c5f3f5c63d0b718f543fc0ed6f06e524ad2865f9d7c4e8972da6bfeccc0f0a53e2590 SHA512 505990c00a1c630ef146eee15278fdaa36b73b0870b0cb91402a7d9529e9c3a5084e5eaa3a089385db7cbd9364872dbd7302a73e9dd37107e7530373c058ffca EBUILD fotoxx-23.72.ebuild 2286 BLAKE2B 379a2d8202422e3cbb09e1dc00b2d42513b9afc6cdf2d8e004a269e3de7d656b2c404160197cb3d0eb1e1fb0a795756949655588848d652c0ca20e5a5800c86c SHA512 04d5ca6c5057cfed2e05c7ca839741b529b6e72218f3bd083a2dc2d0a384bfbcbb2011e407c004658923291c70fec312951e391f904b36c43cbcbe704a16a508 EBUILD fotoxx-23.74.ebuild 2286 BLAKE2B 379a2d8202422e3cbb09e1dc00b2d42513b9afc6cdf2d8e004a269e3de7d656b2c404160197cb3d0eb1e1fb0a795756949655588848d652c0ca20e5a5800c86c SHA512 04d5ca6c5057cfed2e05c7ca839741b529b6e72218f3bd083a2dc2d0a384bfbcbb2011e407c004658923291c70fec312951e391f904b36c43cbcbe704a16a508 EBUILD fotoxx-23.80.ebuild 2286 BLAKE2B 379a2d8202422e3cbb09e1dc00b2d42513b9afc6cdf2d8e004a269e3de7d656b2c404160197cb3d0eb1e1fb0a795756949655588848d652c0ca20e5a5800c86c SHA512 04d5ca6c5057cfed2e05c7ca839741b529b6e72218f3bd083a2dc2d0a384bfbcbb2011e407c004658923291c70fec312951e391f904b36c43cbcbe704a16a508 EBUILD fotoxx-23.81.ebuild 2286 BLAKE2B 379a2d8202422e3cbb09e1dc00b2d42513b9afc6cdf2d8e004a269e3de7d656b2c404160197cb3d0eb1e1fb0a795756949655588848d652c0ca20e5a5800c86c SHA512 04d5ca6c5057cfed2e05c7ca839741b529b6e72218f3bd083a2dc2d0a384bfbcbb2011e407c004658923291c70fec312951e391f904b36c43cbcbe704a16a508 +EBUILD fotoxx-23.82.ebuild 2286 BLAKE2B ff5c172f0b79a43f058ffe55b3338bfef1a5305633335a636d884de669b287a478e5f2b413cb28ede64fd52c36c89fb0d29853cef83efec96f6226b511e430b0 SHA512 4370dba2b2c6dcea0b2115ef384bff356b4f891ac47632e83bb6428c2691ccb384a6585f99961aed05f90affea885cfdec6637af8f8dbf705fb395f72359454e MISC metadata.xml 851 BLAKE2B a6c60b79fb5646c3bd7d6959d4a1b974ee714bf6ed64f205d9c00d684b3da94672005658336c1c5fcb903605d11c9a5607616151b2f6262f3173e15b8fc44655 SHA512 2794ae92afa076875c7f725969efdcf9cb84435d0ea033adc28f5860a69438b754f4d22b0db27dc7392683439e51b51ae581a6da450719276e8df51a2a306ad9 diff --git a/media-gfx/fotoxx/files/fotoxx-22.82-documentation.patch b/media-gfx/fotoxx/files/fotoxx-22.82-documentation.patch new file mode 100644 index 000000000000..80910d4331d9 --- /dev/null +++ b/media-gfx/fotoxx/files/fotoxx-22.82-documentation.patch @@ -0,0 +1,27 @@ +diff --git a/Makefile b/Makefile +index f80e166..8c1e794 100644 +--- a/Makefile ++++ b/Makefile +@@ -128,8 +128,7 @@ install: fotoxx uninstall + cp -f -R images/* $(DESTDIR)$(IMAGEDIR) + cp -f metainfo/* $(DESTDIR)$(METAINFODIR) + # man page +- gzip -fk -9 man/fotoxx.man +- mv -f man/fotoxx.man.gz $(DESTDIR)$(MANDIR)/fotoxx.1.gz ++ cp man/fotoxx.man $(DESTDIR)$(MANDIR)/fotoxx.1 + # desktop file and icon + cp -f fotoxx.desktop $(DESTDIR)$(MENUDIR) + cp -f fotoxx.png $(DESTDIR)$(ICONDIR) +diff --git a/zfuncs.cc b/zfuncs.cc +index 3ecf485..23f8d2d 100644 +--- a/zfuncs.cc ++++ b/zfuncs.cc +@@ -6123,7 +6123,7 @@ int zinitapp(ch *appvers, int argc, ch *argv[]) + + strncatv(zdatadir,199,zprefix,"/share/",zappname,"/data",null); // /prefix/share/appname/data + strncatv(zimagedir,199,zprefix,"/share/",zappname,"/images",null); // /prefix/share/appname/images +- strncatv(zdocdir,199,zprefix,"/share/doc/",zappname,null); // /prefix/share/doc/appname ++ strncatv(zdocdir,199,zprefix,"/share/doc/",zappvers,null); // /prefix/share/doc/appname-version + + ch_time = zstrdup(build_date_time,"zinitapp"); + if (ch_time[4] == ' ') ch_time[4] = '0'; // replace month day ' d' with '0d' diff --git a/media-gfx/fotoxx/fotoxx-23.82.ebuild b/media-gfx/fotoxx/fotoxx-23.82.ebuild new file mode 100644 index 000000000000..ee441e146e18 --- /dev/null +++ b/media-gfx/fotoxx/fotoxx-23.82.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit optfeature xdg-utils + +DESCRIPTION="Program for improving image files made with a digital camera" +HOMEPAGE="https://kornelix.net/fotoxx/fotoxx.html" +SRC_URI="https://kornelix.net/downloads/downloads/${P}-source.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="" + +# 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 +" + +S="${WORKDIR}/${PN}" + +PATCHES=( "${FILESDIR}/${PN}-22.82-documentation.patch" ) + +DOCS=() +HTML_DOCS=() + +src_prepare() { + sed -i -e "/^DOCDIR/ s/${PN}$/${PF}/" Makefile || die + sed -i -e "/^Icon/ s/\.png$//" fotoxx.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}" 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/fotoxx/data/userguide and after running fotoxx a copy will" + elog "be placed at /home//.fotoxx/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 +} -- cgit v1.2.3