The NetBSD Project

CVS log for pkgsrc/graphics/zxing-cpp/Makefile

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Aug 3 18:02:48 2026 UTC (3 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, HEAD
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
zxing-cpp: update to 3.1.1.

Patch release

    QRCode: improve Version 1 detection rate
    QRCode: fix detection regression in 3.1.0
    python: fix use of 'None' keyword usage and wrong '**kwargs' tag
    MicroPDF417: fix out of bounds access
    MultiFormatWriter: fix BarcodeFormat::Aztec and QRCodeModel2 support
    Android: make binary a little smaller (hidden symbols)
    PDF417: match codewords using integer arithmetic by @nyluke in #1138
    ReedSolomon: add missing header for GCC-16 by @parona-source in #1137

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 16 06:47:15 2026 UTC (4 months ago) by bsiegert
Branches: pkgsrc-2026Q2
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +5 -2 lines
Pullup ticket #7171 - requested by is
graphics/zxing-cpp: build fix

Revisions pulled up:
- graphics/zxing-cpp/Makefile                                   1.18

---
   Module Name:	pkgsrc
   Committed By:	gdt
   Date:		Wed Jun 24 13:49:06 UTC 2026

   Modified Files:
   	pkgsrc/graphics/zxing-cpp: Makefile

   Log Message:
   graphics/zxing-cpp: Require c++20

   per upstream README and CMakeLists.txt

   resolves failure to build on NetBSD 10.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Jul 13 18:49:21 2026 UTC (4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -4 lines
zxing-cpp: update to 3.1.0.

(libreoffice still builds.)

Changes:

New/Improved Symbologies

    Added decoder support for Telepen symbology
    Added decoder support for MicroPDF417 (sponsored by Allied Vision Konstanz GmbH)
    Greatly improved Aztec detector for large, non-flat symbols by evaluating internal timing patterns
    Greatly improved DataMatrix detector for large, non-flat symbols by evaluating internal alignment patterns
    Major improvement in QRCode detection of many small symbols in a single image

New/Improved wrappers

    Added a Go wrapper
    Switched from pybind11 to nanobind in Python wrapper code (enhanced IDE support, faster build times, smaller binaries, free-threaded Python support)

General

    Improved API documentation, now published under https://zxing-cpp.github.io/zxing-cpp/docs
    Considerable performance improvements, especially on ARM chips (10%-40% in specific scenarios)
    ReedSolomon: generic implementation for prime and extended Galois Fields with improved performance
    Added support for "Unused Error Correction" meta data (Barcode::extra("UEC"))
    Optional support for WebP in ZXingReader
    Sifted and partly recoded set of sample images into WebP with 95% size reduction of the sample_images.zip

Minor Improvements and Bug Fixes

    AZHighLevelEncoder: fix mixed table '}' (0x7d) -> '~' (0x7e) by @gitlost in #1065
    Silence deprecated-declarations warnings on Windows too by @x1sc0 in #1066
    fix test/fuzz build by @kcwu in #1071
    oned: DataBar: catch std::out_of_range in DecodeExpandedBits by @kcwu in #1080
    [ODCode39Reader] Fix crash in DecodeCode32 due to unhandled exception by @kcwu in #1083
    DMDetector: guard empty DataMatrix gap list by @markusfisch in #1100
    Fix constructor parameter names in PointT by @MonkeybreadSoftware in #1097
    iOS: add formats getter/setter to ZXIReaderOptions by @hrasnam in #1094
    Add Windows resource file for version information by @davidhsing in #1101
    Fix #include bug by @KangLin in #1103
    ODCode128Reader: only process 1st/2nd position FNC1 once by @gitlost in #1113
    AZDecoder: allow lowercase AIM id (2nd position FNC1) per spec by @gitlost in #1114
    DMDecoder: restrict AIM id (2nd position FNC1) to alpha/2 digits by @gitlost in #1117
    Rust: add define in build.rs to set CMAKE_INSTALL_LIBDIR to lib by @demondave in #1119
    Fix missing iterator header on Android by @umerov1999 in #1121
    iOS Wrapper: Add stacked DataBar format support and fix format enum mismatches by @brian-telintelo-kr in #1125
    Fix (at least substantially reduce) false positive DataBarStacked detections
    Fix out-of-bounds access bugs in PDF417 decoder
    Fixed an endless loop in the QRDetector
    Fixed regression in BarcodeFormat based filtering during ReadBarcodes operation
    "Save frame" feature + cosmetic improvements to ZXingQtCamReader demo app
    modernized Android Demo App code

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jun 24 13:49:06 2026 UTC (4 months, 3 weeks ago) by gdt
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -2 lines
graphics/zxing-cpp: Require c++20

per upstream README and CMakeLists.txt

resolves failure to build on NetBSD 10.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Apr 7 11:39:00 2026 UTC (7 months, 1 week ago) by tsutsui
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base
Branch point for: pkgsrc-2026Q2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +7 -1 lines
zxing-cpp: disable PCH on NetBSD/i386 11.0_RC3 to avoid random ICE

Probably caused by address space shortage.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Mar 12 00:59:16 2026 UTC (8 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +25 -14 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.15: download - view: text, markup, annotated - select for diffs
Sun Jan 12 10:33:18 2025 UTC (22 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
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
zxing-cpp: update to 2.3.0.

Shiny new stuff (more than I was aware of, after all this time...)

    Add support for DX Film Edge read by @Merinorus in #684
    Add support for detecting and reading Aztec Runes by @gormster in #763
    Add reader support for DataBarLimited symbols (sponsored by EUREKAM)
    Add C-API in official build (EDIT: unfortunately the default is still off, to enable do cmake -DZXING_C_API=ON)
    Add Kotlin/Native Wrapper by @ISNing in #719
    Add Rust wrapper based on C-API
    Add .NET wrapper based on C-API
    Introduce new name Barcode for Result which will be removed in 3.0
    LocalAverage binarizer: re-implement with symmetric threshold interpolation for improved detection of inverted symbols
    cmake: replace BUILD_... prefix of cmake options with ZXING_...
    cmake: switch to c++-20 by default for the core library
    ImageView: introduce bounds checks in constructor
    ImageView: Add ImageFormat::LumX for 2-byte grey + alpha input
    ImageFormat: replace 'X' with 'A', e.g. RGBX -> RGBA
    ZXingReader: add -binarizer <local|global|fixed> command line option
    ZXingReader: add -single option to setMaxNumberOfSymbols(1)
    ZXingReader: parse -formats (including 's') command line argument
    ZXingReader: support reading image file from stdin by passing '-'
    android: switch 'namespace' from zxingcpp to zxingcpp.lib to fix issue with maven central publication
    Python: add support to write bytes as binary data
    ZXing::Version() function to query the library version at runtime (useful when dynamically linked)

New experimental API (cmake option -DZXING_EXPERIMENTAL_API=ON)

    New experimental Create+Write API for generating/writing barcodes (will replace MultiFormatWriter)
    New experimental libzint based writer backend
    New ImageView Barcode::symbol() property
    New experimental writer API in python

Minor changes and bug fixes

    Complete ZXIReaderOptions in iOS Wrapper by @markusfisch in #692
    ios: remove initWithFormats initializer by @markusfisch in #723
    cmake: Make build reproducible across different build directories by @EchterAgo in #730
    Release color space after use in iOS wrapper by @markusfisch in #790
    cmake: allow overriding python install directories by @jameshilliard in #842
    Refine MultiFormatReader results filtering and apply C++20 erase_if by @Doekin in #846
    HRI: update AIs to latest gs1-syntax-dictionary.txt by @gitlost in #880
    android: add linker flag to support flexible page sizes in Android 15 by @ccrowell-kr in #872
    Deprecate validateITFCheckSum, validateCode39CheckSum, returnCodabarStartEnd
    BitHacks: fix random QRCode content on pre-Haswell Windows machines
    DataMatrix: improve detection of near 45° rotated symbols
    cmake: add /utf-8 to MSVC compile flags
    Barcode: tune operator==() to not split up overly tall linear symbols
    Several ITFReader improvements
    QRDecoder: return some content even in the presence of a checksum error
    DataBar: improve detection rate by incorporating edge-2-edge pattern
    PDF417: prevent wrong position info with right side collapsing to (0,0)
    Python: make sure macOS and 64bit Linux packes on pypi.org support multi-symbol DataMatrix detection (c++20 support)

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Aug 25 06:18:54 2024 UTC (2 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
*: replace CMAKE_ARGS with CMAKE_CONFIGURE_ARGS

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Dec 11 10:10:16 2023 UTC (2 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
zxing-cpp: update to 2.2.1.

2.2.1

I accidentally broke c++ ABI compatibility between 2.1.0 and 2.2.0. This is fixed here. This release is only of relevance for package maintainers caring about ABI stability of MINOR version changes according to semantic versioning. None of the wrappers are effected by this change and hence will not be released as 2.2.1.

2.2.0

Major Changes

This release is mostly about the Python, Android and iOS wrappers. The latter 2 have changed considerably to have an API that is more in line with each other and with the core c++ library. The changes will most likely break existing app code but set a proper foundation for the future.

    Python:
        Multithreading Support via GIL by @billmccartney in #616
        Remove numpy requirement, use buffer protocol instead by @EchterAgo in #615
        Support sliced numpy arrays
        Expose return_errors parameter to Python wrapper APIs. by @gregtws in #618
        Expose Result::ecLevel method as python property by @marcoffee in #600
        Build wheels for Python 3.12. by @dainnilsson in #625

    Android:
        Android wrapper: Modernize build files by @okarmazin in #619
        Fix permissions on Android R+ by @markusfisch in #656
        Android wrapper improvements by @markusfisch in #659
        android: add consumerProguardFiles by @markusfisch in #660
        android: Fix build with NDK 26 by @michaelweghorn in #674
        Build with C++20 (improved DataMatrix detection) by default
        Don't close() the ImageProxy inside read() anymore, need to do that outside now (this breaks existing code)
        Change package name from com.zxingcpp to simply zxingcpp (breaking change)
        publish library on mavenCentral for lowest possible barrier of entry

    iOS/macOS:
        iOS Wrapper improvements by @benjohnde in #630
        iOS wrapper: Add functionality of encoding binary data into Barcodes by @alexmanzer in #635
        Rename ZXingCppWrapper to ZXingCpp by @alexmanzer in #638
        iOS: Enable CocoaPods by providing a podspec by @benjohnde in #637
        Build with C++20 (improved DataMatrix detection) by default
        ios: specify EC level/margin for generation by @markusfisch in #644
        ios: expose all native result items in wrapper by @markusfisch in #649
        ios: clean up ZXIDecodeHints by @markusfisch in #652
        ios: use a default error text instead of crashing by @markusfisch in #661
        ios: improve exception handling by @markusfisch in #664
        ios: rename ZXIDecodeHints to ZXIReaderOptions

    General:
        Rename DecodeHints to ReaderOptions. The old name is still available for backward API compatibility but deprecated. Since the C-API and the Qt wrapper code are not officially part of the library, they changed without backward compatibility.
        WASM: bytes in ReadResult by @Sec-ant in #588
        DataMatrix: use charset for encoding by @markusfisch in #628
        QRCode: Support QR Code Model1 by @sayzzy-nt in #633
        rMQR Code: Support Rectangular Micro QR Code by @gitlost in #681

Minor Changes and Fixes

    Fix QT 6 QML Crash & Enable QML Shape by @LeonnardoVerol in #597
    Python: Fix wrapper build on MSVC not having __cplusplus for BitHacks by @EchterAgo in #613
    Correctly handle supported image formats on Android APIs < 23 by @okarmazin in #622
    Add DecodeHints.setMaxNumberOfSymbols() to C API by @siiky in #665
    aztec: on decoding check for padding bits after B/S by @gitlost in #671

Revision 1.12: 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-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -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.11: 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.10: preferred, colored
Changes since revision 1.10: +3 -4 lines
graphics: Adapt packages to USE_(CC|CXX)_FEATURES

Revision 1.10: 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.9: preferred, colored
Changes since revision 1.9: +5 -2 lines
zxing-cpp: Sync compiler requirements with reality.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Apr 26 19:06:36 2023 UTC (3 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
zxing-cpp: update to 2.0.0.

The most visible change from the client perspective is the removal
of all formerly deprecated API, (almost) completing the 'cleanup'.
Since I was way too slow with this release to implement a 'cleanish'
SemVer release as discussed in #333, I decided to release this 2.0
with SONAME 3. A 3.0 release might bring the major version number
back in sync with the SONAME.

Major Changes

    switch to UTF8 based API and remove deprecated UTF16 one (Result::text())
    remove all API deprecated in 1.4
    Adding a wrapper for iOS by @parallaxe in #337
    new Aztec detector implementation to support arbitrary rotation and position of the symbol
    support multi-symbol detection in Aztec detector
    replace all Qt originated ECI/CharacterSet conversion code with a new implementation provided by @gitlost (libzueci)
    require c++17 to build library and client code
    new DecodeHints::textMode() and Result::text(TextMode) API to specify how bytes are rendered into text.
    HRI (human readable interpretation) is the new default for the TextMode (has been for most cases before, but not all)
    new DecodeHits::tryInvert() feature to test for inverted symbols (white on black background)

Minor Changes

    deprecate TextUtfEncoding helpers, not required anymore with UTF8 APIs for both reader and writer
    support for multi-symbol and arbitrary position detection of DataMatrix symbols when library is built with c++20
    Include version number of QR Code and DataMatrix in Result by @markusfisch in #396
    reduce size of Result struct by about a third
    cleanup all license related files (see removal of the Qt code above)
    update links and comments to refer to new github.com/zxing-cpp/zxing-cpp home
    improved Code128 decoder for over/underexposed images
    support python 3.11
    a whole bunch of fixes and minor improvements all over the place

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jan 24 18:36:28 2023 UTC (3 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
*: convert to cmake/build.mk

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Aug 24 12:45:42 2022 UTC (4 years, 2 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +7 -2 lines
zxing-cpp: Update to 1.4.0

* Install BitArray.h manually to fix misc/libreoffice build.

Changelog:
Note: this is an intermediary release on the way to 2.0. This code is (supposed
to be) API compatible (via the ReadBarcode.h interface) with v1.3.0 but
contains quite a few additional deprecations. It still has SO number 1, which
is as wrong as it was for release v1.3.0 and it is not ABI compatible with 1.3
either. 2.0 will be basically 1.4 but with all deprecated API removed and the
final fix for #333.

Main changes

  * Reader support for Micro QRCode by @corbers
  * prepared switch from std::wstring based utf16 to std::string based utf8
    results, use new ZX_USE_UTF8 macro to transition to the upcoming 2.0 API
  * much improved 'binary' data support via new Result::bytes() API, see #334
    for a detailed background discussion.
  * new Result::contentType() API returning information about the type of
    content (like text vs. binary, etc.)
  * better standards conformance with respect to ECI handling, see
    Results::bytesECI()
  * support for proper ECI handling across structured append symbols (see
    MergeStructuredAppendResults())
  * new Result::error() API with improved error handling, see also
    DecodeHints::returnErrors()
  * removed all internal header files from the installed set, so only the
    ReadBarcode.h based APIs are supported from here on out
  * removed all sample images from the 'source' distribution zip/tar balls
    (much reduced size)
  * python read_barcode returns None if no symbol was found (might break
    existing code if not checked for None before)

Minor changes

  * lots of little bug fixes
  * smaller per process runtime memory (thanks to @vkrause)
  * clang-13 and gcc-13 compilation fixes
  * ported Qt example code to Qt6
  * experimental multi-symbol detection support for DataMatrix when compiled
    with c++-20
  * fix error in multi-symbol detection of linear codes (sometimes reported 1
    symbol as 2)
  * new -bytes and -errors options in ZXingReader
  * support tryRotate for PDF417 symbols

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jul 25 11:12:25 2022 UTC (4 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -2 lines
*: remove pkg-config from tools where no buildlink3.mk file is included

Bulk build on NetBSD of these packages had the same result as before
(build succeeds, no PLIST change).

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Jul 15 07:26:22 2022 UTC (4 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
zxing-cpp: revert update to 1.4

libreoffice is not ready for it yet.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jul 14 13:23:34 2022 UTC (4 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
zxing-cpp: update to 1.4.0.

Note: this is an intermediary release on the way to 2.0. This code
is (supposed to be) API compatible (via the ReadBarcode.h interface)
with v1.3.0 but contains quite a few additional deprecations. It
still has SO number 1, which is as wrong as it was for release
v1.3.0 and it is not ABI compatible with 1.3 either. 2.0 will be
basically 1.4 but with all deprecated API removed and the final
fix for #333.

Main changes

    Reader support for Micro QRCode by @corbers
    prepared switch from std::wstring based utf16 to std::string based utf8 results, use new ZX_USE_UTF8 macro to transition to the upcoming 2.0 API
    much improved 'binary' data support via new Result::bytes() API, see #334 for a detailed background discussion.
    new Result::contentType() API returning information about the type of content (like text vs. binary, etc.)
    better standards conformance with respect to ECI handling, see Results::bytesECI()
    support for proper ECI handling across structured append symbols (see MergeStructuredAppendResults())
    new Result::error() API with improved error handling, see also DecodeHints::returnErrors()
    removed all internal header files from the installed set, so only the ReadBarcode.h based APIs are supported from here on out
    removed all sample images from the 'source' distribution zip/tar balls (much reduced size)

Minor changes

    lots of little bug fixes
    smaller per process runtime memory (thanks to @vkrause)
    clang-13 and gcc-13 compilation fixes
    ported Qt example code to Qt6
    experimental multi-symbol detection support for DataMatrix when compiled with c++-20
    python read_barcode returns None if no symbol was found
    fix error in multi-symbol detection of linear codes (sometimes reported 1 symbol as 2)
    new -bytes and -errors options in ZXingReader
    support tryRotate for PDF417 symbols

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue May 10 05:50:32 2022 UTC (4 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -4 lines
zxing-cpp: update to 1.3.0.

The major new features:

    Multi-barcode reading with the new std::vector<Result>
    ReadBardcodes(...) function. Does not work for Aztec, DataMatrix
    and Maxicode, yet.
    Multi-resolution scanning that can automatically downscale the
    input to substantially increase the detection rate on high
    resolution scans, see DecodeHints::tryDownscale, currently only
    enabled in the ReadBardcodes function
    New Result::symbologyIdentifier property (thanks to @gitlost)
    Updated and improved android wrapper (thanks to @markusfisch)

Worth mentioning:

    Most deprecated APIs from last release were removed (will likely
    break your build if you still have deprecation warnings with
    1.2.0)
    New Result::lineCount and DecodeHints::minLineCount properties
    to improve reliability of 1D code reading
    New Result::isMirrored property (works for QRCode, PDF417,
    DataMatrix)
    Improved FNC1 handling and deprecation of DecodeHints::assumeGS1
    Lots of small fixes all over the place
    Drop in-tree copy of stb image library
    New OpenCV example code
    QRCode reading improvements
    Python 3.10 support

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Feb 6 13:22:47 2022 UTC (4 years, 9 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -1 lines
zxing-cpp: Fix build without the internet access

* Blackbox tests target pulls fmtlib via git command.  Disable it.
  Reported by wiz@. Thank you.

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
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>