pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/gawk



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue May 16 20:31:00 UTC 2023

Modified Files:
        pkgsrc/lang/gawk: Makefile PLIST distinfo
        pkgsrc/lang/gawk/patches: patch-Makefile.in
Removed Files:
        pkgsrc/lang/gawk/patches: patch-configure patch-extension_configure

Log Message:
gawk: update to 5.2.2.

Changes from 5.2.1 to 5.2.2
---------------------------

1. Infrastructure upgrades: makeinfo 7.0.1 must be used to format
   the manual.  As a result, the manual can also now be formatted
   with LaTeX by running it through `makeinfo --latex'.

2. Gawk no longer builds an x86_64 executable on M1 macOS systems.
   This means that PMA is unavailable on those systems.

3. Gawk will now diagnose if a heap file was created with a different
   setting of -M/--bignum than in the current invocation and exit with
   a fatal message if so.

4. Gawk no longer "leaks" its free list of NODEs in the heap file, resulting
   in much more efficient usage of persistent storage.

5. PROCINFO["pma"] exists if the PMA allocator is compiled into gawk.
   Its value is the PMA version.

6. The time extension is no longer deprecated. The strptime() function
   from gawkextlib's timex extension has been added to it.

7. Better information is passed to input parsers for when they want to
   decide whether or not to take control of a file. In particular, the
   readdir extension is simplified for Windows because of this.

8. The various PNG files are now installed for Info and HTML. The
   images files now have gawk_ prefixed names to avoid any conflicts
   with other installed PNG file names.

9. As usual, there have been several minor code cleanups and bug fixes.
   See the ChangeLog for details.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 pkgsrc/lang/gawk/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/lang/gawk/PLIST
cvs rdiff -u -r1.48 -r1.49 pkgsrc/lang/gawk/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/gawk/patches/patch-Makefile.in
cvs rdiff -u -r1.1 -r0 pkgsrc/lang/gawk/patches/patch-configure
cvs rdiff -u -r1.3 -r0 pkgsrc/lang/gawk/patches/patch-extension_configure

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

Modified files:

Index: pkgsrc/lang/gawk/Makefile
diff -u pkgsrc/lang/gawk/Makefile:1.76 pkgsrc/lang/gawk/Makefile:1.77
--- pkgsrc/lang/gawk/Makefile:1.76      Sun Nov 27 23:11:29 2022
+++ pkgsrc/lang/gawk/Makefile   Tue May 16 20:31:00 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.76 2022/11/27 23:11:29 wiz Exp $
+# $NetBSD: Makefile,v 1.77 2023/05/16 20:31:00 wiz Exp $
 
-DISTNAME=      gawk-5.2.1
+DISTNAME=      gawk-5.2.2
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GNU:=gawk/}
 EXTRACT_SUFX=  .tar.xz
@@ -31,11 +31,11 @@ CHECK_PORTABILITY_SKIP+=    doc/it/gawktexi
 
 .include "options.mk"
 
-.if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64)
+.if ${MACHINE_PLATFORM:MDarwin-*-x86_64}
 CFLAGS+=       -Dvm_region=vm_region_64
 .endif
 
-.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-powerpc)
+.if ${MACHINE_PLATFORM:MDarwin-[0-8].*-powerpc}
 # ld does not have -rpath
 CONFIGURE_ARGS+=       --disable-rpath
 .endif

Index: pkgsrc/lang/gawk/PLIST
diff -u pkgsrc/lang/gawk/PLIST:1.29 pkgsrc/lang/gawk/PLIST:1.30
--- pkgsrc/lang/gawk/PLIST:1.29 Mon Sep 12 09:55:55 2022
+++ pkgsrc/lang/gawk/PLIST      Tue May 16 20:31:00 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.29 2022/09/12 09:55:55 wiz Exp $
+@comment $NetBSD: PLIST,v 1.30 2023/05/16 20:31:00 wiz Exp $
 bin/${PKGNAME}
 bin/gawk
 bin/gawkbug
@@ -6,6 +6,13 @@ gnu/bin/awk
 gnu/man/man1/awk.1
 include/gawkapi.h
 info/gawk.info
+info/gawk_api-figure1.png
+info/gawk_api-figure2.png
+info/gawk_api-figure3.png
+info/gawk_array-elements.png
+info/gawk_general-program.png
+info/gawk_process-flow.png
+info/gawk_statist.jpg
 info/gawkinet.info
 info/gawkworkflow.info
 info/pm-gawk.info

Index: pkgsrc/lang/gawk/distinfo
diff -u pkgsrc/lang/gawk/distinfo:1.48 pkgsrc/lang/gawk/distinfo:1.49
--- pkgsrc/lang/gawk/distinfo:1.48      Mon Dec  5 10:17:48 2022
+++ pkgsrc/lang/gawk/distinfo   Tue May 16 20:31:00 2023
@@ -1,12 +1,10 @@
-$NetBSD: distinfo,v 1.48 2022/12/05 10:17:48 jperkin Exp $
+$NetBSD: distinfo,v 1.49 2023/05/16 20:31:00 wiz Exp $
 
-BLAKE2s (gawk-5.2.1.tar.xz) = 5459d82a3018dd78e2974641d31c34adbc1972714c1e74d0d2bf64f9f0493e60
-SHA512 (gawk-5.2.1.tar.xz) = f81da3e61987d1460326dc79fdbabacfd4660219bf66ec8ba18877500fd24e160761e401a5b868067f82bec46a6a808098f3f6a1f4c8b710e439cd3f99ffa56c
-Size (gawk-5.2.1.tar.xz) = 3411420 bytes
-SHA1 (patch-Makefile.in) = dd9f67382e8300a56b8f6b28c3c7813ea4971f60
-SHA1 (patch-configure) = 56037c88fa7477cefa94d840749b73614ff9a0c6
+BLAKE2s (gawk-5.2.2.tar.xz) = 439d20b3a60809d840718b757ccab0a6a9ba669250d104b1af991b5b87a621c1
+SHA512 (gawk-5.2.2.tar.xz) = 90611e4daba7226d5ce8230843bf479dc71c0101740c005d851ef7c5b935b6cd4c42089b858abc1619adc05ed25fc7234f993690a76d2ea0b8e61bcbb7dc5a58
+Size (gawk-5.2.2.tar.xz) = 3402872 bytes
+SHA1 (patch-Makefile.in) = f1ec17dc9dc39d631984399c46d641a5ec19d381
 SHA1 (patch-extension_Makefile.in) = 07184d54caadbdc4193d1ba2ee52eb557900bdf3
-SHA1 (patch-extension_configure) = 7ba39bced6c2af806ca47e8ec0515868bff8d90f
 SHA1 (patch-extension_gawkfts.c) = a88ac0ed14be5133cf081bf25ab8663f0f3372a7
 SHA1 (patch-extension_inplace.c) = 84b1d8f18ed78a872cd7befa65def30b4bcb3252
 SHA1 (patch-test_Makefile.in) = 6d73f09b72fba7bec340d35d5d3c70691db814cd

Index: pkgsrc/lang/gawk/patches/patch-Makefile.in
diff -u pkgsrc/lang/gawk/patches/patch-Makefile.in:1.8 pkgsrc/lang/gawk/patches/patch-Makefile.in:1.9
--- pkgsrc/lang/gawk/patches/patch-Makefile.in:1.8      Mon Sep 12 09:55:56 2022
+++ pkgsrc/lang/gawk/patches/patch-Makefile.in  Tue May 16 20:31:00 2023
@@ -1,9 +1,9 @@
-$NetBSD: patch-Makefile.in,v 1.8 2022/09/12 09:55:56 wiz Exp $
+$NetBSD: patch-Makefile.in,v 1.9 2023/05/16 20:31:00 wiz Exp $
 
 Correct locale location, use names gawk and pgawk unconditionally.
 Do not install extras.
 
---- Makefile.in.orig   2022-09-04 12:12:04.000000000 +0000
+--- Makefile.in.orig   2023-05-07 18:29:33.000000000 +0000
 +++ Makefile.in
 @@ -359,7 +359,7 @@ CPPFLAGS = @CPPFLAGS@
  CSCOPE = @CSCOPE@
@@ -23,10 +23,10 @@ Do not install extras.
  bin_SCRIPTS = gawkbug
  include_HEADERS = gawkapi.h
  BUILT_SOURCES = $(srcdir)/pc/Makefile.tst
-@@ -1301,9 +1301,7 @@ install-exec-hook:
-       (cd $(DESTDIR)$(bindir); \
-       name=`echo gawk | sed '$(transform)'` ; \
-       $(LN) $${name}$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
+@@ -1306,9 +1306,7 @@ install-exec-hook:
+       if [ ! -f gawk-$(VERSION)$(EXEEXT) ]; \
+       then    $(LN) $${name}$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
+       fi; \
 -      if [ ! -f awk$(EXEEXT) ]; \
 -      then    $(LN_S) $${name}$(EXEEXT) awk$(EXEEXT); \
 -      fi; exit 0)



Home | Main Index | Thread Index | Old Index