Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package karchive for openSUSE:Factory 
checked in at 2022-08-15 19:57:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/karchive (Old)
 and      /work/SRC/openSUSE:Factory/.karchive.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "karchive"

Mon Aug 15 19:57:02 2022 rev:105 rq:994950 version:5.97.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/karchive/karchive.changes        2022-07-11 
19:09:31.735620218 +0200
+++ /work/SRC/openSUSE:Factory/.karchive.new.1521/karchive.changes      
2022-08-15 19:58:59.213188380 +0200
@@ -1,0 +2,10 @@
+Sun Aug  7 22:27:10 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 5.97.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/frameworks/5/5.97.0
+- Changes since 5.96.0:
+  * k7zip: Merge two functions to the constructor
+
+-------------------------------------------------------------------

Old:
----
  karchive-5.96.0.tar.xz
  karchive-5.96.0.tar.xz.sig

New:
----
  karchive-5.97.0.tar.xz
  karchive-5.97.0.tar.xz.sig

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

Other differences:
------------------
++++++ karchive.spec ++++++
--- /var/tmp/diff_new_pack.KHxrtC/_old  2022-08-15 19:58:59.649189597 +0200
+++ /var/tmp/diff_new_pack.KHxrtC/_new  2022-08-15 19:58:59.653189608 +0200
@@ -17,7 +17,7 @@
 
 
 %define lname   libKF5Archive5
-%define _tar_path 5.96
+%define _tar_path 5.97
 # Full KF5 version (e.g. 5.33.0)
 %{!?_kf5_version: %global _kf5_version %{version}}
 # Last major and minor KF5 version (e.g. 5.33)
@@ -25,7 +25,7 @@
 # Only needed for the package signature condition
 %bcond_without released
 Name:           karchive
-Version:        5.96.0
+Version:        5.97.0
 Release:        0
 Summary:        Qt 5 addon providing access to numerous types of archives
 License:        LGPL-2.0-or-later


++++++ karchive-5.96.0.tar.xz -> karchive-5.97.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/karchive-5.96.0/CMakeLists.txt 
new/karchive-5.97.0/CMakeLists.txt
--- old/karchive-5.96.0/CMakeLists.txt  2022-07-02 16:29:08.000000000 +0200
+++ new/karchive-5.97.0/CMakeLists.txt  2022-08-07 14:13:52.000000000 +0200
@@ -1,10 +1,10 @@
 cmake_minimum_required(VERSION 3.16)
 
-set(KF_VERSION "5.96.0") # handled by release scripts
+set(KF_VERSION "5.97.0") # handled by release scripts
 project(KArchive VERSION ${KF_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.96.0  NO_MODULE)
+find_package(ECM 5.97.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)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/karchive-5.96.0/src/k7zip.cpp 
new/karchive-5.97.0/src/k7zip.cpp
--- old/karchive-5.96.0/src/k7zip.cpp   2022-07-02 16:29:08.000000000 +0200
+++ new/karchive-5.97.0/src/k7zip.cpp   2022-08-07 14:13:52.000000000 +0200
@@ -1272,9 +1272,15 @@
     quint32 range;
     quint32 code;
 
-    RangeDecoder()
+    RangeDecoder(const QByteArray &s)
         : pos(0)
+        , stream(s)
+        , range(0xFFFFFFFF)
+        , code(0)
     {
+        for (int i = 0; i < 5; i++) {
+            code = (code << 8) | readByte();
+        }
     }
 
     unsigned char readByte()
@@ -1290,20 +1296,6 @@
         }
     }
 
-    void setStream(const QByteArray &s)
-    {
-        stream = s;
-    }
-
-    void init()
-    {
-        code = 0;
-        range = 0xFFFFFFFF;
-        for (int i = 0; i < 5; i++) {
-            code = (code << 8) | readByte();
-        }
-    }
-
     quint32 getThreshold(quint32 total)
     {
         return (code) / (range /= total);
@@ -1428,9 +1420,7 @@
     int callStreamPos = 0;
     int jumpStreamPos = 0;
 
-    RangeDecoder rangeDecoder;
-    rangeDecoder.setStream(rangeBuffer);
-    rangeDecoder.init();
+    RangeDecoder rangeDecoder(rangeBuffer);
 
     QVector<CBitDecoder<kNumMoveBits>> statusDecoder(256 + 2);
 

Reply via email to