git: 9047f2d52e98 - main - graphics/fotocx: the port had been updated to version 25.0.

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Mon, 14 Apr 2025 15:50:23 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9047f2d52e981721a879535eba724f71a5287ec6

commit 9047f2d52e981721a879535eba724f71a5287ec6
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2025-04-14 15:48:58 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2025-04-14 15:48:58 +0000

    graphics/fotocx: the port had been updated to version 25.0.
---
 graphics/fotocx/Makefile              |  2 +-
 graphics/fotocx/distinfo              |  6 +++---
 graphics/fotocx/files/patch-fotocx.cc | 22 +++++++++++-----------
 graphics/fotocx/pkg-plist             |  4 ++--
 4 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/graphics/fotocx/Makefile b/graphics/fotocx/Makefile
index 636177a830af..41a5150ac635 100644
--- a/graphics/fotocx/Makefile
+++ b/graphics/fotocx/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	fotocx
-PORTVERSION=	24.70
+PORTVERSION=	25.0
 CATEGORIES=	graphics
 MASTER_SITES=	https://kornelix.net/downloads/downloads/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-source
diff --git a/graphics/fotocx/distinfo b/graphics/fotocx/distinfo
index e758e2e93702..5f2dafac7856 100644
--- a/graphics/fotocx/distinfo
+++ b/graphics/fotocx/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1730808116
-SHA256 (fotocx-24.70-source.tar.gz) = c06dbf9832ffddaec1f64c3b2ff9b1828425091b39390495276df27103b9945b
-SIZE (fotocx-24.70-source.tar.gz) = 15771508
+TIMESTAMP = 1735737004
+SHA256 (fotocx-25.0-source.tar.gz) = 1d78106e91fcabfb07343f2d00201a745cb114935fee273b0547e68c794a5f7e
+SIZE (fotocx-25.0-source.tar.gz) = 15651266
diff --git a/graphics/fotocx/files/patch-fotocx.cc b/graphics/fotocx/files/patch-fotocx.cc
index 850626c9c597..26af384d4207 100644
--- a/graphics/fotocx/files/patch-fotocx.cc
+++ b/graphics/fotocx/files/patch-fotocx.cc
@@ -1,6 +1,15 @@
---- fotocx.cc.orig	2024-10-01 05:03:10 UTC
+--- fotocx.cc.orig	2025-01-01 12:47:23 UTC
 +++ fotocx.cc
-@@ -335,7 +335,7 @@ int main(int argc, ch *argv[])                        
+@@ -240,7 +240,7 @@ int main(int argc, ch *argv[])                        
+    Nblacklist = 0;                                                               //  blacklist folders/files count
+    Nfuncbusy = 0;                                                                //  nothing busy
+    Fescape = 0;                                                                  //  no escape key pressed
+-   NSMP = 8;                                                                     //  default SMP (core) count
++   NSMP = get_nprocs();
+ 
+    imagefiletypes = zstrdup(".jpg .jpeg .png .jxl .tif .tiff .bmp .ico .ppm .gif .svg .xpm .tga " ,"params",100);      //  jxl
+    RAWfiletypes = zstrdup(".arw .srf .sr2 .crw .cr2 .cr3 .dng .mdc .mrw .nef .nrw .raw .rw2 .srw ", "params",100);
+@@ -307,7 +307,7 @@ int main(int argc, ch *argv[])                        
     //  delete fotocx temp files if owner process is no longer running
  
     pidlist = 0;
@@ -9,12 +18,3 @@
     fid = popen(buff,"r");
     if (fid) {
        pp = fgets_trim(buff,200,fid);
-@@ -466,7 +466,7 @@ int main(int argc, ch *argv[])                        
-    //  Cannot get P-core and E-core counts (methods vary by kernel release). 
-    //  Hyperthreads and E-cores have marginal value.
- 
--   NSMP = 12;                                                                    //  24.60
-+   NSMP = get_nprocs();
-    Plog(1,"SMP thread count: %d \n",NSMP);
- 
-    //  get locale specific name for /home/<user>/Desktop
diff --git a/graphics/fotocx/pkg-plist b/graphics/fotocx/pkg-plist
index 089dfb401585..64c8af048571 100644
--- a/graphics/fotocx/pkg-plist
+++ b/graphics/fotocx/pkg-plist
@@ -115,7 +115,7 @@ share/applications/fotocx.desktop
 %%DATADIR%%/data/patterns/wet-turquoise.jpg
 %%DATADIR%%/data/patterns/wood.jpg
 %%DATADIR%%/data/plugins_H
-%%DATADIR%%/data/raw_commands_H
+%%DATADIR%%/data/raw_commands_I
 %%DATADIR%%/data/slideshow-tone.oga
 %%DATADIR%%/data/tags_defined
 %%DATADIR%%/data/userguide
@@ -141,7 +141,7 @@ share/applications/fotocx.desktop
 %%DATADIR%%/images/amplify-contrast.png
 %%DATADIR%%/images/amplify-contrast2.jpg
 %%DATADIR%%/images/anti-alias.png
-%%DATADIR%%/images/area-blend.png
+%%DATADIR%%/images/area-blend.jpg
 %%DATADIR%%/images/area-blend2.jpg
 %%DATADIR%%/images/area-rescale.png
 %%DATADIR%%/images/area-rescale2.png