Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kguiaddons for openSUSE:Factory 
checked in at 2021-09-16 23:14:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kguiaddons (Old)
 and      /work/SRC/openSUSE:Factory/.kguiaddons.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kguiaddons"

Thu Sep 16 23:14:01 2021 rev:94 rq:919192 version:5.86.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kguiaddons/kguiaddons.changes    2021-08-16 
10:11:57.847071886 +0200
+++ /work/SRC/openSUSE:Factory/.kguiaddons.new.1899/kguiaddons.changes  
2021-09-16 23:15:49.903870369 +0200
@@ -1,0 +2,15 @@
+Wed Sep 15 08:24:06 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Drop the unneeded baselibs.conf.
+
+-------------------------------------------------------------------
+Mon Sep  6 06:22:05 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 5.86.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/frameworks/5/5.86.0
+- Changes since 5.85.0:
+  * replace "MacOSX" with "macOS"
+
+-------------------------------------------------------------------

Old:
----
  baselibs.conf
  kguiaddons-5.85.0.tar.xz
  kguiaddons-5.85.0.tar.xz.sig

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

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

Other differences:
------------------
++++++ kguiaddons.spec ++++++
--- /var/tmp/diff_new_pack.ApOFgU/_old  2021-09-16 23:15:50.423870907 +0200
+++ /var/tmp/diff_new_pack.ApOFgU/_new  2021-09-16 23:15:50.427870912 +0200
@@ -17,7 +17,7 @@
 
 
 %define lname   libKF5GuiAddons5
-%define _tar_path 5.85
+%define _tar_path 5.86
 # 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 lang
 Name:           kguiaddons
-Version:        5.85.0
+Version:        5.86.0
 Release:        0
 Summary:        Utilities for graphical user interfaces
 License:        LGPL-2.1-or-later
@@ -36,7 +36,6 @@
 Source1:        
https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz.sig
 Source2:        frameworks.keyring
 %endif
-Source99:       baselibs.conf
 BuildRequires:  extra-cmake-modules >= %{_kf5_bugfix_version}
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem


++++++ kguiaddons-5.85.0.tar.xz -> kguiaddons-5.86.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kguiaddons-5.85.0/.git-blame-ignore-revs 
new/kguiaddons-5.86.0/.git-blame-ignore-revs
--- old/kguiaddons-5.85.0/.git-blame-ignore-revs        2021-07-17 
13:54:59.000000000 +0200
+++ new/kguiaddons-5.86.0/.git-blame-ignore-revs        2021-09-04 
17:44:43.000000000 +0200
@@ -1,3 +1,4 @@
-#clang-format
+#clang-format/tidy
 554f51fd377575d49d8fff50ad312b9d2fd8ae3a
 bc88d2d37c8e2ea0b20b9e20a97dd23f4757d09d
+1986678a3056a5788e88cb9802f57733c2d8ef39
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kguiaddons-5.85.0/CMakeLists.txt 
new/kguiaddons-5.86.0/CMakeLists.txt
--- old/kguiaddons-5.85.0/CMakeLists.txt        2021-07-17 13:54:59.000000000 
+0200
+++ new/kguiaddons-5.86.0/CMakeLists.txt        2021-09-04 17:44:43.000000000 
+0200
@@ -1,10 +1,10 @@
 cmake_minimum_required(VERSION 3.16)
 
-set(KF_VERSION "5.85.0") # handled by release scripts
+set(KF_VERSION "5.86.0") # handled by release scripts
 project(KGuiAddons VERSION ${KF_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.85.0  NO_MODULE)
+find_package(ECM 5.86.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)
 
@@ -27,7 +27,7 @@
 include(KDECMakeSettings)
 include(KDEGitCommitHooks)
 
-set(REQUIRED_QT_VERSION 5.15.0)
+set(REQUIRED_QT_VERSION 5.15.2)
 if (WITH_WAYLAND)
     set(_qtgui_find_components COMPONENTS Private)
 endif()
@@ -57,7 +57,7 @@
                         SOVERSION 5)
 
 
-add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
+add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f02)
 add_subdirectory(src)
 if (BUILD_TESTING)
     add_subdirectory(autotests)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kguiaddons-5.85.0/autotests/kcolorutilstest.cpp 
new/kguiaddons-5.86.0/autotests/kcolorutilstest.cpp
--- old/kguiaddons-5.85.0/autotests/kcolorutilstest.cpp 2021-07-17 
13:54:59.000000000 +0200
+++ new/kguiaddons-5.86.0/autotests/kcolorutilstest.cpp 2021-09-04 
17:44:43.000000000 +0200
@@ -54,7 +54,10 @@
 
 void tst_KColorUtils::testMix()
 {
-    int r, g, b, k;
+    int r;
+    int g;
+    int b;
+    int k;
     for (r = 0; r < 52; r++) {
         for (g = 0; g < 52; g++) {
             for (b = 0; b < 52; b++) {
@@ -82,7 +85,9 @@
 
 void tst_KColorUtils::testHCY()
 {
-    int r, g, b;
+    int r;
+    int g;
+    int b;
     for (r = 0; r < 256; r += 5) {
         for (g = 0; g < 256; g += 5) {
             for (b = 0; b < 256; b += 5) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kguiaddons-5.85.0/metainfo.yaml 
new/kguiaddons-5.86.0/metainfo.yaml
--- old/kguiaddons-5.85.0/metainfo.yaml 2021-07-17 13:54:59.000000000 +0200
+++ new/kguiaddons-5.86.0/metainfo.yaml 2021-09-04 17:44:43.000000000 +0200
@@ -6,7 +6,7 @@
     - name: Linux
     - name: FreeBSD
     - name: Windows
-    - name: MacOSX
+    - name: macOS
     - name: Android
 portingAid: false
 deprecated: false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kguiaddons-5.85.0/src/colors/kcolorcollection.cpp 
new/kguiaddons-5.86.0/src/colors/kcolorcollection.cpp
--- old/kguiaddons-5.85.0/src/colors/kcolorcollection.cpp       2021-07-17 
13:54:59.000000000 +0200
+++ new/kguiaddons-5.86.0/src/colors/kcolorcollection.cpp       2021-09-04 
17:44:43.000000000 +0200
@@ -82,7 +82,9 @@
             if (line.isEmpty()) {
                 continue;
             }
-            int r, g, b;
+            int r;
+            int g;
+            int b;
             int pos = 0;
             if (sscanf(line.toLatin1().constData(), "%d %d %d%n", &r, &g, &b, 
&pos) >= 3) {
                 r = qBound(0, r, 255);
@@ -134,8 +136,10 @@
 
     str << QLatin1String("KDE RGB Palette\n");
     str << description << QLatin1Char('\n');
-    for (const KColorCollectionPrivate::ColorNode &node : 
qAsConst(d->colorList)) {
-        int r, g, b;
+    for (const KColorCollectionPrivate::ColorNode &node : 
std::as_const(d->colorList)) {
+        int r;
+        int g;
+        int b;
         node.color.getRgb(&r, &g, &b);
         str << r << " " << g << " " << b << " " << node.name << "\n";
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kguiaddons-5.85.0/src/colors/kcolorspaces.cpp 
new/kguiaddons-5.86.0/src/colors/kcolorspaces.cpp
--- old/kguiaddons-5.85.0/src/colors/kcolorspaces.cpp   2021-07-17 
13:54:59.000000000 +0200
+++ new/kguiaddons-5.86.0/src/colors/kcolorspaces.cpp   2021-09-04 
17:44:43.000000000 +0200
@@ -94,7 +94,9 @@
     qreal _y = normalize(y);
 
     // calculate some needed variables
-    qreal _hs = _h * 6.0, th, tm;
+    qreal _hs = _h * 6.0;
+    qreal th;
+    qreal tm;
     if (_hs < 1.0) {
         th = _hs;
         tm = yc[0] + yc[1] * th;
@@ -116,7 +118,9 @@
     }
 
     // calculate RGB channels in sorted order
-    qreal tn, to, tp;
+    qreal tn;
+    qreal to;
+    qreal tp;
     if (tm >= _y) {
         tp = _y + _y * _c * (1.0 - tm) / tm;
         to = _y + _y * _c * (th - tm) / tm;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kguiaddons-5.85.0/src/colors/kcolorutils.cpp 
new/kguiaddons-5.86.0/src/colors/kcolorutils.cpp
--- old/kguiaddons-5.85.0/src/colors/kcolorutils.cpp    2021-07-17 
13:54:59.000000000 +0200
+++ new/kguiaddons-5.86.0/src/colors/kcolorutils.cpp    2021-09-04 
17:44:43.000000000 +0200
@@ -117,7 +117,8 @@
     qreal baseLuma = luma(base); // cache value because luma call is expensive
     double ri = contrastRatioForLuma(baseLuma, luma(color));
     double rg = 1.0 + ((ri + 1.0) * amount * amount * amount);
-    double u = 1.0, l = 0.0;
+    double u = 1.0;
+    double l = 0.0;
     QColor result;
     for (int i = 12; i; --i) {
         double a = 0.5 * (l + u);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kguiaddons-5.85.0/src/fonts/kfontutils.cpp 
new/kguiaddons-5.86.0/src/fonts/kfontutils.cpp
--- old/kguiaddons-5.85.0/src/fonts/kfontutils.cpp      2021-07-17 
13:54:59.000000000 +0200
+++ new/kguiaddons-5.86.0/src/fonts/kfontutils.cpp      2021-09-04 
17:44:43.000000000 +0200
@@ -36,12 +36,14 @@
                                 AdaptFontSizeOptions flags)
 {
     // A invalid range is an error (-1)
-    if (maxFontSize < minFontSize)
+    if (maxFontSize < minFontSize) {
         return -1;
+    }
 
     // If the max font size already fits, return it
-    if (checkFits(painter, string, width, height, maxFontSize, flags))
+    if (checkFits(painter, string, width, height, maxFontSize, flags)) {
         return maxFontSize;
+    }
 
     qreal fontSizeDoesNotFit = maxFontSize;
 
@@ -52,8 +54,9 @@
         fontSizeDoesNotFit = minFontSize;
 
         minFontSize = 1;
-        if (!checkFits(painter, string, width, height, minFontSize, flags))
+        if (!checkFits(painter, string, width, height, minFontSize, flags)) {
             return -1;
+        }
     }
 
     qreal fontSizeFits = minFontSize;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kguiaddons-5.85.0/src/recorder/keysequencerecorder.cpp 
new/kguiaddons-5.86.0/src/recorder/keysequencerecorder.cpp
--- old/kguiaddons-5.85.0/src/recorder/keysequencerecorder.cpp  2021-07-17 
13:54:59.000000000 +0200
+++ new/kguiaddons-5.86.0/src/recorder/keysequencerecorder.cpp  2021-09-04 
17:44:43.000000000 +0200
@@ -247,7 +247,7 @@
 {
     Q_OBJECT
 public:
-    KeySequenceRecorderPrivate(KeySequenceRecorder *q);
+    KeySequenceRecorderPrivate(KeySequenceRecorder *qq);
 
     void controlModifierlessTimeout();
     bool eventFilter(QObject *watched, QEvent *event) override;
@@ -267,9 +267,9 @@
     std::unique_ptr<ShortcutInhibition> m_inhibition;
 };
 
-KeySequenceRecorderPrivate::KeySequenceRecorderPrivate(KeySequenceRecorder *q)
-    : QObject(q)
-    , q(q)
+KeySequenceRecorderPrivate::KeySequenceRecorderPrivate(KeySequenceRecorder *qq)
+    : QObject(qq)
+    , q(qq)
 {
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kguiaddons-5.85.0/src/text/kdatevalidator.cpp 
new/kguiaddons-5.86.0/src/text/kdatevalidator.cpp
--- old/kguiaddons-5.85.0/src/text/kdatevalidator.cpp   2021-07-17 
13:54:59.000000000 +0200
+++ new/kguiaddons-5.86.0/src/text/kdatevalidator.cpp   2021-09-04 
17:44:43.000000000 +0200
@@ -15,8 +15,8 @@
 class KDateValidatorPrivate
 {
 public:
-    KDateValidatorPrivate(KDateValidator *q)
-        : q(q)
+    KDateValidatorPrivate(KDateValidator *qq)
+        : q(qq)
     {
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kguiaddons-5.85.0/src/text/kwordwrap.cpp 
new/kguiaddons-5.86.0/src/text/kwordwrap.cpp
--- old/kguiaddons-5.85.0/src/text/kwordwrap.cpp        2021-07-17 
13:54:59.000000000 +0200
+++ new/kguiaddons-5.86.0/src/text/kwordwrap.cpp        2021-09-04 
17:44:43.000000000 +0200
@@ -159,16 +159,17 @@
 
 QString KWordWrap::wrappedString() const
 {
+    const QStringView strView(d->m_text);
     // We use the calculated break positions to insert '\n' into the string
     QString ws;
     int start = 0;
     for (int i = 0; i < d->m_breakPositions.count(); ++i) {
         int end = d->m_breakPositions.at(i);
-        ws += d->m_text.midRef(start, end - start + 1);
+        ws += strView.mid(start, end - start + 1);
         ws += QLatin1Char('\n');
         start = end + 1;
     }
-    ws += d->m_text.midRef(start);
+    ws += strView.mid(start);
     return ws;
 }
 
@@ -288,12 +289,13 @@
     if ((d->m_constrainingRect.height() < 0) || ((y + height) <= 
d->m_constrainingRect.height())) {
         if (i == d->m_breakPositions.count()) {
             painter->drawText(x, textY + y + ascent, d->m_text.mid(start));
-        } else if (flags & FadeOut)
+        } else if (flags & FadeOut) {
             drawFadeoutText(painter, textX, textY + y + ascent, 
d->m_constrainingRect.width(), d->m_text.mid(start));
-        else if (flags & Truncate)
+        } else if (flags & Truncate) {
             drawTruncateText(painter, textX, textY + y + ascent, 
d->m_constrainingRect.width(), d->m_text.mid(start));
-        else
+        } else {
             painter->drawText(x, textY + y + ascent, d->m_text.mid(start));
+        }
     }
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kguiaddons-5.85.0/src/util/kmodifierkeyinfo.cpp 
new/kguiaddons-5.86.0/src/util/kmodifierkeyinfo.cpp
--- old/kguiaddons-5.85.0/src/util/kmodifierkeyinfo.cpp 2021-07-17 
13:54:59.000000000 +0200
+++ new/kguiaddons-5.86.0/src/util/kmodifierkeyinfo.cpp 2021-09-04 
17:44:43.000000000 +0200
@@ -15,8 +15,9 @@
 {
     QPluginLoader 
loader(QStringLiteral("kf5/kguiaddons/kmodifierkey/kmodifierkey_") + 
qGuiApp->platformName());
     auto instance = dynamic_cast<KModifierKeyInfoProvider 
*>(loader.instance());
-    if (instance)
+    if (instance) {
         return instance;
+    }
     qCWarning(KGUIADDONS_LOG) << "Error: could not load plugin for platform" 
<< loader.fileName() << "error:" << loader.errorString() << loader.instance();
     return new KModifierKeyInfoProvider;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kguiaddons-5.85.0/src/util/kmodifierkeyinfoprovider_xcb.cpp 
new/kguiaddons-5.86.0/src/util/kmodifierkeyinfoprovider_xcb.cpp
--- old/kguiaddons-5.85.0/src/util/kmodifierkeyinfoprovider_xcb.cpp     
2021-07-17 13:54:59.000000000 +0200
+++ new/kguiaddons-5.86.0/src/util/kmodifierkeyinfoprovider_xcb.cpp     
2021-09-04 17:44:43.000000000 +0200
@@ -61,7 +61,10 @@
 {
     if (qApp) {
         if (qApp->platformName() == QLatin1String("xcb")) {
-            int code, xkberr, maj, min;
+            int code;
+            int xkberr;
+            int maj;
+            int min;
             m_xkbAvailable = XkbQueryExtension(QX11Info::display(), &code, 
&m_xkbEv, &xkberr, &maj, &min);
         }
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kguiaddons-5.85.0/tests/kcolorcollectiontest.cpp 
new/kguiaddons-5.86.0/tests/kcolorcollectiontest.cpp
--- old/kguiaddons-5.85.0/tests/kcolorcollectiontest.cpp        2021-07-17 
13:54:59.000000000 +0200
+++ new/kguiaddons-5.86.0/tests/kcolorcollectiontest.cpp        2021-09-04 
17:44:43.000000000 +0200
@@ -22,7 +22,9 @@
         printf("Description:\n\"%s\"\n", 
myColorCollection.description().toLatin1().constData());
         printf("Nr of Colors = %d\n", myColorCollection.count());
         for (int i = 0; i < myColorCollection.count(); i++) {
-            int r, g, b;
+            int r;
+            int g;
+            int b;
             myColorCollection.color(i).getRgb(&r, &g, &b);
             printf("#%d Name = \"%s\" #%02x%02x%02x\n", i, 
myColorCollection.name(i).toLatin1().constData(), r, g, b);
         }

Reply via email to