Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package prison-qt5 for openSUSE:Factory 
checked in at 2022-09-13 15:09:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/prison-qt5 (Old)
 and      /work/SRC/openSUSE:Factory/.prison-qt5.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "prison-qt5"

Tue Sep 13 15:09:25 2022 rev:72 rq:1002868 version:5.98.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/prison-qt5/prison-qt5.changes    2022-08-15 
20:00:01.129361015 +0200
+++ /work/SRC/openSUSE:Factory/.prison-qt5.new.2083/prison-qt5.changes  
2022-09-13 15:10:55.436901872 +0200
@@ -1,0 +2,11 @@
+Tue Sep  6 07:17:28 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 5.98.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/frameworks/5/5.98.0
+- Changes since 5.97.0:
+  * Add FreeBSD Qt6 CI support
+  * Add the mandated 10x quiet zones for Code 39 and Code 93 barcodes
+
+-------------------------------------------------------------------

Old:
----
  prison-5.97.0.tar.xz
  prison-5.97.0.tar.xz.sig

New:
----
  prison-5.98.0.tar.xz
  prison-5.98.0.tar.xz.sig

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

Other differences:
------------------
++++++ prison-qt5.spec ++++++
--- /var/tmp/diff_new_pack.joJMZp/_old  2022-09-13 15:10:55.864903076 +0200
+++ /var/tmp/diff_new_pack.joJMZp/_new  2022-09-13 15:10:55.864903076 +0200
@@ -19,7 +19,7 @@
 %define sonum   5
 %define rname prison
 %define _libname KF5Prison
-%define _tar_path 5.97
+%define _tar_path 5.98
 # Full KF5 version (e.g. 5.33.0)
 %{!?_kf5_version: %global _kf5_version %{version}}
 # Last major and minor KF5 version (e.g. 5.33)
@@ -27,7 +27,7 @@
 # Only needed for the package signature condition
 %bcond_without released
 Name:           prison-qt5
-Version:        5.97.0
+Version:        5.98.0
 Release:        0
 Summary:        Barcode abstraction layer library
 License:        MIT


++++++ prison-5.97.0.tar.xz -> prison-5.98.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/prison-5.97.0/.gitlab-ci.yml 
new/prison-5.98.0/.gitlab-ci.yml
--- old/prison-5.97.0/.gitlab-ci.yml    2022-08-07 14:24:32.000000000 +0200
+++ new/prison-5.98.0/.gitlab-ci.yml    2022-09-05 11:32:45.000000000 +0200
@@ -8,3 +8,4 @@
   - 
https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux-qt6.yml
   - 
https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/android-qt6.yml
   - 
https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows.yml
+  - 
https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd-qt6.yml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/prison-5.97.0/CMakeLists.txt 
new/prison-5.98.0/CMakeLists.txt
--- old/prison-5.97.0/CMakeLists.txt    2022-08-07 14:24:32.000000000 +0200
+++ new/prison-5.98.0/CMakeLists.txt    2022-09-05 11:32:45.000000000 +0200
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.16)
 
-set(KF_VERSION "5.97.0") # handled by release scripts
+set(KF_VERSION "5.98.0") # handled by release scripts
 project(prison VERSION ${KF_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.97.0 NO_MODULE)
+find_package(ECM 5.98.0 NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL "https://commits.kde.org/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" "${ECM_MODULE_PATH}")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/prison-5.97.0/src/lib/code39barcode.cpp 
new/prison-5.98.0/src/lib/code39barcode.cpp
--- old/prison-5.97.0/src/lib/code39barcode.cpp 2022-08-07 14:24:32.000000000 
+0200
+++ new/prison-5.98.0/src/lib/code39barcode.cpp 2022-09-05 11:32:45.000000000 
+0200
@@ -150,9 +150,12 @@
     const int smallWidth = 1;
     Q_ASSERT(largeWidth > smallWidth);
 
+    const int quietZoneWidth = 10 * smallWidth;
+
     // one line of the result image
     QVector<QRgb> line;
-    line.reserve(wide * largeWidth + narrow * smallWidth);
+    line.reserve(wide * largeWidth + narrow * smallWidth + 2 * quietZoneWidth);
+    line.insert(0, quietZoneWidth, backgroundColor().rgba());
     for (int i = 0; i < barcode.size(); i++) {
         const QRgb color = (((i & 1) == 0) ? foregroundColor() : 
backgroundColor()).rgba(); // alternate between foreground and background color
         const int width = barcode.at(i) ? largeWidth : smallWidth;
@@ -160,6 +163,7 @@
             line.append(color);
         }
     }
+    line.insert(line.size(), quietZoneWidth, backgroundColor().rgba());
 
     // build the complete barcode
     QImage ret(line.size(), 1, QImage::Format_ARGB32);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/prison-5.97.0/src/lib/code93barcode.cpp 
new/prison-5.98.0/src/lib/code93barcode.cpp
--- old/prison-5.97.0/src/lib/code93barcode.cpp 2022-08-07 14:24:32.000000000 
+0200
+++ new/prison-5.98.0/src/lib/code93barcode.cpp 2022-09-05 11:32:45.000000000 
+0200
@@ -645,16 +645,19 @@
     }
 
     const int barWidth = 1;
+    const int quietZoneWidth = 10 * barWidth;
 
     // build one line of the result image
     QVector<QRgb> line;
-    line.reserve(barWidth * barcode.size());
+    line.reserve(barWidth * barcode.size() + 2 * quietZoneWidth);
+    line.insert(0, quietZoneWidth, backgroundColor().rgba());
     for (int i = 0; i < barcode.size(); i++) {
         const QRgb color = (barcode.at(i) ? foregroundColor() : 
backgroundColor()).rgba();
         for (int j = 0; j < barWidth; j++) {
             line.append(color);
         }
     }
+    line.insert(line.size(), quietZoneWidth, backgroundColor().rgba());
 
     // build the complete barcode
     QImage ret(line.size(), 1, QImage::Format_ARGB32);

Reply via email to