[packages/kde4-kdebase-workspace] - up to 4.10.2
arekm
arekm at pld-linux.org
Mon Apr 1 11:07:42 CEST 2013
commit 88bdf00b8bbd26ed0e95f815efb7a3fcb8c4420c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Apr 1 11:07:40 2013 +0200
- up to 4.10.2
git.patch | 116 --------------------------------------------
kde4-kdebase-workspace.spec | 8 ++-
2 files changed, 3 insertions(+), 121 deletions(-)
---
diff --git a/kde4-kdebase-workspace.spec b/kde4-kdebase-workspace.spec
index be55894..efde18c 100644
--- a/kde4-kdebase-workspace.spec
+++ b/kde4-kdebase-workspace.spec
@@ -7,12 +7,12 @@
Summary: KDE 4 base workspace components
Summary(pl.UTF-8): Podstawowe komponenty środowiska KDE 4
Name: kde4-kdebase-workspace
-Version: 4.10.1
-Release: 4
+Version: 4.10.2
+Release: 1
License: GPL v2+
Group: X11/Applications
Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
-# Source0-md5: 8c791507cb2fdf42daebc280bdfe1b1c
+# Source0-md5: f1348db54236738cd1b758156b285f04
Source1: kdebase-kdesktop.pam
Source2: kdebase-kdm.pam
Source3: kdebase-kdm-np.pam
@@ -31,7 +31,6 @@ Patch0: %{name}-rootprivs.patch
Patch1: %{name}-kdmconfig.patch
Patch2: %{name}-kdm_revertcrashlogic.patch
Patch3: kde4-kdebase-workspace-brightness.patch
-Patch4: git.patch
URL: http://www.kde.org/
BuildRequires: ConsoleKit-devel
BuildRequires: Mesa-libGLES-devel
@@ -537,7 +536,6 @@ dialogowych mających na celu rozszerzenie przywilejów użytkownika.
# https://bugs.kde.org/show_bug.cgi?id=281862
#%patch2 -p1
#%patch3 -p1
-%patch4 -p1
%build
install -d build
diff --git a/git.patch b/git.patch
deleted file mode 100644
index 6715525..0000000
--- a/git.patch
+++ /dev/null
@@ -1,116 +0,0 @@
-From: Raymond Wooninck <tittiatcoke at gmail.com>
-Date: Thu, 07 Mar 2013 11:46:03 +0000
-Subject: Also check if the version of systemd is supporting the upower functions
-X-Git-Url: http://quickgit.kde.org/?p=kde-workspace.git&a=commitdiff&h=cc59979ffce8a01076fd9ffe76910b16756d8d87
----
-Also check if the version of systemd is supporting the upower functions
-
-BUG: 316219
-REVIEW: 109336
----
-
-
---- a/powerdevil/daemon/backends/upower/powerdevilupowerbackend.cpp
-+++ b/powerdevil/daemon/backends/upower/powerdevilupowerbackend.cpp
-@@ -34,6 +34,21 @@
- #include "login1suspendjob.h"
-
- #define HELPER_ID "org.kde.powerdevil.backlighthelper"
-+
-+bool checkSystemdVersion(uint requiredVersion)
-+{
-+ bool ok;
-+
-+ QDBusInterface systemdIface("org.freedesktop.systemd1", "/org/freedesktop/systemd1", "org.freedesktop.systemd1.Manager",
-+ QDBusConnection::systemBus(), 0);
-+ uint version = systemdIface.property("Version").toString().section(' ', 1).toUInt(&ok);
-+ if (ok) {
-+ return (version >= requiredVersion);
-+ } else {
-+ kDebug() << "Unknown version string from Systemd";
-+ return false;
-+ }
-+}
-
- PowerDevilUPowerBackend::PowerDevilUPowerBackend(QObject* parent)
- : BackendInterface(parent),
-@@ -123,7 +138,7 @@
-
- // Supported suspend methods
- SuspendMethods supported = UnknownSuspendMethod;
-- if (m_login1Interface) {
-+ if (m_login1Interface && checkSystemdVersion(195)) {
- QDBusPendingReply<QString> canSuspend = m_login1Interface.data()->asyncCall("CanSuspend");
- canSuspend.waitForFinished();
- if (canSuspend.isValid() && (canSuspend.value() == "yes" || canSuspend.value() == "challenge"))
-@@ -151,11 +166,7 @@
- }
-
- // "resuming" signal
-- QDBusInterface systemdIface("org.freedesktop.systemd1", "/org/freedesktop/systemd1", "org.freedesktop.systemd1.Manager",
-- QDBusConnection::systemBus(), this);
-- int version = systemdIface.property("Version").toString().section(' ', 1).toInt();
--
-- if (m_login1Interface && version > 197) {
-+ if (m_login1Interface && checkSystemdVersion(198)) {
- connect(m_login1Interface.data(), SIGNAL(PrepareForSleep(bool)), this, SLOT(slotLogin1Resuming(bool)));
- } else {
- connect(m_upowerInterface, SIGNAL(Resuming()), this, SIGNAL(resumeFromSuspend()));
-@@ -280,7 +291,7 @@
-
- KJob* PowerDevilUPowerBackend::suspend(PowerDevil::BackendInterface::SuspendMethod method)
- {
-- if (m_login1Interface) {
-+ if (m_login1Interface && checkSystemdVersion(195)) {
- return new Login1SuspendJob(m_login1Interface.data(), method, supportedSuspendMethods());
- } else {
- return new UPowerSuspendJob(m_upowerInterface, method, supportedSuspendMethods());
-
-From: Lukáš Tinkl <lukas at kde.org>
-Date: Tue, 12 Mar 2013 16:01:00 +0000
-Subject: stop leaking the login1 suspend job
-X-Git-Url: http://quickgit.kde.org/?p=kde-workspace.git&a=commitdiff&h=7a01d55b55591fb3d73281541116b36e72f49e24
----
-stop leaking the login1 suspend job
-
-BUG: 316473
-FIXED-IN: 4.10.2
----
-
-
---- a/powerdevil/daemon/backends/upower/login1suspendjob.cpp
-+++ b/powerdevil/daemon/backends/upower/login1suspendjob.cpp
-@@ -35,6 +35,8 @@
- kDebug() << "Starting Login1 suspend job";
- m_method = method;
- m_supported = supported;
-+
-+ connect(m_login1Interface, SIGNAL(PrepareForSleep(bool)), this, SLOT(slotLogin1Resuming(bool)));
- }
-
- Login1SuspendJob::~Login1SuspendJob()
-@@ -95,6 +97,12 @@
- watcher->deleteLater();
- }
-
-+void Login1SuspendJob::slotLogin1Resuming(bool active)
-+{
-+ if (!active)
-+ emitResult();
-+}
-+
-
- #include "login1suspendjob.moc"
-
-
---- a/powerdevil/daemon/backends/upower/login1suspendjob.h
-+++ b/powerdevil/daemon/backends/upower/login1suspendjob.h
-@@ -44,6 +44,7 @@
- private Q_SLOTS:
- void doStart();
- void sendResult(QDBusPendingCallWatcher* watcher);
-+ void slotLogin1Resuming(bool active);
-
- private:
- QDBusInterface *m_login1Interface;
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kde4-kdebase-workspace.git/commitdiff/88bdf00b8bbd26ed0e95f815efb7a3fcb8c4420c
More information about the pld-cvs-commit
mailing list