diff options
author | Michael Palimaka <kensington@gentoo.org> | 2015-12-31 23:37:25 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-12-31 23:38:29 +1100 |
commit | 049c32b66b69754dfe795d0b2496ef45a4338f48 (patch) | |
tree | e2f558a6e3be236f194c317c4382d2fd5623c6d1 /kde-plasma/plasma-workspace | |
parent | 124725c1081d7090f48f39d1c34bb1802d42fe1b (diff) | |
download | gentoo-049c32b66b69754dfe795d0b2496ef45a4338f48.tar.gz gentoo-049c32b66b69754dfe795d0b2496ef45a4338f48.tar.xz |
kde-plasma: version bump 5.5.2
Package-Manager: portage-2.2.26
Diffstat (limited to 'kde-plasma/plasma-workspace')
-rw-r--r-- | kde-plasma/plasma-workspace/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/plasma-workspace/files/10-agent-shutdown.sh | 13 | ||||
-rw-r--r-- | kde-plasma/plasma-workspace/files/10-agent-startup.sh | 29 | ||||
-rw-r--r-- | kde-plasma/plasma-workspace/plasma-workspace-5.5.2-r1.ebuild | 171 |
4 files changed, 214 insertions, 0 deletions
diff --git a/kde-plasma/plasma-workspace/Manifest b/kde-plasma/plasma-workspace/Manifest index 620380138ae..5290d42c652 100644 --- a/kde-plasma/plasma-workspace/Manifest +++ b/kde-plasma/plasma-workspace/Manifest @@ -2,3 +2,4 @@ DIST plasma-workspace-5.4.3.tar.xz 8648136 SHA256 bfe459234e1bcd8ed5c3a645240613 DIST plasma-workspace-5.5.0.tar.xz 7382184 SHA256 2338e8b35651c5caf4fe28c99e37e89d56538f8b7c80a367e26af808f4007f04 SHA512 7ed3bd8e0b3d9c2c5c7043afea7fc103f4a8fe80cfb97c0508fc666373379c9060ee2d41523f42ef43ae675f180779f1d6d576822a989c57f0f01892fa7ac435 WHIRLPOOL f7aa77395063bf575c3318cb12fcd5bfc858761db16ebb4f8529e3617cc991cc1f9e14aacf6dbe95bac2794d0303f4e7d8b26aaed17306afdc143c6642dc39d6 DIST plasma-workspace-5.5.1.1.tar.xz 7383100 SHA256 7e91dac2301975ae8ee788deddc9e4ac8c5f699865e85d09cefe0f9f29ac3705 SHA512 5108b4a36c73d286f6409c038d73f3b78ee2a52690604ffb66e90af632fd8d4bc485a923560e57dfd4b45390fef31320782c76800170c248fe130df6ad8c715d WHIRLPOOL f041cd663fe263760305dd6cf1245e74f5297955d39bc270942f0cf003da20d12e5de473c8463c93c222d92fafa564ff394515c26be387fb50a803b33dce025d DIST plasma-workspace-5.5.1.tar.xz 7383196 SHA256 b8423fe5b8f6ef08f5c187320a58538dde37cb47263371bc8e1de2f9619eaecd SHA512 4d4be563146e0b587607e2eed499444303d82658a76a8436c696124952d11a8bb88a7de288f932c56e680627228ec8301d71798023576a3f475162421a1ba371 WHIRLPOOL 4ef868107e9d8c9bd7a2d4c898aab3cfb1ad1f112b6c284228920776626bfded2beb088e4b7c6ec782236664e73b9ac24a02f6845e3bd588443059706ca0487c +DIST plasma-workspace-5.5.2.tar.xz 7383220 SHA256 8cfad1c2dd3375a3f36580c76e53834ec908fb67ee3181fe007252621076d502 SHA512 5c08e68b40d0c577cf5d46460d32c317d0f26255fd78b4d1b2f96f4b44839f91bad2b9a1fb65bdec8046471caf94a481ea720993c700aa6f215a2c3fbb404e4f WHIRLPOOL b05a1024fc098b8ae3c664c8200f3c034ae3db3a08293d48d339360f5ff627d763933b0ed905016743d1c1604026d7da60af9b3b4288e017e37c2773161e62d3 diff --git a/kde-plasma/plasma-workspace/files/10-agent-shutdown.sh b/kde-plasma/plasma-workspace/files/10-agent-shutdown.sh new file mode 100644 index 00000000000..fff8056df2c --- /dev/null +++ b/kde-plasma/plasma-workspace/files/10-agent-shutdown.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# +# This file is executed at plasma shutdown. +# Uncomment the following lines to kill the agents +# that were started at session startup. + +#if [ -n "${GPG_AGENT_INFO}" ]; then +# kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) >/dev/null 2>&1 +#fi + +#if [ -n "${SSH_AGENT_PID}" ]; then +# eval "$(ssh-agent -s -k)" +#fi diff --git a/kde-plasma/plasma-workspace/files/10-agent-startup.sh b/kde-plasma/plasma-workspace/files/10-agent-startup.sh new file mode 100644 index 00000000000..03e017ac4e9 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/10-agent-startup.sh @@ -0,0 +1,29 @@ +# Agents startup file +# +# This file is sourced at plasma startup, so that +# the environment variables set here are available +# throughout the session. + +# Uncomment the following lines to start gpg-agent +# and/or ssh-agent at plasma startup. +# If you do so, do not forget to uncomment the respective +# lines in PLASMADIR/shutdown/agent-shutdown.sh to +# properly kill the agents when the session ends. + +#if [ -x /usr/bin/gpg-agent ]; then +# eval "$(/usr/bin/gpg-agent --daemon)" +#fi + +#if [ -x /usr/bin/ssh-agent ]; then +# eval "$(/usr/bin/ssh-agent -s)" +#fi + +# Uncomment the following lines to start rxvt-unicode which has the ability to +# run multiple terminals in one single process, thus starting up faster and +# saving resources. +# The --opendisplay ensures that the daemon quits when the X server terminates, +# therefore we don't need matching lines in agent-shutdown.sh. + +#if [ -x /usr/bin/urxvtd ]; then +# /usr/bin/urxvtd --opendisplay --fork --quiet +#fi diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.5.2-r1.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.5.2-r1.ebuild new file mode 100644 index 00000000000..7d904f13dec --- /dev/null +++ b/kde-plasma/plasma-workspace/plasma-workspace-5.5.2-r1.ebuild @@ -0,0 +1,171 @@ +# Copyright 1999-2015 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" +QT_MINIMAL="5.5.0" +VIRTUALX_REQUIRED="test" +inherit kde5 multilib qmake-utils + +DESCRIPTION="KDE Plasma workspace" +KEYWORDS="~amd64 ~x86" +IUSE="dbus +geolocation gps prison qalculate" + +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 kscreenlocker) + $(add_plasma_dep kwayland) + $(add_plasma_dep kwin) + $(add_plasma_dep libkscreen) + $(add_plasma_dep libksysguard) + 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/libXrender + x11-libs/xcb-util + x11-libs/xcb-util-image + dbus? ( dev-libs/libdbusmenu-qt[qt5] ) + geolocation? ( $(add_frameworks_dep networkmanager-qt) ) + gps? ( sci-geosciences/gpsd ) + prison? ( media-libs/prison:5 ) + qalculate? ( sci-libs/libqalculate ) +" +RDEPEND="${COMMON_DEPEND} + $(add_frameworks_dep kded) + $(add_kdeapps_dep kio-extras) + $(add_plasma_dep kde-cli-tools) + $(add_plasma_dep ksysguard) + $(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 + !dev-libs/xembed-sni-proxy + !kde-base/freespacenotifier:4 + !kde-base/libtaskmanager:4 + !kde-base/kcminit:4 + !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" ) + +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 geolocation; then + punt_bogus_dep KF5 NetworkManagerQt + pushd dataengines > /dev/null || die + comment_add_subdirectory geolocation + popd > /dev/null || die + fi +} + +src_configure() { + local mycmakeargs=( + $(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 + + # startup and shutdown scripts + insinto /etc/plasma/startup + doins "${FILESDIR}/10-agent-startup.sh" + + insinto /etc/plasma/shutdown + doins "${FILESDIR}/10-agent-shutdown.sh" +} + +pkg_postinst () { + kde5_pkg_postinst + + echo + elog "To enable gpg-agent and/or ssh-agent in Plasma sessions," + elog "edit ${EPREFIX}/etc/plasma/startup/10-agent-startup.sh and" + elog "${EPREFIX}/etc/plasma/shutdown/10-agent-shutdown.sh" + echo +} |