From 5ee866097f7722d669e9a3b4ca2906105852e6ec Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 13 Feb 2024 23:36:16 +0000 Subject: gentoo auto-resync : 13:02:2024 - 23:36:16 --- media-gfx/Manifest.gz | Bin 37685 -> 37687 bytes media-gfx/fotocx/Manifest | 3 + .../fotocx/files/fotocx-24.11-documentation.patch | 27 +++++++ media-gfx/fotocx/fotocx-24.11.ebuild | 81 +++++++++++++++++++++ 4 files changed, 111 insertions(+) create mode 100644 media-gfx/fotocx/files/fotocx-24.11-documentation.patch create mode 100644 media-gfx/fotocx/fotocx-24.11.ebuild (limited to 'media-gfx') diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz index f2716e59086e..9d28d697d187 100644 Binary files a/media-gfx/Manifest.gz and b/media-gfx/Manifest.gz differ diff --git a/media-gfx/fotocx/Manifest b/media-gfx/fotocx/Manifest index 09eb1cba2237..65fa4bf32a06 100644 --- a/media-gfx/fotocx/Manifest +++ b/media-gfx/fotocx/Manifest @@ -1,7 +1,10 @@ +AUX fotocx-24.11-documentation.patch 1282 BLAKE2B 232e11a57c60759014ae130277117b1206931a59b07524b7a9f30fb37523375c3b6e62c3e3e07c5a24c8fed16b568686ee0df977ad3a0fe142bb22ba7f5b2f70 SHA512 2e3316c7c59328a06a6a76a4b3c1d8de0a4c089281afd06aa762d0f451446307ee2fd0fb364b2fa60eb7a792183fd9055ca28eddb19155f604b3422c10ac261c AUX fotoxx-22.18-documentation.patch 1074 BLAKE2B ecc735e158614bdbe2d44ec7463314a3f2f1151aaa95938a9415c7041ba0677acb4393d7f4d6c8817c0335e46dd365cc6f441102e0b6eb6f5ab233e70bf11ee1 SHA512 047ec5fa957ed3a9ad4e9667998045ec1c2d4cd6676f57275c40ea7d8797a0f95c7cfa2cd747e72f0f913c376bccdc708d73f675929302ce828c9d346d20885f AUX fotoxx-22.82-documentation.patch 1290 BLAKE2B 29b49c70167d9820927c651d1408d81e7708d38da813bb71f6fd000f725c2d0c7ef78841826955a589c93eb02aae11120e2d995f780f51ce97ec4ea6035f5a0a SHA512 33e05ae1467dd8856b85d4a866cd75956a9b8ee054d67a3f9edaa337c1fc1ab7ee38b4a460d66884bd9732431277ea2a52d35a43f6469f579296c97a748c8065 +DIST fotocx-24.11-source.tar.gz 16322678 BLAKE2B 08ef6407c02d7f81717cf798f2cfec39521c60bd59a4f832c2df86fad509fadeb874348cf1cb7446f087fcb2f85c83648a1a5ace3ab4de4fea3409f1465e69d3 SHA512 fb350a17128d52974ebde9672df9919ac5b2d12eb45d61266c2af4bf0ce247b13d62fce576d477f4345186e0674ca46b0d72e97eaee71d08a0303d32d164d5ac DIST fotoxx-23.70-source.tar.gz 16130595 BLAKE2B d5cd0453c7cc568ddc5a8d66d5f79f4a907a52aa0d635cb32701a4293a210d703e05056a1140287d20434c636f5acffc869af135cf8a3f3762ca55e10e102a05 SHA512 3616f3e90e973c872b25607951ebd41f851df45b715cb3c2df982c1f74387d9cbf0ee5fc14f3de4ecb4e3251ba25affe6cd3b5e118bce31ff01c14637d588c5d DIST fotoxx-23.82-source.tar.gz 16257916 BLAKE2B b985d999003ebf53dea5f4f21bca7ecd451d89a14c98aa5269f892f183e28f01a81a33bf2a92e6cef98a466069b20622e829eee897d5d818a6f27c493de48734 SHA512 1c6ded03207eaf2e890fa642ff6d9e0bfaae551e9ec1169b30f3ef8a4763cda01dddc7e0c62e7da29a397ad22c4702c0613d383804563b065ce334918381bd2d EBUILD fotocx-23.70.ebuild 2295 BLAKE2B 2358879706af1eb5343fdae235a5b8ce7d8297d29f585e0ff6479c4204fed8f71af361dfc18b03e70af3f39ee8e1188c2dad92069f3dcae60252a0c175a3d6e7 SHA512 2ec60ec8608a3da289f295bd08737c92f386d0d521b58e4dfee7bef2864849e10b89d4005eb4dc140779e377e77613b9e1f942561b6f54cdb1025d4c387597f5 EBUILD fotocx-23.82.ebuild 2297 BLAKE2B 7ff3bab8c385d610375ca20a2d929036a3e409b0993e1e1d4f7faa6cc35f033d49fc3350c5fd418b424b231bb8de6d928a6ee1ebab7bc6d30eab84238c5b723e SHA512 c4905b3fedde2c628b3e25c3a1199077125151b575bc1442c16e7109ddde9eebf941b1a442cb484e0beab1c831a2e1860a5167549690b71efd635741739e2aa4 +EBUILD fotocx-24.11.ebuild 2285 BLAKE2B 5fac82f4893ac0329ed4857a02b2be482ca52650103ca3a028b8a4c04b49195d57d7ed92c5a8c351774a29495041c506a197e9d1c7477c44c21039ee7110d138 SHA512 8049fce23d0f04713ebc534fc404f8898b59139d58c43756990ef9a985daaee8ec564effe8296de85d9650e85aca98e878b1b7b0afcaf87f6d103e53effd9e73 MISC metadata.xml 851 BLAKE2B a6c60b79fb5646c3bd7d6959d4a1b974ee714bf6ed64f205d9c00d684b3da94672005658336c1c5fcb903605d11c9a5607616151b2f6262f3173e15b8fc44655 SHA512 2794ae92afa076875c7f725969efdcf9cb84435d0ea033adc28f5860a69438b754f4d22b0db27dc7392683439e51b51ae581a6da450719276e8df51a2a306ad9 diff --git a/media-gfx/fotocx/files/fotocx-24.11-documentation.patch b/media-gfx/fotocx/files/fotocx-24.11-documentation.patch new file mode 100644 index 000000000000..85ca1093d186 --- /dev/null +++ b/media-gfx/fotocx/files/fotocx-24.11-documentation.patch @@ -0,0 +1,27 @@ +diff --git a/Makefile b/Makefile +index 4098035..345a8a2 100644 +--- a/Makefile ++++ b/Makefile +@@ -128,8 +128,7 @@ install: fotocx uninstall + cp -f -R images/* $(DESTDIR)$(IMAGEDIR) + cp -f metainfo/* $(DESTDIR)$(METAINFODIR) + # man page +- gzip -fk -9 man/fotocx.man +- mv -f man/fotocx.man.gz $(DESTDIR)$(MANDIR)/fotocx.1.gz ++ cp man/fotocx.man $(DESTDIR)$(MANDIR)/fotocx.1 + # desktop file and icon + cp -f fotocx.desktop $(DESTDIR)$(MENUDIR) + cp -f fotocx.png $(DESTDIR)$(ICONDIR) +diff --git a/zfuncs.cc b/zfuncs.cc +index 3aa6766..1fbedb9 100644 +--- a/zfuncs.cc ++++ b/zfuncs.cc +@@ -6122,7 +6122,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 + + 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/fotocx/fotocx-24.11.ebuild b/media-gfx/fotocx/fotocx-24.11.ebuild new file mode 100644 index 000000000000..c3e565c1342f --- /dev/null +++ b/media-gfx/fotocx/fotocx-24.11.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2024 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/fotocx/fotocx.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}-24.11-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}" 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//.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 +} -- cgit v1.2.3