Hello community,

here is the log from the commit of package qqc2-desktop-style for 
openSUSE:Factory checked in at 2018-08-27 12:57:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qqc2-desktop-style (Old)
 and      /work/SRC/openSUSE:Factory/.qqc2-desktop-style.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qqc2-desktop-style"

Mon Aug 27 12:57:58 2018 rev:12 rq:630651 version:5.49.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/qqc2-desktop-style/qqc2-desktop-style.changes    
2018-07-22 23:04:01.784935189 +0200
+++ 
/work/SRC/openSUSE:Factory/.qqc2-desktop-style.new/qqc2-desktop-style.changes   
    2018-08-27 12:58:01.816729744 +0200
@@ -1,0 +2,13 @@
+Sun Aug 19 09:19:37 UTC 2018 - [email protected]
+
+- Update to 5.49.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.49.0.php
+- Changes since 5.48.0:
+  * Improve sizing of menus (kde#396841)
+  * Remove double comparison
+  * Port away from string-based connects
+  * check for valid icon
+
+-------------------------------------------------------------------

Old:
----
  qqc2-desktop-style-5.48.0.tar.xz

New:
----
  qqc2-desktop-style-5.49.0.tar.xz

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

Other differences:
------------------
++++++ qqc2-desktop-style.spec ++++++
--- /var/tmp/diff_new_pack.gvuQSt/_old  2018-08-27 12:58:02.668730675 +0200
+++ /var/tmp/diff_new_pack.gvuQSt/_new  2018-08-27 12:58:02.672730679 +0200
@@ -16,21 +16,21 @@
 #
 
 
-%define _tar_path 5.48
+%define _tar_path 5.49
 Name:           qqc2-desktop-style
-Version:        5.48.0
+Version:        5.49.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:            http://www.kde.org/
 Source:         
https://download.kde.org/stable/frameworks/%{_tar_path}/qqc2-desktop-style-%{version}.tar.xz
 # PATCH-FIX-OPENSUSE
-Patch:          fix-build-with-gcc48.patch
+Patch0:         fix-build-with-gcc48.patch
 BuildRequires:  extra-cmake-modules >= 0.0.8
-BuildRequires:  kf5-filesystem
 # For dir ownership
 BuildRequires:  kconfigwidgets-devel
+BuildRequires:  kf5-filesystem
 BuildRequires:  kiconthemes-devel
 BuildRequires:  kirigami2-devel
 BuildRequires:  cmake(Qt5Core) >= 5.9.1
@@ -40,15 +40,15 @@
 BuildRequires:  cmake(Qt5QuickControls2)
 BuildRequires:  cmake(Qt5Svg)
 BuildRequires:  cmake(Qt5Widgets)
-# For KUA users
-Provides:       plasma5-qqc2-style = %{version}
-Obsoletes:      plasma5-qqc2-style < %{version}
 Requires:       libqt5-qtquickcontrols2
 # plasma5-workspace sets up the env variables so that this theme
 # is picked by default. It still works fine without it (no requires),
 # but looks better with it. By itself plasma5-workspace does not use
 # it (yet), so only install it with libqt5-qtquickcontrols2.
 Supplements:    packageand(plasma5-workspace:libqt5-qtquickcontrols2)
+# For KUA users
+Provides:       plasma5-qqc2-style = %{version}
+Obsoletes:      plasma5-qqc2-style < %{version}
 
 %description
 A Qt Quick Controls 2 style engine that uses the desktop style
@@ -68,7 +68,7 @@
 %prep
 %setup -q
 %if 0%{?suse_version} < 1500
-%patch -p1
+%patch0 -p1
 %endif
 
 %build
@@ -79,7 +79,7 @@
 %kf5_makeinstall -C build
 
 %files
-%doc LICENSE*
+%license LICENSE*
 %{_kf5_qmldir}/QtQuick/Controls.2/org.kde.desktop/
 %dir %{_kf5_qmldir}/org/
 %dir %{_kf5_qmldir}/org/kde/

++++++ qqc2-desktop-style-5.48.0.tar.xz -> qqc2-desktop-style-5.49.0.tar.xz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qqc2-desktop-style-5.48.0/CMakeLists.txt 
new/qqc2-desktop-style-5.49.0/CMakeLists.txt
--- old/qqc2-desktop-style-5.48.0/CMakeLists.txt        2018-07-07 
23:54:12.000000000 +0200
+++ new/qqc2-desktop-style-5.49.0/CMakeLists.txt        2018-08-04 
10:45:54.000000000 +0200
@@ -1,7 +1,7 @@
 cmake_minimum_required(VERSION 3.0)
 
-set(KF5_VERSION "5.48.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.48.0") # handled by release scripts
+set(KF5_VERSION "5.49.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.49.0") # handled by release scripts
 
 project(qqc2-desktop-style VERSION ${KF5_VERSION})
 
@@ -21,7 +21,7 @@
 
 ################# set KDE specific information #################
 
-find_package(ECM 5.48.0 REQUIRED NO_MODULE)
+find_package(ECM 5.49.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})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qqc2-desktop-style-5.48.0/org.kde.desktop/Menu.qml 
new/qqc2-desktop-style-5.49.0/org.kde.desktop/Menu.qml
--- old/qqc2-desktop-style-5.48.0/org.kde.desktop/Menu.qml      2018-07-07 
23:54:12.000000000 +0200
+++ new/qqc2-desktop-style-5.49.0/org.kde.desktop/Menu.qml      2018-08-04 
10:45:54.000000000 +0200
@@ -41,6 +41,7 @@
 @DISABLE_UNDER_QQC2_2_3@    delegate: MenuItem { }
 
     contentItem: ListView {
+        implicitWidth: control.contentItem.childrenRect.width
         implicitHeight: contentHeight
         property bool hasCheckables: false
         property bool hasIcons: false
@@ -63,7 +64,7 @@
                 if (child.checkable) {
                     control.contentItem.hasCheckables = true;
                 }
-                if (child.icon && (child.icon.name.length > 0 || 
child.icon.source.length > 0)) {
+                if (child.icon && child.icon.hasOwnProperty("name") && 
(child.icon.name.length > 0 || child.icon.source.length > 0)) {
                     control.contentItem.hasIcons = true;
                 }
             }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qqc2-desktop-style-5.48.0/org.kde.desktop/MenuItem.qml 
new/qqc2-desktop-style-5.49.0/org.kde.desktop/MenuItem.qml
--- old/qqc2-desktop-style-5.48.0/org.kde.desktop/MenuItem.qml  2018-07-07 
23:54:12.000000000 +0200
+++ new/qqc2-desktop-style-5.49.0/org.kde.desktop/MenuItem.qml  2018-08-04 
10:45:54.000000000 +0200
@@ -37,7 +37,9 @@
     baselineOffset: contentItem.y + contentItem.baselineOffset
 
     Layout.fillWidth: true
-    padding: 1
+    padding: Kirigami.Units.smallSpacing
+    leftPadding: Kirigami.Units.largeSpacing
+    rightPadding: Kirigami.Units.largeSpacing
     hoverEnabled: !Kirigami.Settings.isMobile
 
     Kirigami.MnemonicData.enabled: controlRoot.enabled && controlRoot.visible
@@ -112,7 +114,7 @@
         Rectangle {
             anchors.fill: parent
             color: Kirigami.Theme.highlightColor
-            opacity: ((controlRoot.highlighted || controlRoot.hovered) || 
controlRoot.hovered) ? 1 : 0
+            opacity: (controlRoot.highlighted || controlRoot.hovered) ? 1 : 0
             Behavior on opacity { NumberAnimation { duration: 150 } }
         }
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qqc2-desktop-style-5.48.0/plugin/kquickstyleitem.cpp 
new/qqc2-desktop-style-5.49.0/plugin/kquickstyleitem.cpp
--- old/qqc2-desktop-style-5.48.0/plugin/kquickstyleitem.cpp    2018-07-07 
23:54:12.000000000 +0200
+++ new/qqc2-desktop-style-5.49.0/plugin/kquickstyleitem.cpp    2018-08-04 
10:45:54.000000000 +0200
@@ -82,39 +82,39 @@
     setSmooth(false);
     qmlRegisterType<KQuickPadding>();
 
-    connect(this, SIGNAL(visibleChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(widthChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(heightChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(enabledChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(infoChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(onChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(selectedChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(activeChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(textChanged()), this, SLOT(updateSizeHint()));
-    connect(this, SIGNAL(textChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(activeChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(raisedChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(sunkenChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(hoverChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(maximumChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(minimumChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(valueChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(horizontalChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(transientChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(activeControlChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(hasFocusChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(activeControlChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(hintChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(propertiesChanged()), this, SLOT(updateSizeHint()));
-    connect(this, SIGNAL(propertiesChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(elementTypeChanged()), this, SLOT(updateItem()));
-    connect(this, SIGNAL(contentWidthChanged(int)), this, 
SLOT(updateSizeHint()));
-    connect(this, SIGNAL(contentHeightChanged(int)), this, 
SLOT(updateSizeHint()));
-    connect(this, SIGNAL(widthChanged()), this, SLOT(updateRect()));
-    connect(this, SIGNAL(heightChanged()), this, SLOT(updateRect()));
+    connect(this, &KQuickStyleItem::visibleChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::widthChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::heightChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::enabledChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::infoChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::onChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::selectedChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::activeChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::textChanged, this, 
&KQuickStyleItem::updateSizeHint);
+    connect(this, &KQuickStyleItem::textChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::activeChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::raisedChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::sunkenChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::hoverChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::maximumChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::minimumChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::valueChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::horizontalChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::transientChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::activeControlChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::hasFocusChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::activeControlChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::hintChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::propertiesChanged, this, 
&KQuickStyleItem::updateSizeHint);
+    connect(this, &KQuickStyleItem::propertiesChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::elementTypeChanged, this, 
&KQuickStyleItem::updateItem);
+    connect(this, &KQuickStyleItem::contentWidthChanged, this, 
&KQuickStyleItem::updateSizeHint);
+    connect(this, &KQuickStyleItem::contentHeightChanged, this, 
&KQuickStyleItem::updateSizeHint);
+    connect(this, &KQuickStyleItem::widthChanged, this, 
&KQuickStyleItem::updateRect);
+    connect(this, &KQuickStyleItem::heightChanged, this, 
&KQuickStyleItem::updateRect);
 
-    connect(this, SIGNAL(heightChanged()), this, SLOT(updateBaselineOffset()));
-    connect(this, SIGNAL(contentHeightChanged(int)), this, 
SLOT(updateBaselineOffset()));
+    connect(this, &KQuickStyleItem::heightChanged, this, 
&KQuickStyleItem::updateBaselineOffset);
+    connect(this, &KQuickStyleItem::contentHeightChanged, this, 
&KQuickStyleItem::updateBaselineOffset);
 }
 
 KQuickStyleItem::~KQuickStyleItem()


Reply via email to