pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/split-thai
Module Name: pkgsrc
Committed By: scole
Date: Thu Aug 1 20:10:30 UTC 2024
Modified Files:
pkgsrc/textproc/split-thai: Makefile distinfo
Log Message:
Update to 2.32
- Update pkgsrc Makefile to require emacs version >= 27 for json and
'string-distance. use ALL_ENV for utf8 settings
- cleanups for pthai-url-* functions
- remove custom variable 'pthai-audio-download-non-dictionary
- change custom variable 'pthai-audio-download to 3-state variable
from boolean, add 'pthai-mp3-permit-fetch to accommodate change
- add 'pthai-fetch-silence to disable messaging during downloads,
simplify 'pthai-download-and-play, 'pthai-highlight-say-bounds,
'pthai-mp3-fetch and various 'pthai-audio-* control flags
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/textproc/split-thai/Makefile
cvs rdiff -u -r1.36 -r1.37 pkgsrc/textproc/split-thai/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/split-thai/Makefile
diff -u pkgsrc/textproc/split-thai/Makefile:1.59 pkgsrc/textproc/split-thai/Makefile:1.60
--- pkgsrc/textproc/split-thai/Makefile:1.59 Fri Jul 26 15:37:26 2024
+++ pkgsrc/textproc/split-thai/Makefile Thu Aug 1 20:10:30 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.59 2024/07/26 15:37:26 scole Exp $
+# $NetBSD: Makefile,v 1.60 2024/08/01 20:10:30 scole Exp $
-ST_VERSION= 2.31
+ST_VERSION= 2.32
PKGNAME= split-thai-${ST_VERSION}
CATEGORIES= textproc
@@ -22,11 +22,9 @@ SITES.th_TH-${LIBREOFFICE_VERSION}.dic=
USE_TOOLS= mkdir cp env awk cat sort uniq grep wc echo
TOOL_DEPENDS+= libdatrie-[0-9]*:../../devel/libdatrie
TOOL_DEPENDS+= swath-[0-9]*:../../textproc/swath
-DEPENDS+= emacs-[0-9]*:../../editors/emacs
+DEPENDS+= emacs>=27.0:../../editors/emacs
DEPENDS+= sox-[0-9]*:../../audio/sox
-UTF8_ENV= env LC_ALL=C.UTF-8
-
ST_SHARE_DIR= share/split-thai
INSTALLATION_DIRS= ${ST_SHARE_DIR}
@@ -42,17 +40,15 @@ SUBST_SED.dictionary-app= -e 's,ST_SHARE
# puthash doesn't like. skip them with grep so consoles without utf8
# understanding won't be munged when the failure to add prints out an error
pre-build:
- cd ${WRKSRC} && ${UTF8_ENV} emacs --batch \
+ cd ${WRKSRC} && emacs --batch \
--eval='(setq pthai-bootstrap t)' \
--eval='(load-file "pthai.el")' \
--eval='(pthai-twt-save "thai-word-dict")'
cp ${WRKDIR}/thaidict-${GITHUB_ICU_TAG}.txt ${WRKSRC}/icu-dict
cp ${WRKDIR}/th_TH-${LIBREOFFICE_VERSION}.dic ${WRKSRC}/th_TH.dic
- cd ${PREFIX}/share/swath && \
- ${UTF8_ENV} trietool swathdic list | \
+ cd ${PREFIX}/share/swath && trietool swathdic list | \
awk '{print $$1}' > ${WRKSRC}/swath-dict
- cd ${WRKSRC} && \
- ${UTF8_ENV} cat icu-dict swath-dict th_TH.dic thai-word-dict | \
+ cd ${WRKSRC} && cat icu-dict swath-dict th_TH.dic thai-word-dict | \
grep -v '[#0123456789/"]' | sort | uniq > words
.for i in icu-dict thai-word-dict th_TH.dic swath-dict
@${ECHO} `wc -l ${WRKSRC}/${i} | awk '{print $$1}'` words in ${i}
@@ -68,3 +64,4 @@ do-install:
.endfor
.include "../../mk/bsd.pkg.mk"
+ALL_ENV+= LC_ALL=en_US.UTF-8
Index: pkgsrc/textproc/split-thai/distinfo
diff -u pkgsrc/textproc/split-thai/distinfo:1.36 pkgsrc/textproc/split-thai/distinfo:1.37
--- pkgsrc/textproc/split-thai/distinfo:1.36 Fri Jul 26 15:37:26 2024
+++ pkgsrc/textproc/split-thai/distinfo Thu Aug 1 20:10:30 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.36 2024/07/26 15:37:26 scole Exp $
+$NetBSD: distinfo,v 1.37 2024/08/01 20:10:30 scole Exp $
-BLAKE2s (split-thai-2.31.tgz) = dadd54814ddb7a4dd889d137aa333633aaeb96dc16f6f12104204af770a31252
-SHA512 (split-thai-2.31.tgz) = 76f5b8c23bea935ce9ef734ca6c8210fb46f922be92053ea9b03ede92972f7ab45d4a78e99f8fa22ca4757363a8a82ab0cb873340df1ee3e309e6604fd488aa4
-Size (split-thai-2.31.tgz) = 31599 bytes
+BLAKE2s (split-thai-2.32.tgz) = a01c9000ec9c799988d0e3899096b0927e6be924762a0c75a7f551daeaf2f541
+SHA512 (split-thai-2.32.tgz) = 0d29359d89c5973c49d89ddf5e7ea6e0250239e5bc49376105ba17120de038ae83fbc7a5a9d9f2a750d0be2077125d5b264243bd311d04d0bec348f574286d61
+Size (split-thai-2.32.tgz) = 31337 bytes
BLAKE2s (th_TH-7-6-4.dic) = 976e7d64726682c474f8ae202e5aa94e495a862712e1f6351332d1ff324ef99d
SHA512 (th_TH-7-6-4.dic) = e2280e4a15fea69deaa20868909010342341ad8622337291492e2a4faf84fabc3441f5d34f47ace1d74cf41a21e0b983848ec686f1e4b5adea920f601f2e634b
Size (th_TH-7-6-4.dic) = 1251425 bytes
Home |
Main Index |
Thread Index |
Old Index