Hello community,

here is the log from the commit of package kiconthemes for openSUSE:Factory 
checked in at 2018-03-20 21:45:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kiconthemes (Old)
 and      /work/SRC/openSUSE:Factory/.kiconthemes.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kiconthemes"

Tue Mar 20 21:45:40 2018 rev:54 rq:586832 version:5.44.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kiconthemes/kiconthemes.changes  2018-02-16 
21:31:09.408353993 +0100
+++ /work/SRC/openSUSE:Factory/.kiconthemes.new/kiconthemes.changes     
2018-03-20 21:45:43.177311226 +0100
@@ -1,0 +2,10 @@
+Mon Mar 12 23:29:41 CET 2018 - lbeltr...@kde.org
+
+- Update to 5.44.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.44.0.php
+- Changes since 5.43.0:
+  * [KIconLoader] Take into account devicePixelRatio for overlays
+
+-------------------------------------------------------------------

Old:
----
  kiconthemes-5.43.0.tar.xz

New:
----
  kiconthemes-5.44.0.tar.xz

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

Other differences:
------------------
++++++ kiconthemes.spec ++++++
--- /var/tmp/diff_new_pack.kyErVX/_old  2018-03-20 21:45:44.357268759 +0100
+++ /var/tmp/diff_new_pack.kyErVX/_new  2018-03-20 21:45:44.357268759 +0100
@@ -18,13 +18,13 @@
 
 %bcond_without lang
 %define lname   libKF5IconThemes5
-%define _tar_path 5.43
+%define _tar_path 5.44
 # Full KF5 version (e.g. 5.33.0)
 %{!?_kf5_version: %global _kf5_version %{version}}
 # Last major and minor KF5 version (e.g. 5.33)
 %{!?_kf5_bugfix_version: %global _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 Name:           kiconthemes
-Version:        5.43.0
+Version:        5.44.0
 Release:        0
 %define kf5_version %{version}
 BuildRequires:  cmake >= 3.0

++++++ kiconthemes-5.43.0.tar.xz -> kiconthemes-5.44.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kiconthemes-5.43.0/CMakeLists.txt 
new/kiconthemes-5.44.0/CMakeLists.txt
--- old/kiconthemes-5.43.0/CMakeLists.txt       2018-02-05 13:00:27.000000000 
+0100
+++ new/kiconthemes-5.44.0/CMakeLists.txt       2018-03-03 11:04:07.000000000 
+0100
@@ -1,12 +1,12 @@
 cmake_minimum_required(VERSION 3.0)
 
-set(KF5_VERSION "5.43.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.43.0") # handled by release scripts
+set(KF5_VERSION "5.44.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.44.0") # handled by release scripts
 project(KIconThemes VERSION ${KF5_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.43.0  NO_MODULE)
+find_package(ECM 5.44.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)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kiconthemes-5.43.0/po/id/kiconthemes5.po 
new/kiconthemes-5.44.0/po/id/kiconthemes5.po
--- old/kiconthemes-5.43.0/po/id/kiconthemes5.po        2018-02-05 
13:00:27.000000000 +0100
+++ new/kiconthemes-5.44.0/po/id/kiconthemes5.po        2018-03-03 
11:04:07.000000000 +0100
@@ -7,7 +7,7 @@
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2016-11-19 20:11+0100\n"
-"PO-Revision-Date: 2018-01-27 07:05+0700\n"
+"PO-Revision-Date: 2018-03-02 21:29+0700\n"
 "Last-Translator: Wantoyo <wanto...@gmail.com>\n"
 "Language-Team: Indonesian <kde-i18n-...@kde.org>\n"
 "Language: id\n"
@@ -105,4 +105,4 @@
 #: kicondialog.cpp:602
 #, kde-format
 msgid "*.png *.xpm *.svg *.svgz|Icon Files (*.png *.xpm *.svg *.svgz)"
-msgstr "*.png *.xpm *.svg *.svgz|File Ikon (*.png *.xpm *.svg *.svgz)"
+msgstr "*.png *.xpm *.svg *.svgz|Fail Ikon (*.png *.xpm *.svg *.svgz)"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kiconthemes-5.43.0/po/zh_CN/kiconthemes5.po 
new/kiconthemes-5.44.0/po/zh_CN/kiconthemes5.po
--- old/kiconthemes-5.43.0/po/zh_CN/kiconthemes5.po     2018-02-05 
13:00:27.000000000 +0100
+++ new/kiconthemes-5.44.0/po/zh_CN/kiconthemes5.po     2018-03-03 
11:04:07.000000000 +0100
@@ -17,7 +17,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2016-11-19 20:11+0100\n"
-"PO-Revision-Date: 2018-02-01 07:11-0500\n"
+"PO-Revision-Date: 2018-02-28 02:23-0500\n"
 "Last-Translator: guoyunhebrave <guoyunhebr...@gmail.com>\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kiconthemes-5.43.0/src/kiconloader.cpp 
new/kiconthemes-5.44.0/src/kiconloader.cpp
--- old/kiconthemes-5.43.0/src/kiconloader.cpp  2018-02-05 13:00:27.000000000 
+0100
+++ new/kiconthemes-5.44.0/src/kiconloader.cpp  2018-03-03 11:04:07.000000000 
+0100
@@ -508,33 +508,39 @@
         //TODO: should we pass in the kstate? it results in a slower
         //      path, and perhaps emblems should remain in the default state
         //      anyways?
-        const QPixmap pixmap = iconLoader->loadIcon(overlay, group, 
overlaySize, state, QStringList(), nullptr, true);
+        QPixmap pixmap = iconLoader->loadIcon(overlay, group, overlaySize, 
state, QStringList(), nullptr, true);
 
         if (pixmap.isNull()) {
             continue;
         }
 
+        // match the emblem's devicePixelRatio to the original pixmap's
+        pixmap.setDevicePixelRatio(pix.devicePixelRatio());
+        const int margin = 2 * pixmap.devicePixelRatio();
+
         QPoint startPoint;
         switch (count) {
         case 0:
             // bottom left corner
-            startPoint = QPoint(2, height - overlaySize - 2);
+            startPoint = QPoint(margin, height - overlaySize - margin);
             break;
         case 1:
             // bottom right corner
-            startPoint = QPoint(width - overlaySize - 2,
-                                height - overlaySize - 2);
+            startPoint = QPoint(width - overlaySize - margin,
+                                height - overlaySize - margin);
             break;
         case 2:
             // top right corner
-            startPoint = QPoint(width - overlaySize - 2, 2);
+            startPoint = QPoint(width - overlaySize - margin, margin);
             break;
         case 3:
             // top left corner
-            startPoint = QPoint(2, 2);
+            startPoint = QPoint(margin, margin);
             break;
         }
 
+        startPoint /= pix.devicePixelRatio();
+
         painter.drawPixmap(startPoint, pixmap);
 
         ++count;


Reply via email to