Hello community,
here is the log from the commit of package plasma-framework for openSUSE:Factory checked in at 2019-04-19 21:25:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plasma-framework (Old)
and /work/SRC/openSUSE:Factory/.plasma-framework.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plasma-framework"
Fri Apr 19 21:25:17 2019 rev:74 rq:695262 version:5.57.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/plasma-framework/plasma-framework.changes 2019-03-21 09:49:41.882847302 +0100
+++ /work/SRC/openSUSE:Factory/.plasma-framework.new.5536/plasma-framework.changes 2019-04-19 21:25:19.331945905 +0200
@@ -1,0 +2,25 @@
+Sun Apr 14 20:21:45 UTC 2019 - lbeltrame@kde.org
+
+- Update to 5.57.0
+ * New feature release
+ * For more details please see:
+ * https://www.kde.org/announcements/kde-frameworks-5.57.0.php
+- Changes since 5.56.0:
+ * [AppletInterface] Check for corona before accessing it
+ * [Dialog] Don't forward hover event when there is nowhere to forward it to
+ * [Menu] Fix triggered signal
+ * Reduce the importance of some debug information so actual warnings can be seen.
+ * Fix qml warning
+ * [PlasmaComponents3 ComboBox] Fix textColor
+ * autotests: don't fail if an unrelated window shows up.
+ * FrameSvgItem: catch margin changes of FrameSvg also outside own methods
+ * Add Theme::blurBehindEnabled()
+ * FrameSvgItem: fix textureRect for tiled subitems to not shrink to 0
+ * Fix breeze dialog background with Qt 5.12.2 (kde#405548)
+ * [Icon Item] Also clear image icon when using Plasma Svg (kde#405298)
+ * textfield height based only on clear text (kde#399155)
+ * bind alternateBackgroundColor
+- Dropped patches, now upstream:
+ * 0001-Fix-breeze-dialog-background-with-Qt-5.12.2.patch
+
+-------------------------------------------------------------------
Old:
----
0001-Fix-breeze-dialog-background-with-Qt-5.12.2.patch
plasma-framework-5.56.1.tar.xz
New:
----
plasma-framework-5.57.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ plasma-framework.spec ++++++
--- /var/tmp/diff_new_pack.YdO4uw/_old 2019-04-19 21:25:20.747947709 +0200
+++ /var/tmp/diff_new_pack.YdO4uw/_new 2019-04-19 21:25:20.783947755 +0200
@@ -17,14 +17,14 @@
%define lname libKF5Plasma5
-%define _tar_path 5.56
+%define _tar_path 5.57
# 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: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: plasma-framework
-Version: 5.56.1
+Version: 5.57.0
Release: 0
Summary: Plasma library and runtime components based upon KF5 and Qt5
License: GPL-2.0-or-later AND LGPL-2.0-or-later
@@ -34,12 +34,8 @@
Source1: baselibs.conf
# PATCH-FIX-OPENSUSE
Patch0: 0001-Revert-Remove-Qt-version-check.patch
-# PATCH-FIX-UPSTREAM (warning: binary)
-Patch1: 0001-Fix-breeze-dialog-background-with-Qt-5.12.2.patch
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
BuildRequires: fdupes
-# Just for Patch1
-BuildRequires: git-core
BuildRequires: kactivities5-devel >= 5.19.0
BuildRequires: karchive-devel >= %{_kf5_bugfix_version}
BuildRequires: kconfig-devel >= %{_kf5_bugfix_version}
@@ -134,9 +130,8 @@
%lang_package
%prep
-# Use git, Patch1 is binary
-%autosetup -p1 -S git
-
+%setup -q
+%autopatch -p1
%if 0%{?suse_version} == 1500
sed -i -e "s/^set *(REQUIRED_QT_VERSION 5.10.0)$/set(REQUIRED_QT_VERSION 5.9.0)/" CMakeLists.txt
%endif
++++++ plasma-framework-5.56.1.tar.xz -> plasma-framework-5.57.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/.gitignore new/plasma-framework-5.57.0/.gitignore
--- old/plasma-framework-5.56.1/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/plasma-framework-5.57.0/.gitignore 2019-04-07 09:34:27.000000000 +0200
@@ -0,0 +1,21 @@
+# Ignore the following files
+*~
+*.[oa]
+*.diff
+*.kate-swp
+*.kdev4
+.kdev_include_paths
+*.kdevelop.pcs
+*.moc
+*.moc.cpp
+*.orig
+*.user
+.*.swp
+.swp.*
+Doxyfile
+Makefile
+avail
+random_seed
+/build*/
+CMakeLists.txt.user*
+*.unc-backup*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/CMakeLists.txt new/plasma-framework-5.57.0/CMakeLists.txt
--- old/plasma-framework-5.56.1/CMakeLists.txt 2019-03-13 11:47:12.000000000 +0100
+++ new/plasma-framework-5.57.0/CMakeLists.txt 2019-04-07 09:34:27.000000000 +0200
@@ -1,12 +1,12 @@
cmake_minimum_required(VERSION 3.5)
-set(KF5_VERSION "5.56.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.56.0") # handled by release scripts
+set(KF5_VERSION "5.57.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.57.0") # handled by release scripts
project(Plasma VERSION ${KF5_VERSION})
# ECM setup
include(FeatureSummary)
-find_package(ECM 5.56.0 NO_MODULE)
+find_package(ECM 5.57.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/plasma-framework-5.56.1/autotests/dialogstatetest.cpp new/plasma-framework-5.57.0/autotests/dialogstatetest.cpp
--- old/plasma-framework-5.56.1/autotests/dialogstatetest.cpp 2019-03-13 11:47:12.000000000 +0100
+++ new/plasma-framework-5.57.0/autotests/dialogstatetest.cpp 2019-04-07 09:34:27.000000000 +0200
@@ -53,6 +53,9 @@
windowAdded = true;
break;
}
+ if (windowAddedSpy.isEmpty()) {
+ QVERIFY(windowAddedSpy.wait());
+ }
}
QVERIFY(windowAdded);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/po/id/libplasma5.po new/plasma-framework-5.57.0/po/id/libplasma5.po
--- old/plasma-framework-5.56.1/po/id/libplasma5.po 2019-03-13 11:47:12.000000000 +0100
+++ new/plasma-framework-5.57.0/po/id/libplasma5.po 2019-04-07 09:34:27.000000000 +0200
@@ -16,7 +16,7 @@
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 18.12.1\n"
#: declarativeimports/calendar/eventdatadecorator.cpp:64
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/po/zh_CN/libplasma5.po new/plasma-framework-5.57.0/po/zh_CN/libplasma5.po
--- old/plasma-framework-5.56.1/po/zh_CN/libplasma5.po 2019-03-13 11:47:12.000000000 +0100
+++ new/plasma-framework-5.57.0/po/zh_CN/libplasma5.po 2019-04-07 09:34:27.000000000 +0200
@@ -9,7 +9,7 @@
"Project-Id-Version: kdeorg\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2019-01-04 03:05+0100\n"
-"PO-Revision-Date: 2019-02-20 23:15\n"
+"PO-Revision-Date: 2019-03-07 09:22\n"
"Last-Translator: guoyunhe \n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/declarativeimports/core/framesvgitem.cpp new/plasma-framework-5.57.0/src/declarativeimports/core/framesvgitem.cpp
--- old/plasma-framework-5.56.1/src/declarativeimports/core/framesvgitem.cpp 2019-03-13 11:47:12.000000000 +0100
+++ new/plasma-framework-5.57.0/src/declarativeimports/core/framesvgitem.cpp 2019-04-07 09:34:27.000000000 +0200
@@ -145,11 +145,13 @@
//if tiling horizontally
if (m_border == FrameSvg::TopBorder || m_border == FrameSvg::BottomBorder || m_border == FrameSvg::NoBorder) {
- textureRect.setWidth(nodeRect.width() / m_elementNativeSize.width());
+ // cmp. CSS3's border-image-repeat: "repeat", though with first tile not centered, but aligned to left
+ textureRect.setWidth((qreal) nodeRect.width() / m_elementNativeSize.width());
}
//if tiling vertically
if (m_border == FrameSvg::LeftBorder || m_border == FrameSvg::RightBorder || m_border == FrameSvg::NoBorder) {
- textureRect.setHeight(nodeRect.height() / m_elementNativeSize.height());
+ // cmp. CSS3's border-image-repeat: "repeat", though with first tile not centered, but aligned to top
+ textureRect.setHeight((qreal) nodeRect.height() / m_elementNativeSize.height());
}
} else if (m_fitMode == Stretch) {
QString prefix = m_frameSvg->frameSvg()->actualPrefix();
@@ -279,18 +281,23 @@
class CheckMarginsChange
{
public:
- CheckMarginsChange(FrameSvgItemMargins *margins)
- : m_oldMargins(margins ? margins->margins() : QVector<qreal>()), m_margins(margins)
+ CheckMarginsChange(QVector<qreal>& oldMargins, FrameSvgItemMargins *marginsObject)
+ : m_oldMargins(oldMargins), m_marginsObject(marginsObject)
{}
- ~CheckMarginsChange() {
- if (m_margins && m_margins->margins() != m_oldMargins) {
- m_margins->update();
+ ~CheckMarginsChange()
+ {
+ const QVector<qreal> oldMarginsBefore = m_oldMargins;
+ m_oldMargins = m_marginsObject ? m_marginsObject->margins() : QVector<qreal>();
+
+ if (oldMarginsBefore != m_oldMargins) {
+ m_marginsObject->update();
}
}
- const QVector<qreal> m_oldMargins;
- FrameSvgItemMargins *const m_margins;
+private:
+ QVector<qreal>& m_oldMargins;
+ FrameSvgItemMargins *const m_marginsObject;
};
void FrameSvgItem::setImagePath(const QString &path)
@@ -299,8 +306,8 @@
return;
}
- CheckMarginsChange checkMargins(m_margins);
- CheckMarginsChange checkFixedMargins(m_fixedMargins);
+ CheckMarginsChange checkMargins(m_oldMargins, m_margins);
+ CheckMarginsChange checkFixedMargins(m_oldFixedMargins, m_fixedMargins);
updateDevicePixelRatio();
m_frameSvg->setImagePath(path);
@@ -343,8 +350,8 @@
return;
}
- CheckMarginsChange checkMargins(m_margins);
- CheckMarginsChange checkFixedMargins(m_fixedMargins);
+ CheckMarginsChange checkMargins(m_oldMargins, m_margins);
+ CheckMarginsChange checkFixedMargins(m_oldFixedMargins, m_fixedMargins);
m_prefixes = prefixList;
applyPrefixes();
@@ -430,7 +437,7 @@
return;
}
- CheckMarginsChange checkMargins(m_margins);
+ CheckMarginsChange checkMargins(m_oldMargins, m_margins);
m_frameSvg->setEnabledBorders(borders);
emit enabledBordersChanged();
@@ -464,8 +471,8 @@
return;
}
- CheckMarginsChange checkMargins(m_margins);
- CheckMarginsChange checkFixedMargins(m_fixedMargins);
+ CheckMarginsChange checkMargins(m_oldMargins, m_margins);
+ CheckMarginsChange checkFixedMargins(m_oldFixedMargins, m_fixedMargins);
//if the theme changed, the available prefix may have changed as well
applyPrefixes();
@@ -599,8 +606,8 @@
void FrameSvgItem::componentComplete()
{
- CheckMarginsChange checkMargins(m_margins);
- CheckMarginsChange checkFixedMargins(m_fixedMargins);
+ CheckMarginsChange checkMargins(m_oldMargins, m_margins);
+ CheckMarginsChange checkFixedMargins(m_oldFixedMargins, m_fixedMargins);
QQuickItem::componentComplete();
m_frameSvg->resizeFrame(QSize(width(), height()));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/declarativeimports/core/framesvgitem.h new/plasma-framework-5.57.0/src/declarativeimports/core/framesvgitem.h
--- old/plasma-framework-5.56.1/src/declarativeimports/core/framesvgitem.h 2019-03-13 11:47:12.000000000 +0100
+++ new/plasma-framework-5.57.0/src/declarativeimports/core/framesvgitem.h 2019-04-07 09:34:27.000000000 +0200
@@ -255,6 +255,9 @@
Plasma::FrameSvg *m_frameSvg;
FrameSvgItemMargins *m_margins;
FrameSvgItemMargins *m_fixedMargins;
+ // logged margins to check for changes
+ QVector<qreal> m_oldMargins;
+ QVector<qreal> m_oldFixedMargins;
QStringList m_prefixes;
bool m_textureChanged;
bool m_sizeChanged;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/declarativeimports/core/iconitem.cpp new/plasma-framework-5.57.0/src/declarativeimports/core/iconitem.cpp
--- old/plasma-framework-5.56.1/src/declarativeimports/core/iconitem.cpp 2019-03-13 11:47:12.000000000 +0100
+++ new/plasma-framework-5.57.0/src/declarativeimports/core/iconitem.cpp 2019-04-07 09:34:27.000000000 +0200
@@ -187,6 +187,7 @@
//success?
if (m_usesPlasmaTheme && m_svgIcon->isValid() && m_svgIcon->hasElement(sourceString)) {
m_icon = QIcon();
+ m_imageIcon = QImage();
m_svgIconName = sourceString;
//ok, svg not available from the plasma theme
} else {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/declarativeimports/kirigamiplasmastyle/Theme.qml new/plasma-framework-5.57.0/src/declarativeimports/kirigamiplasmastyle/Theme.qml
--- old/plasma-framework-5.56.1/src/declarativeimports/kirigamiplasmastyle/Theme.qml 2019-03-13 11:47:12.000000000 +0100
+++ new/plasma-framework-5.57.0/src/declarativeimports/kirigamiplasmastyle/Theme.qml 2019-04-07 09:34:27.000000000 +0200
@@ -30,6 +30,7 @@
property color highlightColor: theme.highlightColor
property color highlightedTextColor: theme.highlightedTextColor
property color backgroundColor: theme.backgroundColor
+ property color alternateBackgroundColor: Qt.darker(theme.backgroundColor, 1.05)
//TODO: don't make this invisible
property color activeTextColor: theme.highlightColor
property color linkColor: theme.linkColor
@@ -40,26 +41,31 @@
property color buttonTextColor: theme.buttonTextColor
property color buttonBackgroundColor: theme.buttonBackgroundColor
+ property color buttonAlternateBackgroundColor: Qt.darker(theme.buttonBackgroundColor, 1.05)
property color buttonHoverColor: theme.buttonHoverColor
property color buttonFocusColor: theme.buttonFocusColor
property color viewTextColor: theme.viewTextColor
property color viewBackgroundColor: theme.viewBackgroundColor
+ property color viewAlternateBackgroundColor: Qt.darker(theme.viewBackgroundColor, 1.05)
property color viewHoverColor: theme.viewHoverColor
property color viewFocusColor: theme.viewFocusColor
property color selectionTextColor: theme.highlightedTextColor
property color selectionBackgroundColor: theme.highlightColor
+ property color selectionAlternateBackgroundColor: Qt.darker(theme.selectionBackgroundColor, 1.05)
property color selectionHoverColor: theme.buttonHoverColor
property color selectionFocusColor: theme.buttonFocusColor
property color tooltipTextColor: theme.complementaryTextColor
property color tooltipBackgroundColor: theme.complementaryBackgroundColor
+ property color tooltipAlternateBackgroundColor: Qt.darker(theme.tooltipBackgroundColor, 1.05)
property color tooltipHoverColor: theme.complementaryHoverColor
property color tooltipFocusColor: theme.complementaryFocusColor
property color complementaryTextColor: theme.complementaryTextColor
property color complementaryBackgroundColor: theme.complementaryBackgroundColor
+ property color complementaryAlternateBackgroundColor: Qt.darker(theme.complementaryBackgroundColor, 1.05)
property color complementaryHoverColor: theme.complementaryHoverColor
property color complementaryFocusColor: theme.complementaryFocusColor
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-framework-5.56.1/src/declarativeimports/plasmacomponents/qmenu.cpp new/plasma-framework-5.57.0/src/declarativeimports/plasmacomponents/qmenu.cpp
--- old/plasma-framework-5.56.1/src/declarativeimports/plasmacomponents/qmenu.cpp 2019-03-13 11:47:12.000000000 +0100
+++ new/plasma-framework-5.57.0/src/declarativeimports/plasmacomponents/qmenu.cpp 2019-04-07 09:34:27.000000000 +0200
@@ -274,13 +274,14 @@
void QMenuProxy::itemTriggered(QAction *action)
{
- QMenuItem *item = qobject_cast