git: 4f04cb860603 - main - graphics/fotocx: the port had been updated to version 24.30

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Sat, 11 May 2024 18:11:33 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4f04cb860603ef030639890c93a9de128e9dc419

commit 4f04cb860603ef030639890c93a9de128e9dc419
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-05-11 18:09:58 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-05-11 18:09:58 +0000

    graphics/fotocx: the port had been updated to version 24.30
    
    Remove ``Uninstall'' menu item: it might make sense for software
    built by the user and installed locally, but typically it should
    be handled by the system package manager and won't even work for
    non-privileged user.
---
 graphics/fotocx/Makefile             |  7 ++++---
 graphics/fotocx/distinfo             |  6 +++---
 graphics/fotocx/files/patch-Makefile |  4 ++--
 graphics/fotocx/pkg-plist            | 38 ++++++++++++++++++------------------
 4 files changed, 28 insertions(+), 27 deletions(-)

diff --git a/graphics/fotocx/Makefile b/graphics/fotocx/Makefile
index 667dcc3137b8..329d2adc75e9 100644
--- a/graphics/fotocx/Makefile
+++ b/graphics/fotocx/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	fotocx
-PORTVERSION=	24.21
-PORTREVISION=	1
+PORTVERSION=	24.30
 CATEGORIES=	graphics
 MASTER_SITES=	https://kornelix.net/downloads/downloads/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-source
@@ -13,7 +12,6 @@ LICENSE=	GPLv3+
 
 LIB_DEPENDS=	libchamplain-gtk-0.12.so:graphics/libchamplain \
 		libclutter-gtk-1.0.so:graphics/clutter-gtk3 \
-		liblcms2.so:graphics/lcms2 \
 		libpng.so:graphics/png \
 		libtiff.so:graphics/tiff
 RUN_DEPENDS=	xdg-open:devel/xdg-utils \
@@ -31,6 +29,9 @@ PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
 
+post-patch:
+	@${REINPLACE_CMD} -e '/Uninstall/d' ${WRKSRC}/f.widgets.cc
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
diff --git a/graphics/fotocx/distinfo b/graphics/fotocx/distinfo
index 28552eadcb78..37fe670b8210 100644
--- a/graphics/fotocx/distinfo
+++ b/graphics/fotocx/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712220307
-SHA256 (fotocx-24.21-source.tar.gz) = 0acb68e32956a3f1b2a28025e42d35e5072403e6183ffa1de5cebc3e09a6f32c
-SIZE (fotocx-24.21-source.tar.gz) = 16618357
+TIMESTAMP = 1714849239
+SHA256 (fotocx-24.30-source.tar.gz) = 0ef1257c4698a1d8c4f8a0f091e3bc6e9390cc91ead88350cd024b283557d14d
+SIZE (fotocx-24.30-source.tar.gz) = 16103870
diff --git a/graphics/fotocx/files/patch-Makefile b/graphics/fotocx/files/patch-Makefile
index 13f9425477bc..16a66a2853a8 100644
--- a/graphics/fotocx/files/patch-Makefile
+++ b/graphics/fotocx/files/patch-Makefile
@@ -21,8 +21,8 @@
 +         `$(PKG_CONFIG) --cflags gtk+-3.0 --cflags champlain-gtk-0.12`
  
  LIBS = `$(PKG_CONFIG) --libs gtk+-3.0`                                              \
--         -lrt -lpthread -llcms2 -ltiff -lpng -ljpeg                                 \
-+         -lrt -lpthread -llcms2 -ltiff -lpng -ljpeg -lexecinfo \
+-         -lrt -lpthread -ltiff -lpng -ljpeg                                         \
++         -lrt -lpthread -ltiff -lpng -ljpeg -lexecinfo \
           -lclutter-1.0 -lclutter-gtk-1.0 -lchamplain-0.12 -lchamplain-gtk-0.12
  
  ALLFILES = fotoxx.o f.widgets.o f.file.o f.gallery.o f.albums.o f.select.o f.meta.o    \
diff --git a/graphics/fotocx/pkg-plist b/graphics/fotocx/pkg-plist
index ce75f3989577..edfc9cce90f0 100644
--- a/graphics/fotocx/pkg-plist
+++ b/graphics/fotocx/pkg-plist
@@ -1,8 +1,9 @@
 bin/fotocx
 share/applications/fotocx.desktop
 %%DATADIR%%/data/CIE1931.jpg
-%%DATADIR%%/data/KB_shortcuts_F
-%%DATADIR%%/data/capskeys
+%%DATADIR%%/data/KB_shortcuts_G
+%%DATADIR%%/data/README_G
+%%DATADIR%%/data/capskeys_G
 %%DATADIR%%/data/custom_kernel/blur5
 %%DATADIR%%/data/custom_kernel/brighten3
 %%DATADIR%%/data/custom_kernel/color lines 3
@@ -21,17 +22,15 @@ share/applications/fotocx.desktop
 %%DATADIR%%/data/custom_kernel/sharpen3
 %%DATADIR%%/data/custom_kernel/sharpen5
 %%DATADIR%%/data/custom_kernel/sketch3
-%%DATADIR%%/data/custom_kernel/sobel v+h
-%%DATADIR%%/data/custom_menu
+%%DATADIR%%/data/custom_kernel/sobel3 v+h
+%%DATADIR%%/data/custom_kernel/sobel5 v+h
+%%DATADIR%%/data/custom_menu_G
 %%DATADIR%%/data/custom_scripts/brightness and white point
 %%DATADIR%%/data/custom_scripts/cartoon-emboss
-%%DATADIR%%/data/custom_scripts/denoise-sharpen
+%%DATADIR%%/data/custom_scripts/ektar film process
 %%DATADIR%%/data/custom_scripts/emboss-test
-%%DATADIR%%/data/custom_scripts/line-drawing-emboss
-%%DATADIR%%/data/custom_scripts/painting-texture
-%%DATADIR%%/data/custom_scripts/sketch-cartoon-emboss
-%%DATADIR%%/data/map_regions
-%%DATADIR%%/data/meta_picklist_E
+%%DATADIR%%/data/map_regions_G
+%%DATADIR%%/data/meta_picklist_G
 %%DATADIR%%/data/palettes/Bears.gpl
 %%DATADIR%%/data/palettes/Bgold.gpl
 %%DATADIR%%/data/palettes/Blues.gpl
@@ -114,8 +113,8 @@ share/applications/fotocx.desktop
 %%DATADIR%%/data/patterns/wall-grey.jpg
 %%DATADIR%%/data/patterns/wet-turquoise.jpg
 %%DATADIR%%/data/patterns/wood.jpg
-%%DATADIR%%/data/plugins
-%%DATADIR%%/data/raw_loader_commands
+%%DATADIR%%/data/plugins_G
+%%DATADIR%%/data/raw_commands_G
 %%DATADIR%%/data/slideshow-tone.oga
 %%DATADIR%%/data/tags_defined
 %%DATADIR%%/data/userguide
@@ -176,8 +175,6 @@ share/applications/fotocx.desktop
 %%DATADIR%%/images/choose-captions.png
 %%DATADIR%%/images/chromatic.png
 %%DATADIR%%/images/chromaticA.png
-%%DATADIR%%/images/color-depth1.png
-%%DATADIR%%/images/color-depth2.png
 %%DATADIR%%/images/color-mode.png
 %%DATADIR%%/images/color-mode2.png
 %%DATADIR%%/images/color-negative.jpg
@@ -209,7 +206,7 @@ share/applications/fotocx.desktop
 %%DATADIR%%/images/edit-any-metadata.png
 %%DATADIR%%/images/edit-bookmarks.png
 %%DATADIR%%/images/edit-dist.png
-%%DATADIR%%/images/edit-metadata.png
+%%DATADIR%%/images/edit-meta.jpg
 %%DATADIR%%/images/edit.png
 %%DATADIR%%/images/effects.png
 %%DATADIR%%/images/emboss.png
@@ -228,7 +225,8 @@ share/applications/fotocx.desktop
 %%DATADIR%%/images/fix-motion-blur.png
 %%DATADIR%%/images/fix-motion-blur1.jpg
 %%DATADIR%%/images/flatten-photo1.png
-%%DATADIR%%/images/flatten-photo2.png
+%%DATADIR%%/images/flatten-photo2.jpg
+%%DATADIR%%/images/flatten-photo3.jpg
 %%DATADIR%%/images/flatten1.png
 %%DATADIR%%/images/flatten2.png
 %%DATADIR%%/images/folder-tree.png
@@ -310,7 +308,7 @@ share/applications/fotocx.desktop
 %%DATADIR%%/images/permissions.png
 %%DATADIR%%/images/perspective1.png
 %%DATADIR%%/images/perspective2.png
-%%DATADIR%%/images/plugins-edit.png
+%%DATADIR%%/images/plugins-edit.jpg
 %%DATADIR%%/images/plugins.png
 %%DATADIR%%/images/prev-next.png
 %%DATADIR%%/images/print-margins.png
@@ -344,6 +342,8 @@ share/applications/fotocx.desktop
 %%DATADIR%%/images/select-area.jpg
 %%DATADIR%%/images/select-image-files.jpg
 %%DATADIR%%/images/select.png
+%%DATADIR%%/images/set-colors1.jpg
+%%DATADIR%%/images/set-colors2.jpg
 %%DATADIR%%/images/settings.jpg
 %%DATADIR%%/images/sharpen.png
 %%DATADIR%%/images/shift-colors.png
@@ -356,13 +356,13 @@ share/applications/fotocx.desktop
 %%DATADIR%%/images/soft-focus2.png
 %%DATADIR%%/images/sphere.png
 %%DATADIR%%/images/sphere2.jpg
+%%DATADIR%%/images/stack-layers.png
 %%DATADIR%%/images/stack-noise.png
-%%DATADIR%%/images/stack-noise2.png
+%%DATADIR%%/images/stack-noise2.jpg
 %%DATADIR%%/images/stack-paint.png
 %%DATADIR%%/images/stack-paint2.jpg
 %%DATADIR%%/images/stack-split.png
 %%DATADIR%%/images/stack-split2.png
-%%DATADIR%%/images/stack-versions.png
 %%DATADIR%%/images/texture.png
 %%DATADIR%%/images/texture2.png
 %%DATADIR%%/images/tiles2a.png