diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2006-09-18 01:14:23 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2006-09-18 01:14:23 +0000 |
commit | 397d5f97ec701765e8a56a6ec2aef8fe5ab46a2c (patch) | |
tree | cf227d3d6504039c8215a7dd0cbd933f90136e78 /kde-base | |
parent | Fix a few crash conditions. Do not depend on kde-base/kdm anymore, bug #140582. (diff) | |
download | gentoo-2-397d5f97ec701765e8a56a6ec2aef8fe5ab46a2c.tar.gz gentoo-2-397d5f97ec701765e8a56a6ec2aef8fe5ab46a2c.tar.bz2 gentoo-2-397d5f97ec701765e8a56a6ec2aef8fe5ab46a2c.zip |
Do not call artsshell, when it isn't installed.
(Portage version: 2.1.1)
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/kdebase-startkde/ChangeLog | 8 | ||||
-rw-r--r-- | kde-base/kdebase-startkde/files/digest-kdebase-startkde-3.5.4-r1 | 6 | ||||
-rw-r--r-- | kde-base/kdebase-startkde/kdebase-startkde-3.5.4-r1.ebuild | 82 |
3 files changed, 95 insertions, 1 deletions
diff --git a/kde-base/kdebase-startkde/ChangeLog b/kde-base/kdebase-startkde/ChangeLog index 12b99301a8f2..584da467fb6b 100644 --- a/kde-base/kdebase-startkde/ChangeLog +++ b/kde-base/kdebase-startkde/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for kde-base/kdebase-startkde # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase-startkde/ChangeLog,v 1.62 2006/09/17 22:53:12 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase-startkde/ChangeLog,v 1.63 2006/09/18 01:14:23 carlo Exp $ + +*kdebase-startkde-3.5.4-r1 (18 Sep 2006) + + 18 Sep 2006; Carsten Lohrke <carlo@gentoo.org> + +kdebase-startkde-3.5.4-r1.ebuild: + Do not call artsshell, when it isn't installed. 17 Sep 2006; Carsten Lohrke <carlo@gentoo.org> -kdebase-startkde-3.4.3.ebuild: diff --git a/kde-base/kdebase-startkde/files/digest-kdebase-startkde-3.5.4-r1 b/kde-base/kdebase-startkde/files/digest-kdebase-startkde-3.5.4-r1 new file mode 100644 index 000000000000..6f288113b784 --- /dev/null +++ b/kde-base/kdebase-startkde/files/digest-kdebase-startkde-3.5.4-r1 @@ -0,0 +1,6 @@ +MD5 420445e2dbddfd83ebc25e85a9b9cdda kdebase-3.5-patchset-03.tar.bz2 21409 +RMD160 941b919097d03347b10bccb51db2fa5e89d7ba16 kdebase-3.5-patchset-03.tar.bz2 21409 +SHA256 59c691754627f78daf7693e82496d808cf1cc31e2d6f32af829ec4ccfd776574 kdebase-3.5-patchset-03.tar.bz2 21409 +MD5 882a9729c08b197caef2c8712c980d9c kdebase-3.5.4.tar.bz2 23636847 +RMD160 29f763ec9de2cf3437b94567b317642e7df5e295 kdebase-3.5.4.tar.bz2 23636847 +SHA256 71e3b45d91f2237ca5a66858b06e897e1f60e3042d4c54d828ba590daaa5b420 kdebase-3.5.4.tar.bz2 23636847 diff --git a/kde-base/kdebase-startkde/kdebase-startkde-3.5.4-r1.ebuild b/kde-base/kdebase-startkde/kdebase-startkde-3.5.4-r1.ebuild new file mode 100644 index 000000000000..8cecb888ba1c --- /dev/null +++ b/kde-base/kdebase-startkde/kdebase-startkde-3.5.4-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase-startkde/kdebase-startkde-3.5.4-r1.ebuild,v 1.1 2006/09/18 01:14:23 carlo Exp $ + +KMNAME=kdebase +KMNOMODULE=true +KMEXTRACTONLY="kdm/kfrontend/sessions/kde.desktop.in startkde" +MAXKDEVER=$PV +KM_DEPRANGE="$PV $MAXKDEVER" +inherit kde-meta eutils + +SRC_URI="${SRC_URI} + mirror://gentoo/kdebase-3.5-patchset-03.tar.bz2" + +DESCRIPTION="startkde script, which starts a complete KDE session, and associated scripts" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +# The kde apps called from the startkde script. +# kdesktop, kicker etc are started because they put files in $KDEDIR/share/autostart +# and so in theory they aren't strictly necessary deps. +RDEPEND="|| ( ( x11-apps/xmessage + x11-apps/xsetroot + x11-apps/xset + x11-apps/xrandr + x11-apps/mkfontdir + ) <virtual/x11-7 ) +$(deprange $PV $MAXKDEVER kde-base/kdesktop) +$(deprange 3.5.0 $MAXKDEVER kde-base/kcminit) +$(deprange $PV $MAXKDEVER kde-base/ksmserver) +$(deprange $PV $MAXKDEVER kde-base/kwin) +$(deprange $PV $MAXKDEVER kde-base/kpersonalizer) +$(deprange 3.5.0 $MAXKDEVER kde-base/kreadconfig) +$(deprange $PV $MAXKDEVER kde-base/ksplashml)" + + +src_compile() { + einfo "Nothing to compile" +} + +src_install() { + # startkde script + exeinto "${KDEDIR}/bin" + doexe startkde + + # startup and shutdown scripts + insinto "${KDEDIR}/env" + doins "${FILESDIR}/agent-startup.sh" + + exeinto "${KDEDIR}/shutdown" + doexe "${FILESDIR}/agent-shutdown.sh" + + # freedesktop environment variables + cat <<EOF > "${T}/xdg.sh" +export XDG_DATA_DIRS="${KDEDIR}/share:/usr/share" +export XDG_CONFIG_DIRS="${KDEDIR}/etc/xdg" +EOF + insinto "${KDEDIR}/env" + doins "${T}/xdg.sh" + + # x11 session script + cat <<EOF > "${T}/kde-${SLOT}" +#!/bin/sh +exec ${KDEDIR}/bin/startkde +EOF + exeinto /etc/X11/Sessions + doexe "${T}/kde-${SLOT}" + + # freedesktop compliant session script + sed -e "s:@KDE_BINDIR@:${KDEDIR}/bin:g;s:Name=KDE:Name=KDE ${SLOT}:" \ + "${S}/kdm/kfrontend/sessions/kde.desktop.in" > "${T}/kde-${SLOT}.desktop" + insinto /usr/share/xsessions + doins "${T}/kde-${SLOT}.desktop" +} + +pkg_postinst () { + echo + einfo "To enable gpg-agent and/or ssh-agent in KDE sessions," + einfo "edit ${KDEDIR}/env/agent-startup.sh and" + einfo "${KDEDIR}/shutdown/agent-shutdown.sh" + echo +} |