Commit Graph

21 Commits

Author SHA256 Message Date
ecf6fda36d Accepting request 1130017 from home:Guillaume_G:PAC_BTI
- Add back %{optflags} in c++ flags
  This was unintentionally disabled when c++17 was forced

OBS-URL: https://build.opensuse.org/request/show/1130017
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=35
2023-11-30 14:38:54 +00:00
8527d9a225 Accepting request 1115985 from home:polslinux:branches:devel:libraries:c_c++
- 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.

OBS-URL: https://build.opensuse.org/request/show/1115985
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=33
2023-10-09 11:11:32 +00:00
eb66450ba9 Accepting request 1103183 from LibreOffice:Factory
Clean up and fix build on SLE15SP5

OBS-URL: https://build.opensuse.org/request/show/1103183
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=31
2023-08-09 17:56:35 +00:00
c708354574 Accepting request 1082699 from home:fcrozat:branches:devel:libraries:c_c++
- Drop support for building on SLE12.

OBS-URL: https://build.opensuse.org/request/show/1082699
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=29
2023-04-25 09:05:31 +00:00
8e468b7c5c Accepting request 1061067 from home:iznogood:branches:devel:libraries:c_c++
- Update to version 2.0.0:
  * Switch to UTF8 based API and remove deprecated UTF16 one
    (Result::text())
  * Remove all API deprecated in 1.4
  * Adding a wrapper for iOS
  * New Aztec detector implementation to support arbitrary rotation
    and position of the symbol
  * Support multi-symbol detection in Aztec detector
  * Replace all Qt originated ECI/CharacterSet conversion code with
    a new implementation
  * Require c++17 to build library and client code
  * New DecodeHints::textMode() and Result::text(TextMode) API to
    specify how bytes are rendered into text
  * HRI (human readable interpretation) is the new default for the
    TextMode (has been for most cases before, but not all)
  * New DecodeHits::tryInvert() feature to test for inverted
    symbols (white on black background)
- Changes from version 1.4.0:
  * Note: this is an intermediary release on the way to 2.0. This
    code is (supposed to be) API compatible (via the ReadBarcode.h
    interface) with v1.3.0 but contains quite a few additional
    deprecations. It still has SO number 1, which is as wrong as it
    was for release v1.3.0 and it is not ABI compatible with 1.3
    either. 2.0 will be basically 1.4 but with all deprecated API
    removed and the final fix for #333.
  * Reader support for Micro QRCode by @corbers
  * Prepared switch from std::wstring based utf16 to std::string
    based utf8 results, use new ZX_USE_UTF8 macro to transition to
    the upcoming 2.0 API
  * Much improved 'binary' data support via new Result::bytes()
    API, see #334 for a detailed background discussion.
  * New Result::contentType() API returning information about the
    type of content (like text vs. binary, etc.)
  * Better standards conformance with respect to ECI handling, see
    Results::bytesECI()
  * Support for proper ECI handling across structured append
    symbols (see MergeStructuredAppendResults())
  * New Result::error() API with improved error handling, see also
    DecodeHints::returnErrors()
  * Removed all internal header files from the installed set, so
    only the ReadBarcode.h based APIs are supported from here on
    out
  * Removed all sample images from the 'source' distribution
    zip/tar balls (much reduced size)
  * Python read_barcode returns None if no symbol was found (might
    break existing code if not checked for None before)
- Changes from version 1.3.0:
  * Multi-barcode reading with the new std::vector<Result>
    ReadBardcodes(...) function. Does not work for Aztec,
    DataMatrix and Maxicode, yet.
  * Multi-resolution scanning that can automatically downscale the
    input to substantially increase the detection rate on high
    resolution scans, see DecodeHints::tryDownscale, currently only
    enabled in the ReadBardcodes function
  * New Result::symbologyIdentifier property
  * Updated and improved android wrapper
- Drop patches fixed upstream:
  * 269.patch
  * 0001-test-update-to-libfmt-v9.0.0.patch
  * cmake-check-system-first.patch
- Bump sover to 3 following upstream changes.

OBS-URL: https://build.opensuse.org/request/show/1061067
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=27
2023-01-25 23:23:02 +00:00
9b799b60f4 Accepting request 1004900 from home:cgiboudeaux:branches:devel:libraries:c_c++
Revert to 1.2.0. Newer versions are pre-2.0 with ABI / API changes. It breaks libreoffice.
Add fmt 9 compatibility patch.

OBS-URL: https://build.opensuse.org/request/show/1004900
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=25
2022-09-20 07:29:23 +00:00
7c3b11b8bb Accepting request 1004648 from home:cgiboudeaux:branches:devel:libraries:c_c++
Update to 1.4.0

OBS-URL: https://build.opensuse.org/request/show/1004648
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=24
2022-09-19 16:27:40 +00:00
41ed227921 Accepting request 940262 from home:dspinella:branches:devel:libraries:c_c++
- Update stb_image/stb_image_write to fix various CVEs
  * 269.patch

OBS-URL: https://build.opensuse.org/request/show/940262
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=22
2021-12-13 18:47:28 +00:00
e11f31a197 Accepting request 929661 from home:dspinella:branches:devel:libraries:c_c++
- Do not build examples to avoid a cycle with QT5Multimedia

Please forward the request to Factory if it gets accepted. Thank you.

OBS-URL: https://build.opensuse.org/request/show/929661
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=21
2021-11-05 14:09:27 +00:00
e3bb1d6967 Accepting request 929043 from home:dspinella:branches:devel:libraries:c_c++
- Use the updated cmake3-full package instead of cmake on SLE12
- Do not build examples on SLE12
- Only build blackbox tests on TW

OBS-URL: https://build.opensuse.org/request/show/929043
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=20
2021-11-04 09:54:43 +00:00
3b29e3494a Accepting request 903142 from home:susnux:branches:devel:libraries:c_c++
- Update to 1.2.0

OBS-URL: https://build.opensuse.org/request/show/903142
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=19
2021-06-30 15:35:36 +00:00
76955b2fce Accepting request 870409 from home:cgiboudeaux:branches:devel:libraries:c_c++
- Update to 1.1.1. No changelog available.
- Drop fix-pkg-config-file.patch. Merged upstream
- Add 0001-Fix-build-with-GCC-11.patch to fix GCC 11 build
  issues (boo#1181915)

OBS-URL: https://build.opensuse.org/request/show/870409
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=17
2021-02-09 13:52:24 +00:00
c3d5e65aa7 Accepting request 863939 from home:simotek:branches:devel:libraries:c_c++
- Use %cmake_build instead of %make_jobs
- Shouldn't need -DBUILD_SHARED_LIBRARY=ON

OBS-URL: https://build.opensuse.org/request/show/863939
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=15
2021-01-18 10:26:28 +00:00
Dominique Leuenberger
37e86b2856 Accepting request 843573 from home:alarrosa:branches:devel:libraries:c_c++
- Add baselibs.conf

OBS-URL: https://build.opensuse.org/request/show/843573
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=13
2020-10-26 09:45:10 +00:00
b64282e788 Accepting request 833742 from home:alarrosa:branches:devel:libraries:c_c++
- Add fix for pkg-config file so the version and library are set properly
  in the resulting .pc file:
  * fix-pkg-config-file.patch

OBS-URL: https://build.opensuse.org/request/show/833742
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=11
2020-09-11 11:30:17 +00:00
0d03091bd3 Accepting request 827103 from home:cgiboudeaux:zxing
- Update to 1.1.0
  * Add Python binding
  * Bug fixes from upstream XZing project
  * Many performance improvements for 1D readers
  * More meta-data exported when reading specific format
  * Minor bug fixes and improvements for corner cases
  * Improve DataMatrix encoder
  * Add interface to simplify basic usage
  * WASM API to support pixels array as input
  * Few minor bug fixes
  * A new and (hopefully) 'future proof' single ReadBarcode entry point
    into the decoding functionality.
  * The LuminanceSource based API is now deprecated but still compiles.
  * A new BarcodeFormats flag type to specify the set of barcodes to look for.
  * Deprecated unrelyable Result::resultPoints in favor of well defined
    Result::position.
  * Deprecated Result::metadata() -> ORIENTATION in favor
    of Result::orientation.
  * New Binarizer enum in DecodeHints to specify the binarizer for
    the ReadBarcode API.
  * New DecodeHints::isPure property to speed up detection for
    'pure' input use-cases.
  * New 'unified' CMake structure to build (most) of the project from
    the top-level project.
  * New ZXingReader and ZXingWriter example code also meant for distributing.
  * New simplified and consistent Python API (breaking change)
  * ReedSolomon error detection code 2x speedup.
  * Enable basic MaxiCode support.
  * Fix coutry-code metatdata decoding for UPC/EAN codes.
  * Slightly improved QRCode detection for rotated symbols.

OBS-URL: https://build.opensuse.org/request/show/827103
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=9
2020-08-19 08:55:31 +00:00
e3901fdcca Accepting request 754291 from home:marxin:branches:devel:libraries:c_c++
- Add add-missing-includes-of-stdexcept-header.patch
  in order to fix boo#1158377.

OBS-URL: https://build.opensuse.org/request/show/754291
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=7
2019-12-09 12:54:22 +00:00
fbcaccebf9 Accepting request 704994 from home:jengelh:branches:devel:libraries:c_c++
- Trim metadata redundancies from description.

OBS-URL: https://build.opensuse.org/request/show/704994
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=4
2019-05-23 12:58:10 +00:00
6ece78e072 Accepting request 704664 from home:luca_b:zxing
Really fix URL (manually checked)

OBS-URL: https://build.opensuse.org/request/show/704664
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=3
2019-05-22 08:33:47 +00:00
9f33439109 Accepting request 704563 from home:luca_b:zxing
- Fixup URL and Source

OBS-URL: https://build.opensuse.org/request/show/704563
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=2
2019-05-22 08:04:19 +00:00
b18c9a8d13 Accepting request 704079 from home:luca_b:zxing
New package: zxing-cpp, a C++ port of the Java ZXing library

This will be required by some KDE packages (kitinerary) to provide barcode
processing.

NOTE: there are multiple forks of this library around. This one is at least
officially sanctioned by the original ZXing developers, provides proper
library versioning (after some poking upstream) and has actual releases.
This is also the one required by the KDE package mentioned above.

See https://github.com/nu-book/zxing-cpp/issues/44 for details.

OBS-URL: https://build.opensuse.org/request/show/704079
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=1
2019-05-21 08:21:38 +00:00