Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kguiaddons for openSUSE:Factory 
checked in at 2022-12-12 17:38:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kguiaddons (Old)
 and      /work/SRC/openSUSE:Factory/.kguiaddons.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kguiaddons"

Mon Dec 12 17:38:14 2022 rev:109 rq:1042124 version:5.101.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kguiaddons/kguiaddons.changes    2022-11-15 
13:19:25.760318473 +0100
+++ /work/SRC/openSUSE:Factory/.kguiaddons.new.1835/kguiaddons.changes  
2022-12-12 17:39:53.641238878 +0100
@@ -1,0 +2,12 @@
+Tue Dec  6 20:10:41 UTC 2022 - Christophe Marin <[email protected]>
+
+- Update to 5.101.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/frameworks/5/5.101.0
+- Changes since 5.100.0:
+  * KeySequenceRecorder: Stop tracking recordings when we stop recording 
(kde#462100)
+  * Make KColorUtils::mix account for alpha properly
+  * Don't build/install the geo: URI handler on Android
+
+-------------------------------------------------------------------

Old:
----
  kguiaddons-5.100.0.tar.xz
  kguiaddons-5.100.0.tar.xz.sig

New:
----
  kguiaddons-5.101.0.tar.xz
  kguiaddons-5.101.0.tar.xz.sig

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

Other differences:
------------------
++++++ kguiaddons.spec ++++++
--- /var/tmp/diff_new_pack.woLtWV/_old  2022-12-12 17:39:54.101241198 +0100
+++ /var/tmp/diff_new_pack.woLtWV/_new  2022-12-12 17:39:54.109241239 +0100
@@ -17,7 +17,7 @@
 
 
 %define lname   libKF5GuiAddons5
-%define _tar_path 5.100
+%define _tar_path 5.101
 # 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,11 +25,10 @@
 # Only needed for the package signature condition
 %bcond_without released
 Name:           kguiaddons
-Version:        5.100.0
+Version:        5.101.0
 Release:        0
 Summary:        Utilities for graphical user interfaces
 License:        LGPL-2.1-or-later
-Group:          System/GUI/KDE
 URL:            https://www.kde.org
 Source:         %{name}-%{version}.tar.xz
 %if %{with released}
@@ -59,7 +58,6 @@
 
 %package -n %{lname}
 Summary:        Utilities for graphical user interfaces
-Group:          System/GUI/KDE
 Recommends:     %{name}
 %requires_ge    libQt5Gui5
 
@@ -69,7 +67,6 @@
 
 %package devel
 Summary:        Utilities for graphical user interfaces: Build Environment
-Group:          Development/Libraries/KDE
 Requires:       %{lname} = %{version}
 Requires:       extra-cmake-modules
 Requires:       cmake(Qt5Gui) >= 5.15.0


++++++ kguiaddons-5.100.0.tar.xz -> kguiaddons-5.101.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kguiaddons-5.100.0/CMakeLists.txt 
new/kguiaddons-5.101.0/CMakeLists.txt
--- old/kguiaddons-5.100.0/CMakeLists.txt       2022-11-05 13:27:14.000000000 
+0100
+++ new/kguiaddons-5.101.0/CMakeLists.txt       2022-12-03 10:46:43.000000000 
+0100
@@ -1,10 +1,10 @@
 cmake_minimum_required(VERSION 3.16)
 
-set(KF_VERSION "5.100.0") # handled by release scripts
+set(KF_VERSION "5.101.0") # handled by release scripts
 project(KGuiAddons VERSION ${KF_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.100.0  NO_MODULE)
+find_package(ECM 5.101.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/kguiaddons-5.100.0/autotests/kcolorutilstest.cpp 
new/kguiaddons-5.101.0/autotests/kcolorutilstest.cpp
--- old/kguiaddons-5.100.0/autotests/kcolorutilstest.cpp        2022-11-05 
13:27:14.000000000 +0100
+++ new/kguiaddons-5.101.0/autotests/kcolorutilstest.cpp        2022-12-03 
10:46:43.000000000 +0100
@@ -81,6 +81,14 @@
             }
         }
     }
+
+    const auto colorA = QColor::fromRgb(255, 255, 255, 1);
+    const auto colorB = QColor::fromRgb(0, 0, 0, 255);
+    const auto mixed = KColorUtils::mix(colorA, colorB, 0.5);
+
+    QVERIFY2(mixed.redF() <= 0.01, "colorA should have little influence on 
colorB due to low opacity");
+    QVERIFY2(mixed.greenF() <= 0.01, "colorA should have little influence on 
colorB due to low opacity");
+    QVERIFY2(mixed.blueF() <= 0.01, "colorA should have little influence on 
colorB due to low opacity");
 }
 
 void tst_KColorUtils::testHCY()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kguiaddons-5.100.0/autotests/keysequencerecordertest.cpp 
new/kguiaddons-5.101.0/autotests/keysequencerecordertest.cpp
--- old/kguiaddons-5.100.0/autotests/keysequencerecordertest.cpp        
2022-11-05 13:27:14.000000000 +0100
+++ new/kguiaddons-5.101.0/autotests/keysequencerecordertest.cpp        
2022-12-03 10:46:43.000000000 +0100
@@ -159,11 +159,11 @@
     recorder.setMultiKeyShortcutsAllowed(false);
     recorder.startRecording();
     QVERIFY(recorder.isRecording());
-    QCOMPARE(recordingSpy.count(), 4);
+    QCOMPARE(recordingSpy.count(), 3);
     QTest::keyPress(m_window, Qt::Key_A, Qt::ControlModifier);
     QCOMPARE(recorder.currentKeySequence(), QKeySequence(Qt::Key_A | 
Qt::ControlModifier));
     QVERIFY(!recorder.isRecording());
-    QCOMPARE(recordingSpy.count(), 5);
+    QCOMPARE(recordingSpy.count(), 4);
     QCOMPARE(resultSpy.count(), 1);
     QCOMPARE(resultSpy.takeAt(0).at(0).value<QKeySequence>(), 
QKeySequence(Qt::Key_A | Qt::ControlModifier));
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kguiaddons-5.100.0/src/CMakeLists.txt 
new/kguiaddons-5.101.0/src/CMakeLists.txt
--- old/kguiaddons-5.100.0/src/CMakeLists.txt   2022-11-05 13:27:14.000000000 
+0100
+++ new/kguiaddons-5.101.0/src/CMakeLists.txt   2022-12-03 10:46:43.000000000 
+0100
@@ -238,4 +238,6 @@
     )
 endif()
 
-add_subdirectory(geo-scheme-handler)
+if (NOT ANDROID)
+    add_subdirectory(geo-scheme-handler)
+endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kguiaddons-5.100.0/src/colors/kcolorutils.cpp 
new/kguiaddons-5.101.0/src/colors/kcolorutils.cpp
--- old/kguiaddons-5.100.0/src/colors/kcolorutils.cpp   2022-11-05 
13:27:14.000000000 +0100
+++ new/kguiaddons-5.101.0/src/colors/kcolorutils.cpp   2022-12-03 
10:46:43.000000000 +0100
@@ -145,10 +145,14 @@
         return c1;
     }
 
-    qreal r = mixQreal(c1.redF(), c2.redF(), bias);
-    qreal g = mixQreal(c1.greenF(), c2.greenF(), bias);
-    qreal b = mixQreal(c1.blueF(), c2.blueF(), bias);
     qreal a = mixQreal(c1.alphaF(), c2.alphaF(), bias);
+    if (a <= 0.0) {
+        return Qt::transparent;
+    }
+
+    qreal r = qBound(0.0, mixQreal(c1.redF() * c1.alphaF(), c2.redF() * 
c2.alphaF(), bias), 1.0) / a;
+    qreal g = qBound(0.0, mixQreal(c1.greenF() * c1.alphaF(), c2.greenF() * 
c2.alphaF(), bias), 1.0) / a;
+    qreal b = qBound(0.0, mixQreal(c1.blueF() * c1.alphaF(), c2.blueF() * 
c2.alphaF(), bias), 1.0) / a;
 
     return QColor::fromRgbF(r, g, b, a);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kguiaddons-5.100.0/src/recorder/keysequencerecorder.cpp 
new/kguiaddons-5.101.0/src/recorder/keysequencerecorder.cpp
--- old/kguiaddons-5.100.0/src/recorder/keysequencerecorder.cpp 2022-11-05 
13:27:14.000000000 +0100
+++ new/kguiaddons-5.101.0/src/recorder/keysequencerecorder.cpp 2022-12-03 
10:46:43.000000000 +0100
@@ -410,6 +410,8 @@
     if (m_inhibition) {
         m_inhibition->disableInhibition();
     }
+    QObject::disconnect(KeySequenceRecorderGlobal::self(), 
&KeySequenceRecorderGlobal::sequenceRecordingStarted,
+                        q, &KeySequenceRecorder::cancelRecording);
     Q_EMIT q->recordingChanged();
 }
 

Reply via email to