View | Details | Raw Unified | Return to bug 246508 | Differences between
and this patch

Collapse All | Expand All

(-)textproc/zxing-cpp/Makefile (-17 / +4 lines)
Lines 2-35 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	zxing-cpp
4
PORTNAME=	zxing-cpp
5
DISTVERSION=	0.20190320
5
DISTVERSIONPREFIX=	v
6
PORTREVISION=	4
6
DISTVERSION=	1.0.8
7
CATEGORIES=	textproc
7
CATEGORIES=	textproc
8
8
9
PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
10
PATCHFILES=	9e5dfa57f3b998bc3049bfa893b20e81dea656df.patch:-p1
11
12
MAINTAINER=	yuri@FreeBSD.org
9
MAINTAINER=	yuri@FreeBSD.org
13
COMMENT=	ZXing C++ Library for QR code recognition
10
COMMENT=	ZXing C++ Library for QR code recognition
14
11
15
LICENSE=	APACHE20
12
LICENSE=	APACHE20
16
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/LICENSE
17
14
18
USES=		cmake compiler:c++11-lang iconv
15
USES=		cmake compiler:c++11-lang iconv
19
USE_GITHUB=	yes
16
USE_GITHUB=	yes
20
GH_ACCOUNT=	glassechidna
17
GH_ACCOUNT=	nu-book
21
GH_TAGNAME=	e0e40dd
22
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
23
19
24
CMAKE_ON=	BUILD_SHARED_LIBS
20
CMAKE_ON=	BUILD_SHARED_LIBS
25
21
26
OPTIONS_DEFINE=		OPENCV # only one .cpp module in the project depends on OpenCV
27
OPTIONS_SUB=		yes
28
29
OPENCV_LIB_DEPENDS=	libopencv_core.so:graphics/opencv-core \
30
			libopencv_photo.so:graphics/opencv
31
32
post-patch-OPENCV-off:
33
	@${REINPLACE_CMD} 's|find_package(OpenCV)|#&|' ${WRKSRC}/CMakeLists.txt
34
35
.include <bsd.port.mk>
22
.include <bsd.port.mk>
(-)textproc/zxing-cpp/distinfo (-5 / +3 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1571103733
1
TIMESTAMP = 1589647728
2
SHA256 (glassechidna-zxing-cpp-0.20190320-e0e40dd_GH0.tar.gz) = 699ed1e08812631d40730bd96a7e314d1ad8adf28f45770d8ae8e57a536ba33b
2
SHA256 (nu-book-zxing-cpp-v1.0.8_GH0.tar.gz) = 9154b5456904e47bd4c38462d57e4b7897bfb20cb2bc2e8c958453e40e73c8b2
3
SIZE (glassechidna-zxing-cpp-0.20190320-e0e40dd_GH0.tar.gz) = 312377
3
SIZE (nu-book-zxing-cpp-v1.0.8_GH0.tar.gz) = 128506816
4
SHA256 (9e5dfa57f3b998bc3049bfa893b20e81dea656df.patch) = a9afdcaed3ac3026eb471e371431d23b9353a58807c7b5c863f33253f31f128b
5
SIZE (9e5dfa57f3b998bc3049bfa893b20e81dea656df.patch) = 1251
(-)textproc/zxing-cpp/files/patch-core_src_zxing_oned_OneDReader.cpp (-10 lines)
Lines 1-10 Link Here
1
--- core/src/zxing/oned/OneDReader.cpp.orig	2018-03-20 15:08:49 UTC
2
+++ core/src/zxing/oned/OneDReader.cpp
3
@@ -21,6 +21,7 @@
4
 #include <zxing/oned/OneDResultPoint.h>
5
 #include <zxing/NotFoundException.h>
6
 #include <math.h>
7
+#include <float.h>
8
 #include <limits.h>
9
 #include <algorithm>
10
 #include <cfloat>
(-)textproc/zxing-cpp/pkg-plist (-108 / +166 lines)
Lines 1-108 Link Here
1
bin/zxing
1
include/ZXing/BarcodeFormat.h
2
include/zxing/BarcodeFormat.h
2
include/ZXing/BinaryBitmap.h
3
include/zxing/Binarizer.h
3
include/ZXing/BitArray.h
4
include/zxing/BinaryBitmap.h
4
include/ZXing/BitHacks.h
5
include/zxing/ChecksumException.h
5
include/ZXing/BitMatrix.h
6
include/zxing/DecodeHints.h
6
include/ZXing/BitSource.h
7
include/zxing/Exception.h
7
include/ZXing/ByteArray.h
8
include/zxing/FormatException.h
8
include/ZXing/ByteMatrix.h
9
include/zxing/IllegalStateException.h
9
include/ZXing/CharacterSet.h
10
include/zxing/InvertedLuminanceSource.h
10
include/ZXing/CharacterSetECI.h
11
include/zxing/LuminanceSource.h
11
include/ZXing/CustomData.h
12
%%OPENCV%%include/zxing/MatSource.h
12
include/ZXing/DecodeHints.h
13
include/zxing/MultiFormatReader.h
13
include/ZXing/DecodeStatus.h
14
include/zxing/NotFoundException.h
14
include/ZXing/DecoderResult.h
15
include/zxing/Reader.h
15
include/ZXing/DetectorResult.h
16
include/zxing/ReaderException.h
16
include/ZXing/GenericGF.h
17
include/zxing/Result.h
17
include/ZXing/GenericGFPoly.h
18
include/zxing/ResultPoint.h
18
include/ZXing/GenericLuminanceSource.h
19
include/zxing/ResultPointCallback.h
19
include/ZXing/GlobalHistogramBinarizer.h
20
include/zxing/ZXing.h
20
include/ZXing/GridSampler.h
21
include/zxing/aztec/AztecDetectorResult.h
21
include/ZXing/HybridBinarizer.h
22
include/zxing/aztec/AztecReader.h
22
include/ZXing/LuminanceSource.h
23
include/zxing/aztec/decoder/Decoder.h
23
include/ZXing/MultiFormatReader.h
24
include/zxing/aztec/detector/Detector.h
24
include/ZXing/MultiFormatWriter.h
25
include/zxing/common/Array.h
25
include/ZXing/PerspectiveTransform.h
26
include/zxing/common/BitArray.h
26
include/ZXing/ReadBarcode.h
27
include/zxing/common/BitMatrix.h
27
include/ZXing/Reader.h
28
include/zxing/common/BitSource.h
28
include/ZXing/ReedSolomonDecoder.h
29
include/zxing/common/CharacterSetECI.h
29
include/ZXing/ReedSolomonEncoder.h
30
include/zxing/common/Counted.h
30
include/ZXing/Result.h
31
include/zxing/common/DecoderResult.h
31
include/ZXing/ResultMetadata.h
32
include/zxing/common/DetectorResult.h
32
include/ZXing/ResultPoint.h
33
include/zxing/common/GlobalHistogramBinarizer.h
33
include/ZXing/TextDecoder.h
34
include/zxing/common/GreyscaleLuminanceSource.h
34
include/ZXing/TextEncoder.h
35
include/zxing/common/GreyscaleRotatedLuminanceSource.h
35
include/ZXing/TextUtfEncoding.h
36
include/zxing/common/GridSampler.h
36
include/ZXing/WhiteRectDetector.h
37
include/zxing/common/HybridBinarizer.h
37
include/ZXing/ZXBigInteger.h
38
include/zxing/common/IllegalArgumentException.h
38
include/ZXing/ZXConfig.h
39
include/zxing/common/PerspectiveTransform.h
39
include/ZXing/ZXContainerAlgorithms.h
40
include/zxing/common/Point.h
40
include/ZXing/ZXFilesystem.h
41
include/zxing/common/Str.h
41
include/ZXing/ZXNullable.h
42
include/zxing/common/StringUtils.h
42
include/ZXing/ZXNumeric.h
43
include/zxing/common/detector/JavaMath.h
43
include/ZXing/ZXStrConvWorkaround.h
44
include/zxing/common/detector/MathUtils.h
44
include/ZXing/ZXTestSupport.h
45
include/zxing/common/detector/MonochromeRectangleDetector.h
45
include/ZXing/ZXVersion.h
46
include/zxing/common/detector/WhiteRectangleDetector.h
46
include/ZXing/aztec/AZDecoder.h
47
include/zxing/common/reedsolomon/GenericGF.h
47
include/ZXing/aztec/AZDetector.h
48
include/zxing/common/reedsolomon/GenericGFPoly.h
48
include/ZXing/aztec/AZDetectorResult.h
49
include/zxing/common/reedsolomon/ReedSolomonDecoder.h
49
include/ZXing/aztec/AZEncoder.h
50
include/zxing/common/reedsolomon/ReedSolomonException.h
50
include/ZXing/aztec/AZEncodingState.h
51
include/zxing/datamatrix/DataMatrixReader.h
51
include/ZXing/aztec/AZHighLevelEncoder.h
52
include/zxing/datamatrix/Version.h
52
include/ZXing/aztec/AZReader.h
53
include/zxing/datamatrix/decoder/BitMatrixParser.h
53
include/ZXing/aztec/AZToken.h
54
include/zxing/datamatrix/decoder/DataBlock.h
54
include/ZXing/aztec/AZWriter.h
55
include/zxing/datamatrix/decoder/DecodedBitStreamParser.h
55
include/ZXing/datamatrix/DMBitMatrixParser.h
56
include/zxing/datamatrix/decoder/Decoder.h
56
include/ZXing/datamatrix/DMDataBlock.h
57
include/zxing/datamatrix/detector/CornerPoint.h
57
include/ZXing/datamatrix/DMDecoder.h
58
include/zxing/datamatrix/detector/Detector.h
58
include/ZXing/datamatrix/DMDefaultPlacement.h
59
include/zxing/datamatrix/detector/DetectorException.h
59
include/ZXing/datamatrix/DMDetector.h
60
include/zxing/multi/ByQuadrantReader.h
60
include/ZXing/datamatrix/DMECB.h
61
include/zxing/multi/GenericMultipleBarcodeReader.h
61
include/ZXing/datamatrix/DMECEncoder.h
62
include/zxing/multi/MultipleBarcodeReader.h
62
include/ZXing/datamatrix/DMEncoderContext.h
63
include/zxing/multi/qrcode/QRCodeMultiReader.h
63
include/ZXing/datamatrix/DMHighLevelEncoder.h
64
include/zxing/multi/qrcode/detector/MultiDetector.h
64
include/ZXing/datamatrix/DMReader.h
65
include/zxing/multi/qrcode/detector/MultiFinderPatternFinder.h
65
include/ZXing/datamatrix/DMSymbolInfo.h
66
include/zxing/oned/CodaBarReader.h
66
include/ZXing/datamatrix/DMSymbolShape.h
67
include/zxing/oned/Code128Reader.h
67
include/ZXing/datamatrix/DMVersion.h
68
include/zxing/oned/Code39Reader.h
68
include/ZXing/datamatrix/DMWriter.h
69
include/zxing/oned/Code93Reader.h
69
include/ZXing/maxicode/MCBitMatrixParser.h
70
include/zxing/oned/EAN13Reader.h
70
include/ZXing/maxicode/MCDecoder.h
71
include/zxing/oned/EAN8Reader.h
71
include/ZXing/maxicode/MCReader.h
72
include/zxing/oned/ITFReader.h
72
include/ZXing/oned/ODCodabarReader.h
73
include/zxing/oned/MultiFormatOneDReader.h
73
include/ZXing/oned/ODCodabarWriter.h
74
include/zxing/oned/MultiFormatUPCEANReader.h
74
include/ZXing/oned/ODCode128Patterns.h
75
include/zxing/oned/OneDReader.h
75
include/ZXing/oned/ODCode128Reader.h
76
include/zxing/oned/OneDResultPoint.h
76
include/ZXing/oned/ODCode128Writer.h
77
include/zxing/oned/UPCAReader.h
77
include/ZXing/oned/ODCode39Reader.h
78
include/zxing/oned/UPCEANReader.h
78
include/ZXing/oned/ODCode39Writer.h
79
include/zxing/oned/UPCEReader.h
79
include/ZXing/oned/ODCode93Reader.h
80
include/zxing/pdf417/PDF417Reader.h
80
include/ZXing/oned/ODCode93Writer.h
81
include/zxing/pdf417/decoder/BitMatrixParser.h
81
include/ZXing/oned/ODEAN13Reader.h
82
include/zxing/pdf417/decoder/DecodedBitStreamParser.h
82
include/ZXing/oned/ODEAN13Writer.h
83
include/zxing/pdf417/decoder/Decoder.h
83
include/ZXing/oned/ODEAN8Reader.h
84
include/zxing/pdf417/decoder/ec/ErrorCorrection.h
84
include/ZXing/oned/ODEAN8Writer.h
85
include/zxing/pdf417/decoder/ec/ModulusGF.h
85
include/ZXing/oned/ODEANManufacturerOrgSupport.h
86
include/zxing/pdf417/decoder/ec/ModulusPoly.h
86
include/ZXing/oned/ODITFReader.h
87
include/zxing/pdf417/detector/Detector.h
87
include/ZXing/oned/ODITFWriter.h
88
include/zxing/pdf417/detector/LinesSampler.h
88
include/ZXing/oned/ODMultiUPCEANReader.h
89
include/zxing/qrcode/ErrorCorrectionLevel.h
89
include/ZXing/oned/ODRSS14Reader.h
90
include/zxing/qrcode/FormatInformation.h
90
include/ZXing/oned/ODRSSExpandedReader.h
91
include/zxing/qrcode/QRCodeReader.h
91
include/ZXing/oned/ODReader.h
92
include/zxing/qrcode/Version.h
92
include/ZXing/oned/ODRowReader.h
93
include/zxing/qrcode/decoder/BitMatrixParser.h
93
include/ZXing/oned/ODUPCAReader.h
94
include/zxing/qrcode/decoder/DataBlock.h
94
include/ZXing/oned/ODUPCAWriter.h
95
include/zxing/qrcode/decoder/DataMask.h
95
include/ZXing/oned/ODUPCEANCommon.h
96
include/zxing/qrcode/decoder/DecodedBitStreamParser.h
96
include/ZXing/oned/ODUPCEANExtensionSupport.h
97
include/zxing/qrcode/decoder/Decoder.h
97
include/ZXing/oned/ODUPCEANReader.h
98
include/zxing/qrcode/decoder/Mode.h
98
include/ZXing/oned/ODUPCEReader.h
99
include/zxing/qrcode/detector/AlignmentPattern.h
99
include/ZXing/oned/ODUPCEWriter.h
100
include/zxing/qrcode/detector/AlignmentPatternFinder.h
100
include/ZXing/oned/ODWriterHelper.h
101
include/zxing/qrcode/detector/Detector.h
101
include/ZXing/oned/rss/ODRSSDataCharacter.h
102
include/zxing/qrcode/detector/FinderPattern.h
102
include/ZXing/oned/rss/ODRSSExpandedBinaryDecoder.h
103
include/zxing/qrcode/detector/FinderPatternFinder.h
103
include/ZXing/oned/rss/ODRSSExpandedPair.h
104
include/zxing/qrcode/detector/FinderPatternInfo.h
104
include/ZXing/oned/rss/ODRSSExpandedRow.h
105
lib/libzxing.so
105
include/ZXing/oned/rss/ODRSSFieldParser.h
106
lib/zxing/cmake/zxing-config.cmake
106
include/ZXing/oned/rss/ODRSSFinderPattern.h
107
lib/zxing/cmake/zxing-targets-%%CMAKE_BUILD_TYPE%%.cmake
107
include/ZXing/oned/rss/ODRSSGenericAppIdDecoder.h
108
lib/zxing/cmake/zxing-targets.cmake
108
include/ZXing/oned/rss/ODRSSPair.h
109
include/ZXing/oned/rss/ODRSSReaderHelper.h
110
include/ZXing/pdf417/PDFBarcodeMetadata.h
111
include/ZXing/pdf417/PDFBarcodeValue.h
112
include/ZXing/pdf417/PDFBoundingBox.h
113
include/ZXing/pdf417/PDFCodeword.h
114
include/ZXing/pdf417/PDFCodewordDecoder.h
115
include/ZXing/pdf417/PDFCompaction.h
116
include/ZXing/pdf417/PDFDecodedBitStreamParser.h
117
include/ZXing/pdf417/PDFDecoderResultExtra.h
118
include/ZXing/pdf417/PDFDetectionResult.h
119
include/ZXing/pdf417/PDFDetectionResultColumn.h
120
include/ZXing/pdf417/PDFDetector.h
121
include/ZXing/pdf417/PDFEncoder.h
122
include/ZXing/pdf417/PDFHighLevelEncoder.h
123
include/ZXing/pdf417/PDFModulusGF.h
124
include/ZXing/pdf417/PDFModulusPoly.h
125
include/ZXing/pdf417/PDFReader.h
126
include/ZXing/pdf417/PDFScanningDecoder.h
127
include/ZXing/pdf417/PDFWriter.h
128
include/ZXing/qrcode/QRAlignmentPattern.h
129
include/ZXing/qrcode/QRAlignmentPatternFinder.h
130
include/ZXing/qrcode/QRBitMatrixParser.h
131
include/ZXing/qrcode/QRCodecMode.h
132
include/ZXing/qrcode/QRDataBlock.h
133
include/ZXing/qrcode/QRDataMask.h
134
include/ZXing/qrcode/QRDecoder.h
135
include/ZXing/qrcode/QRDecoderMetadata.h
136
include/ZXing/qrcode/QRDetector.h
137
include/ZXing/qrcode/QRECB.h
138
include/ZXing/qrcode/QREncodeResult.h
139
include/ZXing/qrcode/QREncoder.h
140
include/ZXing/qrcode/QRErrorCorrectionLevel.h
141
include/ZXing/qrcode/QRFinderPattern.h
142
include/ZXing/qrcode/QRFinderPatternFinder.h
143
include/ZXing/qrcode/QRFinderPatternInfo.h
144
include/ZXing/qrcode/QRFormatInformation.h
145
include/ZXing/qrcode/QRMaskUtil.h
146
include/ZXing/qrcode/QRMatrixUtil.h
147
include/ZXing/qrcode/QRReader.h
148
include/ZXing/qrcode/QRVersion.h
149
include/ZXing/qrcode/QRWriter.h
150
include/ZXing/textcodec/Big5MapTable.h
151
include/ZXing/textcodec/Big5TextDecoder.h
152
include/ZXing/textcodec/Big5TextEncoder.h
153
include/ZXing/textcodec/GBTextDecoder.h
154
include/ZXing/textcodec/GBTextEncoder.h
155
include/ZXing/textcodec/JPTextDecoder.h
156
include/ZXing/textcodec/JPTextEncoder.h
157
include/ZXing/textcodec/KRHangulMapping.h
158
include/ZXing/textcodec/KRTextDecoder.h
159
include/ZXing/textcodec/KRTextEncoder.h
160
lib/cmake/ZXing/ZXingConfig.cmake
161
lib/cmake/ZXing/ZXingTargets-%%CMAKE_BUILD_TYPE%%.cmake
162
lib/cmake/ZXing/ZXingTargets.cmake
163
lib/libZXingCore.so
164
lib/libZXingCore.so.1
165
lib/libZXingCore.so.1.0.7
166
libdata/pkgconfig/zxing.pc

Return to bug 246508