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 2022-09-21 14:41:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zxing-cpp (Old)
 and      /work/SRC/openSUSE:Factory/.zxing-cpp.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zxing-cpp"

Wed Sep 21 14:41:40 2022 rev:11 rq:1004902 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/zxing-cpp/zxing-cpp.changes      2021-12-16 
21:19:16.170520263 +0100
+++ /work/SRC/openSUSE:Factory/.zxing-cpp.new.2083/zxing-cpp.changes    
2022-09-21 14:42:33.301775356 +0200
@@ -1,0 +2,6 @@
+Tue Sep 20 07:10:22 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Add fmt 9.0 compatibility patch (boo#1202273):
+  * 0001-test-update-to-libfmt-v9.0.0.patch
+
+-------------------------------------------------------------------

New:
----
  0001-test-update-to-libfmt-v9.0.0.patch

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

Other differences:
------------------
++++++ zxing-cpp.spec ++++++
--- /var/tmp/diff_new_pack.m3bYe7/_old  2022-09-21 14:42:34.713779272 +0200
+++ /var/tmp/diff_new_pack.m3bYe7/_new  2022-09-21 14:42:34.721779294 +0200
@@ -30,6 +30,8 @@
 Patch0:         cmake-check-system-first.patch
 # PATCH-FIX-UPSTREAM 269.patch -- Update stb_image/stb_image_write
 Patch1:         269.patch
+# PATCH-FIX-UPSTREAM 0001-test-update-to-libfmt-v9.0.0.patch -- fmt 9 
compatibility
+Patch2:         0001-test-update-to-libfmt-v9.0.0.patch
 BuildRequires:  pkgconfig
 # Use cmake3 package on SLE12 because cmake is too old (version 3.5)
 %if !0%{?is_opensuse} && 0%{?sle_version} < 150000
@@ -83,9 +85,9 @@
     -DCMAKE_CXX_COMPILER=/usr/bin/g++-11 \
 %endif
 %if 0%{?suse_version} < 1550
-    -DBUILD_BLACKBOX_TESTS=OFF \
+    -DBUILD_BLACKBOX_TESTS=OFF
 %endif
- ;
+
 %cmake_build
 
 %install

++++++ 0001-test-update-to-libfmt-v9.0.0.patch ++++++
>From 6dc756175003658cafb9039185a5094b9c157ba6 Mon Sep 17 00:00:00 2001
From: axxel <awag...@gmail.com>
Date: Tue, 26 Jul 2022 22:42:00 +0200
Subject: [PATCH] test: update to libfmt v9.0.0

---
 test/blackbox/BlackboxTestRunner.cpp | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/test/blackbox/BlackboxTestRunner.cpp 
b/test/blackbox/BlackboxTestRunner.cpp
index 0df58ba..b8afe14 100644
--- a/test/blackbox/BlackboxTestRunner.cpp
+++ b/test/blackbox/BlackboxTestRunner.cpp
@@ -158,8 +158,7 @@ static void doRunTests(
        auto folderName = directory.stem();
 
        if (Size(imgPaths) != totalTests)
-               fmt::print("TEST {} => Expected number of tests: {}, got: {} => 
FAILED\n", folderName, totalTests,
-                                  imgPaths.size());
+               fmt::print("TEST {} => Expected number of tests: {}, got: {} => 
FAILED\n", folderName.string(), totalTests, imgPaths.size());
 
        for (auto& test : tests) {
                fmt::print("{:20} @ {:3}, {:3}", folderName.string(), 
test.rotation, Size(imgPaths));
@@ -234,7 +233,7 @@ static void doRunStructuredAppendTest(
        }
 
        if (Size(imageGroups) != totalTests)
-               fmt::print("TEST {} => Expected number of tests: {}, got: {} => 
FAILED\n", folderName, totalTests,
+               fmt::print("TEST {} => Expected number of tests: {}, got: {} => 
FAILED\n", folderName.string(), totalTests,
                                   imageGroups.size());
 
        for (auto& test : tests) {
@@ -445,7 +444,7 @@ int runBlackBoxTests(const fs::path& testPathPrefix, const 
std::set<std::string>
                        { 17, 20, 0   },
                        { 19, 20, 180 },
                });
-               
+
                runTests("upca-extension-1", "UPC-A", 6, {
                        { 3, 6, 0 },
                        { 4, 6, 180 },
-- 
2.37.3

Reply via email to