diff options
Diffstat (limited to 'textproc')
34 files changed, 123 insertions, 109 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index d6ae244ec3b0..897fcba54b82 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1417,6 +1417,7 @@ SUBDIR += py-html2text SUBDIR += py-htmlmin2 SUBDIR += py-humanfriendly + SUBDIR += py-humps SUBDIR += py-hunspell SUBDIR += py-ini2toml SUBDIR += py-interegular 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/ansifilter/Makefile b/textproc/ansifilter/Makefile index be876315d05c..d13aaa67f863 100644 --- a/textproc/ansifilter/Makefile +++ b/textproc/ansifilter/Makefile @@ -1,5 +1,5 @@ PORTNAME= ansifilter -DISTVERSION= 2.21 +DISTVERSION= 2.22 CATEGORIES= textproc MASTER_SITES= http://www.andre-simon.de/zip/ diff --git a/textproc/ansifilter/distinfo b/textproc/ansifilter/distinfo index 8e04d1e25bdb..aa2bfcd00f3b 100644 --- a/textproc/ansifilter/distinfo +++ b/textproc/ansifilter/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1725800187 -SHA256 (ansifilter-2.21.tar.bz2) = 5ea7cfdfd0752d5a169259da005c18b9037628036fd89d8b82624bacec9c1390 -SIZE (ansifilter-2.21.tar.bz2) = 434994 +TIMESTAMP = 1757678751 +SHA256 (ansifilter-2.22.tar.bz2) = ccff41ca740b813bf9103868b5000f4243d32a75304ea929a214c49b943ecc93 +SIZE (ansifilter-2.22.tar.bz2) = 435974 diff --git a/textproc/arianna/distinfo b/textproc/arianna/distinfo index d88dcfc1d8ae..43c2435e85f0 100644 --- a/textproc/arianna/distinfo +++ b/textproc/arianna/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754646594 -SHA256 (KDE/release-service/25.08.0/arianna-25.08.0.tar.xz) = d32b5090bbe7293c6a1c51c04abdb969480f5b6bfebe41e8689ccd1c8e6bba0e -SIZE (KDE/release-service/25.08.0/arianna-25.08.0.tar.xz) = 1183620 +TIMESTAMP = 1757410294 +SHA256 (KDE/release-service/25.08.1/arianna-25.08.1.tar.xz) = 181ceee8e3d1e5050862dfdc9fe91552ee37ca29eebfd600b34b015aa4424183 +SIZE (KDE/release-service/25.08.1/arianna-25.08.1.tar.xz) = 1183412 diff --git a/textproc/kf6-kcodecs/distinfo b/textproc/kf6-kcodecs/distinfo index 892c4752e824..4f50d825c22a 100644 --- a/textproc/kf6-kcodecs/distinfo +++ b/textproc/kf6-kcodecs/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754127977 -SHA256 (KDE/frameworks/6.17/kcodecs-6.17.0.tar.xz) = 07b1c6f6c30915629a99346f9fd5a854afe367291911fb61000932777f7e98f2 -SIZE (KDE/frameworks/6.17/kcodecs-6.17.0.tar.xz) = 2467872 +TIMESTAMP = 1757408199 +SHA256 (KDE/frameworks/6.18/kcodecs-6.18.0.tar.xz) = 247eda9ade502699062c7baaca7bb93691a308f202c165954652875ebe777426 +SIZE (KDE/frameworks/6.18/kcodecs-6.18.0.tar.xz) = 2472440 diff --git a/textproc/kf6-sonnet/distinfo b/textproc/kf6-sonnet/distinfo index 03ee315d8da0..50edb3cbc9b6 100644 --- a/textproc/kf6-sonnet/distinfo +++ b/textproc/kf6-sonnet/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754127977 -SHA256 (KDE/frameworks/6.17/sonnet-6.17.0.tar.xz) = 4afef6e9ca72edb6c22800b4acfb450df7121e5077c85213aca5f56ab9f4160b -SIZE (KDE/frameworks/6.17/sonnet-6.17.0.tar.xz) = 2413056 +TIMESTAMP = 1757408200 +SHA256 (KDE/frameworks/6.18/sonnet-6.18.0.tar.xz) = 2d94c957a3c5f2232653ad782b291e2b959eea6dca83cc09cae621bc9834ab25 +SIZE (KDE/frameworks/6.18/sonnet-6.18.0.tar.xz) = 2413184 diff --git a/textproc/kf6-syntax-highlighting/distinfo b/textproc/kf6-syntax-highlighting/distinfo index 9251d19d9336..5a05c8ad88b9 100644 --- a/textproc/kf6-syntax-highlighting/distinfo +++ b/textproc/kf6-syntax-highlighting/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754127977 -SHA256 (KDE/frameworks/6.17/syntax-highlighting-6.17.0.tar.xz) = 3d16bec0fbeb853be684c35f47550d59814db1f4b707ec77b862f3650f353fcc -SIZE (KDE/frameworks/6.17/syntax-highlighting-6.17.0.tar.xz) = 3711016 +TIMESTAMP = 1757408200 +SHA256 (KDE/frameworks/6.18/syntax-highlighting-6.18.0.tar.xz) = 8be8057221a982c8d1fe42f95454fac9610eb51975226c6652689293cd335bfd +SIZE (KDE/frameworks/6.18/syntax-highlighting-6.18.0.tar.xz) = 3715588 diff --git a/textproc/kompare/distinfo b/textproc/kompare/distinfo index 62e418e4926a..52394b8e85e9 100644 --- a/textproc/kompare/distinfo +++ b/textproc/kompare/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754646597 -SHA256 (KDE/release-service/25.08.0/kompare-25.08.0.tar.xz) = 2b2f67eb9a31093b1d1e295724f0f0b0cd13275cacdfb864590d5fcce8b4c872 -SIZE (KDE/release-service/25.08.0/kompare-25.08.0.tar.xz) = 964148 +TIMESTAMP = 1757410297 +SHA256 (KDE/release-service/25.08.1/kompare-25.08.1.tar.xz) = 55fb17f8337df779cecec9f4a85b6e225c630414c657df51f5b25e158e23e017 +SIZE (KDE/release-service/25.08.1/kompare-25.08.1.tar.xz) = 964092 diff --git a/textproc/libkomparediff2/distinfo b/textproc/libkomparediff2/distinfo index a3db9b2b6338..39dcf76fea73 100644 --- a/textproc/libkomparediff2/distinfo +++ b/textproc/libkomparediff2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754646599 -SHA256 (KDE/release-service/25.08.0/libkomparediff2-25.08.0.tar.xz) = 5c787cdf33b60f6da4f2954238349826607c0073f4f9b30a6ace65800c9a25c0 -SIZE (KDE/release-service/25.08.0/libkomparediff2-25.08.0.tar.xz) = 186372 +TIMESTAMP = 1757410299 +SHA256 (KDE/release-service/25.08.1/libkomparediff2-25.08.1.tar.xz) = d780da0867c0e2123ff4d401a7b30e07bd9b3159182a0949a7d4976d7d248b49 +SIZE (KDE/release-service/25.08.1/libkomparediff2-25.08.1.tar.xz) = 186328 diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile index 344606952e8f..dcfd2041aefc 100644 --- a/textproc/libxslt/Makefile +++ b/textproc/libxslt/Makefile @@ -12,9 +12,6 @@ WWW= https://gitlab.gnome.org/GNOME/libxslt/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/Copyright -DEPRECATED= unmaintained with multiple unfixed security vulnerabilities -EXPIRATION_DATE=2025-09-12 - # See note in textproc/libxml2 for why this port uses autotools USES= cpe gmake gnome libtool localbase:ldflags pathfix pkgconfig tar:xz CPE_VENDOR= xmlsoft diff --git a/textproc/link-grammar/Makefile b/textproc/link-grammar/Makefile index 4f6589a90884..b1b2759324c6 100644 --- a/textproc/link-grammar/Makefile +++ b/textproc/link-grammar/Makefile @@ -1,5 +1,5 @@ PORTNAME= link-grammar -DISTVERSION= 5.12.5 +DISTVERSION= 5.12.6 CATEGORIES= textproc MASTER_SITES= https://www.gnucash.org/${PORTNAME}/downloads/${PORTVERSION}/ @@ -10,6 +10,8 @@ WWW= https://opencog.github.io/link-grammar-website/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE +LIB_DEPENDS= libpcre2-8.so:devel/pcre2 + USES= compiler:c++11-lib dos2unix gmake libtool localbase ncurses \ pathfix pkgconfig sqlite USE_LDCONFIG= yes @@ -20,8 +22,6 @@ CONFIGURE_ARGS= --disable-maintainer-mode \ INSTALL_TARGET= install-strip -LIB_DEPENDS= libpcre2-8.so:devel/pcre2 - PLIST_SUB= VERSION=${PORTVERSION} OPTIONS_SUB= yes diff --git a/textproc/link-grammar/distinfo b/textproc/link-grammar/distinfo index a32a516e4f17..fb51b563b379 100644 --- a/textproc/link-grammar/distinfo +++ b/textproc/link-grammar/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754743831 -SHA256 (link-grammar-5.12.5.tar.gz) = adf7e60a40248e261dd159b948ad6c6b8cd4f99142525888081dca140395da34 -SIZE (link-grammar-5.12.5.tar.gz) = 4727809 +TIMESTAMP = 1757670133 +SHA256 (link-grammar-5.12.6.tar.gz) = 997dd6b236c7957fdda975a402e066b3e031134e7c75eb0e6d8f106185cc0814 +SIZE (link-grammar-5.12.6.tar.gz) = 4726532 diff --git a/textproc/markdownpart/distinfo b/textproc/markdownpart/distinfo index a43af3e185cb..ac80f2bfd898 100644 --- a/textproc/markdownpart/distinfo +++ b/textproc/markdownpart/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754646601 -SHA256 (KDE/release-service/25.08.0/markdownpart-25.08.0.tar.xz) = b110d069a71bab5e54018b1c951963985609b979445f68f4d4818fdd0f6af6fd -SIZE (KDE/release-service/25.08.0/markdownpart-25.08.0.tar.xz) = 34652 +TIMESTAMP = 1757410301 +SHA256 (KDE/release-service/25.08.1/markdownpart-25.08.1.tar.xz) = aa6242aafadf3989306380ae32f132e20db55a487d8e3751ec6cfae505e3b2c4 +SIZE (KDE/release-service/25.08.1/markdownpart-25.08.1.tar.xz) = 34576 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/py-humps/Makefile b/textproc/py-humps/Makefile new file mode 100644 index 000000000000..0d31c4fe5076 --- /dev/null +++ b/textproc/py-humps/Makefile @@ -0,0 +1,23 @@ +PORTNAME= pyhumps +PORTVERSION= 3.9.0 +CATEGORIES= textproc python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= otis@FreeBSD.org +COMMENT= Convert strings between cases +WWW= https://github.com/nficano/humps + +LICENSE= UNLICENSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR} + +USES= python +USE_GITHUB= yes +GH_ACCOUNT= nficano +GH_PROJECT= humps +GH_TAGNAME= v${PORTVERSION} + +USE_PYTHON= autoplist concurrent pep517 + +.include <bsd.port.mk> diff --git a/textproc/py-humps/distinfo b/textproc/py-humps/distinfo new file mode 100644 index 000000000000..30694a53f5b2 --- /dev/null +++ b/textproc/py-humps/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1757846499 +SHA256 (nficano-humps-3.9.0-v3.9.0_GH0.tar.gz) = d70a866f1de9a7ff2bed7a649faa2984cfab2dbd66b3fa90605235fbfb8b7219 +SIZE (nficano-humps-3.9.0-v3.9.0_GH0.tar.gz) = 2390969 diff --git a/textproc/py-humps/pkg-descr b/textproc/py-humps/pkg-descr new file mode 100644 index 000000000000..9689352ade1d --- /dev/null +++ b/textproc/py-humps/pkg-descr @@ -0,0 +1,2 @@ +Convert strings (and dictionary keys) between snake case, camel case and pascal +case in Python. diff --git a/textproc/py-mdformat/Makefile b/textproc/py-mdformat/Makefile index 043ff38dc623..989ab1be270d 100644 --- a/textproc/py-mdformat/Makefile +++ b/textproc/py-mdformat/Makefile @@ -1,13 +1,13 @@ # XXX: see below (post-patch target) before updating PORTNAME= mdformat DISTVERSION= 0.7.22 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= CommonMark compliant Markdown formatter -WWW= https://github.com/executablebooks/mdformat +WWW= https://github.com/hukkin/mdformat LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE @@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${P RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6.0:devel/py-importlib-metadata@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown-it-py>=1<5:textproc/py-markdown-it-py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mdurl>=0.1.2:textproc/py-mdurl@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR} \ + ${PY_TOMLI} \ ${PYTHON_PKGNAMEPREFIX}zipp>=0.5:devel/py-zipp@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}covdefaults>=2.3.0_1:devel/py-covdefaults@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=4.1.0:devel/py-pytest-cov@${PY_FLAVOR} \ diff --git a/textproc/py-smile/Makefile b/textproc/py-smile/Makefile index 2e2d0dbc8803..246e7426a171 100644 --- a/textproc/py-smile/Makefile +++ b/textproc/py-smile/Makefile @@ -1,5 +1,5 @@ PORTNAME= smile -DISTVERSION= 2.10.1 +DISTVERSION= 2.10.2 CATEGORIES= textproc python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -26,6 +26,7 @@ SHEBANG_FILES= src/smile.in python_OLD_CMD= @PYTHON@ BINARY_ALIAS= python3=${PYTHON_CMD} +NO_ARCH= yes OPTIONS_DEFAULT= WAYLAND X11 OPTIONS_GROUP= AUTOPASTE diff --git a/textproc/py-smile/distinfo b/textproc/py-smile/distinfo index 06e11314816e..15023ea0b2d4 100644 --- a/textproc/py-smile/distinfo +++ b/textproc/py-smile/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1755855180 -SHA256 (mijorus-smile-2.10.1_GH0.tar.gz) = 055b8ce8104560bf7425cd4913cbbeaa6ae82abdb4f96f59cd1758f1115ce7ce -SIZE (mijorus-smile-2.10.1_GH0.tar.gz) = 2030428 +TIMESTAMP = 1757832551 +SHA256 (mijorus-smile-2.10.2_GH0.tar.gz) = 9edd8e54653e43b6a7eb7fc44721ce918a615082594bdff5204756e35d0c7512 +SIZE (mijorus-smile-2.10.2_GH0.tar.gz) = 2200972 diff --git a/textproc/py-smile/pkg-plist b/textproc/py-smile/pkg-plist index 5df946f17810..fa4cb9b250da 100644 --- a/textproc/py-smile/pkg-plist +++ b/textproc/py-smile/pkg-plist @@ -33,8 +33,10 @@ share/locale/oc/LC_MESSAGES/smile.mo share/locale/pl/LC_MESSAGES/smile.mo share/locale/pt_BR/LC_MESSAGES/smile.mo share/locale/ru/LC_MESSAGES/smile.mo +share/locale/sv/LC_MESSAGES/smile.mo share/locale/tr/LC_MESSAGES/smile.mo share/locale/zh/LC_MESSAGES/smile.mo +share/locale/zh_TW/LC_MESSAGES/smile.mo %%DATADIR%%/assets/emoji_locales/da.json %%DATADIR%%/assets/emoji_locales/de.json %%DATADIR%%/assets/emoji_locales/es.json 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") |