The NetBSD Project

CVS log for pkgsrc/graphics/zxing-cpp/buildlink3.mk

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / graphics / zxing-cpp

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Mar 12 07:13:25 2026 UTC (8 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, HEAD
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
zxing-cpp: fix path to itself

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Mar 12 00:59:16 2026 UTC (8 months ago) by ryoon
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines

graphics/zxing-cpp: Update to 3.0.2

* Packaged by wiz@ in pkgsrc-wip/zxing-cpp.

Changelog:
3.0.2:
Patch release

This is a patch release, fixing three issues:

    Workaround for missing <format> C++20 header in GCC 11 and GCC 12
    This is required to make Homebrew and older distros happy.

    Zint Header Detection Fix
    Fixed an issue that caused a <zint.h> not found error when building the library with -DZXING_USE_BUNDLED_ZINT=OFF and libzint was installed in a non-standard install prefix (e.g., /opt/homebrew).

    Typo Fix in ReaderOptions API
    Fixed a typo in the newly added ReaderOptions::validateOptionalCheckSum, now correctly named validateOptionalChecksum. If anyone is angry at me for breaking their brand new code, let me know and I’ll consider adding a compatibility symbol with the "one week old" name.


3.0.1:
Patch release

This is a patch release, fixing a critical error (compile regression, see #1051) for people relying on the "old" (MultiFormatWriter) API. All wrapper code is unaffected and will not be released as 3.0.1.

Note 1: The old writer API is disabled by default, to enable it, you need to configure zxing-cpp with -DZXING_WRITERS=BOTH (or OLD). It is generally advised for package maintainers to use the BOTH config option during the 3.0 release cycle to allow client applications (like e.g. LibreOffice) to work until they switch to the new API.

Note 2: The new API is backed by libzint. The default config will statically link a bundled 2.16 version of libzint. If your distribution has a libzint v2.16 available, you might want to configure zxing-cpp to link against that: -DZXING_USE_BUNDLED_ZINT=OFF


3.0:
Important:

    The automatically created "Source Code" zip and tar.gz files are broken and can't be fixed (GitHub limitation regarding git submodules). If you need this, please download the attached zxing-cpp-3.0.0.zip or zxing-cpp-3.0.0.tar.gz file.
    There has been an issue detected after the release (#1051), which affects users who need access to the OLD ZXING_WRITERS (MultiFormatWriter.h). This will be fixed in a 3.0.1 patch release.

Major changes:

    New creator/writer API (moved out of experimental state) with lots of improvements and fine-tuning
    New BarcodeFormat and BarcodeFormats implementation, with minor changes in API
        New meta barcode formats like All, AllReadable, AllRetail, etc.
        New human readable names from ToString(format), e.g. EAN-13 instead of EAN13
        Added concept of Symbology to Barcode, e.g. QRCode == QRCodeModel2, MicroQRCode, RMQRCode
        The C-API suffered a hard break to accommodate the bit-field to array switch of the BarcodeFormats
    CreatorOptions now has a JSON (key-value pair) pair based options parameter
    C++20 is now a build requirement for the library, the client side API is still c++17 compatible
    Cleaned up number of included headers, new single source ZXingCpp.h header
    MultiFormatWriter: deprecate use of old writer API
    New Barcode::extra() API that returns symbology specific extra information as JSON string, e.g. "EcLevel"
    Add cmake flags to remove individual barcode formats from the build (smaller lib for wasm or embedded applications)
    publish native ARM python wrapper binaries
    New header only Qt6 API (ZXingQt.h) with support for multiple barcodes and new writer API
    New ZXingQtCamReader demo based on QWidgets with proper macOS support

Minor improvements and bug fixes

    QRCode: improve detection rate for circular finder patterns
    DataBar: fix inconsistency / plain spec violation (missing "(01)" prefix)
    EAN/UPC: return 13-digit numbers for UPC-A/E as required by standard
    Improved quiet zone handling for ITF
    QRCode: fix decoding of Model 1 symbols with more than 1 data block
    Content: modify bytesECI() to behave like a standard reader w.r.t. ECIs
    WriteBarcode: automatic GS1PARENS_MODE
    python: add ImageView class and ImageFormat enum as custom memoryview
    python: add experimental support to read_barcodes from QtGui.QImage
    ZXingReader: add experimental -denoise command line option
    Code39: improve detection for 4x difference between wide and narrow and lower quiet-zone requirements
    python: remove 3.9 and add 3.14 packages
    Content: improve auto-detection of charaset/eci info
    make installed binaries relocatable on macOS and Linux
    dotnet: implement IDisposable for the Barcode and Options classes and add XML documentation
    ReaderOptions: new validateOptionalCheckSum property replacing the Code39 and ITF specific ones
    ReaderOptions: deprecated the tryCode39ExtendedMode property (use new BarcodeFormat::Code39Ext)
    Expose structure append metadata via C API by @magethle in #950
    Add experimental tryDenoise to C API by @magethle in #952
    AZDecoder: minor fixes by @gitlost in #917
    Use 16 KB page size alignment on 64-bit Androids by @markusfisch in #1001
    Remove ZXing path from include path by @fnadeau in #924
    try denoise for android wrapper by @toktarov84 in #1035
    Improvements to Qt/QML interface by @m7913d in #945

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jul 19 13:10:11 2023 UTC (3 years, 3 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -2 lines
zxing-cpp: update to 2.1.0.

Major Changes

    Considerable performance improvements in linear symbol detection (up to 2x speedup in select use cases of ReadBarcodes)
    QRCode: major improvement in detection of high version symbols (see e.g. here)
    DMDetector: reduce runtime overhead of c++-20 builds by around 50%
    Refactor Python wrapper so the sdist includes the core library code by @stumpylog in #530
    wasm wrapper: add function to reader to scan multiple barcode by @Trim in #567
    Added a C wrapper by @siiky in #553. If you find this useful, please have a look at #583.
    new BUILD_EXPERIMENTAL_API cmake option (currently enabling DecodeHints::tryDenoise feature, see 9bcfdb3)
    [EDIT: just noticed that this does not work, see 8202a4e]

Minor Changes

    fix crash when the source image is less than 3 pixels width/height by @liulex in #476
    Android: Enable the saving of images to the phone gallery. by @Sergio- in #483
    WASM wrapper: add symbologyIdentifier into result by @AlexXiong-dev in #576
    CI: build universal2 python module for macos
    Python: compile module with c++20 (position independend DataMatrix support) by default
    Python: improve error reporting
    DMDetector: fix potential dead-lock
    DMDecoder: support 144x144 symbols in legacy and compliant variants
    UPC/EAN: reduce right quiet zone requirement -> fix non-conformant input
    EAN/UPCA: include AddOn in position calculation
    MSVC build option cleanup
    WASM: simplify and cleanup demo_*.html files
    Updated live web demos to latest code (and setup semi-automatic gh-page creation for the future)
    a bunch of minor bug fixes

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jul 18 18:19:24 2023 UTC (3 years, 3 months ago) by nia
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -4 lines
graphics: Adapt packages to USE_(CC|CXX)_FEATURES

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jul 10 07:51:27 2023 UTC (3 years, 4 months ago) by nia
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -1 lines
zxing-cpp: Sync compiler requirements with reality.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Apr 26 19:07:23 2023 UTC (3 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
zxing-cpp: bump ABI depends for shlib bump

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Feb 5 04:34:17 2022 UTC (4 years, 9 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
graphics/zxing-cpp: import zxing-cpp-1.2.0

ZXing-C++ ("zebra crossing") is an open-source, multi-format 1D/2D
barcode image processing library implemented in C++.

It was originally ported from the Java ZXing Library but has been
developed further and now includes many improvements in terms of
quality and performance. It can both read and write barcodes in a
number of formats.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>