Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zxing-cpp for openSUSE:Factory 
checked in at 2021-11-06 18:15:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zxing-cpp (Old)
 and      /work/SRC/openSUSE:Factory/.zxing-cpp.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zxing-cpp"

Sat Nov  6 18:15:46 2021 rev:9 rq:929674 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/zxing-cpp/zxing-cpp.changes      2021-02-17 
18:09:05.361820309 +0100
+++ /work/SRC/openSUSE:Factory/.zxing-cpp.new.1890/zxing-cpp.changes    
2021-11-06 18:18:27.368897756 +0100
@@ -1,0 +2,33 @@
+Fri Nov  5 11:58:38 UTC 2021 - Danilo Spinella <danilo.spine...@suse.com>
+
+- Do not build examples to avoid a cycle with QT5Multimedia
+
+-------------------------------------------------------------------
+Wed Nov  3 14:42:33 UTC 2021 - Danilo Spinella <danilo.spine...@suse.com>
+
+- Use the updated cmake3-full package instead of cmake on SLE12
+- Do not build examples on SLE12
+- Only build blackbox tests on TW
+
+-------------------------------------------------------------------
+Sat May 29 10:37:28 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de>
+
+- Update to 1.2.0
+  * new BarcodeFormat names, old ones are deprecated
+  * new ZXingQtCamReader demo app based on QtMultimedia and QtQuick
+  * new QRCode reader, faster and better support for rotated symbols
+  * added Structured Append support for DataMatrix, Aztec and MaxiCode
+  * added DMRE support for DataMatrix
+  * switch to the reimplemented 1D detectors, about 5x faster
+  * a lot faster and more capable isPure detection for all 2D codes
+  * 20% faster ReedSolomon error correcting
+  * PDF417 is faster and supports flipped symbols
+  * reduced false positive rate for UPC/EAN barcodes and improved
+    Add-On symbol handling
+  * proper ECI handling in all 2D barcodes
+  * much improved python wrapper
+  * deprecate the use of ResultMetadata
+- Add cmake-check-system-first.patch
+- Drop upstream merged 0001-Fix-build-with-GCC-11.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-Fix-build-with-GCC-11.patch
  zxing-cpp-1.1.1.tar.gz

New:
----
  cmake-check-system-first.patch
  zxing-cpp-1.2.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ zxing-cpp.spec ++++++
--- /var/tmp/diff_new_pack.UAHFRY/_old  2021-11-06 18:18:28.156898165 +0100
+++ /var/tmp/diff_new_pack.UAHFRY/_new  2021-11-06 18:18:28.160898167 +0100
@@ -18,19 +18,30 @@
 
 %define sover 1
 Name:           zxing-cpp
-Version:        1.1.1
+Version:        1.2.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
 Group:          Development/Languages/C and C++
 URL:            https://github.com/nu-book/zxing-cpp/
-Source0:        
https://github.com/nu-book/zxing-cpp/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source0:        %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source99:       baselibs.conf
-# PATCH-FIX-UPSTREAM
-Patch0:         0001-Fix-build-with-GCC-11.patch
+# PATCH-FIX-OPENSUSE cmake-check-system-first.patch -- Search system for 
needed libraries first
+Patch0:         cmake-check-system-first.patch
+BuildRequires:  pkgconfig
+# Use cmake3 package on SLE12 because cmake is too old (version 3.5)
+%if !0%{?is_opensuse} && 0%{?sle_version} < 150000
+BuildRequires:  cmake3-full >= 3.10
+BuildRequires:  gcc11-c++
+%else
 BuildRequires:  cmake >= 3.10
 BuildRequires:  gcc-c++
-BuildRequires:  pkgconfig
+%endif
+# only TW has fmt
+%if 0%{?suse_version} > 1500
+# For blackbox tests
+BuildRequires:  cmake(fmt) >= 7.1.2
+%endif
 
 %description
 ZXing ("zebra crossing") is an multi-format 1D/2D barcode image
@@ -61,12 +72,29 @@
 %autosetup -p1
 
 %build
-%cmake
+# Use g++-11 to build a C++17 codebase
+# Examples require QT5-base/multimedia, but doing so creates a cycle
+# Blackbox tests require fmt
+%cmake \
+    -DBUILD_EXAMPLES=OFF \
+%if !0%{?is_opensuse} && 0%{?sle_version} < 150000
+    -DCMAKE_CXX_COMPILER=/usr/bin/g++-11 \
+%endif
+%if 0%{?suse_version} < 1550
+    -DBUILD_BLACKBOX_TESTS=OFF \
+%endif
+ ;
 %cmake_build
 
 %install
 %cmake_install
 
+%check
+%if 0%{?sle_version}
+export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
+%endif
+%ctest
+
 %post -n libZXing%{sover} -p /sbin/ldconfig
 %postun -n libZXing%{sover} -p /sbin/ldconfig
 

++++++ cmake-check-system-first.patch ++++++
diff -Nur zxing-cpp-1.2.0/test/blackbox/CMakeLists.txt 
new/test/blackbox/CMakeLists.txt
--- zxing-cpp-1.2.0/test/blackbox/CMakeLists.txt        2021-05-28 
12:47:09.000000000 +0200
+++ new/test/blackbox/CMakeLists.txt    2021-05-29 13:34:47.707152999 +0200
@@ -1,10 +1,13 @@
 cmake_minimum_required(VERSION 3.14)
 
-include(FetchContent)
-FetchContent_Declare (fmtlib
+find_package(fmt 7.1.2)
+if (NOT fmt_FOUND)
+    include(FetchContent)
+    FetchContent_Declare (fmtlib
         GIT_REPOSITORY https://github.com/fmtlib/fmt.git
         GIT_TAG 7.1.2)
-FetchContent_MakeAvailable (fmtlib) # Adds fmt::fmt
+    FetchContent_MakeAvailable (fmtlib) # Adds fmt::fmt
+endif()
 
 if (BUILD_READERS)
     add_executable (ReaderTest
++++++ zxing-cpp-1.1.1.tar.gz -> zxing-cpp-1.2.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/zxing-cpp/zxing-cpp-1.1.1.tar.gz 
/work/SRC/openSUSE:Factory/.zxing-cpp.new.1890/zxing-cpp-1.2.0.tar.gz differ: 
char 12, line 1

Reply via email to