Hello community,

here is the log from the commit of package attica-qt5 for openSUSE:Factory 
checked in at 2017-01-31 11:53:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/attica-qt5 (Old)
 and      /work/SRC/openSUSE:Factory/.attica-qt5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "attica-qt5"

Changes:
--------
--- /work/SRC/openSUSE:Factory/attica-qt5/attica-qt5.changes    2016-12-17 
11:02:42.664841009 +0100
+++ /work/SRC/openSUSE:Factory/.attica-qt5.new/attica-qt5.changes       
2017-02-03 17:31:45.759131979 +0100
@@ -1,0 +2,7 @@
+Sun Jan  8 23:36:49 UTC 2017 - hrvoje.sen...@gmail.com
+
+- Update to 5.30.0
+  * For more details please see:
+    https://www.kde.org/announcements/kde-frameworks-5.30.0.php
+
+-------------------------------------------------------------------

Old:
----
  attica-5.29.0.tar.xz

New:
----
  attica-5.30.0.tar.xz

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

Other differences:
------------------
++++++ attica-qt5.spec ++++++
--- /var/tmp/diff_new_pack.8zO6lp/_old  2017-02-03 17:31:46.391042541 +0100
+++ /var/tmp/diff_new_pack.8zO6lp/_new  2017-02-03 17:31:46.395041975 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package attica-qt5
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,9 +19,9 @@
 %define sonum   5
 %define rname attica
 %define _libname KF5Attica
-%define _tar_path 5.29
+%define _tar_path 5.30
 Name:           attica-qt5
-Version:        5.29.0
+Version:        5.30.0
 Release:        0
 Summary:        Open Collaboration Service client library
 License:        LGPL-2.1+
@@ -29,7 +29,7 @@
 Url:            https://projects.kde.org/attica
 Source:         
http://download.kde.org/stable/frameworks/%{_tar_path}/%{rname}-%{version}.tar.xz
 Source99:       baselibs.conf
-BuildRequires:  cmake >= 2.8.12
+BuildRequires:  cmake >= 3.0
 BuildRequires:  extra-cmake-modules >= %{_tar_path}
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem

++++++ attica-5.29.0.tar.xz -> attica-5.30.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/attica-5.29.0/CMakeLists.txt 
new/attica-5.30.0/CMakeLists.txt
--- old/attica-5.29.0/CMakeLists.txt    2016-12-03 11:04:49.000000000 +0100
+++ new/attica-5.30.0/CMakeLists.txt    2017-01-08 16:11:28.000000000 +0100
@@ -1,10 +1,11 @@
-cmake_minimum_required(VERSION 2.8.12)
+cmake_minimum_required(VERSION 3.0)
 
-project(Attica)
+set(KF5_VERSION "5.30.0") # handled by release scripts
+project(Attica VERSION ${KF5_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.29.0  NO_MODULE)
+find_package(ECM 5.30.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL 
"https://projects.kde.org/projects/kdesupport/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
@@ -13,15 +14,14 @@
 include(GenerateExportHeader)
 include(ECMSetupVersion)
 include(ECMGenerateHeaders)
-include(ECMPackageConfigHelpers) # Used to create CMake config files
+include(CMakePackageConfigHelpers) # Used to create CMake config files
 include(ECMQtDeclareLoggingCategory)
 include(KDEInstallDirs) # Used to set installation paths
 include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
 include(KDECMakeSettings)
 
-set(KF5_VERSION "5.29.0") # handled by release scripts
 
-ecm_setup_version(${KF5_VERSION}
+ecm_setup_version(PROJECT
     VARIABLE_PREFIX ATTICA
     VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/attica_version.h"
     PACKAGE_VERSION_FILE 
"${CMAKE_CURRENT_BINARY_DIR}/KF5AtticaConfigVersion.cmake"
@@ -53,7 +53,7 @@
 set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5Attica")
 
 # Create the CMake Config files
-ecm_configure_package_config_file(
+configure_package_config_file(
     "${CMAKE_CURRENT_SOURCE_DIR}/KF5AtticaConfig.cmake.in"
     "${CMAKE_CURRENT_BINARY_DIR}/KF5AtticaConfig.cmake"
     INSTALL_DESTINATION "${CMAKECONFIG_INSTALL_DIR}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/attica-5.29.0/KF5AtticaConfig.cmake.in 
new/attica-5.30.0/KF5AtticaConfig.cmake.in
--- old/attica-5.29.0/KF5AtticaConfig.cmake.in  2016-12-03 11:04:49.000000000 
+0100
+++ new/attica-5.30.0/KF5AtticaConfig.cmake.in  2017-01-08 16:11:28.000000000 
+0100
@@ -1,6 +1,7 @@
 @PACKAGE_INIT@
 
 # Required components to use this framework
+include(CMakeFindDependencyMacro)
 find_dependency(Qt5Core "@REQUIRED_QT_VERSION@")
 find_dependency(Qt5Network "@REQUIRED_QT_VERSION@")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/attica-5.29.0/metainfo.yaml 
new/attica-5.30.0/metainfo.yaml
--- old/attica-5.29.0/metainfo.yaml     2016-12-03 11:04:49.000000000 +0100
+++ new/attica-5.30.0/metainfo.yaml     2017-01-08 16:11:28.000000000 +0100
@@ -4,6 +4,7 @@
 type: functional
 platforms:
     - name: Linux
+    - name: FreeBSD
     - name: Windows
     - name: MacOSX
     - name: Android
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/attica-5.29.0/src/contentparser.cpp 
new/attica-5.30.0/src/contentparser.cpp
--- old/attica-5.29.0/src/contentparser.cpp     2016-12-03 11:04:49.000000000 
+0100
+++ new/attica-5.30.0/src/contentparser.cpp     2017-01-08 16:11:28.000000000 
+0100
@@ -57,12 +57,14 @@
             } else if (xml.name() == QLatin1String("icon")) {
                 Icon icon;
                 icon.setUrl(QUrl(xml.readElementText()));
-                QXmlStreamAttributes attributes = xml.attributes();
-                if (attributes.hasAttribute(QLatin1String("width"))) {
-                    
icon.setWidth(attributes.value(QLatin1String("width")).toString().toInt());
+                const QXmlStreamAttributes attributes = xml.attributes();
+                const QStringRef width = 
attributes.value(QLatin1String("width"));
+                const QStringRef height = 
attributes.value(QLatin1String("height"));
+                if (!width.isEmpty()) {
+                    icon.setWidth(width.toInt());
                 }
-                if (attributes.hasAttribute(QLatin1String("height"))) {
-                    
icon.setHeight(attributes.value(QLatin1String("height")).toString().toInt());
+                if (!height.isEmpty()) {
+                    icon.setHeight(height.toInt());
                 }
                 // append the icon to the current list of icons
                 QList<Icon> icons;


Reply via email to