Script 'mail_helper' called by obssrc
Hello community,

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

Package is "attica-qt5"

Thu Sep 16 23:13:40 2021 rev:95 rq:919166 version:5.86.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/attica-qt5/attica-qt5.changes    2021-08-16 
10:09:36.719237481 +0200
+++ /work/SRC/openSUSE:Factory/.attica-qt5.new.1899/attica-qt5.changes  
2021-09-16 23:15:22.459841964 +0200
@@ -1,0 +2,15 @@
+Wed Sep 15 08:23:54 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Drop the unneeded baselibs.conf.
+
+-------------------------------------------------------------------
+Mon Sep  6 06:21:48 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:
+  * Port to QStringView
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ attica-qt5.spec ++++++
--- /var/tmp/diff_new_pack.n2iQ6o/_old  2021-09-16 23:15:23.015842540 +0200
+++ /var/tmp/diff_new_pack.n2iQ6o/_new  2021-09-16 23:15:23.019842543 +0200
@@ -19,7 +19,7 @@
 %define sonum   5
 %define rname attica
 %define _libname KF5Attica
-%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)
@@ -27,7 +27,7 @@
 # Only needed for the package signature condition
 %bcond_without lang
 Name:           attica-qt5
-Version:        5.85.0
+Version:        5.86.0
 Release:        0
 Summary:        Open Collaboration Service client library
 License:        LGPL-2.1-or-later
@@ -38,7 +38,6 @@
 Source1:        
https://download.kde.org/stable/frameworks/%{_tar_path}/%{rname}-%{version}.tar.xz.sig
 Source2:        frameworks.keyring
 %endif
-Source99:       baselibs.conf
 BuildRequires:  extra-cmake-modules >= %{_kf5_bugfix_version}
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem

++++++ attica-5.85.0.tar.xz -> attica-5.86.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/attica-5.85.0/.git-blame-ignore-revs 
new/attica-5.86.0/.git-blame-ignore-revs
--- old/attica-5.85.0/.git-blame-ignore-revs    2021-07-15 00:25:59.000000000 
+0200
+++ new/attica-5.86.0/.git-blame-ignore-revs    2021-09-04 17:39:58.000000000 
+0200
@@ -1,3 +1,4 @@
-#clang-format
+#clang-format/tidy
 1a83c332f5f67e9b2720cf60a8fe2b917be216f6
 03e3238586140114e64bd5d60e76f91112f542f7
+ad4035e86c84cbd74f0a4f88b14016cc906e1ade
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/attica-5.85.0/CMakeLists.txt 
new/attica-5.86.0/CMakeLists.txt
--- old/attica-5.85.0/CMakeLists.txt    2021-07-15 00:25:59.000000000 +0200
+++ new/attica-5.86.0/CMakeLists.txt    2021-09-04 17:39:58.000000000 +0200
@@ -1,11 +1,11 @@
 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(Attica VERSION ${KF_VERSION})
 
 # ECM setup
 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)
 
@@ -36,7 +36,7 @@
     SOVERSION 5)
 
 # Dependencies
-set(REQUIRED_QT_VERSION 5.15.0)
+set(REQUIRED_QT_VERSION 5.15.2)
 
 # Required Qt5 components to build this framework
 find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core Network)
@@ -45,7 +45,7 @@
 
 # Enable static build
 option(ATTICA_STATIC_BUILD "Build a static library" Off)
-add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
+add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f02)
 add_subdirectory(src)
 
 # Enable unit testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/attica-5.85.0/metainfo.yaml 
new/attica-5.86.0/metainfo.yaml
--- old/attica-5.85.0/metainfo.yaml     2021-07-15 00:25:59.000000000 +0200
+++ new/attica-5.86.0/metainfo.yaml     2021-09-04 17:39:58.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/attica-5.85.0/src/contentparser.cpp 
new/attica-5.86.0/src/contentparser.cpp
--- old/attica-5.85.0/src/contentparser.cpp     2021-07-15 00:25:59.000000000 
+0200
+++ new/attica-5.86.0/src/contentparser.cpp     2021-09-04 17:39:58.000000000 
+0200
@@ -42,15 +42,19 @@
             } else if (xml.name() == QLatin1String("icon")) {
                 Icon icon;
                 icon.setUrl(QUrl(xml.readElementText()));
+
                 const QXmlStreamAttributes attributes = xml.attributes();
-                const QStringRef width = 
attributes.value(QLatin1String("width"));
-                const QStringRef height = 
attributes.value(QLatin1String("height"));
+
+                const auto width = attributes.value(QLatin1String("width"));
                 if (!width.isEmpty()) {
                     icon.setWidth(width.toInt());
                 }
+
+                const auto height = attributes.value(QLatin1String("height"));
                 if (!height.isEmpty()) {
                     icon.setHeight(height.toInt());
                 }
+
                 // append the icon to the current list of icons
                 QList<Icon> icons;
                 icons = content.icons();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/attica-5.85.0/src/parser.cpp 
new/attica-5.86.0/src/parser.cpp
--- old/attica-5.85.0/src/parser.cpp    2021-07-15 00:25:59.000000000 +0200
+++ new/attica-5.86.0/src/parser.cpp    2021-09-04 17:39:58.000000000 +0200
@@ -11,15 +11,6 @@
 
 using namespace Attica;
 
-static bool stringList_contains_stringRef(const QStringList &stringList, const 
QStringRef &str)
-{
-    for (const auto &string : stringList) {
-        if (str == string)
-            return true;
-    }
-    return false;
-}
-
 template<class T>
 Parser<T>::~Parser()
 {
@@ -39,7 +30,7 @@
         if (xml.isStartElement()) {
             if (xml.name() == QLatin1String("meta")) {
                 parseMetadataXml(xml);
-            } else if (stringList_contains_stringRef(elements, xml.name())) {
+            } else if (elements.contains(xml.name())) {
                 item = parseXml(xml);
             }
         }
@@ -121,7 +112,7 @@
                         break;
                     }
 
-                    if (xml.isStartElement() && 
stringList_contains_stringRef(elements, xml.name())) {
+                    if (xml.isStartElement() && elements.contains(xml.name())) 
{
                         // qCDebug(ATTICA) << "xxxxxxxxx New Item!" << 
xml.name().toString();
                         items.append(parseXml(xml));
                     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/attica-5.85.0/src/provider.cpp 
new/attica-5.86.0/src/provider.cpp
--- old/attica-5.85.0/src/provider.cpp  2021-07-15 00:25:59.000000000 +0200
+++ new/attica-5.86.0/src/provider.cpp  2021-09-04 17:39:58.000000000 +0200
@@ -70,10 +70,11 @@
 
 QDebug operator<<(QDebug s, const Attica::Provider &prov)
 {
-    if (prov.isValid())
+    if (prov.isValid()) {
         s.nospace() << "Provider(" << prov.name() << ':' << prov.baseUrl() << 
')';
-    else
+    } else {
         s.nospace() << "Provider(Invalid)";
+    }
     return s.space();
 }
 
@@ -572,7 +573,8 @@
     }
 
     StringMap postParameters;
-    int i = 0, j = 0;
+    int i = 0;
+    int j = 0;
 
     postParameters.insert(QLatin1String("name"), newAchievement.name());
     postParameters.insert(QLatin1String("description"), 
newAchievement.description());
@@ -607,7 +609,8 @@
     }
 
     StringMap postParameters;
-    int i = 0, j = 0;
+    int i = 0;
+    int j = 0;
 
     postParameters.insert(QLatin1String("name"), achievement.name());
     postParameters.insert(QLatin1String("description"), 
achievement.description());
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/attica-5.85.0/src/providermanager.cpp 
new/attica-5.86.0/src/providermanager.cpp
--- old/attica-5.85.0/src/providermanager.cpp   2021-07-15 00:25:59.000000000 
+0200
+++ new/attica-5.86.0/src/providermanager.cpp   2021-09-04 17:39:58.000000000 
+0200
@@ -144,10 +144,11 @@
 {
     QNetworkReply *reply = d->m_downloads.take(url);
     if (reply) {
-        if (reply->error())
+        if (reply->error()) {
             Q_EMIT failedToLoad(QUrl(url), reply->error());
-        else
+        } else {
             parseProviderFile(QLatin1String(reply->readAll()), QUrl(url));
+        }
         reply->deleteLater();
     } else {
         Q_EMIT failedToLoad(QUrl(url), QNetworkReply::UnknownNetworkError);

Reply via email to