summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/R-cran-stringr/Makefile11
-rw-r--r--textproc/R-cran-stringr/distinfo6
-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/p5-BibTeX-Parser/Makefile2
-rw-r--r--textproc/p5-BibTeX-Parser/distinfo6
-rw-r--r--textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Author.pm11
-rw-r--r--textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Entry.pm11
-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
-rw-r--r--textproc/tree-sitter-grammars/Makefile4
-rw-r--r--textproc/tree-sitter-grammars/files/patch-src_main.rs8
15 files changed, 78 insertions, 68 deletions
diff --git a/textproc/R-cran-stringr/Makefile b/textproc/R-cran-stringr/Makefile
index 3cc747260f68..8ac1ac665a17 100644
--- a/textproc/R-cran-stringr/Makefile
+++ b/textproc/R-cran-stringr/Makefile
@@ -1,24 +1,23 @@
PORTNAME= stringr
-PORTVERSION= 1.5.1
+DISTVERSION= 1.5.2
CATEGORIES= textproc
-DISTNAME= ${PORTNAME}_${PORTVERSION}
+DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= uzsolt@FreeBSD.org
COMMENT= Make it easier to work with strings
WWW= https://cran.r-project.org/web/packages/stringr/
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
-CRAN_DEPENDS= R-cran-cli>0:devel/R-cran-cli \
+RUN_DEPENDS= R-cran-cli>0:devel/R-cran-cli \
R-cran-glue>=1.6.1:devel/R-cran-glue \
R-cran-lifecycle>=1.0.3:devel/R-cran-lifecycle \
R-cran-magrittr>0:devel/R-cran-magrittr \
R-cran-rlang>=1.0.0:devel/R-cran-rlang \
R-cran-stringi>=1.5.3:textproc/R-cran-stringi \
R-cran-vctrs>0:devel/R-cran-vctrs
-BUILD_DEPENDS= ${CRAN_DEPENDS}
-RUN_DEPENDS= ${CRAN_DEPENDS}
-USES= cran:auto-plist
+USES= cran:auto-plist
.include <bsd.port.mk>
diff --git a/textproc/R-cran-stringr/distinfo b/textproc/R-cran-stringr/distinfo
index 9934aca75fea..006bfa4f63b7 100644
--- a/textproc/R-cran-stringr/distinfo
+++ b/textproc/R-cran-stringr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1702216442
-SHA256 (stringr_1.5.1.tar.gz) = a4adec51bb3f04214b1d8ef40d3a58949f21b1497cbeaf2ba552e0891eef45de
-SIZE (stringr_1.5.1.tar.gz) = 176599
+TIMESTAMP = 1757509235
+SHA256 (stringr_1.5.2.tar.gz) = d410ecb4f19c3fd07bb32142d5d0286e2f19f1533ba86243776326a4e73837a3
+SIZE (stringr_1.5.2.tar.gz) = 178018
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/p5-BibTeX-Parser/Makefile b/textproc/p5-BibTeX-Parser/Makefile
index b61a676e591a..cc43ba6212f1 100644
--- a/textproc/p5-BibTeX-Parser/Makefile
+++ b/textproc/p5-BibTeX-Parser/Makefile
@@ -1,5 +1,5 @@
PORTNAME= BibTeX-Parser
-PORTVERSION= 1.92
+PORTVERSION= 1.93
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:BORISV
diff --git a/textproc/p5-BibTeX-Parser/distinfo b/textproc/p5-BibTeX-Parser/distinfo
index 05a48bf36b99..5e91e2bd4e0a 100644
--- a/textproc/p5-BibTeX-Parser/distinfo
+++ b/textproc/p5-BibTeX-Parser/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1752262879
-SHA256 (BibTeX-Parser-1.92.tar.gz) = 5995391d232d75c846456eaf23c385d156bf4c0f98aa6ac7a21de4575a324763
-SIZE (BibTeX-Parser-1.92.tar.gz) = 28819
+TIMESTAMP = 1757520516
+SHA256 (BibTeX-Parser-1.93.tar.gz) = 6ea3682cd6ecb91a772d7c233366f1a51258253997a208d1451deda56487a5ca
+SIZE (BibTeX-Parser-1.93.tar.gz) = 28939
diff --git a/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Author.pm b/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Author.pm
deleted file mode 100644
index 0051d3abf59e..000000000000
--- a/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Author.pm
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/BibTeX/Parser/Author.pm.orig 2025-07-11 19:47:50 UTC
-+++ lib/BibTeX/Parser/Author.pm
-@@ -5,7 +5,7 @@ use strict;
-
- use warnings;
- use strict;
--use BibTeX::Parser qw (_split_braced_string);
-+use BibTeX::Parser;
-
- use overload
- '""' => \&to_string;
diff --git a/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Entry.pm b/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Entry.pm
deleted file mode 100644
index 6da048ae52a8..000000000000
--- a/textproc/p5-BibTeX-Parser/files/patch-lib_BibTeX_Parser_Entry.pm
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/BibTeX/Parser/Entry.pm.orig 2025-07-11 19:47:56 UTC
-+++ lib/BibTeX/Parser/Entry.pm
-@@ -7,7 +7,7 @@ use BibTeX::Parser::Author;
- use strict;
-
- use BibTeX::Parser::Author;
--use BibTeX::Parser qw (_split_braced_string);
-+use BibTeX::Parser;
-
- sub new {
- my ($class, $type, $key, $parse_ok, $fieldsref) = @_;
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 "$@"
diff --git a/textproc/tree-sitter-grammars/Makefile b/textproc/tree-sitter-grammars/Makefile
index 586c9ea4c669..c2aec35d5499 100644
--- a/textproc/tree-sitter-grammars/Makefile
+++ b/textproc/tree-sitter-grammars/Makefile
@@ -60,6 +60,10 @@ post-extract:
${CP} ${DISTDIR}/${LANG_HASH}/languages.toml ${WRKSRC}
+post-patch:
+ ${REINPLACE_CMD} "s#WRKDIR#${WRKDIR}#" \
+ ${WRKSRC}/src/main.rs
+
post-build:
cd ${WRKSRC}; \
${CARGO_TARGET_DIR}/release/build-tree-sitter --output ./output --tmp ${WRKSRC}/grammars
diff --git a/textproc/tree-sitter-grammars/files/patch-src_main.rs b/textproc/tree-sitter-grammars/files/patch-src_main.rs
index 4197c86a3f26..ea6c62211292 100644
--- a/textproc/tree-sitter-grammars/files/patch-src_main.rs
+++ b/textproc/tree-sitter-grammars/files/patch-src_main.rs
@@ -31,3 +31,11 @@
let path = if let Some(subpath) = grammar.source.subpath.as_ref() {
path.join(subpath)
} else {
+@@ -171,6 +171,7 @@ fn build_tree_sitter(name: &str, path: &Path, output:
+ fn build_tree_sitter(name: &str, path: &Path, output: &Path) -> Result<()> {
+ println!("-----------------------------------");
+ println!("now building tree sitter for {name}");
++ std::env::set_var("XDG_CACHE_HOME", "WRKDIR/.cache");
+ let output = Command::new("tree-sitter")
+ .current_dir(path)
+ .arg("build")