Hello community,
here is the log from the commit of package qqc2-desktop-style for
openSUSE:Factory checked in at 2018-10-23 20:36:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qqc2-desktop-style (Old)
and /work/SRC/openSUSE:Factory/.qqc2-desktop-style.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qqc2-desktop-style"
Tue Oct 23 20:36:46 2018 rev:14 rq:642360 version:5.51.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/qqc2-desktop-style/qqc2-desktop-style.changes
2018-10-02 19:45:31.777947620 +0200
+++
/work/SRC/openSUSE:Factory/.qqc2-desktop-style.new/qqc2-desktop-style.changes
2018-10-23 20:36:50.612798552 +0200
@@ -1,0 +2,16 @@
+Tue Oct 16 08:02:50 UTC 2018 - Luca Beltrame <[email protected]>
+
+- Run spec-cleaner
+
+-------------------------------------------------------------------
+Mon Oct 15 11:50:43 UTC 2018 - [email protected]
+
+- Update to 5.51.0
+ * New feature release
+ * For more details please see:
+ * https://www.kde.org/announcements/kde-frameworks-5.51.0.php
+- Changes since 5.50.0:
+ * small default padding when there is a background
+ * Make it compile with "KDEFrameworkCompilerSettings"
+
+-------------------------------------------------------------------
Old:
----
qqc2-desktop-style-5.50.0.tar.xz
New:
----
qqc2-desktop-style-5.51.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ qqc2-desktop-style.spec ++++++
--- /var/tmp/diff_new_pack.fuRNv2/_old 2018-10-23 20:36:51.032798050 +0200
+++ /var/tmp/diff_new_pack.fuRNv2/_new 2018-10-23 20:36:51.036798045 +0200
@@ -12,18 +12,18 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-%define _tar_path 5.50
+%define _tar_path 5.51
Name: qqc2-desktop-style
-Version: 5.50.0
+Version: 5.51.0
Release: 0
Summary: A Qt Quick Controls 2 Style for Desktop UIs
License: GPL-2.0-or-later
Group: Development/Libraries/KDE
-URL: http://www.kde.org/
+URL: https://www.kde.org
Source:
https://download.kde.org/stable/frameworks/%{_tar_path}/qqc2-desktop-style-%{version}.tar.xz
# PATCH-FIX-OPENSUSE
Patch0: fix-build-with-gcc48.patch
++++++ qqc2-desktop-style-5.50.0.tar.xz -> qqc2-desktop-style-5.51.0.tar.xz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qqc2-desktop-style-5.50.0/CMakeLists.txt
new/qqc2-desktop-style-5.51.0/CMakeLists.txt
--- old/qqc2-desktop-style-5.50.0/CMakeLists.txt 2018-09-01
00:25:36.000000000 +0200
+++ new/qqc2-desktop-style-5.51.0/CMakeLists.txt 2018-10-07
12:11:14.000000000 +0200
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.0)
-set(KF5_VERSION "5.50.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.50.0") # handled by release scripts
+set(KF5_VERSION "5.51.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.51.0") # handled by release scripts
project(qqc2-desktop-style VERSION ${KF5_VERSION})
@@ -21,7 +21,7 @@
################# set KDE specific information #################
-find_package(ECM 5.50.0 REQUIRED NO_MODULE)
+find_package(ECM 5.51.0 REQUIRED NO_MODULE)
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is
checked
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH}
${ECM_KDE_MODULE_DIR})
@@ -30,7 +30,7 @@
include(ECMGenerateHeaders)
include(KDEInstallDirs)
include(KDECMakeSettings)
-include(KDECompilerSettings NO_POLICY_SCOPE)
+include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
find_package(Qt5 ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE COMPONENTS Core
Quick Gui Widgets QuickControls2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/qqc2-desktop-style-5.50.0/kirigami-plasmadesktop-integration/plasmadesktoptheme.cpp
new/qqc2-desktop-style-5.51.0/kirigami-plasmadesktop-integration/plasmadesktoptheme.cpp
---
old/qqc2-desktop-style-5.50.0/kirigami-plasmadesktop-integration/plasmadesktoptheme.cpp
2018-09-01 00:25:36.000000000 +0200
+++
new/qqc2-desktop-style-5.51.0/kirigami-plasmadesktop-integration/plasmadesktoptheme.cpp
2018-10-07 12:11:14.000000000 +0200
@@ -139,11 +139,12 @@
private:
QHash<QPair<Kirigami::PlatformTheme::ColorSet, QPalette::ColorGroup>,
Colors> m_cache;
};
-Q_GLOBAL_STATIC_WITH_ARGS(QScopedPointer<StyleSingleton>, s_style, (new
StyleSingleton));
+Q_GLOBAL_STATIC_WITH_ARGS(QScopedPointer<StyleSingleton>, s_style, (new
StyleSingleton))
PlasmaDesktopTheme::PlasmaDesktopTheme(QObject *parent)
: PlatformTheme(parent)
{
+ // setHasCustomIconColoring(true);
m_parentItem = qobject_cast<QQuickItem *>(parent);
//null in case parent is a normal QObject
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/qqc2-desktop-style-5.50.0/org.kde.desktop/ScrollView.qml
new/qqc2-desktop-style-5.51.0/org.kde.desktop/ScrollView.qml
--- old/qqc2-desktop-style-5.50.0/org.kde.desktop/ScrollView.qml
2018-09-01 00:25:36.000000000 +0200
+++ new/qqc2-desktop-style-5.51.0/org.kde.desktop/ScrollView.qml
2018-10-07 12:11:14.000000000 +0200
@@ -41,6 +41,12 @@
Kirigami.Theme.colorSet: Kirigami.Theme.View
Kirigami.Theme.inherit: !background || !background.visible
+ //size in pixel to accomodate the border drawn by qstyle
+ leftPadding: background && background.visible ? 2 : 0
+ topPadding: background && background.visible ? 2 : 0
+ rightPadding: background && background.visible ? 2 : 0
+ bottomPadding: background && background.visible ? 2 : 0
+
//create a background only after Component.onCompleted, see on the
component creation below for explanation
Component.onCompleted: {
if (!controlRoot.background) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qqc2-desktop-style-5.50.0/plugin/kquickpadding_p.h
new/qqc2-desktop-style-5.51.0/plugin/kquickpadding_p.h
--- old/qqc2-desktop-style-5.50.0/plugin/kquickpadding_p.h 2018-09-01
00:25:36.000000000 +0200
+++ new/qqc2-desktop-style-5.51.0/plugin/kquickpadding_p.h 2018-10-07
12:11:14.000000000 +0200
@@ -71,13 +71,13 @@
int right() const { return m_right; }
int bottom() const { return m_bottom; }
-public slots:
+public Q_SLOTS:
void setLeft(int arg) { if (m_left != arg) {m_left = arg; emit
leftChanged();}}
void setTop(int arg) { if (m_top != arg) {m_top = arg; emit topChanged();}}
void setRight(int arg) { if (m_right != arg) {m_right = arg; emit
rightChanged();}}
void setBottom(int arg) {if (m_bottom != arg) {m_bottom = arg; emit
bottomChanged();}}
-signals:
+Q_SIGNALS:
void leftChanged();
void topChanged();
void rightChanged();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qqc2-desktop-style-5.50.0/plugin/kquickstyleitem.cpp
new/qqc2-desktop-style-5.51.0/plugin/kquickstyleitem.cpp
--- old/qqc2-desktop-style-5.50.0/plugin/kquickstyleitem.cpp 2018-09-01
00:25:36.000000000 +0200
+++ new/qqc2-desktop-style-5.51.0/plugin/kquickstyleitem.cpp 2018-10-07
12:11:14.000000000 +0200
@@ -453,7 +453,7 @@
}
if (m_properties[QStringLiteral("icon")].canConvert<QIcon>())
opt->icon =
m_properties[QStringLiteral("icon")].value<QIcon>();
- setProperty("_q_showUnderlined",
m_hints["showUnderlined"].toBool());
+ setProperty("_q_showUnderlined",
m_hints[QStringLiteral("showUnderlined")].toBool());
const QFont font = qApp->font(m_itemType == ComboBoxItem
?"QComboMenuItem" : "QMenu");
opt->font = font;
@@ -736,7 +736,7 @@
QString KQuickStyleItem::style() const
{
- QString style = qApp->style()->metaObject()->className();
+ QString style =
QString::fromLatin1(qApp->style()->metaObject()->className());
style = style.toLower();
if (style.startsWith(QLatin1Char('q')))
style = style.right(style.length() - 1);
@@ -1679,7 +1679,7 @@
QStyleOptionViewItem opt;
opt.state |= QStyle::State_Enabled;
opt.rect = QRect(0, 0, width, height);
- QString style = qApp->style()->metaObject()->className();
+ QString style =
QString::fromLatin1(qApp->style()->metaObject()->className());
opt.features = 0;
if (id.contains(QLatin1String("selected")))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/qqc2-desktop-style-5.50.0/plugin/qqc2desktopstyleplugin.cpp
new/qqc2-desktop-style-5.51.0/plugin/qqc2desktopstyleplugin.cpp
--- old/qqc2-desktop-style-5.50.0/plugin/qqc2desktopstyleplugin.cpp
2018-09-01 00:25:36.000000000 +0200
+++ new/qqc2-desktop-style-5.51.0/plugin/qqc2desktopstyleplugin.cpp
2018-10-07 12:11:14.000000000 +0200
@@ -27,7 +27,7 @@
void QQc2DesktopStylePlugin::registerTypes(const char *uri)
{
- Q_ASSERT(uri == QLatin1String("org.kde.qqc2desktopstyle.private"));
+ Q_ASSERT(QLatin1String(uri) ==
QLatin1String("org.kde.qqc2desktopstyle.private"));
qmlRegisterType<KQuickStyleItem>(uri, 1, 0, "StyleItem");