summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kdebase-startkde')
-rw-r--r--kde-base/kdebase-startkde/ChangeLog9
-rw-r--r--kde-base/kdebase-startkde/Manifest13
-rw-r--r--kde-base/kdebase-startkde/files/digest-kdebase-startkde-3.5_alpha11
-rw-r--r--kde-base/kdebase-startkde/files/kdebase-3.5-startkde-gentoo.patch45
-rw-r--r--kde-base/kdebase-startkde/kdebase-startkde-3.5_alpha1.ebuild74
5 files changed, 136 insertions, 6 deletions
diff --git a/kde-base/kdebase-startkde/ChangeLog b/kde-base/kdebase-startkde/ChangeLog
index f7bdad2c3d6d..d4900b383739 100644
--- a/kde-base/kdebase-startkde/ChangeLog
+++ b/kde-base/kdebase-startkde/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for kde-base/kdebase-startkde
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase-startkde/ChangeLog,v 1.18 2005/08/08 22:23:32 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase-startkde/ChangeLog,v 1.19 2005/09/07 11:17:40 flameeyes Exp $
+
+*kdebase-startkde-3.5_alpha1 (07 Sep 2005)
+
+ 07 Sep 2005; Diego Pettenò <flameeyes@gentoo.org>
+ +files/kdebase-3.5-startkde-gentoo.patch,
+ +kdebase-startkde-3.5_alpha1.ebuild:
+ Added 3.5_alpha1 split ebuild.
08 Aug 2005; Bryan Østergaard <kloeri@gentoo.org>
kdebase-startkde-3.4.2.ebuild:
diff --git a/kde-base/kdebase-startkde/Manifest b/kde-base/kdebase-startkde/Manifest
index 1be7626709d2..7343b610ec4d 100644
--- a/kde-base/kdebase-startkde/Manifest
+++ b/kde-base/kdebase-startkde/Manifest
@@ -1,10 +1,13 @@
-MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156
-MD5 baad6b9a465fb667a269413a29b22162 kdebase-startkde-3.4.2.ebuild 2190
MD5 c4ce24a7550eae625c27c02eb443644d ChangeLog 3499
+MD5 22f8760b0a32fdd3f3470a6dd627da7c kdebase-startkde-3.5_alpha1.ebuild 2168
MD5 770f131098299857b2d09195509f1137 kdebase-startkde-3.4.1.ebuild 2171
-MD5 b22a687fe2e8cf06cd5147f1ec68efb7 files/digest-kdebase-startkde-3.4.1 212
-MD5 acdc4850637dc2fafa8803790f771164 files/kdebase-startkde-3.4.1-gentoo.patch 1284
+MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156
+MD5 baad6b9a465fb667a269413a29b22162 kdebase-startkde-3.4.2.ebuild 2190
+MD5 4c82da1fa6a4aec326b681a8878c686d files/digest-kdebase-startkde-3.5_alpha1 69
MD5 acdc4850637dc2fafa8803790f771164 files/kdebase-startkde-3.4.2-gentoo.patch 1284
+MD5 acdc4850637dc2fafa8803790f771164 files/kdebase-startkde-3.4.1-gentoo.patch 1284
+MD5 b22a687fe2e8cf06cd5147f1ec68efb7 files/digest-kdebase-startkde-3.4.1 212
MD5 7deca5e51240260b2976fbbe9326ed6d files/digest-kdebase-startkde-3.4.2 287
-MD5 016f5ae82399f6d6c1b9f82aa80ac831 files/agent-startup.sh 550
MD5 38116c7e3963674ec4a3c0948904ec3b files/agent-shutdown.sh 320
+MD5 acf270f97062baaaa0576f0b2d28b3ce files/kdebase-3.5-startkde-gentoo.patch 1283
+MD5 016f5ae82399f6d6c1b9f82aa80ac831 files/agent-startup.sh 550
diff --git a/kde-base/kdebase-startkde/files/digest-kdebase-startkde-3.5_alpha1 b/kde-base/kdebase-startkde/files/digest-kdebase-startkde-3.5_alpha1
new file mode 100644
index 000000000000..b6ccb0c038a8
--- /dev/null
+++ b/kde-base/kdebase-startkde/files/digest-kdebase-startkde-3.5_alpha1
@@ -0,0 +1 @@
+MD5 ac84f1dfe79bae4fb77b37f95cebf973 kdebase-3.4.90.tar.bz2 23075673
diff --git a/kde-base/kdebase-startkde/files/kdebase-3.5-startkde-gentoo.patch b/kde-base/kdebase-startkde/files/kdebase-3.5-startkde-gentoo.patch
new file mode 100644
index 000000000000..2e1c2cbc033f
--- /dev/null
+++ b/kde-base/kdebase-startkde/files/kdebase-3.5-startkde-gentoo.patch
@@ -0,0 +1,45 @@
+--- kdebase-3.4.90.orig/startkde 2005-08-06 11:48:55.000000000 +0200
++++ kdebase-3.4.90/startkde 2005-08-21 12:44:13.000000000 +0200
+@@ -14,6 +14,42 @@
+ exit 1
+ fi
+
++# Gentoo part:
++export PATH="/usr/kde/3.5/bin:${PATH}"
++
++cd ${HOME}
++if [ -L .kde -o ! -d .kde ]; then
++ # handle ~/.kde* dirs - separate ones for separate KDEs
++ rm -f .kde
++ if [ ! -e .kde3.5 ]; then
++ # migrate old config files
++ if [ -e .kde3.4 ]; then
++ cp -r .kde3.4 .kde3.5
++ elif [ -e .kde3.3 ]; then
++ cp -r .kde3.3 .kde3.5
++ elif [ -e .kde3.2 ]; then
++ cp -r .kde3.2 .kde3.5
++ else
++ mkdir .kde3.5
++ fi
++ cd .kde3.5
++ for file in share/apps/kdevdocumentation/search/htdig.conf \
++ share/apps/kalarmd/clients \
++ share/config/kresources/calendar/stdrc \
++ share/config/*rc; do
++ if [ -e "${file}" ]; then
++ sed -i -e "s:$HOME/\.kde3\.[234]:$HOME/\.kde3\.5:g" \
++ -e 's:$HOME/\.kde3\.[234]:$HOME/\.kde3\.5:g' \
++ -e 's:/usr/kde/3\.[234]/:/usr/kde/3\.5/:g' \
++ "${file}"
++ fi
++ done
++ cd ${HOME}
++ fi
++ ln -sf .kde3.5 .kde
++fi
++# Gentoo part ends
++
+ # Set the background to plain grey.
+ # The standard X background is nasty, causing moire effects and exploding
+ # people's heads. We use colours from the standard KDE palette for those with
diff --git a/kde-base/kdebase-startkde/kdebase-startkde-3.5_alpha1.ebuild b/kde-base/kdebase-startkde/kdebase-startkde-3.5_alpha1.ebuild
new file mode 100644
index 000000000000..43d1d7bc40b3
--- /dev/null
+++ b/kde-base/kdebase-startkde/kdebase-startkde-3.5_alpha1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2005 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_alpha1.ebuild,v 1.1 2005/09/07 11:17:40 flameeyes Exp $
+
+KMNAME=kdebase
+KMNOMODULE=true
+KMEXTRACTONLY="kdm/kfrontend/sessions/kde.desktop.in startkde"
+MAXKDEVER=$PV
+KM_DEPRANGE="$PV $MAXKDEVER"
+inherit kde-meta eutils
+
+DESCRIPTION="startkde script, which starts a complete KDE session, and associated scripts"
+KEYWORDS="~amd64"
+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
+$(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 $PV $MAXKDEVER kde-base/kreadconfig)
+$(deprange $PV $MAXKDEVER kde-base/ksplashml)"
+
+src_compile() {
+ einfo "Nothing to compile"
+}
+
+src_install() {
+ # startkde script
+ epatch ${FILESDIR}/kdebase-3.5-startkde-gentoo.patch
+ 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
+}