From owner-svn-ports-head@freebsd.org Sat Dec 17 18:02:11 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE7A2C8585B; Sat, 17 Dec 2016 18:02:11 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF579131B; Sat, 17 Dec 2016 18:02:11 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBHI2AfY006979; Sat, 17 Dec 2016 18:02:10 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBHI2ARV006970; Sat, 17 Dec 2016 18:02:10 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201612171802.uBHI2ARV006970@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Sat, 17 Dec 2016 18:02:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428794 - in head/textproc: . zxing-cpp zxing-cpp/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2016 18:02:12 -0000 Author: riggs Date: Sat Dec 17 18:02:09 2016 New Revision: 428794 URL: https://svnweb.freebsd.org/changeset/ports/428794 Log: New port: textproc/zxing-cpp, a C++ Library for QR code recognition PR: 214519 Submitted by: yuri@rawbw.com (maintainer) Added: head/textproc/zxing-cpp/ head/textproc/zxing-cpp/Makefile (contents, props changed) head/textproc/zxing-cpp/distinfo (contents, props changed) head/textproc/zxing-cpp/files/ head/textproc/zxing-cpp/files/patch-core_src_zxing_DecodeHints.cpp (contents, props changed) head/textproc/zxing-cpp/files/patch-core_src_zxing_oned_OneDReader.cpp (contents, props changed) head/textproc/zxing-cpp/files/patch-core_src_zxing_pdf417_detector_LinesSampler.cpp (contents, props changed) head/textproc/zxing-cpp/files/patch-core_src_zxing_pdf417_detector_LinesSampler.h (contents, props changed) head/textproc/zxing-cpp/pkg-descr (contents, props changed) head/textproc/zxing-cpp/pkg-plist (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sat Dec 17 17:56:55 2016 (r428793) +++ head/textproc/Makefile Sat Dec 17 18:02:09 2016 (r428794) @@ -1738,5 +1738,6 @@ SUBDIR += zsh-syntax-highlighting SUBDIR += zu-aspell SUBDIR += zu-hunspell + SUBDIR += zxing-cpp .include Added: head/textproc/zxing-cpp/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/zxing-cpp/Makefile Sat Dec 17 18:02:09 2016 (r428794) @@ -0,0 +1,21 @@ +# Created by: Yuri Victorovich +# $FreeBSD$ + +PORTNAME= zxing-cpp +PORTVERSION= 0.20161114 +DISTVERSIONPREFIX= v +CATEGORIES= textproc + +MAINTAINER= yuri@rawbw.com +COMMENT= ZXing C++ Library for QR code recognition + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/COPYING + +USE_GITHUB= yes +GH_ACCOUNT= glassechidna +GH_TAGNAME= 97e9c5c + +USES= cmake:outsource gmake iconv + +.include Added: head/textproc/zxing-cpp/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/zxing-cpp/distinfo Sat Dec 17 18:02:09 2016 (r428794) @@ -0,0 +1,3 @@ +TIMESTAMP = 1479160657 +SHA256 (glassechidna-zxing-cpp-v0.20161114-97e9c5c_GH0.tar.gz) = 5084329c0d3a045b2c1e416c42e8f52bf4b1afea5d44cb9442b8af12a19cba05 +SIZE (glassechidna-zxing-cpp-v0.20161114-97e9c5c_GH0.tar.gz) = 307807 Added: head/textproc/zxing-cpp/files/patch-core_src_zxing_DecodeHints.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/zxing-cpp/files/patch-core_src_zxing_DecodeHints.cpp Sat Dec 17 18:02:09 2016 (r428794) @@ -0,0 +1,11 @@ +--- core/src/zxing/DecodeHints.cpp.orig 2016-11-10 14:45:28 UTC ++++ core/src/zxing/DecodeHints.cpp +@@ -29,7 +29,7 @@ using zxing::DecodeHints; + // VC++ + using zxing::BarcodeFormat; + +-// const DecodeHintType DecodeHints::CHARACTER_SET; ++const DecodeHintType DecodeHints::CHARACTER_SET; + + const DecodeHints DecodeHints::PRODUCT_HINT( + UPC_A_HINT | Added: head/textproc/zxing-cpp/files/patch-core_src_zxing_oned_OneDReader.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/zxing-cpp/files/patch-core_src_zxing_oned_OneDReader.cpp Sat Dec 17 18:02:09 2016 (r428794) @@ -0,0 +1,10 @@ +--- core/src/zxing/oned/OneDReader.cpp.orig 2016-11-10 14:45:28 UTC ++++ core/src/zxing/oned/OneDReader.cpp +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + #include + #include + Added: head/textproc/zxing-cpp/files/patch-core_src_zxing_pdf417_detector_LinesSampler.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/zxing-cpp/files/patch-core_src_zxing_pdf417_detector_LinesSampler.cpp Sat Dec 17 18:02:09 2016 (r428794) @@ -0,0 +1,14 @@ +--- core/src/zxing/pdf417/detector/LinesSampler.cpp.orig 2016-11-10 14:45:28 UTC ++++ core/src/zxing/pdf417/detector/LinesSampler.cpp +@@ -75,6 +75,11 @@ VoteResult getValueWithMaxVotes(map LinesSampler::init_ratios_table() { + // Pre-computes and outputs the symbol ratio table. + vector > table (BitMatrixParser::SYMBOL_TABLE_LENGTH); Added: head/textproc/zxing-cpp/files/patch-core_src_zxing_pdf417_detector_LinesSampler.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/zxing-cpp/files/patch-core_src_zxing_pdf417_detector_LinesSampler.h Sat Dec 17 18:02:09 2016 (r428794) @@ -0,0 +1,19 @@ +--- core/src/zxing/pdf417/detector/LinesSampler.h.orig 2016-11-14 22:55:07 UTC ++++ core/src/zxing/pdf417/detector/LinesSampler.h +@@ -28,12 +28,12 @@ namespace detector { + + class LinesSampler { + protected: +- static const int MODULES_IN_SYMBOL = 17; +- static const int BARS_IN_SYMBOL = 8; +- static const int POSSIBLE_SYMBOLS = 2787; ++ static const int MODULES_IN_SYMBOL; ++ static const int BARS_IN_SYMBOL; ++ static const int POSSIBLE_SYMBOLS; + static const std::vector RATIOS_TABLE; + static std::vector init_ratios_table(); +- static const int BARCODE_START_OFFSET = 2; ++ static const int BARCODE_START_OFFSET; + + Ref linesMatrix_; + int symbolsPerLine_; Added: head/textproc/zxing-cpp/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/zxing-cpp/pkg-descr Sat Dec 17 18:02:09 2016 (r428794) @@ -0,0 +1,3 @@ +The fork of C++ version of ZXing library (https://github.com/zxing/zxing). + +WWW: https://github.com/glassechidna/zxing-cpp Added: head/textproc/zxing-cpp/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/zxing-cpp/pkg-plist Sat Dec 17 18:02:09 2016 (r428794) @@ -0,0 +1,104 @@ +bin/zxing +include/zxing/BarcodeFormat.h +include/zxing/Binarizer.h +include/zxing/BinaryBitmap.h +include/zxing/ChecksumException.h +include/zxing/DecodeHints.h +include/zxing/Exception.h +include/zxing/FormatException.h +include/zxing/IllegalStateException.h +include/zxing/InvertedLuminanceSource.h +include/zxing/LuminanceSource.h +include/zxing/MultiFormatReader.h +include/zxing/NotFoundException.h +include/zxing/Reader.h +include/zxing/ReaderException.h +include/zxing/Result.h +include/zxing/ResultPoint.h +include/zxing/ResultPointCallback.h +include/zxing/ZXing.h +include/zxing/aztec/AztecDetectorResult.h +include/zxing/aztec/AztecReader.h +include/zxing/aztec/decoder/Decoder.h +include/zxing/aztec/detector/Detector.h +include/zxing/common/Array.h +include/zxing/common/BitArray.h +include/zxing/common/BitMatrix.h +include/zxing/common/BitSource.h +include/zxing/common/CharacterSetECI.h +include/zxing/common/Counted.h +include/zxing/common/DecoderResult.h +include/zxing/common/DetectorResult.h +include/zxing/common/GlobalHistogramBinarizer.h +include/zxing/common/GreyscaleLuminanceSource.h +include/zxing/common/GreyscaleRotatedLuminanceSource.h +include/zxing/common/GridSampler.h +include/zxing/common/HybridBinarizer.h +include/zxing/common/IllegalArgumentException.h +include/zxing/common/PerspectiveTransform.h +include/zxing/common/Point.h +include/zxing/common/Str.h +include/zxing/common/StringUtils.h +include/zxing/common/detector/JavaMath.h +include/zxing/common/detector/MathUtils.h +include/zxing/common/detector/MonochromeRectangleDetector.h +include/zxing/common/detector/WhiteRectangleDetector.h +include/zxing/common/reedsolomon/GenericGF.h +include/zxing/common/reedsolomon/GenericGFPoly.h +include/zxing/common/reedsolomon/ReedSolomonDecoder.h +include/zxing/common/reedsolomon/ReedSolomonException.h +include/zxing/datamatrix/DataMatrixReader.h +include/zxing/datamatrix/Version.h +include/zxing/datamatrix/decoder/BitMatrixParser.h +include/zxing/datamatrix/decoder/DataBlock.h +include/zxing/datamatrix/decoder/DecodedBitStreamParser.h +include/zxing/datamatrix/decoder/Decoder.h +include/zxing/datamatrix/detector/CornerPoint.h +include/zxing/datamatrix/detector/Detector.h +include/zxing/datamatrix/detector/DetectorException.h +include/zxing/multi/ByQuadrantReader.h +include/zxing/multi/GenericMultipleBarcodeReader.h +include/zxing/multi/MultipleBarcodeReader.h +include/zxing/multi/qrcode/QRCodeMultiReader.h +include/zxing/multi/qrcode/detector/MultiDetector.h +include/zxing/multi/qrcode/detector/MultiFinderPatternFinder.h +include/zxing/oned/CodaBarReader.h +include/zxing/oned/Code128Reader.h +include/zxing/oned/Code39Reader.h +include/zxing/oned/Code93Reader.h +include/zxing/oned/EAN13Reader.h +include/zxing/oned/EAN8Reader.h +include/zxing/oned/ITFReader.h +include/zxing/oned/MultiFormatOneDReader.h +include/zxing/oned/MultiFormatUPCEANReader.h +include/zxing/oned/OneDReader.h +include/zxing/oned/OneDResultPoint.h +include/zxing/oned/UPCAReader.h +include/zxing/oned/UPCEANReader.h +include/zxing/oned/UPCEReader.h +include/zxing/pdf417/PDF417Reader.h +include/zxing/pdf417/decoder/BitMatrixParser.h +include/zxing/pdf417/decoder/DecodedBitStreamParser.h +include/zxing/pdf417/decoder/Decoder.h +include/zxing/pdf417/decoder/ec/ErrorCorrection.h +include/zxing/pdf417/decoder/ec/ModulusGF.h +include/zxing/pdf417/decoder/ec/ModulusPoly.h +include/zxing/pdf417/detector/Detector.h +include/zxing/pdf417/detector/LinesSampler.h +include/zxing/qrcode/ErrorCorrectionLevel.h +include/zxing/qrcode/FormatInformation.h +include/zxing/qrcode/QRCodeReader.h +include/zxing/qrcode/Version.h +include/zxing/qrcode/decoder/BitMatrixParser.h +include/zxing/qrcode/decoder/DataBlock.h +include/zxing/qrcode/decoder/DataMask.h +include/zxing/qrcode/decoder/DecodedBitStreamParser.h +include/zxing/qrcode/decoder/Decoder.h +include/zxing/qrcode/decoder/Mode.h +include/zxing/qrcode/detector/AlignmentPattern.h +include/zxing/qrcode/detector/AlignmentPatternFinder.h +include/zxing/qrcode/detector/Detector.h +include/zxing/qrcode/detector/FinderPattern.h +include/zxing/qrcode/detector/FinderPatternFinder.h +include/zxing/qrcode/detector/FinderPatternInfo.h +lib/libzxing.a