pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/tcllib



Module Name:    pkgsrc
Committed By:   scole
Date:           Tue Feb 25 12:11:48 UTC 2025

Modified Files:
        pkgsrc/devel/tcllib: Makefile PLIST distinfo

Log Message:
Update to 2.0

for pkgsrc, this is the pure tcl version only (without the c runtime
in tcl) since the required prerequisite, critcl, is not in pkgsrc yet.
may try to add it soon...

=============
Tcllib 2.0 is the first major revision of Tcllib after a long series of
minor 1.x releases.

This revision

  1. __drops support__ for Tcl versions before 8.5.
       - All packages now require Tcl 8.5 as their minimum runtime.
       - This does not mean that the implementations are already changed to use
         Tcl 8.5 features.
       - Such changes will be done incrementally.
       - Users of Tcl 8.4 or even older still have Tcllib 1.21 available to them.

  2. __adds support__ for Tcl 9, for both Tcl and C implementations
     (where available).
       - It is the first revision to have such support.
       - Tcllib 1.21 and older will not work with Tcl 9.

  3. enhances the visibility of the __C accelerators__ available for various
     Tcllib packages through the adjunct __Tcllibc__ binary package.
     Tcllibc's version has become 2.0 also, to match Tcllib itself.
       - The Makefile's `install` target is extended to install both Tcllib and
         Tcllibc.
         In other words, Tcllibc is now __built by default__, requiring a Critcl
         installation.
         Eben so, Tcllibc is __still optional__, and Tcllib can still be built
         and installed without it.
       - To install only Tcllib use the new target `install-tcl`.
       - To install only Tcllibc use the new target `install-binaries`.
       - __Beware__ that Tcllibc, as a binary package, has to be compiled for
         either Tcl 8 or Tcl 9.
       - __Beware__, that the Tcllibc binary package requires Tcl 8.6 as its
         minimum runtime.
         This is due to the Tcl 9 portability support, which requires 8.6 on the
         other side of the border.
         This should not be true hardship.
         Tcllib 1.21 is still available, and does not have this restriction.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/tcllib/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/tcllib/PLIST
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/tcllib/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/tcllib/Makefile
diff -u pkgsrc/devel/tcllib/Makefile:1.22 pkgsrc/devel/tcllib/Makefile:1.23
--- pkgsrc/devel/tcllib/Makefile:1.22   Thu Feb 20 06:33:49 2025
+++ pkgsrc/devel/tcllib/Makefile        Tue Feb 25 12:11:48 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2025/02/20 06:33:49 scole Exp $
+# $NetBSD: Makefile,v 1.23 2025/02/25 12:11:48 scole Exp $
 
-DISTNAME=              tcllib-1.21
+DISTNAME=              tcllib-2.0
 CATEGORIES=            devel
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=tcllib/}
 
@@ -9,12 +9,12 @@ HOMEPAGE=             https://core.tcl-lang.org/tcl
 COMMENT=               Collection of utility modules for Tcl
 LICENSE=               modified-bsd
 
-USE_TOOLS+=            find wget:run
+USE_TOOLS+=            find tclsh wget:run
 
 GNU_CONFIGURE=         yes
 NO_BUILD=              yes
 
-CONFIGURE_ARGS+=       --with-tclsh=${BUILDLINK_PREFIX.tcl}/bin/tclsh
+CONFIGURE_ARGS+=       --with-tclsh=${TCLSH}
 
 TCL_EXDIR=             share/examples/tcllib
 INSTALLATION_DIRS+=    bin lib ${PKGMANDIR}/mann ${TCL_EXDIR}
@@ -47,6 +47,14 @@ SUBST_MESSAGE.tclsh= Fixing path to tcls
 
 TEST_TARGET=           test
 
+do-install:
+       cd ${WRKSRC} && ${TCLSH} ./installer.tcl \
+               -no-examples -no-html \
+               -pkg-path ${DESTDIR}${PREFIX}/lib/tcllib${PKGVERSION} \
+               -app-path ${DESTDIR}${PREFIX}/bin \
+               -nroff-path ${DESTDIR}${PREFIX}/${PKGMANDIR}/mann \
+               -no-wait -no-gui
+
 # add examples manually
 post-install:
        cd ${WRKSRC}/examples; for d in `${FIND} . -type d -print`; do \

Index: pkgsrc/devel/tcllib/PLIST
diff -u pkgsrc/devel/tcllib/PLIST:1.9 pkgsrc/devel/tcllib/PLIST:1.10
--- pkgsrc/devel/tcllib/PLIST:1.9       Mon Feb 17 12:15:40 2025
+++ pkgsrc/devel/tcllib/PLIST   Tue Feb 25 12:11:48 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2025/02/17 12:15:40 scole Exp $
+@comment $NetBSD: PLIST,v 1.10 2025/02/25 12:11:48 scole Exp $
 bin/dtplite
 bin/mkdoc
 bin/nns
@@ -7,10 +7,6 @@ bin/nnslog
 bin/page
 bin/pt
 bin/tcldocstrip
-lib/tcllib${PKGVERSION}/0compatibility/d_config.tcl
-lib/tcllib${PKGVERSION}/0compatibility/d_paths.tcl
-lib/tcllib${PKGVERSION}/0compatibility/p_config.tcl
-lib/tcllib${PKGVERSION}/0compatibility/p_paths.tcl
 lib/tcllib${PKGVERSION}/0compatibility/pkgIndex.tcl
 lib/tcllib${PKGVERSION}/aes/aes.tcl
 lib/tcllib${PKGVERSION}/aes/pkgIndex.tcl
@@ -71,9 +67,10 @@ lib/tcllib${PKGVERSION}/counter/pkgIndex
 lib/tcllib${PKGVERSION}/crc/cksum.tcl
 lib/tcllib${PKGVERSION}/crc/crc16.tcl
 lib/tcllib${PKGVERSION}/crc/crc32.tcl
-lib/tcllib${PKGVERSION}/crc/crcc.tcl
+lib/tcllib${PKGVERSION}/crc/crc32c.tcl
 lib/tcllib${PKGVERSION}/crc/pkgIndex.tcl
 lib/tcllib${PKGVERSION}/crc/sum.tcl
+lib/tcllib${PKGVERSION}/crc/sumc.tcl
 lib/tcllib${PKGVERSION}/cron/cron.tcl
 lib/tcllib${PKGVERSION}/cron/pkgIndex.tcl
 lib/tcllib${PKGVERSION}/csv/csv.tcl
@@ -292,15 +289,16 @@ lib/tcllib${PKGVERSION}/log/msgs/en.msg
 lib/tcllib${PKGVERSION}/log/pkgIndex.tcl
 lib/tcllib${PKGVERSION}/map/map_geocode_nominatim.tcl
 lib/tcllib${PKGVERSION}/map/map_slippy.tcl
+lib/tcllib${PKGVERSION}/map/map_slippy_c.tcl
 lib/tcllib${PKGVERSION}/map/map_slippy_cache.tcl
 lib/tcllib${PKGVERSION}/map/map_slippy_fetcher.tcl
+lib/tcllib${PKGVERSION}/map/map_slippy_tcl.tcl
 lib/tcllib${PKGVERSION}/map/pkgIndex.tcl
 lib/tcllib${PKGVERSION}/mapproj/mapproj.tcl
 lib/tcllib${PKGVERSION}/mapproj/pkgIndex.tcl
 lib/tcllib${PKGVERSION}/markdown/markdown.tcl
 lib/tcllib${PKGVERSION}/markdown/pkgIndex.tcl
 lib/tcllib${PKGVERSION}/math/bessel.tcl
-lib/tcllib${PKGVERSION}/math/bigfloat.tcl
 lib/tcllib${PKGVERSION}/math/bigfloat2.tcl
 lib/tcllib${PKGVERSION}/math/bignum.tcl
 lib/tcllib${PKGVERSION}/math/calculus.tcl
@@ -345,6 +343,7 @@ lib/tcllib${PKGVERSION}/math/qcomplex.tc
 lib/tcllib${PKGVERSION}/math/quasirandom.tcl
 lib/tcllib${PKGVERSION}/math/rational_funcs.tcl
 lib/tcllib${PKGVERSION}/math/romannumerals.tcl
+lib/tcllib${PKGVERSION}/math/rootfind.tcl
 lib/tcllib${PKGVERSION}/math/special.tcl
 lib/tcllib${PKGVERSION}/math/stat_kernel.tcl
 lib/tcllib${PKGVERSION}/math/stat_logit.tcl
@@ -555,12 +554,10 @@ lib/tcllib${PKGVERSION}/simulation/rando
 lib/tcllib${PKGVERSION}/smtpd/pkgIndex.tcl
 lib/tcllib${PKGVERSION}/smtpd/smtpd.tcl
 lib/tcllib${PKGVERSION}/snit/main1.tcl
-lib/tcllib${PKGVERSION}/snit/main1_83.tcl
 lib/tcllib${PKGVERSION}/snit/main2.tcl
 lib/tcllib${PKGVERSION}/snit/pkgIndex.tcl
 lib/tcllib${PKGVERSION}/snit/snit.tcl
 lib/tcllib${PKGVERSION}/snit/snit2.tcl
-lib/tcllib${PKGVERSION}/snit/snit_tcl83_utils.tcl
 lib/tcllib${PKGVERSION}/snit/validate.tcl
 lib/tcllib${PKGVERSION}/soundex/pkgIndex.tcl
 lib/tcllib${PKGVERSION}/soundex/soundex.tcl
@@ -587,7 +584,6 @@ lib/tcllib${PKGVERSION}/struct/list.tcl
 lib/tcllib${PKGVERSION}/struct/list.test.tcl
 lib/tcllib${PKGVERSION}/struct/map.tcl
 lib/tcllib${PKGVERSION}/struct/matrix.tcl
-lib/tcllib${PKGVERSION}/struct/matrix1.tcl
 lib/tcllib${PKGVERSION}/struct/pkgIndex.tcl
 lib/tcllib${PKGVERSION}/struct/pool.tcl
 lib/tcllib${PKGVERSION}/struct/prioqueue.tcl
@@ -666,6 +662,7 @@ lib/tcllib${PKGVERSION}/treeql/pkgIndex.
 lib/tcllib${PKGVERSION}/treeql/treeql.tcl
 lib/tcllib${PKGVERSION}/treeql/treeql84.tcl
 lib/tcllib${PKGVERSION}/treeql/treeql85.tcl
+lib/tcllib${PKGVERSION}/try/fhome.tcl
 lib/tcllib${PKGVERSION}/try/pkgIndex.tcl
 lib/tcllib${PKGVERSION}/try/throw.tcl
 lib/tcllib${PKGVERSION}/try/try.tcl
@@ -932,7 +929,6 @@ man/mann/markdown.n
 man/mann/math.n
 man/mann/math_geometry.n
 man/mann/matrix.n
-man/mann/matrix1.n
 man/mann/md4.n
 man/mann/md5.n
 man/mann/md5crypt.n
@@ -1104,6 +1100,7 @@ man/mann/tcldesjr.n
 man/mann/tcldocstrip.n
 man/mann/tcllib_coroutine.n
 man/mann/tcllib_dns.n
+man/mann/tcllib_fhome.n
 man/mann/tcllib_fifo.n
 man/mann/tcllib_fifo2.n
 man/mann/tcllib_interp.n
@@ -1176,6 +1173,7 @@ man/mann/vt_base64.n
 man/mann/vt_counter.n
 man/mann/vt_crc32.n
 man/mann/vt_otp.n
+man/mann/wcswidth.n
 man/mann/websocket.n
 man/mann/wip.n
 man/mann/xsxp.n
@@ -1332,3 +1330,6 @@ share/examples/tcllib/transfer/sreceive.
 share/examples/tcllib/transfer/stransmit.tcl
 share/examples/tcllib/transfer/tlssetup.tcl
 share/examples/tcllib/transfer/transmit.tcl
+share/examples/tcllib/websocket/oo_server_example.tcl
+share/examples/tcllib/websocket/server_example.tcl
+share/examples/tcllib/websocket/websocket_test.html

Index: pkgsrc/devel/tcllib/distinfo
diff -u pkgsrc/devel/tcllib/distinfo:1.14 pkgsrc/devel/tcllib/distinfo:1.15
--- pkgsrc/devel/tcllib/distinfo:1.14   Mon Feb 17 12:15:40 2025
+++ pkgsrc/devel/tcllib/distinfo        Tue Feb 25 12:11:48 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.14 2025/02/17 12:15:40 scole Exp $
+$NetBSD: distinfo,v 1.15 2025/02/25 12:11:48 scole Exp $
 
-BLAKE2s (tcllib-1.21.tar.gz) = 700903ff646795190027e8588fe81f17b5f8ba1bf5e44ddebd46c6078a20b105
-SHA512 (tcllib-1.21.tar.gz) = 58ddbf392dbc8c8935a7f28be974a4ba895e934046ff1ffe8c5ab65e3db7e68b9450d420bd1d547245e7f699ea11edf698047cfe0a305a09449779037db059ab
-Size (tcllib-1.21.tar.gz) = 10721290 bytes
+BLAKE2s (tcllib-2.0.tar.gz) = 09b85e686e60c535b2c31a5795ed858954c634ba8f03cb6185cdaa668e79148d
+SHA512 (tcllib-2.0.tar.gz) = fdb2cf402a90f1002189a108076ec0f407916ca90bfb172d974e6347547feb2e30167cd3bec63ea2b63a0632f1dabd2012d7eeff2679927d676b12e83fe5b168
+Size (tcllib-2.0.tar.gz) = 18903838 bytes



Home | Main Index | Thread Index | Old Index