Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
399709c14d |
BIN
zxing-cpp-2.0.0.tar.gz
(Stored with Git LFS)
BIN
zxing-cpp-2.0.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
zxing-cpp-2.3.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
zxing-cpp-2.3.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,108 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 24 08:43:16 UTC 2025 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Update to 2.3.0
|
||||
New features:
|
||||
* Add support for DX Film Edge read
|
||||
* Add support for detecting and reading Aztec Runes
|
||||
* Add reader support for DataBarLimited symbols
|
||||
* Add C-API in official build (EDIT: unfortunately the default
|
||||
is still off, to enable do cmake -DZXING_C_API=ON)
|
||||
* Add Kotlin/Native Wrapper
|
||||
* Add Rust wrapper based on C-API
|
||||
* Add .NET wrapper based on C-API
|
||||
* Introduce new name Barcode for Result which will be removed
|
||||
in 3.0
|
||||
* LocalAverage binarizer: re-implement with symmetric
|
||||
threshold interpolation for improved detection of inverted
|
||||
symbols
|
||||
* cmake: replace BUILD_... prefix of cmake options with ZXING_...
|
||||
* cmake: switch to c++-20 by default for the core library
|
||||
* ImageView: introduce bounds checks in constructor
|
||||
* ImageView: Add ImageFormat::LumX for 2-byte grey + alpha input
|
||||
* ImageFormat: replace 'X' with 'A', e.g. RGBX -> RGBA
|
||||
* ZXingReader: add -binarizer <local|global|fixed> command
|
||||
line option
|
||||
* ZXingReader: add -single option to setMaxNumberOfSymbols(1)
|
||||
* ZXingReader: parse -formats (including 's') command line
|
||||
argument
|
||||
* ZXingReader: support reading image file from stdin by passing '-'
|
||||
* android: switch 'namespace' from zxingcpp to zxingcpp.lib to fix
|
||||
issue with maven central publication
|
||||
* Python: add support to write bytes as binary data
|
||||
* ZXing::Version() function to query the library version at
|
||||
runtime (useful when dynamically linked)
|
||||
Minor changes and bug fixes:
|
||||
* Complete ZXIReaderOptions in iOS Wrapper
|
||||
* ios: remove initWithFormats initializer
|
||||
* cmake: Make build reproducible across different build directories
|
||||
* Release color space after use in iOS wrapper
|
||||
* cmake: allow overriding python install directories
|
||||
* Refine MultiFormatReader results filtering and apply C++20 erase_if
|
||||
* HRI: update AIs to latest gs1-syntax-dictionary.txt
|
||||
* android: add linker flag to support flexible page sizes in Android 15
|
||||
* Deprecate validateITFCheckSum, validateCode39CheckSum,
|
||||
returnCodabarStartEnd
|
||||
* BitHacks: fix random QRCode content on pre-Haswell Windows machines
|
||||
* DataMatrix: improve detection of near 45° rotated symbols
|
||||
* cmake: add /utf-8 to MSVC compile flags
|
||||
* Barcode: tune operator==() to not split up overly tall linear symbols
|
||||
* Several ITFReader improvements
|
||||
* QRDecoder: return some content even in the presence of a checksum error
|
||||
* DataBar: improve detection rate by incorporating edge-2-edge pattern
|
||||
* PDF417: prevent wrong position info with right side collapsing to (0,0)
|
||||
* Python: make sure macOS and 64bit Linux packes on pypi.org support
|
||||
multi-symbol DataMatrix detection (c++20 support)
|
||||
- Drop obsolete version checks
|
||||
- Drop cmake.patch, no longer needed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 2 21:46:34 UTC 2024 - Martin Schreiner <martin.schreiner@suse.com>
|
||||
|
||||
- Update to 2.2.1. Changes:
|
||||
* Fix ABI breakage from 2.2.0.
|
||||
- Changes from 2.2.0:
|
||||
* Rename DecodeHints to ReaderOptions. The old name is still available for
|
||||
backward API compatibility but deprecated. Since the C-API and the Qt
|
||||
wrapper code are not officially part of the library, they changed without
|
||||
backward compatibility.
|
||||
* WASM: bytes in ReadResult.
|
||||
* DataMatrix: use charset for encoding.
|
||||
* QRCode: Support QR Code Model1.
|
||||
* rMQR Code: Support Rectangular Micro QR Code.
|
||||
- Refresh patch:
|
||||
* cmake.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 30 14:32:19 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Add back %{optflags} in c++ flags
|
||||
This was unintentionally disabled when c++17 was forced
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 6 06:01:16 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- Update to 2.1.0:
|
||||
* Considerable performance improvements in linear symbol detection (up to 2x speedup in select use cases of ReadBarcodes)
|
||||
* QRCode: major improvement in detection of high version symbols (see e.g. here)
|
||||
* DMDetector: reduce runtime overhead of c++-20 builds
|
||||
* Refactor Python wrapper so the sdist includes the core library code
|
||||
* wasm wrapper: add function to reader to scan multiple barcode
|
||||
* Added a C wrapper
|
||||
* Python: improve error reporting
|
||||
* DMDetector: fix potential dead-lock
|
||||
* DMDecoder: support 144x144 symbols in legacy and compliant variants
|
||||
- Remove the %check section since we are not building the tests.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 9 15:07:38 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Restore support for building on SLE12
|
||||
- Build with gcc7-c++ or gcc-c++ >= 7 because of C++17 requirements
|
||||
- Added patch:
|
||||
* cmake.patch
|
||||
+ allow building with cmake 3.5 on SLE12SP5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 25 08:56:24 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package zxing-cpp
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%define sover 3
|
||||
Name: zxing-cpp
|
||||
Version: 2.0.0
|
||||
Version: 2.3.0
|
||||
Release: 0
|
||||
Summary: Library for processing 1D and 2D barcodes
|
||||
License: Apache-2.0 AND Zlib AND LGPL-2.1-with-Qt-Company-Qt-exception-1.1
|
||||
@@ -26,10 +26,14 @@ Group: Development/Languages/C and C++
|
||||
URL: https://github.com/nu-book/zxing-cpp/
|
||||
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source99: baselibs.conf
|
||||
|
||||
BuildRequires: cmake >= 3.10
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake >= 3.5
|
||||
BuildRequires: pkgconfig
|
||||
%if 0%{?suse_version} > 1500
|
||||
# build the C wrapper only in TW. This package is too old on Leap <= 15.5
|
||||
BuildRequires: stb-devel
|
||||
%endif
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
# only TW has fmt
|
||||
%if 0%{?suse_version} > 1500
|
||||
# For blackbox tests
|
||||
@@ -65,25 +69,20 @@ other applications.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
export CXXFLAGS="%{optflags} -std=c++17"
|
||||
# Examples require QT5-base/multimedia, but doing so creates a cycle
|
||||
# Blackbox tests require fmt
|
||||
%cmake \
|
||||
-DBUILD_EXAMPLES=OFF \
|
||||
%if 0%{?suse_version} < 1550
|
||||
-DBUILD_BLACKBOX_TESTS=OFF
|
||||
-DCMAKE_CXX_EXTENSIONS=ON \
|
||||
%if 0%{?suse_version} > 1500
|
||||
-DBUILD_C_API=ON \
|
||||
%endif
|
||||
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%check
|
||||
%if 0%{?sle_version}
|
||||
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
|
||||
%endif
|
||||
%ctest
|
||||
|
||||
%ldconfig_scriptlets -n libZXing%{sover}
|
||||
|
||||
%files -n libZXing%{sover}
|
||||
|
Reference in New Issue
Block a user