summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2005-03-13 20:00:04 +0000
committerDan Armak <danarmak@gentoo.org>2005-03-13 20:00:04 +0000
commitb84aae91dcda4666c0f8ae9dd7e4dc5003bc5818 (patch)
tree38aaf8ce4342cc749d5139bba85aa7755401ad3c /kde-base
parentAdded ~ppc64 to KEYWORDS (diff)
downloadgentoo-2-b84aae91dcda4666c0f8ae9dd7e4dc5003bc5818.tar.gz
gentoo-2-b84aae91dcda4666c0f8ae9dd7e4dc5003bc5818.tar.bz2
gentoo-2-b84aae91dcda4666c0f8ae9dd7e4dc5003bc5818.zip
Ooops. removed by mistake. This ebuild is _not_ replaced by kdebase-data. Readding.
(Portage version: 2.0.51.19)
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/kdebase-startkde/ChangeLog46
-rw-r--r--kde-base/kdebase-startkde/Manifest6
-rw-r--r--kde-base/kdebase-startkde/files/agent-shutdown.sh13
-rw-r--r--kde-base/kdebase-startkde/files/agent-startup.sh19
-rw-r--r--kde-base/kdebase-startkde/files/digest-kdebase-startkde-3.4.0_rc1-r15
-rw-r--r--kde-base/kdebase-startkde/files/startkde-3.4.0_rc1-gentoo.diff47
-rw-r--r--kde-base/kdebase-startkde/kdebase-startkde-3.4.0_rc1-r1.ebuild66
-rw-r--r--kde-base/kdebase-startkde/metadata.xml5
8 files changed, 207 insertions, 0 deletions
diff --git a/kde-base/kdebase-startkde/ChangeLog b/kde-base/kdebase-startkde/ChangeLog
new file mode 100644
index 000000000000..d9f712d9cfc8
--- /dev/null
+++ b/kde-base/kdebase-startkde/ChangeLog
@@ -0,0 +1,46 @@
+# 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.7 2005/03/13 20:00:04 danarmak Exp $
+
+*kdebase-startkde-3.4.0_rc1-r1 (13 Mar 2005)
+
+ 13 Mar 2005; Dan Armak <danarmak@gentoo.org> +files/agent-shutdown.sh,
+ +files/agent-startup.sh, +files/startkde-3.4.0_rc1-gentoo.diff,
+ +kdebase-startkde-3.4.0_rc1-r1.ebuild:
+ Ooops. removed by mistake. This ebuild is _not_ replaced by kdebase-data.
+ Readding.
+
+ 02 Mar 2005; Marcus D. Hanwell <cryos@gentoo.org>
+ kdebase-startkde-3.4.0_rc1-r1.ebuild:
+ Marked ~amd64, keywording KDE split ebuilds, bug 80944.
+
+*kdebase-startkde-3.4.0_rc1-r1 (28 Feb 2005)
+
+ 28 Feb 2005; Gregorio Guidi <greg_g@gentoo.org>
+ files/startkde-3.4.0_rc1-gentoo.diff, +kdebase-startkde-3.4.0_rc1-r1.ebuild,
+ -kdebase-startkde-3.4.0_rc1.ebuild:
+ Fix typo in startkde script, and bump revision to propagate the change.
+
+*kdebase-startkde-3.4.0_rc1 (27 Feb 2005)
+
+ 27 Feb 2005; Dan Armak <danarmak@gentoo.org>
+ +files/startkde-3.4.0_rc1-gentoo.diff, +kdebase-startkde-3.4.0_rc1.ebuild:
+ Ebuild for 3.4.0 RC1.
+
+*kdebase-startkde-3.4.0_beta2 (05 Feb 2005)
+
+ 05 Feb 2005; Dan Armak <danarmak@gentoo.org>
+ +kdebase-startkde-3.4.0_beta2.ebuild:
+ Ebuild for 3.4.0_beta2. Note that beta2 has NOT been released as of this
+ date. This ebuild is for inside testing by the KDE team, and is of course
+ package.masked.
+
+*kdebase-startkde-3.4.0_beta1 (15 Jan 2005)
+
+ 15 Jan 2005; Dan Armak <danarmak@gentoo.org> +metadata.xml,
+ +files/agent-shutdown.sh, +files/agent-startup.sh,
+ +files/startkde-3.4.0_beta1-gentoo.diff,
+ +kdebase-startkde-3.4.0_beta1.ebuild:
+ Adding the split ebuilds to portage. For KDE 3.4, we've created separate
+ ebuilds for all the KDE apps.
+
diff --git a/kde-base/kdebase-startkde/Manifest b/kde-base/kdebase-startkde/Manifest
new file mode 100644
index 000000000000..c25bb9859b7d
--- /dev/null
+++ b/kde-base/kdebase-startkde/Manifest
@@ -0,0 +1,6 @@
+MD5 e42bc89923d0905574bc3245db68be00 kdebase-startkde-3.4.0_rc1-r1.ebuild 2032
+MD5 4cc0a0a900fd937091878318bf1c438d ChangeLog 1827
+MD5 bf55cbe0244386a3b46be4ca7fe7bc8a files/digest-kdebase-startkde-3.4.0_rc1-r1 378
+MD5 010340a437b3c0d1605af4ddf95368eb files/agent-shutdown.sh 260
+MD5 c1250a1da4ea1fd131b44ebc27f32f3f files/agent-startup.sh 551
+MD5 0aa159291daa24450f0ecf1962a0a179 files/startkde-3.4.0_rc1-gentoo.diff 1210
diff --git a/kde-base/kdebase-startkde/files/agent-shutdown.sh b/kde-base/kdebase-startkde/files/agent-shutdown.sh
new file mode 100644
index 000000000000..09c026605b12
--- /dev/null
+++ b/kde-base/kdebase-startkde/files/agent-shutdown.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# Customized agents shutdown file
+#
+#if [ -x /usr/bin/gpg-agent -a -n "$GPG_AGENT_INFO" ]; then
+# kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) 2>&1 >/dev/null
+#fi
+#
+#if [ -x /usr/bin/ssh-agent ]; then
+# eval "$(/usr/bin/ssh-agent -k)"
+#fi
+#
+
diff --git a/kde-base/kdebase-startkde/files/agent-startup.sh b/kde-base/kdebase-startkde/files/agent-startup.sh
new file mode 100644
index 000000000000..6b7be61a9904
--- /dev/null
+++ b/kde-base/kdebase-startkde/files/agent-startup.sh
@@ -0,0 +1,19 @@
+# Agents startup file
+#
+# This file is sourced at kde 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 kde startup.
+# If you do so, do not forget to uncomment the respective
+# lines in KDEDIR/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
diff --git a/kde-base/kdebase-startkde/files/digest-kdebase-startkde-3.4.0_rc1-r1 b/kde-base/kdebase-startkde/files/digest-kdebase-startkde-3.4.0_rc1-r1
new file mode 100644
index 000000000000..50a97273ebb8
--- /dev/null
+++ b/kde-base/kdebase-startkde/files/digest-kdebase-startkde-3.4.0_rc1-r1
@@ -0,0 +1,5 @@
+MD5 46a0b6a8f72b16812d4ad745902fdcf5 kdebase-3.3.90.tar.bz2 20659998
+MD5 cd0819379968496b415c3a4121272e1f kdebase-3.3.90-3.3.91.tar.xdelta 3128388
+MD5 3889cab60fdb15738a20aa9ba0f9c893 kdebase-3.3.91-3.3.92.tar.xdelta 3499698
+MD5 1a7dca351aec8b4eff89a78eba743268 kdebase-3.3.92-3.4.0-rc1.tar.xdelta 3102730
+MD5 0face9841cfe0babf3f7003822d25427 kdebase-3.4.0-rc1.tar.bz2 22684133
diff --git a/kde-base/kdebase-startkde/files/startkde-3.4.0_rc1-gentoo.diff b/kde-base/kdebase-startkde/files/startkde-3.4.0_rc1-gentoo.diff
new file mode 100644
index 000000000000..ab6e2798a60a
--- /dev/null
+++ b/kde-base/kdebase-startkde/files/startkde-3.4.0_rc1-gentoo.diff
@@ -0,0 +1,47 @@
+--- startkde.orig 2005-02-23 13:24:24.000000000 +0200
++++ startkde 2005-02-27 21:08:37.483412112 +0200
+@@ -14,14 +14,42 @@
+ exit 1
+ fi
+
+-# Set the background to plain grey.
++# Set the background to plain cyan.
+ # 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
+ # palettised displays.
+ if test -z "$XDM_MANAGED" || echo "$XDM_MANAGED" | grep ",auto" > /dev/null; then
+- xsetroot -solid "#C0C0C0"
++ xsetroot -solid "#5477A0"
+ fi
+
++# Gentoo part begins
++
++export PATH="_KDEDIR_/bin:${PATH}"
++
++# Handle ~/.kde* dirs - separate ones for separate KDEs.
++# We've backtracked on the scheme where .kdeX.Y directories are temporarily
++# moved to .kde.
++cd ~
++if [ -e .kde ]; then
++ if [ ! -L .kde ]; then
++ /bin/mv -f .kde .kde.backup
++ else
++ rm -f .kde
++ fi
++fi
++if [ ! -e .kde3.4 ]; then
++ if [ -e .kde3.3 ]; then
++ /bin/cp -r .kde3.3 .kde3.4
++ elif [ -e .kde3.2 ]; then
++ /bin/cp -r .kde3.2 .kde3.4
++ else
++ /bin/mkdir .kde3.4
++ fi
++fi
++/bin/ln -sf .kde3.4 .kde
++
++# Gentoo part ends
++
+ # we have to unset this for Darwin since it will screw up KDE's dynamic-loading
+ unset DYLD_FORCE_FLAT_NAMESPACE
+
diff --git a/kde-base/kdebase-startkde/kdebase-startkde-3.4.0_rc1-r1.ebuild b/kde-base/kdebase-startkde/kdebase-startkde-3.4.0_rc1-r1.ebuild
new file mode 100644
index 000000000000..a23a010b6baf
--- /dev/null
+++ b/kde-base/kdebase-startkde/kdebase-startkde-3.4.0_rc1-r1.ebuild
@@ -0,0 +1,66 @@
+# 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.4.0_rc1-r1.ebuild,v 1.5 2005/03/13 20:00:04 danarmak Exp $
+
+KMNAME=kdebase
+KMNOMODULE=true
+KMEXTRACTONLY="kdm/kfrontend/sessions/kde.desktop.in startkde"
+MAXKDEVER=$PV
+KM_DEPRANGE="$PV $MAXKDEVER"
+inherit kde-meta
+
+DESCRIPTION="startkde script, which starts a complete KDE session, and associated scripts"
+KEYWORDS="~x86 ~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 3.4.0_beta2 $MAXKDEVER kde-base/kcminit)
+$(deprange $PV $MAXKDEVER kde-base/ksmserver)
+$(deprange $PV $MAXKDEVER kde-base/kwin)
+$(deprange $PV $MAXKDEVER kde-base/kpersonalizer)
+$(deprange 3.4.0_beta2 $MAXKDEVER kde-base/kreadconfig)
+$(deprange $PV $MAXKDEVER kde-base/ksplashml)"
+
+src_compile() {
+ einfo "Nothing to compile"
+}
+
+src_install() {
+
+ # startkde script
+ dodir $KDEDIR/bin
+ cd $D/$KDEDIR/bin
+ cp $S/startkde .
+ patch -p0 < $FILESDIR/startkde-$PV-gentoo.diff
+ sed -i -e "s:_KDEDIR_:${KDEDIR}:" startkde
+ chmod a+x startkde
+
+ # startup and shutdown scripts
+ insopts -m0755
+ insinto ${KDEDIR}/env
+ doins $FILESDIR/agent-startup.sh
+ insinto $KDEDIR/shutdown
+ doins $FILESDIR/agent-shutdown.sh
+
+ # x11 session script - old style
+ cd ${T}
+ echo "#!/bin/sh
+${KDEDIR}/bin/startkde" > kde-$SLOT
+ chmod a+x kde-$SLOT
+ exeinto /etc/X11/Sessions
+ doexe kde-$SLOT
+
+ # x11 session - new style
+ dodir /usr/share/xsessions
+ sed -e "s:@KDE_BINDIR@:${KDEDIR}/bin:g;s:Name=KDE:Name=KDE $PV:" \
+ $S/kdm/kfrontend/sessions/kde.desktop.in > $D/usr/share/xsessions/kde-$SLOT.desktop
+}
+
+pkg_postinst () {
+ einfo "To enable gpg-agent and/or ssh-agent in KDE sessions,"
+ einfo "edit $KDEDIR/env/agent-startup.sh and $KDEDIR/shutdown/agent-shutdown.sh"
+}
diff --git a/kde-base/kdebase-startkde/metadata.xml b/kde-base/kdebase-startkde/metadata.xml
new file mode 100644
index 000000000000..1a4592f97a10
--- /dev/null
+++ b/kde-base/kdebase-startkde/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde-core</herd>
+</pkgmetadata>