pkgsrc-Changes archive

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

CVS commit: pkgsrc/editors/poke



Module Name:    pkgsrc
Committed By:   ktnb
Date:           Mon Nov 16 01:46:29 UTC 2026

Modified Files:
        pkgsrc/editors/poke: Makefile PLIST distinfo

Log Message:
poke: update to 5.0

* User interface updates
  - Now hyperlink server can bind to a user-specified port for
    listening to commands (-p, --hserver-port).

* Poke Language updates
  - Floating-point arithmetic is now supported on uint<32>/uint<64>
    types. uint<32> will be interpreted as a single-precision
    floating-point number and uint<64> will be interpreted as a
    double-precision floating-point number as defined per the IEEE
    754 standard. The following expressions are now supported:
      - Addition:       a .+  b
      - Subtraction:    a .-  b
      - Multiplication: a .*  b
      - Division:       a ./  b
      - Ceil-devision:  a ./^ b
      - Exponentiation: a .** b
      - Remainder:      a .%  b
      - Post-increment: a.++
      - Pre-increment:  .++a
      - Post-decrement: a.--
      - Pre-decrement:  .--a
      - Negation:      .-a

      - Less-than:                a .<  b
      - Less-than-or-equal-to:    a .<= b
      - Greater-than:             a .>  b
      - Greater-than-or-equal-to: a .>= b
      - Equal-to:                 a .== b
      - Not-equal-to:             a .!= b

* Poke Runtime updates
  - Thanks to the great work of David Faust, poke now supports
    reactive IO spaces!  Extent of a PVM value mapped in a given IO
    space will be tracked and values will be re-mapped only if a
    write happens in their extent; which is a big performance win for
    read-intense programs.

  - A bunch of undefined behavior (UB) releated to left-shifts has
    been fixed.

  - Improved human-readable message of E_conv exception when
    verifying length/size of an array with dynamic bound(s) to help
    the user to understand the mistake.

* Poke compiler updates
  - Now poke can properly handle writes to nested integral
    struct/unions fields.  Previously write to nested fields of
    integral structs did not materialize in IO space.

* Standard Poke Library updates
  - Closure's pretty printer now adds closure's name (identifier) to
    output.
  - Two new functions to calculate square root of single and double
    precision floating point numbers: sqrtf and sqrtd.
    They accept uint<32> and uint<64> respectively as the IEEE 754
    single and double precision floating-point numbers.

* libpoke updates
  - Version of DSO is bumped to 2.0.0, and from this release onward,
    we try to not break the ABI, and bump the version components
    according to the libtool's recommendation (when needed).

  - To be able to keep the ABI backward-compatibility promise, all
    public APIs are now accepting either pk_compiler or pk_val. This
    is the first step toward removing global state from libpoke to be
    able to have multiple instances of libpoke in a single process
    (and also to be able to accomplish thread-safety). We're not
    there yet, but we'll be there some day (hopefully soon)!

* IO subsystem updates
  - IOS_F_TRUNCATE has been re-introduced (it was removed after
    release of poke 1.0 by the rationale that it's not that useful of
    a flag.  Turns out it's quite useful to start from an empty file
    when assembling binary files from scratch using poke.

* Pickles updates
  - Improved ustar pickle and add tests.  Method get_last_mod_time
    has been fixed and the following methods has been added:
    get_{file,owner_user,group}_name.
  - Improved time pickle to print date and time properly
    (zero-padded), and also add ptime_str function to get date/time
    information as a string.

* Many Documentation Improvements


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/editors/poke/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/editors/poke/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/editors/poke/distinfo

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

Modified files:

Index: pkgsrc/editors/poke/Makefile
diff -u pkgsrc/editors/poke/Makefile:1.10 pkgsrc/editors/poke/Makefile:1.11
--- pkgsrc/editors/poke/Makefile:1.10   Mon Aug 28 13:41:08 2023
+++ pkgsrc/editors/poke/Makefile        Mon Nov 16 01:46:29 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2023/08/28 13:41:08 fcambus Exp $
+# $NetBSD: Makefile,v 1.11 2026/11/16 01:46:29 ktnb Exp $
 
-DISTNAME=      poke-3.3
+DISTNAME=      poke-5.0
 CATEGORIES=    editors
 MASTER_SITES=  ${MASTER_SITE_GNU:=poke/}
 
@@ -13,13 +13,13 @@ GNU_CONFIGURE=      yes
 INFO_FILES=    yes
 
 USE_TOOLS+=    pkg-config gmake makeinfo install-info
+USE_LIBTOOL=   yes
 
-CONFIGURE_ARGS+=       --infodir=${PREFIX}/${PKGINFODIR}
 CONFIGURE_ARGS+=       --with-gc=${BUILDLINK_PREFIX.boehm-gc}
 CONFIGURE_ARGS+=       --enable-mi
 
 # Jitter's no-threading dispatch does not work on NetBSD
-CONFIGURE_ARGS.NetBSD+= --disable-dispatch-no-threading
+CONFIGURE_ARGS.NetBSD+=        --disable-dispatch-no-threading
 
 .include "../../devel/boehm-gc/buildlink3.mk"
 .include "../../devel/gettext-tools/buildlink3.mk"

Index: pkgsrc/editors/poke/PLIST
diff -u pkgsrc/editors/poke/PLIST:1.2 pkgsrc/editors/poke/PLIST:1.3
--- pkgsrc/editors/poke/PLIST:1.2       Wed Apr 19 15:08:36 2023
+++ pkgsrc/editors/poke/PLIST   Mon Nov 16 01:46:29 2026
@@ -1,25 +1,27 @@
-@comment $NetBSD: PLIST,v 1.2 2023/04/19 15:08:36 fcambus Exp $
+@comment $NetBSD: PLIST,v 1.3 2026/11/16 01:46:29 ktnb Exp $
 bin/pk-bin2poke
-bin/pk-elfextractor
+bin/pk-bpfcoredump
+bin/pk-jojopatch
 bin/pk-strings
 bin/poke
 bin/poked
+bin/pokefmt
 include/libpoke.h
 info/poke.info
+info/pokeint.info
 lib/libpoke.la
 lib/pkgconfig/poke.pc
 man/man1/poke.1
 man/man1/poked.1
+man/man1/pokefmt.1
 share/aclocal/poke.m4
-share/emacs/site-lisp/poke-map-mode.el
 share/emacs/site-lisp/poke-ras-mode.el
-share/poke/maps/dwarf.map
-share/poke/maps/elf.map
-share/poke/maps/mp3.map
 share/poke/pickles/argp.pk
 share/poke/pickles/asn1-ber.pk
+share/poke/pickles/base64.pk
 share/poke/pickles/bmp.pk
 share/poke/pickles/bpf.pk
+share/poke/pickles/bpfcore.pk
 share/poke/pickles/btf-dump.pk
 share/poke/pickles/btf-ext.pk
 share/poke/pickles/btf.pk
@@ -27,29 +29,30 @@ share/poke/pickles/coff-aarch64.pk
 share/poke/pickles/coff-i386.pk
 share/poke/pickles/coff.pk
 share/poke/pickles/color.pk
+share/poke/pickles/crc16.pk
 share/poke/pickles/ctf-dump.pk
 share/poke/pickles/ctf.pk
 share/poke/pickles/diff.pk
-share/poke/pickles/dwarf-common.pk
-share/poke/pickles/dwarf-expr.pk
-share/poke/pickles/dwarf-frame.pk
-share/poke/pickles/dwarf-info.pk
-share/poke/pickles/dwarf-pubnames.pk
-share/poke/pickles/dwarf-types.pk
-share/poke/pickles/dwarf.pk
-share/poke/pickles/elf-32.pk
-share/poke/pickles/elf-64.pk
-share/poke/pickles/elf-common.pk
-share/poke/pickles/elf.pk
+share/poke/pickles/gcov.pk
+share/poke/pickles/gpt-partition-attrs.pk
+share/poke/pickles/gpt-partition-types.pk
+share/poke/pickles/gpt.pk
+share/poke/pickles/guid.pk
 share/poke/pickles/id3v1.pk
 share/poke/pickles/id3v2.pk
 share/poke/pickles/ieee754.pk
 share/poke/pickles/ios.pk
+share/poke/pickles/iscan-str.pk
+share/poke/pickles/iscan.pk
 share/poke/pickles/jffs2.pk
+share/poke/pickles/jojodiff.pk
+share/poke/pickles/jpeg.pk
 share/poke/pickles/leb128.pk
+share/poke/pickles/linux.pk
 share/poke/pickles/mbr.pk
 share/poke/pickles/mcr.pk
 share/poke/pickles/openpgp.pk
+share/poke/pickles/orc.pk
 share/poke/pickles/pcap.pk
 share/poke/pickles/pdap.pk
 share/poke/pickles/pe-amd64.pk
@@ -72,24 +75,26 @@ share/poke/pickles/riscv.pk
 share/poke/pickles/search.pk
 share/poke/pickles/sframe-dump.pk
 share/poke/pickles/sframe.pk
+share/poke/pickles/srec.pk
 share/poke/pickles/time.pk
 share/poke/pickles/ustar.pk
 share/poke/pickles/uuid.pk
 share/poke/pkl-config.pk
 share/poke/pkl-rt.pk
 share/poke/poke/nodelist
+share/poke/poke/pk-cmd-copy.pk
+share/poke/poke/pk-cmd-diff.pk
+share/poke/poke/pk-cmd-dump.pk
+share/poke/poke/pk-cmd-extract.pk
+share/poke/poke/pk-cmd-help.pk
+share/poke/poke/pk-cmd-info.pk
+share/poke/poke/pk-cmd-ios.pk
+share/poke/poke/pk-cmd-misc.pk
+share/poke/poke/pk-cmd-save.pk
+share/poke/poke/pk-cmd-scrabble.pk
+share/poke/poke/pk-cmd-set.pk
 share/poke/poke/pk-cmd.pk
-share/poke/poke/pk-copy.pk
-share/poke/poke/pk-diff.pk
-share/poke/poke/pk-dump.pk
-share/poke/poke/pk-extract.pk
-share/poke/poke/pk-help.pk
 share/poke/poke/pk-hserver.pk
-share/poke/poke/pk-info.pk
-share/poke/poke/pk-map.pk
-share/poke/poke/pk-save.pk
-share/poke/poke/pk-scrabble.pk
-share/poke/poke/pk-settings.pk
 share/poke/poke/pk-tracer.pk
 share/poke/poke/poke-bright.css
 share/poke/poke/poke-dark.css
@@ -97,6 +102,7 @@ share/poke/poke/poke.pk
 share/poke/poke/poke.text
 share/poke/poked/pk-dump-minimal.pk
 share/poke/poked/poked.pk
+share/poke/pokefmt/pokefmt.pk
 share/poke/std-types.pk
 share/poke/std.pk
 share/vim/vimfiles/ftdetect/poke.vim

Index: pkgsrc/editors/poke/distinfo
diff -u pkgsrc/editors/poke/distinfo:1.4 pkgsrc/editors/poke/distinfo:1.5
--- pkgsrc/editors/poke/distinfo:1.4    Thu Aug 24 22:22:28 2023
+++ pkgsrc/editors/poke/distinfo        Mon Nov 16 01:46:29 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2023/08/24 22:22:28 fcambus Exp $
+$NetBSD: distinfo,v 1.5 2026/11/16 01:46:29 ktnb Exp $
 
-BLAKE2s (poke-3.3.tar.gz) = 56bbbe0958975cb75b77d5e9e623e8cf55d0fcd26e006a128b0a0898b463d7a8
-SHA512 (poke-3.3.tar.gz) = b00dca38d27bddee6ea131d45988aaead1d11d29b757c048f3b2be8013575cedc591844d4d99870f90964fd4f517d500cbb42aae5aff57e9fe07aac8273aa236
-Size (poke-3.3.tar.gz) = 7553544 bytes
+BLAKE2s (poke-5.0.tar.gz) = cc6c201b085ded43a06f1f3c803e5480b8782e0681d7f7e97ccc61fdc75f2ea5
+SHA512 (poke-5.0.tar.gz) = fec7df04729a21de15c9cdfba256291581dad660fc2e0a76c2e605f1505f5687043c032ad73e47a5ece591d6f14c72f5ddc9d480c764291cb5d06bedbcd3d339
+Size (poke-5.0.tar.gz) = 9229552 bytes



Home | Main Index | Thread Index | Old Index