Received: by mail.netbsd.org (Postfix, from userid 605) id 9B42184ED1; Wed, 26 Apr 2023 19:06:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id CABE684ED0 for ; Wed, 26 Apr 2023 19:06:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id JAdKUEvWvk84 for ; Wed, 26 Apr 2023 19:06:37 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id DD46984D84 for ; Wed, 26 Apr 2023 19:06:36 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D60E5FA87; Wed, 26 Apr 2023 19:06:36 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1682535996271510" MIME-Version: 1.0 Date: Wed, 26 Apr 2023 19:06:36 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/graphics/zxing-cpp To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20230426190636.D60E5FA87@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1682535996271510 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Wed Apr 26 19:06:36 UTC 2023 Modified Files: pkgsrc/graphics/zxing-cpp: Makefile PLIST distinfo Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 pkgsrc/graphics/zxing-cpp/Makefile cvs rdiff -u -r1.5 -r1.6 pkgsrc/graphics/zxing-cpp/PLIST \ pkgsrc/graphics/zxing-cpp/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1682535996271510 Content-Disposition: inline Content-Length: 3126 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/graphics/zxing-cpp/Makefile diff -u pkgsrc/graphics/zxing-cpp/Makefile:1.8 pkgsrc/graphics/zxing-cpp/Makefile:1.9 --- pkgsrc/graphics/zxing-cpp/Makefile:1.8 Tue Jan 24 18:36:28 2023 +++ pkgsrc/graphics/zxing-cpp/Makefile Wed Apr 26 19:06:36 2023 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.8 2023/01/24 18:36:28 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2023/04/26 19:06:36 wiz Exp $ -DISTNAME= zxing-cpp-1.4.0 +DISTNAME= zxing-cpp-2.0.0 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GITHUB:=nu-book/} GITHUB_TAG= v${PKGVERSION_NOREV} @@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/nu-book/zxi COMMENT= 1D/2D barcode reader/writer library in C++ LICENSE= apache-2.0 -USE_LANGUAGES= c++11 +USE_LANGUAGES= c c++11 CMAKE_ARGS+= -DBUILD_EXAMPLES=OFF # Blackbox tests target pulls fmtlib with git command. Index: pkgsrc/graphics/zxing-cpp/PLIST diff -u pkgsrc/graphics/zxing-cpp/PLIST:1.5 pkgsrc/graphics/zxing-cpp/PLIST:1.6 --- pkgsrc/graphics/zxing-cpp/PLIST:1.5 Wed Aug 24 12:45:42 2022 +++ pkgsrc/graphics/zxing-cpp/PLIST Wed Apr 26 19:06:36 2023 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2022/08/24 12:45:42 ryoon Exp $ +@comment $NetBSD: PLIST,v 1.6 2023/04/26 19:06:36 wiz Exp $ include/ZXing/BarcodeFormat.h include/ZXing/BitArray.h include/ZXing/BitHacks.h @@ -6,10 +6,8 @@ include/ZXing/BitMatrix.h include/ZXing/BitMatrixIO.h include/ZXing/ByteArray.h include/ZXing/CharacterSet.h -include/ZXing/CharacterSetECI.h include/ZXing/Content.h include/ZXing/DecodeHints.h -include/ZXing/DecodeStatus.h include/ZXing/Error.h include/ZXing/Flags.h include/ZXing/GTIN.h @@ -18,6 +16,7 @@ include/ZXing/Matrix.h include/ZXing/MultiFormatWriter.h include/ZXing/Point.h include/ZXing/Quadrilateral.h +include/ZXing/Range.h include/ZXing/ReadBarcode.h include/ZXing/Result.h include/ZXing/StructuredAppend.h @@ -30,6 +29,6 @@ lib/cmake/ZXing/ZXingConfigVersion.cmake lib/cmake/ZXing/ZXingTargets-release.cmake lib/cmake/ZXing/ZXingTargets.cmake lib/libZXing.so -lib/libZXing.so.1 lib/libZXing.so.${PKGVERSION} +lib/libZXing.so.3 lib/pkgconfig/zxing.pc Index: pkgsrc/graphics/zxing-cpp/distinfo diff -u pkgsrc/graphics/zxing-cpp/distinfo:1.5 pkgsrc/graphics/zxing-cpp/distinfo:1.6 --- pkgsrc/graphics/zxing-cpp/distinfo:1.5 Wed Aug 24 12:45:42 2022 +++ pkgsrc/graphics/zxing-cpp/distinfo Wed Apr 26 19:06:36 2023 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.5 2022/08/24 12:45:42 ryoon Exp $ +$NetBSD: distinfo,v 1.6 2023/04/26 19:06:36 wiz Exp $ -BLAKE2s (zxing-cpp-1.4.0.tar.gz) = e7719a2668dcc79935667eb28bf9b5abfc9eff4612034f11f69045352fad2bc3 -SHA512 (zxing-cpp-1.4.0.tar.gz) = 05c5b9282f13b76fa0897b21e5b73cb7df0c52e62f1a2d9760fe774aa0378fde97f5f9896690b65b28b4b96ba6ad2703bed53ffaf9d3784636d29cbe860d4bad -Size (zxing-cpp-1.4.0.tar.gz) = 1018225 bytes +BLAKE2s (zxing-cpp-2.0.0.tar.gz) = fe4f81c5a35645e114a4237a3320617aa928dd7f2dcecb998965b65f4de8b28c +SHA512 (zxing-cpp-2.0.0.tar.gz) = fa22164f834a42194eafd0d3e9c09d953233c69843ac6e79c8d6513314be28d8082382b436c379368e687e0eed05cb5e566d2893ec6eb29233a36643904ae083 +Size (zxing-cpp-2.0.0.tar.gz) = 856413 bytes --_----------=_1682535996271510--