From owner-dev-commits-ports-main@freebsd.org Sat May 29 06:34:39 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B76663A708; Sat, 29 May 2021 06:34:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FsWxW2L6Rz3r8Q; Sat, 29 May 2021 06:34:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3865925A1A; Sat, 29 May 2021 06:34:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14T6YdB3091585; Sat, 29 May 2021 06:34:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14T6YdNO091584; Sat, 29 May 2021 06:34:39 GMT (envelope-from git) Date: Sat, 29 May 2021 06:34:39 GMT Message-Id: <202105290634.14T6YdNO091584@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Tobias C. Berner" Subject: git: e01acf234248 - main - textproc/zxing-cpp: update to 1.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tcberner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e01acf2342482d396f7c7d7c19cde99570c9e0bf Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2021 06:34:39 -0000 The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=e01acf2342482d396f7c7d7c19cde99570c9e0bf commit e01acf2342482d396f7c7d7c19cde99570c9e0bf Author: Tobias C. Berner AuthorDate: 2021-05-29 05:45:16 +0000 Commit: Tobias C. Berner CommitDate: 2021-05-29 06:32:37 +0000 textproc/zxing-cpp: update to 1.2.0 There have been nearly 800 commits that touched about 10k lines of code since the last release. Here are the highlights/major changes: * switch to C++-17 (client code can still be compiled with a C++-11 compiler) * switch to the reimplemented 1D detectors (about 5x faster than old ones in false-positive use case) * deprecate the use of ResultMetadata, see ZXingReader.cpp as an example * completely new Android wrapper library with CameraX support, integrated build system and demo app * a lot faster and more capable isPure detection for all 2D codes * completely new QRCode reader (faster, better support for rotated symbols) * new BarcodeFormat names (old ones still available but deprecated) * new ZXingQtCamReader demo app based on QtMultimedia and QtQuick * reduced false positive rate for UPC/EAN barcodes + improved Add-On symbol handling * 20% faster ReedSolomon error correcting * PDF417 is faster and supports flipped symbols * DataMatrix: added DMRE support * much improved python wrapper incl. PyPI module for easy pip installation (thanks to antoinehumbert) * proper ECI handling in all 2D barcodes (thanks to gitlost) * added Structured Append support for DataMatrix, Aztec and MaxiCode (thanks to gitlost) Note: The next release will drop support for a number of deprecated APIs. Please update your code and fix all deprecation warnings now. --- textproc/zxing-cpp/Makefile | 9 +++++++-- textproc/zxing-cpp/distinfo | 6 +++--- textproc/zxing-cpp/pkg-plist | 38 +++++++++++--------------------------- 3 files changed, 21 insertions(+), 32 deletions(-) diff --git a/textproc/zxing-cpp/Makefile b/textproc/zxing-cpp/Makefile index bc730d314620..995572567e46 100644 --- a/textproc/zxing-cpp/Makefile +++ b/textproc/zxing-cpp/Makefile @@ -2,7 +2,7 @@ PORTNAME= zxing-cpp DISTVERSIONPREFIX= v -DISTVERSION= 1.1.1 +DISTVERSION= 1.2.0 CATEGORIES= textproc MAINTAINER= kde@FreeBSD.org @@ -11,11 +11,16 @@ COMMENT= ZXing C++ Library for QR code recognition LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake compiler:c++11-lang iconv +USES= cmake compiler:c++17-lang iconv USE_GITHUB= yes GH_ACCOUNT= nu-book USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS +# Disable +# * examples (no installation target) +# * blackbox test (fetches third party source) +CMAKE_OFF= BUILD_EXAMPLES \ + BUILD_BLACKBOX_TESTS .include diff --git a/textproc/zxing-cpp/distinfo b/textproc/zxing-cpp/distinfo index 35f1c2e3d196..f5fa38d1ae32 100644 --- a/textproc/zxing-cpp/distinfo +++ b/textproc/zxing-cpp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1599976990 -SHA256 (nu-book-zxing-cpp-v1.1.1_GH0.tar.gz) = e595b3fa2ec320beb0b28f6af56b1141853257c2611686685639cebb3b248c86 -SIZE (nu-book-zxing-cpp-v1.1.1_GH0.tar.gz) = 128925736 +TIMESTAMP = 1622267039 +SHA256 (nu-book-zxing-cpp-v1.2.0_GH0.tar.gz) = 653d9e44195d86cf64a36af9ff3a1978ec5599df3882439fefa56e7064f55e8a +SIZE (nu-book-zxing-cpp-v1.2.0_GH0.tar.gz) = 97942494 diff --git a/textproc/zxing-cpp/pkg-plist b/textproc/zxing-cpp/pkg-plist index 98619e57540a..bead3d470b98 100644 --- a/textproc/zxing-cpp/pkg-plist +++ b/textproc/zxing-cpp/pkg-plist @@ -10,11 +10,13 @@ include/ZXing/ByteArray.h include/ZXing/ByteMatrix.h include/ZXing/CharacterSet.h include/ZXing/CharacterSetECI.h +include/ZXing/ConcentricFinder.h include/ZXing/CustomData.h include/ZXing/DecodeHints.h include/ZXing/DecodeStatus.h include/ZXing/DecoderResult.h include/ZXing/DetectorResult.h +include/ZXing/Flags.h include/ZXing/GTIN.h include/ZXing/GenericGF.h include/ZXing/GenericGFPoly.h @@ -35,21 +37,22 @@ include/ZXing/ReadBarcode.h include/ZXing/Reader.h include/ZXing/ReedSolomonDecoder.h include/ZXing/ReedSolomonEncoder.h +include/ZXing/RegressionLine.h include/ZXing/Result.h include/ZXing/ResultMetadata.h include/ZXing/ResultPoint.h +include/ZXing/Scope.h +include/ZXing/StructuredAppend.h include/ZXing/TextDecoder.h include/ZXing/TextEncoder.h include/ZXing/TextUtfEncoding.h +include/ZXing/ThresholdBinarizer.h include/ZXing/TritMatrix.h include/ZXing/WhiteRectDetector.h include/ZXing/ZXBigInteger.h include/ZXing/ZXConfig.h include/ZXing/ZXContainerAlgorithms.h -include/ZXing/ZXFlags.h include/ZXing/ZXNullable.h -include/ZXing/ZXNumeric.h -include/ZXing/ZXStrConvWorkaround.h include/ZXing/ZXTestSupport.h include/ZXing/ZXVersion.h include/ZXing/aztec/AZDecoder.h @@ -61,12 +64,10 @@ include/ZXing/aztec/AZHighLevelEncoder.h include/ZXing/aztec/AZReader.h include/ZXing/aztec/AZToken.h include/ZXing/aztec/AZWriter.h -include/ZXing/datamatrix/DMBitMatrixParser.h +include/ZXing/datamatrix/DMBitLayout.h include/ZXing/datamatrix/DMDataBlock.h include/ZXing/datamatrix/DMDecoder.h -include/ZXing/datamatrix/DMDefaultPlacement.h include/ZXing/datamatrix/DMDetector.h -include/ZXing/datamatrix/DMECB.h include/ZXing/datamatrix/DMECEncoder.h include/ZXing/datamatrix/DMEncoderContext.h include/ZXing/datamatrix/DMHighLevelEncoder.h @@ -87,35 +88,23 @@ include/ZXing/oned/ODCode39Reader.h include/ZXing/oned/ODCode39Writer.h include/ZXing/oned/ODCode93Reader.h include/ZXing/oned/ODCode93Writer.h -include/ZXing/oned/ODEAN13Reader.h +include/ZXing/oned/ODDataBarCommon.h +include/ZXing/oned/ODDataBarExpandedReader.h +include/ZXing/oned/ODDataBarReader.h include/ZXing/oned/ODEAN13Writer.h -include/ZXing/oned/ODEAN8Reader.h include/ZXing/oned/ODEAN8Writer.h -include/ZXing/oned/ODEANManufacturerOrgSupport.h include/ZXing/oned/ODITFReader.h include/ZXing/oned/ODITFWriter.h include/ZXing/oned/ODMultiUPCEANReader.h -include/ZXing/oned/ODRSS14Reader.h -include/ZXing/oned/ODRSSExpandedReader.h include/ZXing/oned/ODReader.h include/ZXing/oned/ODRowReader.h -include/ZXing/oned/ODUPCAReader.h include/ZXing/oned/ODUPCAWriter.h include/ZXing/oned/ODUPCEANCommon.h -include/ZXing/oned/ODUPCEANExtensionSupport.h -include/ZXing/oned/ODUPCEANReader.h -include/ZXing/oned/ODUPCEReader.h include/ZXing/oned/ODUPCEWriter.h include/ZXing/oned/ODWriterHelper.h -include/ZXing/oned/rss/ODRSSDataCharacter.h include/ZXing/oned/rss/ODRSSExpandedBinaryDecoder.h -include/ZXing/oned/rss/ODRSSExpandedPair.h -include/ZXing/oned/rss/ODRSSExpandedRow.h include/ZXing/oned/rss/ODRSSFieldParser.h -include/ZXing/oned/rss/ODRSSFinderPattern.h include/ZXing/oned/rss/ODRSSGenericAppIdDecoder.h -include/ZXing/oned/rss/ODRSSPair.h -include/ZXing/oned/rss/ODRSSReaderHelper.h include/ZXing/pdf417/PDFBarcodeMetadata.h include/ZXing/pdf417/PDFBarcodeValue.h include/ZXing/pdf417/PDFBoundingBox.h @@ -134,8 +123,6 @@ include/ZXing/pdf417/PDFModulusPoly.h include/ZXing/pdf417/PDFReader.h include/ZXing/pdf417/PDFScanningDecoder.h include/ZXing/pdf417/PDFWriter.h -include/ZXing/qrcode/QRAlignmentPattern.h -include/ZXing/qrcode/QRAlignmentPatternFinder.h include/ZXing/qrcode/QRBitMatrixParser.h include/ZXing/qrcode/QRCodecMode.h include/ZXing/qrcode/QRDataBlock.h @@ -147,9 +134,6 @@ include/ZXing/qrcode/QRECB.h include/ZXing/qrcode/QREncodeResult.h include/ZXing/qrcode/QREncoder.h include/ZXing/qrcode/QRErrorCorrectionLevel.h -include/ZXing/qrcode/QRFinderPattern.h -include/ZXing/qrcode/QRFinderPatternFinder.h -include/ZXing/qrcode/QRFinderPatternInfo.h include/ZXing/qrcode/QRFormatInformation.h include/ZXing/qrcode/QRMaskUtil.h include/ZXing/qrcode/QRMatrixUtil.h @@ -172,5 +156,5 @@ lib/cmake/ZXing/ZXingTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/ZXing/ZXingTargets.cmake lib/libZXing.so lib/libZXing.so.1 -lib/libZXing.so.1.1.1 +lib/libZXing.so.1.2.0 libdata/pkgconfig/zxing.pc