summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/exempi/files/patch-source_Host__IO-POSIX.cpp25
-rw-r--r--textproc/modlogan/Makefile2
-rw-r--r--textproc/modlogan/pkg-plist6
-rw-r--r--textproc/py-feedparser/Makefile4
-rw-r--r--textproc/py-feedparser/distinfo6
-rw-r--r--textproc/qrcodegen/Makefile43
-rw-r--r--textproc/qrcodegen/files/qrcodegen.in1
7 files changed, 54 insertions, 33 deletions
diff --git a/textproc/exempi/files/patch-source_Host__IO-POSIX.cpp b/textproc/exempi/files/patch-source_Host__IO-POSIX.cpp
new file mode 100644
index 000000000000..af8efd93393e
--- /dev/null
+++ b/textproc/exempi/files/patch-source_Host__IO-POSIX.cpp
@@ -0,0 +1,25 @@
+--- source/Host_IO-POSIX.cpp.orig 2023-12-24 09:37:15.000000000 -0800
++++ source/Host_IO-POSIX.cpp 2025-09-11 02:22:42.614150000 -0700
+@@ -6,6 +6,8 @@
+ // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
+ // of the Adobe license agreement accompanying it.
+ // =================================================================================================
++
++#include <sys/param.h>
+
+ #include "public/include/XMP_Environment.h" // ! This must be the first include.
+
+@@ -523,7 +525,13 @@
+ while ( true ) {
+ // Ignore all children with names starting in '.'. This covers ., .., .DS_Store, etc.
+ // ! On AIX readdir_r returns 9 instead of 0 for normal termination.
++#if defined(__FreeBSD_version) && __FreeBSD_version >= 1600000
++ int err = 0;
++ if ((result = readdir ( folder )) == NULL) // ! Thread-safe form is not thread safe.
++ err = errno;
++#else
+ int err = readdir_r ( folder, childInfo, &result ); // ! Use the thread-safe form.
++#endif
+ if ( err == 9 ) return false; // Tolerable should some other UNIX return 9.
+ if ( err != 0 ) XMP_Throw ( "Host_IO::GetNextChild, readdir_r failed", kXMPErr_ExternalFailure );
+ if ( result == 0 ) return false;
diff --git a/textproc/modlogan/Makefile b/textproc/modlogan/Makefile
index 8f161fdd2e16..acbf99a94c69 100644
--- a/textproc/modlogan/Makefile
+++ b/textproc/modlogan/Makefile
@@ -1,6 +1,6 @@
PORTNAME= modlogan
PORTVERSION= 0.8.13
-PORTREVISION= 19
+PORTREVISION= 20
CATEGORIES= textproc www
MASTER_SITES= http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/
diff --git a/textproc/modlogan/pkg-plist b/textproc/modlogan/pkg-plist
index 83d1af02b4d7..e2061b68cc95 100644
--- a/textproc/modlogan/pkg-plist
+++ b/textproc/modlogan/pkg-plist
@@ -10,11 +10,11 @@ etc/modlogan/match.os.conf
etc/modlogan/match.searchengines.conf
etc/modlogan/match.ua.conf
etc/modlogan/match.useragents.conf
-@unexec if cmp -s %D/etc/modlogan/modlogan.conf %D/etc/modlogan/modlogan.conf-dist; then rm -f %D/etc/modlogan/modlogan.conf; fi
+@preunexec if cmp -s %D/etc/modlogan/modlogan.conf %D/etc/modlogan/modlogan.conf-dist; then rm -f %D/etc/modlogan/modlogan.conf; fi
etc/modlogan/modlogan.conf-dist
-@unexec if cmp -s %D/etc/modlogan/modlogan.css %D/etc/modlogan/modlogan.css-dist; then rm -f %D/etc/modlogan/modlogan.css; fi
+@preunexec if cmp -s %D/etc/modlogan/modlogan.css %D/etc/modlogan/modlogan.css-dist; then rm -f %D/etc/modlogan/modlogan.css; fi
etc/modlogan/modlogan.css-dist
-@unexec if cmp -s %D/etc/modlogan/modlogan.def.conf %D/etc/modlogan/modlogan.def.conf-dist; then rm -f %D/etc/modlogan/modlogan.def.conf; fi
+@preunexec if cmp -s %D/etc/modlogan/modlogan.def.conf %D/etc/modlogan/modlogan.def.conf-dist; then rm -f %D/etc/modlogan/modlogan.def.conf; fi
etc/modlogan/modlogan.def.conf-dist
lib/libmla_input_bsdftpd.a
lib/libmla_input_bsdftpd.so
diff --git a/textproc/py-feedparser/Makefile b/textproc/py-feedparser/Makefile
index b1af688a3bec..c0533b37cec3 100644
--- a/textproc/py-feedparser/Makefile
+++ b/textproc/py-feedparser/Makefile
@@ -1,6 +1,6 @@
PORTNAME= feedparser
-PORTVERSION= 6.0.11
-PORTREVISION= 1
+PORTVERSION= 6.0.12
+DISTVERSIONPREFIX= v
CATEGORIES= textproc python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/textproc/py-feedparser/distinfo b/textproc/py-feedparser/distinfo
index 14c2df3038f8..5ff18eea83c9 100644
--- a/textproc/py-feedparser/distinfo
+++ b/textproc/py-feedparser/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1709135172
-SHA256 (kurtmckee-feedparser-6.0.11_GH0.tar.gz) = 7474d23c879a4a7a2367801b417e2797c4abf25449e516d1b9139a3873af7ade
-SIZE (kurtmckee-feedparser-6.0.11_GH0.tar.gz) = 253205
+TIMESTAMP = 1757572171
+SHA256 (kurtmckee-feedparser-v6.0.12_GH0.tar.gz) = f6dc4628909d7865787967b4ec5ec693b96736be51570410388a1814fec9e932
+SIZE (kurtmckee-feedparser-v6.0.12_GH0.tar.gz) = 253342
diff --git a/textproc/qrcodegen/Makefile b/textproc/qrcodegen/Makefile
index 01ee8de5482c..d46f6364a54f 100644
--- a/textproc/qrcodegen/Makefile
+++ b/textproc/qrcodegen/Makefile
@@ -1,42 +1,37 @@
PORTNAME= qrcodegen
-PORTVERSION= 1.14.2
-PORTREVISION= 1
+DISTVERSION= 1.14.2
+PORTREVISION= 2
CATEGORIES= textproc java
MASTER_SITES= http://bsd-geek.de/FreeBSD/distfiles/
-DISTNAME= ${PORTNAME}_${PORTVERSION}
+DISTNAME= ${PORTNAME}_${DISTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= kevinz5000@gmail.com
COMMENT= GUI to generate QR codes
WWW= https://sites.google.com/site/qrcodeforwn/home/qr-code-generator-for-wireless-networks
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= java zip:infozip
-
+USES= java zip
+JAVA_VERSION= 8
+
+DESKTOP_ENTRIES= "Portable QR-Code Generator" \
+ "${COMMENT}" \
+ "" \
+ "${PORTNAME}" \
+ "Utility;2DGraphics;Java;" \
+ false
+EXTRACT_BEFORE_ARGS= -jqo
+EXTRACT_AFTER_ARGS= -d ${WRKSRC}
NO_ARCH= yes
NO_BUILD= yes
-SUB_FILES= qrcodegen
+SUB_FILES= ${PORTNAME}
INSTALLFILES= FAQ.txt Installation.txt NOTICE QRCodeGen.jar Version.html
-DESKTOP_ENTRIES="Portable QR-Code Generator" \
- "${COMMENT}" \
- "" \
- "qrcodegen" \
- "Utility;2DGraphics;Java;" \
- false
-
-do-extract:
- @${RM} -r ${WRKDIR}
- @${MKDIR} ${WRKSRC}
- @${UNZIP_CMD} -q -j -d ${WRKSRC} ${DISTDIR}/${EXTRACT_ONLY}
-
do-install:
- @${MKDIR} ${STAGEDIR}${DATADIR}
-.for i in ${INSTALLFILES}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DATADIR}/
-.endfor
- ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${INSTALLFILES:C|^|${WRKSRC}/|} ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/textproc/qrcodegen/files/qrcodegen.in b/textproc/qrcodegen/files/qrcodegen.in
index 05eadc249d9a..4d7042557b37 100644
--- a/textproc/qrcodegen/files/qrcodegen.in
+++ b/textproc/qrcodegen/files/qrcodegen.in
@@ -1,5 +1,6 @@
#!/bin/sh
cd %%DATADIR%%
+export JAVA_VERSION="%%JAVA_VERSION%%"
exec %%LOCALBASE%%/bin/java -jar QRCodeGen.jar "$@"