git: e01acf234248 - main - textproc/zxing-cpp: update to 1.2.0
Tobias C. Berner
tcberner at FreeBSD.org
Sat May 29 06:34:39 UTC 2021
The branch main has been updated by tcberner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e01acf2342482d396f7c7d7c19cde99570c9e0bf
commit e01acf2342482d396f7c7d7c19cde99570c9e0bf
Author: Tobias C. Berner <tcberner at FreeBSD.org>
AuthorDate: 2021-05-29 05:45:16 +0000
Commit: Tobias C. Berner <tcberner at FreeBSD.org>
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 at 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 <bsd.port.mk>
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
More information about the dev-commits-ports-all
mailing list