diff options
author | Johannes Huber <johu@gentoo.org> | 2016-12-09 20:16:51 +0100 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2016-12-09 20:42:23 +0100 |
commit | 4eea621fcbebca17e65d37591d2de3ec634372e8 (patch) | |
tree | 91a023e160057e5767d9661449d878d5b8c435ff /kde-plasma/powerdevil | |
parent | net-wireless/broadcom-sta: Fix download links. (diff) | |
download | gentoo-4eea621fcbebca17e65d37591d2de3ec634372e8.tar.gz gentoo-4eea621fcbebca17e65d37591d2de3ec634372e8.tar.bz2 gentoo-4eea621fcbebca17e65d37591d2de3ec634372e8.zip |
kde-plasma: Remove KDE Plasma 5.7.5
Package-Manager: portage-2.3.3
Diffstat (limited to 'kde-plasma/powerdevil')
-rw-r--r-- | kde-plasma/powerdevil/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/powerdevil/files/powerdevil-5.6.95-wireless-optional.patch | 177 | ||||
-rw-r--r-- | kde-plasma/powerdevil/powerdevil-5.7.5.ebuild | 102 |
3 files changed, 0 insertions, 280 deletions
diff --git a/kde-plasma/powerdevil/Manifest b/kde-plasma/powerdevil/Manifest index 2a25db9bb68d..8d5d2b9f3e01 100644 --- a/kde-plasma/powerdevil/Manifest +++ b/kde-plasma/powerdevil/Manifest @@ -1,4 +1,3 @@ DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802 -DIST powerdevil-5.7.5.tar.xz 359656 SHA256 53f90edf793bb055e397d1860930a653a7cc519635c9a775ef97b1d7b18f2ec9 SHA512 f9261c8758f6f44ae4232f7182a3cf4afac17b672700d6ec8f277bf20306ab4f739a790c7738e5e30afdb8c4c7cf1db1b7c3327a547f12ef4dbc5f07879c7102 WHIRLPOOL a4e64f01a19c6053ca9b521f690d89c3c01c5a350d92510d8fec8162bfa2be2f72af9c838338af1787daefaf923b14255f34b37b78b87209be047a718da63476 DIST powerdevil-5.8.3.tar.xz 356356 SHA256 415f345af1efb94ea9d64942e149aa7686e769ebeec74f2fbd6c30b27ed7a9c6 SHA512 a250d7f93d268b4edd1b82fd28412dd7eb427485c805d319fc3806780a776112d576f3a6958c8826008889f13c6ba9e7d203512ee009046aa084e7024b4f7828 WHIRLPOOL 72ea1fbeac08df5c5ae9d30c5e85443fdb456b8b15227deee0b221825af6b37e1e7c29581c1d8684d2682aa929e97e5646644e001a7511dfab048f10c60b13c4 DIST powerdevil-5.8.4.tar.xz 357992 SHA256 9e55f6405da947f7a8dd97b41acd2eafbb5d77fd1943d024e28935f951f22cac SHA512 250ef5d13649f4826356b72d2d98cf7379f5f4f27757b63f9937bf2ec438d6f038adc21ec3410e8fd8825bce6282c22ddcf1b7be1e8e8704a4ab3af3b7d537dd WHIRLPOOL c05a605f798ff4ddbd7d8c0078a6823640c64fa45e6b3cb530403791baee8711f15d8d3cee5bae010f8e5d14becc78203e227cb48e118c4395160e7e70f7dc30 diff --git a/kde-plasma/powerdevil/files/powerdevil-5.6.95-wireless-optional.patch b/kde-plasma/powerdevil/files/powerdevil-5.6.95-wireless-optional.patch deleted file mode 100644 index b1731c734210..000000000000 --- a/kde-plasma/powerdevil/files/powerdevil-5.6.95-wireless-optional.patch +++ /dev/null @@ -1,177 +0,0 @@ -commit 7d8a12c65dbbb8166beee53b4bb0c1f2fdede6c6 -Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> -Date: Sun Jun 19 12:14:25 2016 +0200 - - Revert-Revert "Make NetworkManagerQt and BluezQt optional" - - This reverts commit f2018a8d3c5f2824278bb167cb48d938ca2670c4. - - commit 3257be562b2c48eb11c9e32f7e4fd82ea7fb090b - Author: Heiko Becker <heirecka@exherbo.org> - Date: Wed Jun 15 23:07:46 2016 +0200 - - Summary: - While it is most certainly sensible and helpful on a system equipped - with Bluetooth and Wi-Fi hardware, it serves no purpose on a desktop - system without these and just pulls in a long chain of unwanted - dependencies. - - Test Plan: Successfully built with BluezQt and NetworkManagerQt present and missing. - - Reviewers: #plasma, broulik - - Subscribers: plasma-devel - - Tags: #plasma - - Differential Revision: https://phabricator.kde.org/D1944 - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 6b631b4..6117f75 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -22,9 +22,32 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") - endif() - - find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Widgets DBus X11Extras) --find_package(KF5 REQUIRED COMPONENTS Activities Auth IdleTime Config DBusAddons Solid I18n GlobalAccel KIO NotifyConfig Screen KDELibs4Support Wayland NetworkManagerQt BluezQt) -+find_package(KF5 REQUIRED COMPONENTS Activities Auth IdleTime Config DBusAddons Solid I18n GlobalAccel KIO NotifyConfig Screen KDELibs4Support Wayland) - find_package(LibKWorkspace CONFIG REQUIRED) - -+find_package(KF5BluezQt) -+set_package_properties(KF5BluezQt -+ PROPERTIES DESCRIPTION "Qt wrapper for BlueZ 5 DBus API" -+ TYPE OPTIONAL -+ PURPOSE "Support for wireless energy saving actions" -+) -+find_package(KF5NetworkManagerQt) -+set_package_properties(KF5NetworkManagerQt -+ PROPERTIES DESCRIPTION "Qt wrapper for NetworkManager API" -+ TYPE OPTIONAL -+ PURPOSE "Support for wireless energy saving actions" -+) -+ -+set(HAVE_WIRELESS_SUPPORT FALSE) -+if(KF5NetworkManagerQt_FOUND AND KF5BluezQt_FOUND) -+ set(HAVE_WIRELESS_SUPPORT TRUE) -+endif() -+add_feature_info( -+ "Wireless power saving" -+ HAVE_WIRELESS_SUPPORT -+ "Support turning off signal-transmitting devices to save energy" -+) -+ - find_package(UDev REQUIRED) - - find_package(XCB REQUIRED COMPONENTS XCB RANDR DPMS) -diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt -index 4b0aafd..9c9b897 100644 ---- a/daemon/CMakeLists.txt -+++ b/daemon/CMakeLists.txt -@@ -19,9 +19,14 @@ set(powerdevil_bundled_actions_SRCS - actions/bundled/dimdisplay.cpp - actions/bundled/runscript.cpp - actions/bundled/handlebuttonevents.cpp -- actions/bundled/wirelesspowersaving.cpp - ) - -+if(HAVE_WIRELESS_SUPPORT) -+ set(powerdevil_bundled_actions_SRCS ${powerdevil_bundled_actions_SRCS} -+ actions/bundled/wirelesspowersaving.cpp -+ ) -+endif() -+ - # target no.1 - powerdevil core library - set(powerdevilcore_SRCS - powerdevil_debug.cpp -@@ -49,8 +54,10 @@ qt5_add_dbus_adaptor(powerdevilcore_SRCS actions/bundled/org.kde.Solid.PowerMana - actions/bundled/handlebuttonevents.h PowerDevil::BundledActions::HandleButtonEvents) - qt5_add_dbus_adaptor(powerdevilcore_SRCS actions/bundled/org.kde.Solid.PowerManagement.Actions.SuspendSession.xml - actions/bundled/suspendsession.h PowerDevil::BundledActions::SuspendSession) --qt5_add_dbus_adaptor(powerdevilcore_SRCS actions/bundled/org.kde.Solid.PowerManagement.Actions.WirelessPowerSaving.xml -- actions/bundled/wirelesspowersaving.h PowerDevil::BundledActions::WirelessPowerSaving) -+if(HAVE_WIRELESS_SUPPORT) -+ qt5_add_dbus_adaptor(powerdevilcore_SRCS actions/bundled/org.kde.Solid.PowerManagement.Actions.WirelessPowerSaving.xml -+ actions/bundled/wirelesspowersaving.h PowerDevil::BundledActions::WirelessPowerSaving) -+endif() - - add_library(powerdevilcore SHARED ${powerdevilcore_SRCS} ${powerdevil_bundled_actions_SRCS}) - set_target_properties(powerdevilcore PROPERTIES VERSION ${POWERDEVIL_CORE_VERSION_STRING} SOVERSION ${POWERDEVIL_CORE_VERSION_MAJOR}) -@@ -70,11 +77,16 @@ target_link_libraries(powerdevilcore - KF5::WidgetsAddons - KF5::Notifications - KF5::XmlGui -- KF5::NetworkManagerQt -- KF5::BluezQt - PW::KWorkspace - ) - -+if(HAVE_WIRELESS_SUPPORT) -+ target_link_libraries(powerdevilcore -+ KF5::NetworkManagerQt -+ KF5::BluezQt -+ ) -+endif() -+ - if (XCB_FOUND) # kwin kscreen helper effect - target_link_libraries(powerdevilcore Qt5::X11Extras XCB::XCB) - endif () -diff --git a/daemon/actions/bundled/CMakeLists.txt b/daemon/actions/bundled/CMakeLists.txt -index e3e8eeb..9623b57 100644 ---- a/daemon/actions/bundled/CMakeLists.txt -+++ b/daemon/actions/bundled/CMakeLists.txt -@@ -19,8 +19,9 @@ add_powerdevil_bundled_action(keyboardbrightnesscontrol) - add_powerdevil_bundled_action(dimdisplay) - add_powerdevil_bundled_action(runscript KF5::KIOCore KF5::KIOWidgets) - add_powerdevil_bundled_action(suspendsession KF5::KIOCore KF5::KIOWidgets KF5::Solid KF5::KDELibs4Support) --add_powerdevil_bundled_action(wirelesspowersaving KF5::NetworkManagerQt KF5::BluezQt) -- -+if(HAVE_WIRELESS_SUPPORT) -+ add_powerdevil_bundled_action(wirelesspowersaving KF5::NetworkManagerQt KF5::BluezQt) -+endif() - - set(actionconfig_SRCS handlebuttoneventsconfig.cpp) - qt5_add_dbus_interface(actionconfig_SRCS -diff --git a/daemon/config-powerdevil.h.cmake b/daemon/config-powerdevil.h.cmake -index 62938dc..042317d 100644 ---- a/daemon/config-powerdevil.h.cmake -+++ b/daemon/config-powerdevil.h.cmake -@@ -1,2 +1,5 @@ - /* Defines if you have XCB */ - #cmakedefine HAVE_XCB 1 -+ -+/* Define to 1 if you have NetworkManagerQt and BluezQt libs. */ -+#cmakedefine HAVE_WIRELESS_SUPPORT 1 -diff --git a/daemon/powerdevilactionpool.cpp b/daemon/powerdevilactionpool.cpp -index 7ef823a..2864483 100644 ---- a/daemon/powerdevilactionpool.cpp -+++ b/daemon/powerdevilactionpool.cpp -@@ -24,6 +24,8 @@ - #include "powerdevilcore.h" - #include "powerdevil_debug.h" - -+#include <config-powerdevil.h> -+ - #include <KConfigGroup> - #include <KServiceTypeTrader> - #include <KPluginInfo> -@@ -38,7 +40,9 @@ - #include "actions/bundled/dimdisplay.h" - #include "actions/bundled/runscript.h" - #include "actions/bundled/handlebuttonevents.h" -+#ifdef HAVE_WIRELESS_SUPPORT - #include "actions/bundled/wirelesspowersaving.h" -+#endif - - namespace PowerDevil - { -@@ -127,7 +131,9 @@ void ActionPool::init(PowerDevil::Core *parent) - m_actionPool.insert("DimDisplay", new BundledActions::DimDisplay(parent)); - m_actionPool.insert("RunScript", new BundledActions::RunScript(parent)); - m_actionPool.insert("HandleButtonEvents", new BundledActions::HandleButtonEvents(parent)); -+#ifdef HAVE_WIRELESS_SUPPORT - m_actionPool.insert("WirelessPowerSaving", new BundledActions::WirelessPowerSaving(parent)); -+#endif - - // Verify support - QHash<QString,Action*>::iterator i = m_actionPool.begin(); diff --git a/kde-plasma/powerdevil/powerdevil-5.7.5.ebuild b/kde-plasma/powerdevil/powerdevil-5.7.5.ebuild deleted file mode 100644 index 5ba520b7678f..000000000000 --- a/kde-plasma/powerdevil/powerdevil-5.7.5.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -KDE_GCC_MINIMAL="4.8" -KDE_HANDBOOK="true" -inherit kde5 - -DESCRIPTION="Power management for KDE Plasma Shell" -HOMEPAGE="https://projects.kde.org/projects/kde/workspace/powerdevil" -KEYWORDS="amd64 ~arm x86" -IUSE="systemd +wireless" - -DEPEND=" - $(add_frameworks_dep kactivities) - $(add_frameworks_dep kauth policykit) - $(add_frameworks_dep kcompletion) - $(add_frameworks_dep kconfig) - $(add_frameworks_dep kconfigwidgets) - $(add_frameworks_dep kcoreaddons) - $(add_frameworks_dep kdbusaddons) - $(add_frameworks_dep kdelibs4support) - $(add_frameworks_dep kglobalaccel) - $(add_frameworks_dep ki18n) - $(add_frameworks_dep kidletime) - $(add_frameworks_dep kio) - $(add_frameworks_dep knotifications) - $(add_frameworks_dep knotifyconfig) - $(add_frameworks_dep kservice) - $(add_frameworks_dep kwayland) - $(add_frameworks_dep kwidgetsaddons) - $(add_frameworks_dep kxmlgui) - $(add_frameworks_dep solid) - $(add_plasma_dep libkscreen) - $(add_plasma_dep plasma-workspace) - $(add_qt_dep qtdbus) - $(add_qt_dep qtgui) - $(add_qt_dep qtwidgets) - $(add_qt_dep qtx11extras) - virtual/libudev:= - x11-libs/libxcb - wireless? ( - $(add_frameworks_dep bluez-qt) - $(add_frameworks_dep networkmanager-qt) - ) -" - -RDEPEND="${DEPEND} - $(add_plasma_dep kde-cli-tools) - systemd? ( >=sys-power/upower-0.9.23 ) - !systemd? ( - sys-auth/polkit-pkla-compat - || ( - ( - >=sys-auth/consolekit-1.0.1 - sys-power/pm-utils - >=sys-power/upower-0.9.23 - ) - sys-power/upower-pm-utils - ) - ) - !kde-plasma/powerdevil:4 - !kde-plasma/systemsettings:4[handbook] -" - -PATCHES=( "${FILESDIR}/${PN}-5.6.95-wireless-optional.patch" ) - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_find_package wireless KF5BluezQt) - $(cmake-utils_use_find_package wireless KF5NetworkManagerQt) - ) - - kde5_src_configure -} - -src_install() { - kde5_src_install - - if ! use systemd ; then - insinto /etc/polkit-1/localauthority/10-vendor.d/ - doins "${FILESDIR}"/10-org.freedesktop.upower.pkla - doins "${FILESDIR}"/20-org.freedesktop.consolekit.system.stop-multiple-users.pkla - doins "${FILESDIR}"/30-org.freedesktop.consolekit.system.restart-multiple-users.pkla - doins "${FILESDIR}"/40-org.freedesktop.consolekit.system.suspend-multiple-users.pkla - doins "${FILESDIR}"/50-org.freedesktop.consolekit.system.hibernate-multiple-users.pkla - fi -} - -pkg_postinst() { - kde5_pkg_postinst - - if has_version sys-power/upower-pm-utils && ! use systemd ; then - ewarn "You have sys-power/upower-pm-utils installed, which was recommended in the past to" - ewarn "enable suspend and hibernate support. This workaround is no longer required, and it" - ewarn "is now recommended to use a recent version of upower and consolekit instead:" - ewarn - ewarn "emerge --ask --update \">=sys-auth/consolekit-1.0.0\" sys-power/upower" - fi -} |