Hello community,

here is the log from the commit of package kqtquickcharts for openSUSE:Factory 
checked in at 2019-12-14 12:13:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kqtquickcharts (Old)
 and      /work/SRC/openSUSE:Factory/.kqtquickcharts.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kqtquickcharts"

Sat Dec 14 12:13:05 2019 rev:71 rq:756276 version:19.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kqtquickcharts/kqtquickcharts.changes    
2019-11-13 13:21:24.147265060 +0100
+++ /work/SRC/openSUSE:Factory/.kqtquickcharts.new.4691/kqtquickcharts.changes  
2019-12-14 12:17:05.427261240 +0100
@@ -1,0 +2,26 @@
+Tue Dec 10 06:38:51 UTC 2019 - Luca Beltrame <[email protected]>
+
+- Update to 19.12.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/releases/19.12.0
+- No code change since 19.11.90
+
+-------------------------------------------------------------------
+Sat Nov 30 09:12:11 UTC 2019 - Luca Beltrame <[email protected]>
+
+- Update to 19.11.90
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/releases/19.12-rc
+- No code change since 19.11.80
+
+-------------------------------------------------------------------
+Sun Nov 24 13:29:44 UTC 2019 - Luca Beltrame <[email protected]>
+
+- Update to 19.11.80
+  * New feature release
+- Changes since 19.08.3:
+  * Make it compile without deprecated method
+
+-------------------------------------------------------------------

Old:
----
  kqtquickcharts-19.08.3.tar.xz
  kqtquickcharts-19.08.3.tar.xz.sig

New:
----
  kqtquickcharts-19.12.0.tar.xz
  kqtquickcharts-19.12.0.tar.xz.sig

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

Other differences:
------------------
++++++ kqtquickcharts.spec ++++++
--- /var/tmp/diff_new_pack.UWerlZ/_old  2019-12-14 12:17:06.311261086 +0100
+++ /var/tmp/diff_new_pack.UWerlZ/_new  2019-12-14 12:17:06.319261085 +0100
@@ -16,28 +16,27 @@
 #
 
 
-%define kf5_version 5.26.0
+%define kf5_version 5.60.0
 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
 %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print 
$1"."$2}')}
 %bcond_without lang
 Name:           kqtquickcharts
-Version:        19.08.3
+Version:        19.12.0
 Release:        0
 Summary:        Plugin to render beautiful and interactive graphs
 License:        LGPL-2.1-or-later
 Group:          Amusements/Teaching/Other
 URL:            https://edu.kde.org
-Source:         
https://download.kde.org/stable/applications/%{version}/src/%{name}-%{version}.tar.xz
+Source:         
https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
 %if %{with lang}
-Source1:        
https://download.kde.org/stable/applications/%{version}/src/%{name}-%{version}.tar.xz.sig
+Source1:        
https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
 Source2:        applications.keyring
 %endif
 BuildRequires:  extra-cmake-modules
 BuildRequires:  kf5-filesystem
-BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(Qt5Gui)
-BuildRequires:  pkgconfig(Qt5Qml)
-BuildRequires:  pkgconfig(Qt5Quick)
+BuildRequires:  cmake(Qt5Gui)
+BuildRequires:  cmake(Qt5Qml)
+BuildRequires:  cmake(Qt5Quick)
 
 %description
 A QtQuick plugin to render beautiful and interactive graphs.

++++++ applications.keyring ++++++
Binary files /var/tmp/diff_new_pack.UWerlZ/_old and 
/var/tmp/diff_new_pack.UWerlZ/_new differ

++++++ kqtquickcharts-19.08.3.tar.xz -> kqtquickcharts-19.12.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kqtquickcharts-19.08.3/src/xychartcore.cpp 
new/kqtquickcharts-19.12.0/src/xychartcore.cpp
--- old/kqtquickcharts-19.08.3/src/xychartcore.cpp      2019-05-13 
07:09:57.000000000 +0200
+++ new/kqtquickcharts-19.12.0/src/xychartcore.cpp      2019-09-21 
08:29:33.000000000 +0200
@@ -182,7 +182,7 @@
     foreach(qreal label, m_xAxisLabels)
     {
         QString strLabel = formatLabel(label, xAxis());
-        int labelWidth = painter->fontMetrics().width(strLabel);
+        int labelWidth = painter->fontMetrics().boundingRect(strLabel).width();
         const QPointF point = translatePoint(QPointF(label, 0.0));
         painter->drawText(point.x() - labelWidth / 2, point.y() + labelHeight 
+ m_margin, strLabel);
     }
@@ -190,7 +190,7 @@
     foreach(qreal label, m_yAxisLabels)
     {
         QString strLabel = formatLabel(label, yAxis());
-        int labelWidth = painter->fontMetrics().width(strLabel);
+        int labelWidth = painter->fontMetrics().boundingRect(strLabel).width();
         const QPointF point = translatePoint(QPointF(0.0, label));
         painter->drawText(point.x() - labelWidth - m_margin, point.y() + 
(labelHeight / 2), strLabel);
     }
@@ -251,8 +251,8 @@
     const int minKeyStringLength = formatLabel(minKey, xAxis()).length();
     const int maxKeyStringLength = formatLabel(maxKey, xAxis()).length();
 
-    int maxYLabelWidth = m_labelFontMetrics.width(QStringLiteral("W")) * 
std::max(minValueStringLength, maxValueStringLength);
-    int maxXLabelWidth = m_labelFontMetrics.width(QStringLiteral("W")) * 
std::max(minKeyStringLength, maxKeyStringLength);
+    int maxYLabelWidth = 
m_labelFontMetrics.boundingRect(QStringLiteral("W")).width() * 
std::max(minValueStringLength, maxValueStringLength);
+    int maxXLabelWidth = 
m_labelFontMetrics.boundingRect(QStringLiteral("W")).width() * 
std::max(minKeyStringLength, maxKeyStringLength);
 
     m_lowerLeftCorner.setX(maxYLabelWidth + m_margin);
     m_lowerLeftCorner.setY(height() - m_labelFontMetrics.height() - m_margin);


Reply via email to