head 1.14; access; symbols pkgsrc-2026Q2:1.14.0.2 pkgsrc-2026Q2-base:1.14 pkgsrc-2026Q1:1.13.0.2 pkgsrc-2026Q1-base:1.13 pkgsrc-2025Q4:1.11.0.2 pkgsrc-2025Q4-base:1.11 pkgsrc-2025Q3:1.10.0.4 pkgsrc-2025Q3-base:1.10 pkgsrc-2025Q2:1.10.0.2 pkgsrc-2025Q2-base:1.10 pkgsrc-2025Q1:1.8.0.2 pkgsrc-2025Q1-base:1.8 pkgsrc-2024Q4:1.7.0.2 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.4.0.2 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.3.0.2 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.1.0.2 pkgsrc-2024Q1-base:1.1; locks; strict; comment @# @; 1.14 date 2026.05.14.16.41.18; author ryoon; state Exp; branches; next 1.13; commitid tKipFjQKzke3NNFG; 1.13 date 2026.02.16.13.10.34; author wiz; state Exp; branches; next 1.12; commitid 31rzFfTRbYAHqBuG; 1.12 date 2026.01.07.08.47.29; author wiz; state Exp; branches; next 1.11; commitid 1wQ3ICD8eebefrpG; 1.11 date 2025.10.23.20.37.51; author wiz; state Exp; branches; next 1.10; commitid 1V2hBZn9ypXaCJfG; 1.10 date 2025.04.24.14.14.43; author wiz; state Exp; branches; next 1.9; commitid A3VBjL8Zdd4LljSF; 1.9 date 2025.04.17.21.51.12; author wiz; state Exp; branches; next 1.8; commitid xcIXAVA292fk6sRF; 1.8 date 2025.02.12.06.45.12; author ryoon; state Exp; branches; next 1.7; commitid wrOiT0jBBwBs99JF; 1.7 date 2024.11.14.22.20.19; author wiz; state Exp; branches; next 1.6; commitid JmuDYqwL4erbdFxF; 1.6 date 2024.11.01.12.53.04; author wiz; state Exp; branches; next 1.5; commitid QB4Wk02mZPuBuWvF; 1.5 date 2024.11.01.00.52.17; author wiz; state Exp; branches; next 1.4; commitid QT27BdVP362gvSvF; 1.4 date 2024.08.25.06.18.54; author wiz; state Exp; branches; next 1.3; commitid BcrSL94SO85mvanF; 1.3 date 2024.05.29.16.33.04; author adam; state Exp; branches; next 1.2; commitid n8aFyEjEVZA0JUbF; 1.2 date 2024.04.06.08.05.56; author wiz; state Exp; branches; next 1.1; commitid xuM7fEJrv2TOC35F; 1.1 date 2024.03.14.12.24.54; author wiz; state Exp; branches; next ; commitid bLFRRABZWBf6O72F; desc @@ 1.14 log @*: Recursive revbump from security/nettle-4.0 @ text @# $NetBSD: Makefile,v 1.13 2026/02/16 13:10:34 wiz Exp $ DISTNAME= zint-2.16.0-src PKGNAME= ${DISTNAME:S/-src//} PKGREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zint/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://www.zint.org.uk/ COMMENT= Open source barcode generating solution #LICENSE= BSD and GPL USE_LANGUAGES= c c++ CMAKE_CONFIGURE_ARGS+= -DMAN_INSTALL_DIR=${PREFIX}/${PKGMANDIR} .include "options.mk" .include "../../devel/cmake/build.mk" .include "../../graphics/png/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.13 log @zint: update to 2.16.0. Switch to qt6 by default. Version 2.16.0 (2025-12-19) =========================== **Incompatible changes** ------------------------ - In `UNICODE_MODE`, ECI 899 Binary input now interpreted as UTF-8 (previously treated as-is, i.e. as binary bytes - this now requires `DATA_MODE`) - Buffer length of member `errtxt` in `zint_symbol` extended 100 -> 160 (client buffers may need checking/extending) - New `content_segs` & `content_seg_count` fields in `zint_symbol` for use with new output option `BARCODE_CONTENT_SEGS` - Symbol structure members `option_1`, `option_2` and `option_3` now updated after `ZBarcode_Encode()` and variants are called, and there are three new methods in the Qt Backend to access to them - New Qt Backend method `isBindable()` for new flag `ZINT_CAP_BINDABLE` - New Qt Backend methods `gs1SyntaxEngine()`, `setGS1SyntaxEngine()` and `haveGS1SyntaxEngine()` to access newly added GS1 Syntax Engine support - GS1 Composites now return warning if CC type upped from requested due to size of composite data - EAN-8 with add-on now returns warning that it's non-standard - UPC-E now returns warning if first digit of 7 digits ignored (not '0' or '1') - For GS1 Composite, no primary (linear component) now returns `ZINT_ERROR_INVALID_DATA` (previously returned `ZINT_ERROR_INVALID_OPTION`) - The distributed Windows binary "zint.exe" is now built with Microsoft Visual Studio 2015 and requires the Visual C runtime DLL "VCRUNTIME140.dll" (previously it was built with Visual Studio 6.0) Changes ------- - Add new `BARCODE_CONTENT_SEGS` option for `output_options` which sets new fields `content_segs` and `content_seg_count` with encoded data (pre-converted, i.e. UTF-8 unless input mode is `DATA_MODE`) - Add API funcs `ZBarcode_UTF8_To_ECI()` and `ZBarcode_Dest_Len_ECI()` - Set `option_1`, `option_2`, `option_3` to values used in encodation, and add new access methods `encodedOption1()` etc. to Qt Backend, and use in GUI to provide better feedback - AZTEC: give more precise warnings in low ECC situations, and indicate via `option_1` by setting to -1 (min 3 words), 0 (<5% + 3 words) - Better warning messages on non-compliant heights - composite: warn if CC type upped from requested - gs1: csumalpha: improve warning, report both chars (ticket #332, props Harald Oehlmann) - New `ZBarcode_Cap()` flag `ZINT_CAP_BINDABLE`, differentiated from `ZINT_CAP_STACKABLE`, and new Qt Backend method `isBindable()` - DOTCODE: now pads rows if given number of columns instead of failing if rows below min (5) - EAN-8 + add-on: warn as non-compliant - UPC-E: warn if first digit of 7 (or 8 if check digit given) not '0' or '1' - Extend `errtxt` buffer 100 -> 160 - Add new symbologies `BARCODE_EAN8`, `BARCODE_EAN_2ADDON`, `BARCODE_EAN_5ADDON`, `BARCODE_EAN13`, `BARCODE_EAN8_CC` and `BARCODE_EAN13_CC` as replacements for `BARCODE_EANX`, `BARCODE_EANX_CHK` and `BARCODE_EANX_CC` and use in CLI/GUI (`BARCODE_EANX` etc. marked as legacy) - For EAN/UPC accept space as alternative add-on separator to '+', and accept GTIN-13 format with & without 2-digit or 5-digit add-on (no separator) - GS1PARENS_MODE: allow parentheses in AI data if backslashed (necessary for opening parentheses, optional for closing ones) - Prefix all `INTERNAL` funcs/tables with `zint_`, except for those in "backend/common.h", which are prefixed by `z_` - makes symbol clashes more unlikely when zint is statically linked (ticket #337, props Ulrich Becker) - Add support for GS1 Syntax Engine with new `input_mode` flag `GS1SYNTAXENGINE_MODE` (CLI --gs1strict, GUI "GS1 Strict" checkbox) - GS1_MODE: allow GS1 Digital Link URIs (no validation unless `GS1SYNTAXENGINE_MODE` set) - CLI: --gs1parens, --gs1nocheck and --gs1strict now imply --gs1 - GS1: new AIs 717 (GSCN 25-199) and 8040-3 (GSCN 25-047) Bugs ---- - CODABLOCKF: fix misencodation of extended ASCII 0xB0-0xB9 when followed by digit (ignore 2nd byte of FNC4 when categorizing Code C characters) - AZTEC: fix GS1 mode with Structured Append (wasn't outputting initial FNC1) - ECI: ECI 899 in UNICODE_MODE wasn't being converted from UTF-8, which was inconsistent - set_height: fix non-compliance false positives by using epsilon in checks - UPU_S10: fix Service Indicator warning re "H" (ticket #331, props Milton Neal) - CLI: fix `separator` check to use new `ZINT_CAP_BINDABLE` instead of `ZINT_CAP_STACKABLE` - ZBarcode_Cap: add missing symbologies to `ZINT_CAP_BINDABLE` (was `ZINT_CAP_STACKABLE`) - MAILMARK_2D: fix postcode validation: no limited alphanumerics, spaced-out DPS "outward"-only allowed, all-blank DPS allowed (ticket #334, props Milton Neal) - DOTCODE: fix padding allowance to cover cases with large no. of columns requested and little data, to prevent buffer overflow - manual/man page: fix DATAMATRIX Sizes tables "28 12x26" -> "27 12x26" Version 2.15.0 (2025-02-25) =========================== ***2.14.0 regression fix*** --------------------------- - CODE128: start code no longer omitted for data starting with numerics followed by extended ASCII (Latin-1) **Incompatible changes** ------------------------ - New `text_length` field in `zint_symbol` Changes ------- - iso4217: remove 191 (HRK), 694 (SLL), 931 (CUC); add 926 (VED) - Add `text_length` (length of `text`) to `zint_symbol` - PLESSEY: add show default check characters option Bugs ---- - CODE128: fix 2.14.0 regression (see above), never start in mode C1 - CODE32: ignore `option_2` (check digit options) - PZN: ignore `option_2` (check digit options) except for indicates PZN7 only - DPD: exclude DEL from ident tag also - out_maybe_mkdir: fix `utf8_to_wide()` return (Windows only) - man page: fix Code 93 `--vers=1` hide -> show default check digits Version 2.14.0 (2025-02-05) =========================== **Incompatible changes** ------------------------ - New `memfile` & `memfile_size` fields in `zint_symbol` for use with new output option `BARCODE_MEMORY_FILE` - Buffer length of member `text` (HRT) in `zint_symbol` extended 200 -> 256 (client buffers may need checking/extending) - Invalid `input_mode` now returns warning - Aztec Code symbols that due to input length & user-requested version have less than recommended 5% error correction codewords now return warning - New CODE128-only special extra escapes beginning `\^` - Add-ons for UPC-A and UPC-E now descend to be level with the main symbol guard bars, and the righthand outside digit is now placed 1X less from main symbol to avoid touching any add-on - GS1-128 symbols now warn if READER_INIT option used Changes ------- - BMP: lessen heap memory usage by only `malloc()`ing a row - GIF: lessen heap memory usage by paging; use standard colour char map - Add `BARCODE_MEMORY_FILE` to `symbol->output_options` to allow outputting to in-memory buffer `symbol->memfile` instead of to file `symbol->outfile`, ticket #301 - CODE16K (was for CODE128): improve encodation on A/B shifting, props Daniel Gredler (Okapi) - CODE128: add new extra escape `\^1` for manual insertion of FNC1s, ticket #324, props Jim Shank; new extra escapes `\^A`, `\^B`, `\^C` and `\^@@` for manual switching of Code Sets; add minimal encodation algorithm, props Alex Geller (ZXing) and Bue Jensen (BWIPP); - library: return warning on invalid `input_mode` reset - library/CLI: expanded error messages - GS1: new AIs 7250-7259 (GSCN 22-246); iso4217: new ISO 4217 currency code 924; new AIs 7041 (GSCN 23-272) (packagetype) and 716 (GSCN-24-157) - AZTEC: workaround MSVC 2022 optimizer bug in `az_populate_map()` loops, ticket #317, props Andre Maute; return warning if ECC < 5% (due to bit-stuffing when version given) - MAXICODE: zero-pad US postcodes that lack "+4" (Annex B.1.4a), from OkapiBarcode, props Daniel Gredler; add minimal encodation algorithm, props Bue Jensen (BWIPP) - GUI: use X11 (xcb) as platform instead of Wayland on Linux to avoid various weird behaviours; in "grpDATF.ui" use "PlainText" rather than "RichText" for tracker ratio examples as height of text messing up sometimes - UPCA/UPCE: descend add-ons to same level as guards and adjust righthand outside digit to be 4X/2X instead of 5X/3X away from main symbol so as not to touch add-on TODO: revisit when standard clarified - manual: make explicit that AI "(00)" and "(01)" prefixes added by Zint are HRT-only; clarify Codablock-F length maximum & add examples - add DXFILMEDGE (MR #159, props Antoine Mérino) Bugs ---- - raster/BMP/GIF/PCX/TIF: fix dealing with very large data (use `size_t`) - raster: add `raster_malloc()` to fail > 1GB (avoids very large output files; also lessens to some degree chances of being victim of OOM killer on Linux) - GUI: printing scale dialog: set maxima on X-dim and resolution to keep scale <= 200 - BMP/EMF/PCX/TIF: fix endianness on big-endian machines (note TIF now always written as little-endian - simplifies testing) - ITF14/DPLEIT/DPIDENT: ignore `option_2` (check digit options) - GUI: scalewindow: fix cropping of initial resolution and bound X-dim <= 10 - GUI: factory reset: reset preview background colour also - GUI: cliwindow: `#if _WIN32` -> `#ifdef _WIN32` - QZint: fix legacy width and security level getters/setters, MR #158, props Philip Ye - CODE128: fix extended char latching when exactly 3 extended chars at end - library: need to check for valid UTF-8 after de-escaping - MAXICODE: maintain current set between segments - MSYS2: fix stdout output on Windows under MSYS2 (mailing list, props Frank) - DATAMATRIX: fix mis-encodation by only doing special end-of-data processing on last segment @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2026/01/07 08:47:29 wiz Exp $ d5 1 @ 1.12 log @*: recursive bump for icu 78.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2025/10/23 20:37:51 wiz Exp $ d3 1 a3 1 DISTNAME= zint-2.13.0-src a4 1 PKGREVISION= 10 @ 1.11 log @*: recursive bump for pcre2 Running an old binary against the new pcre doesn't work: /usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2025/04/24 14:14:43 wiz Exp $ d5 1 a5 1 PKGREVISION= 9 @ 1.10 log @*: recursive bump for jpeg -> libjpeg-turbo switch @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2025/04/17 21:51:12 wiz Exp $ d5 1 a5 1 PKGREVISION= 8 @ 1.9 log @*: recursive bump for icu 77 and libxml2 2.14 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2025/02/12 06:45:12 ryoon Exp $ d5 1 a5 1 PKGREVISION= 7 @ 1.8 log @*: Recursive revbump from audio/flac-1.5.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2024/11/14 22:20:19 wiz Exp $ d5 1 a5 1 PKGREVISION= 6 @ 1.7 log @*: recursive bump for icu 76 shlib major version bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2024/11/01 12:53:04 wiz Exp $ d5 1 a5 1 PKGREVISION= 5 @ 1.6 log @*: revbump for icu downgrade @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2024/11/01 00:52:17 wiz Exp $ d5 1 a5 1 PKGREVISION= 4 @ 1.5 log @*: recursive bump for icu 76.1 shlib bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2024/08/25 06:18:54 wiz Exp $ d5 1 a5 1 PKGREVISION= 3 @ 1.4 log @*: replace CMAKE_ARGS with CMAKE_CONFIGURE_ARGS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2024/05/29 16:33:04 adam Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.3 log @revbump after icu and protobuf updates @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2024/04/06 08:05:56 wiz Exp $ d16 1 a16 1 CMAKE_ARGS+= -DMAN_INSTALL_DIR=${PREFIX}/${PKGMANDIR} @ 1.2 log @* recursive bump for libxkbcommon 1.7.0 Marc Baudoin reported problems with using old binary packages with the new libkxbcommon, so force everything to 1.7.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2024/03/14 12:24:54 wiz Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.1 log @graphics/zint: import zint-2.13.0 Zint is a suite of programs to allow easy encoding of data in any of the wide range of public domain barcode standards and to allow integration of this capability into your own programs. @ text @d1 1 a1 1 # $NetBSD$ d5 1 @