[gentoo-commits] repo/gentoo:master commit in: media-gfx/fotocx/, media-gfx/fotocx/files/

2024-04-27 Thread Ben Kohler
commit: 30df70d7bd1df63b6e08790f800870aa0fd06648
Author: Ben Kohler  gentoo  org>
AuthorDate: Sat Apr 27 10:26:59 2024 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Sat Apr 27 12:16:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30df70d7

media-gfx/fotocx: drop 23.70, 23.82, 24.11-r1, 24.20

Signed-off-by: Ben Kohler  gentoo.org>

 media-gfx/fotocx/Manifest  |  4 --
 .../fotocx/files/fotocx-24.11-documentation.patch  | 27 
 .../fotocx/files/fotoxx-22.18-documentation.patch  | 23 --
 .../fotocx/files/fotoxx-22.82-documentation.patch  | 27 
 media-gfx/fotocx/fotocx-23.70.ebuild   | 81 --
 media-gfx/fotocx/fotocx-23.82.ebuild   | 81 --
 media-gfx/fotocx/fotocx-24.11-r1.ebuild| 79 -
 media-gfx/fotocx/fotocx-24.20.ebuild   | 79 -
 8 files changed, 401 deletions(-)

diff --git a/media-gfx/fotocx/Manifest b/media-gfx/fotocx/Manifest
index 8fd9174da806..3c1868cea93e 100644
--- a/media-gfx/fotocx/Manifest
+++ b/media-gfx/fotocx/Manifest
@@ -1,5 +1 @@
-DIST fotocx-24.11-source.tar.gz 16322678 BLAKE2B 
08ef6407c02d7f81717cf798f2cfec39521c60bd59a4f832c2df86fad509fadeb874348cf1cb7446f087fcb2f85c83648a1a5ace3ab4de4fea3409f1465e69d3
 SHA512 
fb350a17128d52974ebde9672df9919ac5b2d12eb45d61266c2af4bf0ce247b13d62fce576d477f4345186e0674ca46b0d72e97eaee71d08a0303d32d164d5ac
-DIST fotocx-24.20-source.tar.gz 16619855 BLAKE2B 
d4bcf0fc6aa1be31bb0bff52cf8c0eae6446b929f2c081498504fee6b55fc219adf0ce6856f3b1a57d0e553362311e25bb3c9278e9444c19e8000f0aafd7a66f
 SHA512 
8f95912f8d4c9adcdc1f0eec0540531e1e26cff2a21f8c56737cc2e472b7307bfc925477491ec4c30cf102e8a396287a8c0ff7e0ad3f946672e6fd495a4fb369
 DIST fotocx-24.21-source.tar.gz 16618357 BLAKE2B 
43029d080cc843a03475b474c0807e0f2192bc6c64d20c5d41e90218f0b1f88db48aefb7622e8b521f06792a57a9d685d9c57107a309becc39d710ff5aa720a3
 SHA512 
2945fbaab800a115a1e0c718019ee1e66816cadf794a01db4f8238e7ba74ea033b6e9f24b4e42fe8105242f6df8861de7b00d32e81aae73577f5aa7f38c07f7f
-DIST fotoxx-23.70-source.tar.gz 16130595 BLAKE2B 
d5cd0453c7cc568ddc5a8d66d5f79f4a907a52aa0d635cb32701a4293a210d703e05056a1140287d20434c636f5acffc869af135cf8a3f3762ca55e10e102a05
 SHA512 
3616f3e90e973c872b25607951ebd41f851df45b715cb3c2df982c1f74387d9cbf0ee5fc14f3de4ecb4e3251ba25affe6cd3b5e118bce31ff01c14637d588c5d
-DIST fotoxx-23.82-source.tar.gz 16257916 BLAKE2B 
b985d999003ebf53dea5f4f21bca7ecd451d89a14c98aa5269f892f183e28f01a81a33bf2a92e6cef98a466069b20622e829eee897d5d818a6f27c493de48734
 SHA512 
1c6ded03207eaf2e890fa642ff6d9e0bfaae551e9ec1169b30f3ef8a4763cda01dddc7e0c62e7da29a397ad22c4702c0613d383804563b065ce334918381bd2d

diff --git a/media-gfx/fotocx/files/fotocx-24.11-documentation.patch 
b/media-gfx/fotocx/files/fotocx-24.11-documentation.patch
deleted file mode 100644
index 85ca1093d186..
--- a/media-gfx/fotocx/files/fotocx-24.11-documentation.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-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/files/fotoxx-22.18-documentation.patch 
b/media-gfx/fotocx/files/fotoxx-22.18-documentation.patch
deleted file mode 100644
index 23d9509458d9..
--- a/media-gfx/fotocx/files/fotoxx-22.18-documentation.patch
+++ /dev/null
@@ -1,23 +0,0 @@
 a/Makefile
-+++ b/Makefile
-@@ -122,8 +123,7 @@
-   cp -f -R  data/* $(DESTDIR)$(DATADIR)
-   cp -f -R  images/* $(DESTDIR)$(IMAGEDIR)
-   # man page
--  gzip -fk -9 man/fotoxx.man
--  mv -f man/fotoxx.man.gz $(DESTDIR)$(MANDIR)/fotoxx.1.gz
-+  cp man/fotoxx.man 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/fotocx/, media-gfx/fotocx/files/

2024-02-13 Thread Ben Kohler
commit: 4c3e8d4b08f82ea5ee23ac9cff0159134a4975c5
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Feb 13 20:50:46 2024 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Feb 13 20:52:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c3e8d4b

media-gfx/fotocx: update a few more places for rename

Closes: https://bugs.gentoo.org/924440

Signed-off-by: Ben Kohler  gentoo.org>

 media-gfx/fotocx/files/fotocx-24.11-documentation.patch | 2 +-
 media-gfx/fotocx/fotocx-24.11.ebuild| 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-gfx/fotocx/files/fotocx-24.11-documentation.patch 
b/media-gfx/fotocx/files/fotocx-24.11-documentation.patch
index d968410bc060..85ca1093d186 100644
--- a/media-gfx/fotocx/files/fotocx-24.11-documentation.patch
+++ b/media-gfx/fotocx/files/fotocx-24.11-documentation.patch
@@ -8,7 +8,7 @@ index 4098035..345a8a2 100644
# man page
 -  gzip -fk -9 man/fotocx.man
 -  mv -f man/fotocx.man.gz $(DESTDIR)$(MANDIR)/fotocx.1.gz
-+  cp man/fotoxx.man $(DESTDIR)$(MANDIR)/fotoxx.1
++  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/media-gfx/fotocx/fotocx-24.11.ebuild 
b/media-gfx/fotocx/fotocx-24.11.ebuild
index d199d605323b..c3e565c1342f 100644
--- a/media-gfx/fotocx/fotocx-24.11.ebuild
+++ b/media-gfx/fotocx/fotocx-24.11.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 inherit optfeature xdg-utils
 
 DESCRIPTION="Program for improving image files made with a digital camera"
-HOMEPAGE="https://kornelix.net/fotoxx/fotoxx.html;
+HOMEPAGE="https://kornelix.net/fotocx/fotocx.html;
 SRC_URI="https://kornelix.net/downloads/downloads/${P}-source.tar.gz;
 
 LICENSE="GPL-3+"
@@ -66,8 +66,8 @@ pkg_postinst() {
 
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 "/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



[gentoo-commits] repo/gentoo:master commit in: media-gfx/fotocx/, media-gfx/fotocx/files/

2024-02-13 Thread Ben Kohler
commit: 407e80adcddabb2c8c74c9ce9e05343d1c4f44e1
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Feb 13 17:17:29 2024 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Feb 13 17:17:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=407e80ad

media-gfx/fotocx: add 24.11

Signed-off-by: Ben Kohler  gentoo.org>

 media-gfx/fotocx/Manifest  |  1 +
 .../fotocx/files/fotocx-24.11-documentation.patch  | 27 
 media-gfx/fotocx/fotocx-24.11.ebuild   | 81 ++
 3 files changed, 109 insertions(+)

diff --git a/media-gfx/fotocx/Manifest b/media-gfx/fotocx/Manifest
index f071f96ddca9..b936813da245 100644
--- a/media-gfx/fotocx/Manifest
+++ b/media-gfx/fotocx/Manifest
@@ -1,2 +1,3 @@
+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

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 ..d968410bc060
--- /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/fotoxx.man $(DESTDIR)$(MANDIR)/fotoxx.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 ..d199d605323b
--- /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/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}-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