graphics/fotoxx: the port had been updated to version 22.41

Rephrase the COMMENT for better readability and shortness.
This commit is contained in:
Alexey Dokuchaev 2022-11-05 18:01:40 +00:00
parent 28e20a2e32
commit 3f4558150d
4 changed files with 9 additions and 9 deletions

View File

@ -1,10 +1,10 @@
PORTNAME= fotoxx
PORTVERSION= 22.35
PORTVERSION= 22.41
CATEGORIES= graphics
MASTER_SITES= https://kornelix.net/downloads/downloads/
MAINTAINER= danfe@FreeBSD.org
COMMENT= Application to organize and edit image collections
COMMENT= Image editing and collection management program
WWW= https://kornelix.net/fotoxx/fotoxx.html
LICENSE= GPLv3+

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1665231011
SHA256 (fotoxx-22.35.tar.gz) = 7c2760c7a499684973156b6a22e5787ae1dbb4925a1ddc8d1f463088a5c9b6ac
SIZE (fotoxx-22.35.tar.gz) = 8675173
TIMESTAMP = 1667459701
SHA256 (fotoxx-22.41.tar.gz) = 649a1964df2b4c1efa45ee2260ccff7a68075ef149873d5362857ed2ac95040b
SIZE (fotoxx-22.41.tar.gz) = 8704965

View File

@ -158,13 +158,13 @@
progexe = 0;
+#if defined(__linux__)
cc = readlink("/proc/self/exe",buff,300); // get my executable program path
if (cc <= 0) zexit("readlink() /proc/self/exe) failed");
if (cc <= 0) zexit(1,"readlink() /proc/self/exe) failed");
buff[cc] = 0; // readlink() quirk
+#elif defined(__FreeBSD__)
+ const int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 };
+ size_t len = sizeof(buff);
+ cc = sysctl(mib, 4, buff, &len, 0x0, 0);
+ if (cc == -1) zexit("sysctl(KERN_PROC_PATHNAME) failed");
+ if (cc == -1) zexit(1,"sysctl(KERN_PROC_PATHNAME) failed");
+#endif
progexe = zstrdup(buff,"zinitapp");

View File

@ -190,10 +190,10 @@ share/applications/fotoxx.desktop
%%DATADIR%%/images/fix-motion-blur.jpg
%%DATADIR%%/images/fix-motion-blur1.jpg
%%DATADIR%%/images/fix-motion-blur2.jpg
%%DATADIR%%/images/flatten-dist1.jpg
%%DATADIR%%/images/flatten-dist2.jpg
%%DATADIR%%/images/flatten-photo1.jpg
%%DATADIR%%/images/flatten-photo2.jpg
%%DATADIR%%/images/flatten1.jpg
%%DATADIR%%/images/flatten2.jpg
%%DATADIR%%/images/folder.png
%%DATADIR%%/images/fotoxx-views.jpg
%%DATADIR%%/images/fotoxx.png