Accepting request 396052 from KDE:Frameworks5

Update to 5.6.4

OBS-URL: https://build.opensuse.org/request/show/396052
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plasma5-workspace?expand=0&rev=39
This commit is contained in:
2016-05-19 10:13:34 +00:00
committed by Git OBS Bridge
6 changed files with 16 additions and 72 deletions

View File

@@ -1,26 +0,0 @@
diff --git a/applets/digital-clock/package/contents/ui/DigitalClock.qml b/applets/digital-clock/package/contents/ui/DigitalClock.qml
index 95bb071..6fa8e39 100644
--- a/applets/digital-clock/package/contents/ui/DigitalClock.qml
+++ b/applets/digital-clock/package/contents/ui/DigitalClock.qml
@@ -478,11 +478,7 @@ Item {
// and Short does not provide seconds. So if seconds are enabled, we need to add it here.
//
// What happens here is that it looks for the delimiter between "h" and "m", takes it
- // and appends it after "mm" and then appends "ss" for the seconds. Also it checks
- // if the format string already does not contain the seconds part.
- //
- // It can happen that Qt uses the 'C' locale (it's a fallback) and that locale
- // has always ":ss" part in ShortFormat, so we need to remove it.
+ // and appends it after "mm" and then appends "ss" for the seconds.
function timeFormatCorrection(timeFormatString) {
var regexp = /(hh*)(.+)(mm)/i
var match = regexp.exec(timeFormatString);
@@ -498,7 +494,7 @@ Item {
// when uppercase H is used for hours, needs to be h or hh, so toLowerCase()
var result = hours.toLowerCase() + delimiter + minutes;
- if (main.showSeconds && timeFormatString.indexOf('s') == -1) {
+ if (main.showSeconds) {
result += delimiter + seconds;
}

View File

@@ -1,34 +0,0 @@
diff --git a/kuiserver/CMakeLists.txt b/kuiserver/CMakeLists.txt
index 0f7c29e..b9638aa 100644
--- a/kuiserver/CMakeLists.txt
+++ b/kuiserver/CMakeLists.txt
@@ -61,6 +61,7 @@ endif ()
target_link_libraries(kdeinit_kuiserver5
Qt5::DBus
+ Qt5::Widgets
KF5::ConfigWidgets
KF5::DBusAddons
KF5::ItemViews
diff --git a/kuiserver/main.cpp b/kuiserver/main.cpp
index 3cc118a..9dd1ad3 100644
--- a/kuiserver/main.cpp
+++ b/kuiserver/main.cpp
@@ -28,6 +28,7 @@
#include <kdbusservice.h>
#include <QCommandLineParser>
+#include <QApplication>
Q_LOGGING_CATEGORY(KUISERVER, "kuiserver")
@@ -35,7 +36,7 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
{
QLoggingCategory::setFilterRules(QStringLiteral("kuiserver.debug = true"));
- QCoreApplication app(argc, argv);
+ QApplication app(argc, argv);
app.setApplicationName(QStringLiteral("kuiserver"));
app.setApplicationVersion(QStringLiteral("2.0"));
app.setOrganizationDomain(QStringLiteral("kde.org"));

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4cf8bfaa8bb5b759378cd65d8c439c716cef8c32061221ec248cb9187a098f5c
size 7030108

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1b058bd04a7d5a7b358fa8763c4a9f21fa34889eeacb4e110263a10c47e030e7
size 7031012

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun May 15 16:50:24 UTC 2016 - hrvoje.senjan@gmail.com
- Update to 5.6.4
* New bugfix release
* For more details please see:
https://www.kde.org/announcements/plasma-5.6.4.php
- Drop upstreamed patches:
digitalclock-fix-show-seconds.patch and kuiserver5_qApp.patch
-------------------------------------------------------------------
Tue Apr 19 20:56:06 UTC 2016 - wbauer@tmo.at

View File

@@ -18,9 +18,9 @@
%bcond_without lang
Name: plasma5-workspace
Version: 5.6.3
Version: 5.6.4
Release: 0
%define plasma_version 5.6.3
%define plasma_version 5.6.4
Summary: The KDE Plasma Workspace Components
License: GPL-2.0+
Group: System/GUI/KDE
@@ -34,15 +34,12 @@ Patch0: 0001-Rename-qdbus-in-startkde.patch
Patch1: create_kdehome.patch
# PATCH-FIX_OPENSUSE fix-breeze-sddm-theme-with-many-users.patch alarrosa@suse.com -- Asks for user/password and hide the user list when there's a large number of users
Patch2: fix-breeze-sddm-theme-with-many-users.patch
# PATCH-FIX_OPENSUSE kuiserver5_qApp.patch -- kuiserver can't be a QCoreApplications as it uses QWidget
Patch3: kuiserver5_qApp.patch
# PATCH-FIX-OPENSUSE plasmashell-disable-windowclosing-on-logout.patch kde#349805 wbauer@tmo.at -- Prevent plasma from closing too early on logout resulting in an unusable desktop if the logout is cancelled
Patch4: plasmashell-disable-windowclosing-on-logout.patch
# PATCH-FIX-OPENSUSE digitalclock-fix-show-seconds.patch wbauer@tmo.at -- Fixes displaying seconds in the digital clock which was broken with certain locales
Patch5: digitalclock-fix-show-seconds.patch
# PATCHES 100-200 and above are from upstream 5.6 branch
# PATCHES 201-300 and above are from upstream master/5.7 branch
BuildRequires: kf5-filesystem
BuildRequires: phonon4qt5-devel >= 4.6.60
BuildRequires: update-desktop-files
BuildRequires: cmake(KF5Activities) >= 5.15.0
BuildRequires: cmake(KF5Baloo)
@@ -75,7 +72,6 @@ BuildRequires: cmake(KF5Wayland) >= %{plasma_version}
BuildRequires: cmake(KF5XmlRpcClient)
BuildRequires: cmake(KScreenLocker) >= %{plasma_version}
BuildRequires: cmake(KWinDBusInterface) >= %{plasma_version}
BuildRequires: phonon4qt5-devel >= 4.6.60
BuildRequires: cmake(Qt5Concurrent) >= 5.4.0
BuildRequires: cmake(Qt5DBus) >= 5.4.0
BuildRequires: cmake(Qt5Network) >= 5.4.0
@@ -209,11 +205,9 @@ workspace. Development files.
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%if 0%{?is_opensuse} || 0%{?suse_version} > 1315
%patch4 -p1
%endif
%patch5 -p1
%build
%cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm -DKDE_DEFAULT_HOME=.kde4 -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5