summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-03-12 18:55:16 +0100
committerJohannes Huber <johu@gentoo.org>2016-03-12 19:05:32 +0100
commit714a8865521d686ca52e497a6079a485c174def7 (patch)
treeb77549f373fb7b84b3bff0f8197aca3e175141dc /kde-plasma/plasma-workspace
parentsys-fs/f2fs-tools: version 1.6.0 stable on ppc and ppc64, bug #577186 (diff)
downloadgentoo-714a8865521d686ca52e497a6079a485c174def7.tar.gz
gentoo-714a8865521d686ca52e497a6079a485c174def7.tar.bz2
gentoo-714a8865521d686ca52e497a6079a485c174def7.zip
kde-plasma: Remove KDE Plasma 5.4.3
Package-Manager: portage-2.2.28
Diffstat (limited to 'kde-plasma/plasma-workspace')
-rw-r--r--kde-plasma/plasma-workspace/Manifest1
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-5.4-consolekit2.patch189
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-fix-drkonqi.patch32
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-lockscreen-bypass.patch38
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-no-SUID-no-GUID.patch16
-rw-r--r--kde-plasma/plasma-workspace/metadata.xml2
-rw-r--r--kde-plasma/plasma-workspace/plasma-workspace-5.4.3-r2.ebuild208
7 files changed, 0 insertions, 486 deletions
diff --git a/kde-plasma/plasma-workspace/Manifest b/kde-plasma/plasma-workspace/Manifest
index 1870fa7c1558..f423e04fbed2 100644
--- a/kde-plasma/plasma-workspace/Manifest
+++ b/kde-plasma/plasma-workspace/Manifest
@@ -1,3 +1,2 @@
-DIST plasma-workspace-5.4.3.tar.xz 8648136 SHA256 bfe459234e1bcd8ed5c3a64524061330e92e38ec693099d5007048a483c71d0c SHA512 ac407724bd8aebc9207fbd55a97ceb0eac6c9fcb3129fd2ad19264a120c6e33495c8be5cadcf428d109f163c5159e009f034694b90252a338ec888ca77868941 WHIRLPOOL 86d516b5193ccc83fb552742809b073cd165993fee48c4516d9b4a978ddee0e5be1a930e6dd8ff0b6f64ea9b90eca9c53ce74029d3204e143570913b01cd0394
DIST plasma-workspace-5.5.4.tar.xz 7391812 SHA256 f0a0eb82346514b0b3b00644cd9464c32152d48accee13ed322c500b3036097e SHA512 6305037a54c67f557472251d9d36a39d308dcce226c31dce4307dbf01d89645e7d298d4ab172eec79c8ccd3937e8a0fb41ee628fd342fba4f966c1e5594f8763 WHIRLPOOL 516c6f6f967f3be0f2501b9397d31c81c3642b503fea32140be3770ef2b5e7c723772a96fba774c39df128dacc0c36039323ff6d60848a03ecef0c8a784a0373
DIST plasma-workspace-5.5.5.tar.xz 7374560 SHA256 bed1e65d878b963dbbb85129c206dc70db71461de29c19e95b6053c9c4fe7b26 SHA512 0fdf19650bd8718b03a8004182caa29080cc02afb0f4808d40f9976c3d261b80afa0e86c8cb659276d49eb1e711d7e26f84ced989342f0f6dbccc23e56d16ff7 WHIRLPOOL 51e122d4c180537a9a4a6ac1b8cae60526c0b6167fb832244e813224c4977556693253b06035ca2d8319db0e0ade817cf09ef0ca44a9cc56128c541bd9be1da1
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.4-consolekit2.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.4-consolekit2.patch
deleted file mode 100644
index 6131c90bc204..000000000000
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.4-consolekit2.patch
+++ /dev/null
@@ -1,189 +0,0 @@
-From: Eric Koegel <eric.koegel@gmail.com>
-Date: Wed, 12 Aug 2015 08:33:39 +0000
-Subject: ConsoleKit2 support for screenlocker
-X-Git-Url: http://quickgit.kde.org/?p=plasma-workspace.git&a=commitdiff&h=72578284a1fda5f012cafcaccad6069fadbf9a25
----
-ConsoleKit2 support for screenlocker
-
-ConsoleKit2 has the same API as systemd-logind for Lock, Unlock,
-PrepareForSleep, and Inhibit. This patch adds the functionality
-for ConsoleKit2 while attempting to minimize code duplication.
-
-REVIEW: 124469
----
-
-
---- a/ksmserver/screenlocker/logind.cpp
-+++ b/ksmserver/screenlocker/logind.cpp
-@@ -25,13 +25,17 @@
- #include <QDebug>
- #include <QDBusConnection>
- #include <QDBusConnectionInterface>
--#include <QDBusPendingCallWatcher>
- #include <QDBusServiceWatcher>
-
- const static QString s_login1Service = QStringLiteral("org.freedesktop.login1");
- const static QString s_login1Path = QStringLiteral("/org/freedesktop/login1");
- const static QString s_login1ManagerInterface = QStringLiteral("org.freedesktop.login1.Manager");
- const static QString s_login1SessionInterface = QStringLiteral("org.freedesktop.login1.Session");
-+
-+const static QString s_consolekitService = QStringLiteral("org.freedesktop.ConsoleKit");
-+const static QString s_consolekitPath = QStringLiteral("/org/freedesktop/ConsoleKit/Manager");
-+const static QString s_consolekitManagerInterface = QStringLiteral("org.freedesktop.ConsoleKit.Manager");
-+const static QString s_consolekitSessionInterface = QStringLiteral("org.freedesktop.ConsoleKit.Session");
-
- LogindIntegration::LogindIntegration(const QDBusConnection &connection, QObject *parent)
- : QObject(parent)
-@@ -42,6 +46,10 @@
- this))
- , m_connected(false)
- , m_inhibitFileDescriptor()
-+ , m_service(nullptr)
-+ , m_path(nullptr)
-+ , m_managerInterface(nullptr)
-+ , m_sessionInterface(nullptr)
- {
- connect(m_logindServiceWatcher, &QDBusServiceWatcher::serviceRegistered, this, &LogindIntegration::logindServiceRegistered);
- connect(m_logindServiceWatcher, &QDBusServiceWatcher::serviceUnregistered, this,
-@@ -67,6 +75,11 @@
- }
- if (reply.value().contains(s_login1Service)) {
- logindServiceRegistered();
-+ // Don't register ck if we have logind
-+ return;
-+ }
-+ if (reply.value().contains(s_consolekitService)) {
-+ consolekitServiceRegistered();
- }
- }
- );
-@@ -89,6 +102,40 @@
- message.setArguments(QVariantList() << (quint32) QCoreApplication::applicationPid());
- QDBusPendingReply<QDBusObjectPath> session = m_bus.asyncCall(message);
- QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(session, this);
-+
-+ m_service = &s_login1Service;
-+ m_path = &s_login1Path;
-+ m_managerInterface = &s_login1ManagerInterface;
-+ m_sessionInterface = &s_login1SessionInterface;
-+
-+ commonServiceRegistered(watcher);
-+}
-+
-+void LogindIntegration::consolekitServiceRegistered()
-+{
-+ // Don't try to register with ck if we have logind
-+ if (m_connected) {
-+ return;
-+ }
-+
-+ // get the current session
-+ QDBusMessage message = QDBusMessage::createMethodCall(s_consolekitService,
-+ s_consolekitPath,
-+ s_consolekitManagerInterface,
-+ QStringLiteral("GetCurrentSession"));
-+ QDBusPendingReply<QDBusObjectPath> session = m_bus.asyncCall(message);
-+ QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(session, this);
-+
-+ m_service = &s_consolekitService;
-+ m_path = &s_consolekitPath;
-+ m_managerInterface = &s_consolekitManagerInterface;
-+ m_sessionInterface = &s_consolekitSessionInterface;
-+
-+ commonServiceRegistered(watcher);
-+}
-+
-+void LogindIntegration::commonServiceRegistered(QDBusPendingCallWatcher *watcher)
-+{
- connect(watcher, &QDBusPendingCallWatcher::finished, this,
- [this](QDBusPendingCallWatcher *self) {
- QDBusPendingReply<QDBusObjectPath> reply = *self;
-@@ -97,7 +144,7 @@
- return;
- }
- if (!reply.isValid()) {
-- qDebug() << "The session is not registered with logind" << reply.error().message();
-+ qDebug() << "The session is not registered: " << reply.error().message();
- return;
- }
- const QString sessionPath = reply.value().path();
-@@ -105,15 +152,15 @@
-
- // connections need to be done this way as the object exposes both method and signal
- // with name "Lock"/"Unlock". Qt is not able to automatically handle this.
-- m_bus.connect(s_login1Service,
-+ m_bus.connect(*m_service,
- sessionPath,
-- s_login1SessionInterface,
-+ *m_sessionInterface,
- QStringLiteral("Lock"),
- this,
- SIGNAL(requestLock()));
-- m_bus.connect(s_login1Service,
-+ m_bus.connect(*m_service,
- sessionPath,
-- s_login1SessionInterface,
-+ *m_sessionInterface,
- QStringLiteral("Unlock"),
- this,
- SIGNAL(requestUnlock()));
-@@ -123,9 +170,9 @@
- );
-
- // connect to manager object's signals we need
-- m_bus.connect(s_login1Service,
-- s_login1Path,
-- s_login1ManagerInterface,
-+ m_bus.connect(*m_service,
-+ *m_path,
-+ *m_managerInterface,
- QStringLiteral("PrepareForSleep"),
- this,
- SIGNAL(prepareForSleep(bool)));
-@@ -136,9 +183,14 @@
- if (m_inhibitFileDescriptor.isValid()) {
- return;
- }
-- QDBusMessage message = QDBusMessage::createMethodCall(s_login1Service,
-- s_login1Path,
-- s_login1ManagerInterface,
-+
-+ if (!m_connected) {
-+ return;
-+ }
-+
-+ QDBusMessage message = QDBusMessage::createMethodCall(*m_service,
-+ *m_path,
-+ *m_managerInterface,
- QStringLiteral("Inhibit"));
- message.setArguments(QVariantList({QStringLiteral("sleep"),
- i18n("Screen Locker"),
-
---- a/ksmserver/screenlocker/logind.h
-+++ b/ksmserver/screenlocker/logind.h
-@@ -23,6 +23,7 @@
- #include <QDBusConnection>
- #include <QDBusUnixFileDescriptor>
- #include <QObject>
-+#include <QDBusPendingCallWatcher>
-
- class QDBusServiceWatcher;
-
-@@ -59,10 +60,16 @@
- **/
- explicit LogindIntegration(const QDBusConnection &connection, QObject *parent = nullptr);
- void logindServiceRegistered();
-+ void consolekitServiceRegistered();
-+ void commonServiceRegistered(QDBusPendingCallWatcher *watcher);
- QDBusConnection m_bus;
- QDBusServiceWatcher *m_logindServiceWatcher;
- bool m_connected;
- QDBusUnixFileDescriptor m_inhibitFileDescriptor;
-+ const QString *m_service;
-+ const QString *m_path;
-+ const QString *m_managerInterface;
-+ const QString *m_sessionInterface;
- };
-
- #endif
-
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-fix-drkonqi.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-fix-drkonqi.patch
deleted file mode 100644
index 9aa89ca914d7..000000000000
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-fix-drkonqi.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From: David Edmundson <kde@davidedmundson.co.uk>
-Date: Wed, 21 Oct 2015 16:42:01 +0000
-Subject: Don't connect to signals which don't exist
-X-Git-Url: http://quickgit.kde.org/?p=plasma-workspace.git&a=commitdiff&h=2441d350ef571329b67848f79668f3956534806e
----
-Don't connect to signals which don't exist
-
-Fix KDialog porting
----
-
-
---- a/drkonqi/bugzillaintegration/reportassistantpages_bugzilla_duplicates.cpp
-+++ b/drkonqi/bugzillaintegration/reportassistantpages_bugzilla_duplicates.cpp
-@@ -574,7 +574,7 @@
- QIcon::fromTheme("view-refresh"),
- i18nc("@info:tooltip", "Use this button to retry "
- "loading the bug report.")));
-- connect(ui.m_retryButton, SIGNAL(clicked()), this, SLOT(reloadReport()));
-+ connect(ui.m_retryButton, &QPushButton::clicked, this, &BugzillaReportInformationDialog::reloadReport);
-
- m_suggestButton = new QPushButton(this);
- ui.buttonBox->addButton(m_suggestButton, QDialogButtonBox::ActionRole);
-@@ -583,7 +583,7 @@
- QIcon::fromTheme("list-add"), i18nc("@info:tooltip", "Use this button to suggest that "
- "the crash you experienced is related to this bug "
- "report")));
-- connect(this, SIGNAL(user1Clicked()) , this, SLOT(relatedReportClicked()));
-+ connect(m_suggestButton, &QPushButton::clicked, this, &BugzillaReportInformationDialog::relatedReportClicked);
-
- connect(ui.m_showOwnBacktraceCheckBox, SIGNAL(toggled(bool)), this, SLOT(toggleShowOwnBacktrace(bool)));
-
-
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-lockscreen-bypass.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-lockscreen-bypass.patch
deleted file mode 100644
index 977251e5798d..000000000000
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-lockscreen-bypass.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 23a9ed7ba9995570227dbcd69c23f009de7dde49 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= <mgraesslin@kde.org>
-Date: Tue, 9 Feb 2016 16:37:50 +0100
-Subject: [PATCH] [greeter] Dont quit when last window closes
-
-Qt allows to have no screens. If all XRandR screens are disconnected
-there are also no QScreens. This is from an X11 perspective wrong, but
-we have to deal with it. No QScreens means that all views are destroyed
-and no new ones are created. Thus all windows close and the greeter
-exited successfully which in turn unlocked the screen.
-
-This change ensures that the greeter doesn't exit when all windows close.
-
-Funnily this was not a problem with the well known issue of Qt
-crashing when all screens are disconnected. The lock screen handles
-crashes gracefully and just restarts or more likely Qt also crashes
-the application using KSld and thus taking down the complete session.
-
-CCBUG: 358125
----
- ksmserver/screenlocker/greeter/main.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/ksmserver/screenlocker/greeter/main.cpp b/ksmserver/screenlocker/greeter/main.cpp
-index fa4bf62..0a68835 100644
---- a/ksmserver/screenlocker/greeter/main.cpp
-+++ b/ksmserver/screenlocker/greeter/main.cpp
-@@ -56,6 +56,7 @@ int main(int argc, char* argv[])
- // explicitly disable input methods as it makes it impossible to unlock, see BUG 306932
- qputenv("QT_IM_MODULE", QByteArrayLiteral("compose"));
- ScreenLocker::UnlockApp app(argc, argv);
-+ app.setQuitOnLastWindowClosed(false);
- QCoreApplication::setApplicationName(QStringLiteral("kscreenlocker_greet"));
- QCoreApplication::setApplicationVersion(QStringLiteral("0.1"));
- QCoreApplication::setOrganizationDomain(QStringLiteral("kde.org"));
---
-2.4.10
-
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-no-SUID-no-GUID.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-no-SUID-no-GUID.patch
deleted file mode 100644
index a099b2324f91..000000000000
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.4.3-no-SUID-no-GUID.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/kcheckpass/CMakeLists.txt b/kcheckpass/CMakeLists.txt
-index a63fa1403e897e70989dc2e1ba7eed4bc69cbb51..12d1bfb3c690eca1acf344045a92eb942669da83 100644
---- a/ksmserver/screenlocker/kcheckpass/CMakeLists.txt
-+++ b/ksmserver/screenlocker/kcheckpass/CMakeLists.txt
-@@ -22,10 +22,6 @@ endif ()
-
- set_property(TARGET kcheckpass APPEND_STRING PROPERTY COMPILE_FLAGS " -U_REENTRANT")
- target_link_libraries(kcheckpass ${UNIXAUTH_LIBRARIES} ${SOCKET_LIBRARIES})
--install(TARGETS kcheckpass DESTINATION ${KDE_INSTALL_LIBEXECDIR})
--install(CODE "
-- set(KCP_PATH \"\$ENV{DESTDIR}${KDE_INSTALL_LIBEXECDIR}/kcheckpass\")
-- execute_process(COMMAND sh -c \"chown root '\${KCP_PATH}' && chmod +s '\${KCP_PATH}'\")
--")
-+install(TARGETS kcheckpass DESTINATION ${LIBEXEC_INSTALL_DIR})
-
- #EXTRA_DIST = README
diff --git a/kde-plasma/plasma-workspace/metadata.xml b/kde-plasma/plasma-workspace/metadata.xml
index 9ea440057c16..bc65a860b673 100644
--- a/kde-plasma/plasma-workspace/metadata.xml
+++ b/kde-plasma/plasma-workspace/metadata.xml
@@ -6,10 +6,8 @@
<name>Gentoo KDE Project</name>
</maintainer>
<use>
- <flag name="drkonqi">Enables DrKonqi, the KDE crash handler</flag>
<flag name="geolocation">Enables dataengine providing location information</flag>
<flag name="prison">Enable support for barcodes/QRcodes</flag>
<flag name="qalculate">Enable Qalculate runner using <pkg>sci-libs/libqalculate</pkg></flag>
- <flag name="systemmonitor">Enables the system monitor dialog for the Plasma workspace</flag>
</use>
</pkgmetadata>
diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.4.3-r2.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.4.3-r2.ebuild
deleted file mode 100644
index 0b95d6e9c8a9..000000000000
--- a/kde-plasma/plasma-workspace/plasma-workspace-5.4.3-r2.ebuild
+++ /dev/null
@@ -1,208 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-KDE_HANDBOOK="true"
-KDE_PUNT_BOGUS_DEPS="true"
-KDE_TEST="true"
-VIRTUALX_REQUIRED="test"
-inherit kde5 multilib pam qmake-utils
-
-DESCRIPTION="KDE Plasma workspace"
-KEYWORDS=" ~amd64 ~x86"
-IUSE="dbus +drkonqi +geolocation gps pam prison qalculate +systemmonitor"
-
-COMMON_DEPEND="
- $(add_frameworks_dep baloo)
- $(add_frameworks_dep kactivities)
- $(add_frameworks_dep kauth)
- $(add_frameworks_dep kbookmarks)
- $(add_frameworks_dep kcmutils)
- $(add_frameworks_dep kcompletion)
- $(add_frameworks_dep kconfig)
- $(add_frameworks_dep kconfigwidgets)
- $(add_frameworks_dep kcoreaddons)
- $(add_frameworks_dep kcrash)
- $(add_frameworks_dep kdbusaddons)
- $(add_frameworks_dep kdeclarative)
- $(add_frameworks_dep kdelibs4support)
- $(add_frameworks_dep kdesu)
- $(add_frameworks_dep kglobalaccel)
- $(add_frameworks_dep kguiaddons)
- $(add_frameworks_dep ki18n)
- $(add_frameworks_dep kiconthemes)
- $(add_frameworks_dep kidletime)
- $(add_frameworks_dep kio)
- $(add_frameworks_dep kitemviews)
- $(add_frameworks_dep kjobwidgets)
- $(add_frameworks_dep kjs)
- $(add_frameworks_dep kjsembed)
- $(add_frameworks_dep knewstuff)
- $(add_frameworks_dep knotifications)
- $(add_frameworks_dep knotifyconfig)
- $(add_frameworks_dep kpackage)
- $(add_frameworks_dep krunner)
- $(add_frameworks_dep kservice)
- $(add_frameworks_dep ktexteditor)
- $(add_frameworks_dep ktextwidgets)
- $(add_frameworks_dep kwallet)
- $(add_frameworks_dep kwidgetsaddons)
- $(add_frameworks_dep kwindowsystem)
- $(add_frameworks_dep kxmlgui)
- $(add_frameworks_dep kxmlrpcclient)
- $(add_frameworks_dep plasma)
- $(add_frameworks_dep solid)
- $(add_plasma_dep kwayland)
- $(add_plasma_dep kwin)
- $(add_plasma_dep libkscreen)
- $(add_plasma_dep libksysguard)
- dev-libs/wayland
- dev-qt/qtconcurrent:5
- dev-qt/qtdbus:5
- dev-qt/qtdeclarative:5[widgets]
- dev-qt/qtgui:5[jpeg]
- dev-qt/qtnetwork:5
- dev-qt/qtscript:5
- dev-qt/qtsql:5
- dev-qt/qtwidgets:5
- dev-qt/qtx11extras:5
- dev-qt/qtxml:5
- media-libs/phonon[qt5]
- sys-libs/zlib
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libxcb
- x11-libs/libXfixes
- x11-libs/libXi
- x11-libs/libXrender
- x11-libs/xcb-util-keysyms
- dbus? ( dev-libs/libdbusmenu-qt[qt5] )
- drkonqi? (
- $(add_frameworks_dep kdewebkit)
- dev-qt/qtwebkit:5
- )
- geolocation? ( $(add_frameworks_dep networkmanager-qt) )
- gps? ( sci-geosciences/gpsd )
- pam? ( virtual/pam )
- prison? ( media-libs/prison:5 )
- qalculate? ( sci-libs/libqalculate )
- systemmonitor? (
- $(add_plasma_dep libksysguard processui)
- )
-"
-RDEPEND="${COMMON_DEPEND}
- $(add_frameworks_dep kded)
- $(add_kdeapps_dep kio-extras)
- $(add_plasma_dep kde-cli-tools)
- $(add_plasma_dep milou)
- dev-qt/qdbus:5
- dev-qt/qtpaths:5
- dev-qt/qtquickcontrols:5[widgets]
- x11-apps/mkfontdir
- x11-apps/xmessage
- x11-apps/xprop
- x11-apps/xrdb
- x11-apps/xset
- x11-apps/xsetroot
- systemmonitor? ( $(add_plasma_dep ksysguard) )
- !kde-base/freespacenotifier:4
- !kde-base/libtaskmanager:4
- !<kde-base/kcheckpass-4.11.22-r1:4
- !kde-base/kcminit:4
- !kde-base/kdebase-pam:0
- !kde-base/kdebase-startkde:4
- !kde-base/klipper:4
- !kde-base/krunner:4
- !kde-base/ksmserver:4
- !kde-base/ksplash:4
- !kde-base/plasma-workspace:4
-"
-DEPEND="${COMMON_DEPEND}
- x11-proto/xproto
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-5.4-startkde-script.patch"
- "${FILESDIR}/${PN}-5.4-consolekit2.patch"
- "${FILESDIR}/${PN}-5.4.3-fix-drkonqi.patch" #Upstream bug 354110
- "${FILESDIR}/${PN}-5.4.3-no-SUID-no-GUID.patch"
- "${FILESDIR}/${P}-lockscreen-bypass.patch"
-)
-
-RESTRICT="test"
-
-src_prepare() {
- # whole patch should be upstreamed, doesn't work in PATCHES
- epatch "${FILESDIR}/${PN}-tests-optional.patch"
-
- kde5_src_prepare
-
- sed -e "s|\`qtpaths|\`$(qt5_get_bindir)/qtpaths|" \
- -i startkde/startkde.cmake startkde/startplasmacompositor.cmake || die
-
- if ! use drkonqi; then
- comment_add_subdirectory drkonqi
- fi
-
- if ! use geolocation; then
- punt_bogus_dep KF5 NetworkManagerQt
- pushd dataengines > /dev/null || die
- comment_add_subdirectory geolocation
- popd > /dev/null || die
- fi
-
- if ! use systemmonitor; then
- comment_add_subdirectory systemmonitor
- pushd applets > /dev/null || die
- comment_add_subdirectory systemmonitor
- popd > /dev/null || die
- pushd dataengines > /dev/null || die
- comment_add_subdirectory systemmonitor
- popd > /dev/null || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- $(cmake-utils_use_find_package pam)
- $(cmake-utils_use_find_package dbus dbusmenu-qt5)
- $(cmake-utils_use_find_package gps libgps)
- $(cmake-utils_use_find_package prison)
- $(cmake-utils_use_find_package qalculate Qalculate)
- )
-
- kde5_src_configure
-}
-
-src_install() {
- kde5_src_install
-
- newpamd "${FILESDIR}/kde.pam" kde
- newpamd "${FILESDIR}/kde-np.pam" kde-np
-
- # startup and shutdown scripts
- insinto /etc/plasma/startup
- doins "${FILESDIR}/agent-startup.sh"
-
- insinto /etc/plasma/shutdown
- doins "${FILESDIR}/agent-shutdown.sh"
-
- if ! use pam; then
- chown root "${ED}"usr/$(get_libdir)/libexec/kcheckpass || die
- chmod +s "${ED}"usr/$(get_libdir)/libexec/kcheckpass || die
- fi
-}
-
-pkg_postinst () {
- kde5_pkg_postinst
-
- echo
- elog "To enable gpg-agent and/or ssh-agent in Plasma sessions,"
- elog "edit ${EPREFIX}/etc/plasma/startup/agent-startup.sh and"
- elog "${EPREFIX}/etc/plasma/shutdown/agent-shutdown.sh"
- echo
-}