Hello community,

here is the log from the commit of package kiconthemes for openSUSE:Factory 
checked in at 2016-11-17 12:31:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kiconthemes (Old)
 and      /work/SRC/openSUSE:Factory/.kiconthemes.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kiconthemes"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kiconthemes/kiconthemes.changes  2016-10-28 
12:20:08.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kiconthemes.new/kiconthemes.changes     
2016-11-17 12:32:01.000000000 +0100
@@ -1,0 +2,8 @@
+Sat Nov  5 22:06:13 UTC 2016 - [email protected]
+
+- Update to 5.28.0
+  * Support non integer scale factors in kiconengine (kde#366451)
+  * For more details please see:
+    https://www.kde.org/announcements/kde-frameworks-5.28.0.php
+
+-------------------------------------------------------------------

Old:
----
  kiconthemes-5.27.0.tar.xz

New:
----
  kiconthemes-5.28.0.tar.xz

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

Other differences:
------------------
++++++ kiconthemes.spec ++++++
--- /var/tmp/diff_new_pack.MUTM4i/_old  2016-11-17 12:32:02.000000000 +0100
+++ /var/tmp/diff_new_pack.MUTM4i/_new  2016-11-17 12:32:02.000000000 +0100
@@ -18,9 +18,9 @@
 
 %bcond_without lang
 %define lname   libKF5IconThemes5
-%define _tar_path 5.27
+%define _tar_path 5.28
 Name:           kiconthemes
-Version:        5.27.0
+Version:        5.28.0
 Release:        0
 %define kf5_version %{version}
 BuildRequires:  cmake >= 2.8.12

++++++ kiconthemes-5.27.0.tar.xz -> kiconthemes-5.28.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kiconthemes-5.27.0/CMakeLists.txt 
new/kiconthemes-5.28.0/CMakeLists.txt
--- old/kiconthemes-5.27.0/CMakeLists.txt       2016-10-02 11:52:14.000000000 
+0200
+++ new/kiconthemes-5.28.0/CMakeLists.txt       2016-11-05 15:50:36.000000000 
+0100
@@ -4,7 +4,7 @@
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.27.0  NO_MODULE)
+find_package(ECM 5.28.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)
 
@@ -20,8 +20,8 @@
 include(ECMMarkNonGuiExecutable)
 include(ECMQtDeclareLoggingCategory)
 
-set(KF5_VERSION "5.27.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.27.0") # handled by release scripts
+set(KF5_VERSION "5.28.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.28.0") # handled by release scripts
 
 ecm_setup_version(${KF5_VERSION}
                   VARIABLE_PREFIX KICONTHEMES
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kiconthemes-5.27.0/src/kiconengine.cpp 
new/kiconthemes-5.28.0/src/kiconengine.cpp
--- old/kiconthemes-5.27.0/src/kiconengine.cpp  2016-10-02 11:52:14.000000000 
+0200
+++ new/kiconthemes-5.28.0/src/kiconengine.cpp  2016-11-05 15:50:36.000000000 
+0100
@@ -74,7 +74,11 @@
 
     Q_UNUSED(state)
 
-    qreal dpr = painter->device()->devicePixelRatio();
+#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
+    const qreal dpr = painter->device()->devicePixelRatioF();
+#else
+    const qreal dpr = painter->device()->devicePixelRatio();
+#endif
 
     const int kstate = qIconModeToKIconState(mode);
     const int iconSize = qMin(rect.width(), rect.height()) * dpr;


Reply via email to