diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-06-17 15:24:19 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-06-17 15:24:19 +0000 |
commit | be8eb2de0caa4ca725fddfa4c99b621742fbbcdf (patch) | |
tree | 22ea8d00a11054d3a331cd4e96b1a7733c816b52 /kde-base/kdebase-startkde/kdebase-startkde-3.5.3-r1.ebuild | |
parent | Drop nvidia and fglrx flags for now and block all nvidia-glx and ati-drivers (diff) | |
download | historical-be8eb2de0caa4ca725fddfa4c99b621742fbbcdf.tar.gz historical-be8eb2de0caa4ca725fddfa4c99b621742fbbcdf.tar.bz2 historical-be8eb2de0caa4ca725fddfa4c99b621742fbbcdf.zip |
Add patch to fix bug #77504.
Package-Manager: portage-2.1.1_pre1
Diffstat (limited to 'kde-base/kdebase-startkde/kdebase-startkde-3.5.3-r1.ebuild')
-rw-r--r-- | kde-base/kdebase-startkde/kdebase-startkde-3.5.3-r1.ebuild | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/kde-base/kdebase-startkde/kdebase-startkde-3.5.3-r1.ebuild b/kde-base/kdebase-startkde/kdebase-startkde-3.5.3-r1.ebuild new file mode 100644 index 000000000000..92599ff9d2e4 --- /dev/null +++ b/kde-base/kdebase-startkde/kdebase-startkde-3.5.3-r1.ebuild @@ -0,0 +1,85 @@ +# 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.3-r1.ebuild,v 1.1 2006/06/17 15:24:19 flameeyes 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-01.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="$RDEPEND + || ( ( + x11-apps/xmessage + x11-apps/xsetroot + x11-apps/xset + x11-apps/xrandr + x11-apps/mkfontdir + ) virtual/x11 ) +$(deprange $PV $MAXKDEVER kde-base/kdesktop) +$(deprange $PV $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)" + +PATCHES="${FILESDIR}/${P}-xinitrcd.patch" + +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 +} |