pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/zxing-cpp



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Dec 11 10:10:16 UTC 2023

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

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/graphics/zxing-cpp/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/graphics/zxing-cpp/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/graphics/zxing-cpp/distinfo

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

Modified files:

Index: pkgsrc/graphics/zxing-cpp/Makefile
diff -u pkgsrc/graphics/zxing-cpp/Makefile:1.12 pkgsrc/graphics/zxing-cpp/Makefile:1.13
--- pkgsrc/graphics/zxing-cpp/Makefile:1.12     Wed Jul 19 13:10:11 2023
+++ pkgsrc/graphics/zxing-cpp/Makefile  Mon Dec 11 10:10:16 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2023/07/19 13:10:11 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2023/12/11 10:10:16 wiz Exp $
 
-DISTNAME=      zxing-cpp-2.1.0
+DISTNAME=      zxing-cpp-2.2.1
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=nu-book/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}

Index: pkgsrc/graphics/zxing-cpp/PLIST
diff -u pkgsrc/graphics/zxing-cpp/PLIST:1.6 pkgsrc/graphics/zxing-cpp/PLIST:1.7
--- pkgsrc/graphics/zxing-cpp/PLIST:1.6 Wed Apr 26 19:06:36 2023
+++ pkgsrc/graphics/zxing-cpp/PLIST     Mon Dec 11 10:10:16 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2023/04/26 19:06:36 wiz Exp $
+@comment $NetBSD: PLIST,v 1.7 2023/12/11 10:10:16 wiz Exp $
 include/ZXing/BarcodeFormat.h
 include/ZXing/BitArray.h
 include/ZXing/BitHacks.h
@@ -18,6 +18,7 @@ include/ZXing/Point.h
 include/ZXing/Quadrilateral.h
 include/ZXing/Range.h
 include/ZXing/ReadBarcode.h
+include/ZXing/ReaderOptions.h
 include/ZXing/Result.h
 include/ZXing/StructuredAppend.h
 include/ZXing/TextUtfEncoding.h

Index: pkgsrc/graphics/zxing-cpp/distinfo
diff -u pkgsrc/graphics/zxing-cpp/distinfo:1.7 pkgsrc/graphics/zxing-cpp/distinfo:1.8
--- pkgsrc/graphics/zxing-cpp/distinfo:1.7      Wed Jul 19 13:10:11 2023
+++ pkgsrc/graphics/zxing-cpp/distinfo  Mon Dec 11 10:10:16 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2023/07/19 13:10:11 wiz Exp $
+$NetBSD: distinfo,v 1.8 2023/12/11 10:10:16 wiz Exp $
 
-BLAKE2s (zxing-cpp-2.1.0.tar.gz) = e837f88c7592d1f558c18839049d47bbada2cb16d69fb358e0dd4f63d0d2c8ee
-SHA512 (zxing-cpp-2.1.0.tar.gz) = a00778c1fb7bb664176f7035aa96db4bab3e7ca28b5be2862182cb591d18edd4c3dfcbd34b4af08e0797bb4af893299d523f98aa84d266b68e4c766410e2e26d
-Size (zxing-cpp-2.1.0.tar.gz) = 866787 bytes
+BLAKE2s (zxing-cpp-2.2.1.tar.gz) = 5e7ade78de231cc372c0af1ec0a3e2ad8f68f1bc82e492568469cd68572007cd
+SHA512 (zxing-cpp-2.2.1.tar.gz) = f1de8df783061a152a18cd9102ac0c579c40c76ab4a5ba9f30bcb8ddb532f3fac08736840a631adbf7c30a7fa00ce8d65625c8cd695288620601708e8f256a53
+Size (zxing-cpp-2.2.1.tar.gz) = 891055 bytes



Home | Main Index | Thread Index | Old Index