summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2005-03-13 19:01:52 +0000
committerDan Armak <danarmak@gentoo.org>2005-03-13 19:01:52 +0000
commit5a98acd6a341573a07b6e5c4b2e56978174d5ae1 (patch)
tree47f07734a81808bcc7658636c0a014a21fff65ba /kde-base/kdebase-data/files
parent(Portage version: 2.0.51.19) (Manifest recommit) (diff)
downloadgentoo-2-5a98acd6a341573a07b6e5c4b2e56978174d5ae1.tar.gz
gentoo-2-5a98acd6a341573a07b6e5c4b2e56978174d5ae1.tar.bz2
gentoo-2-5a98acd6a341573a07b6e5c4b2e56978174d5ae1.zip
Oops... here's the complete ebuild with dependant files from the kdebase-startkde ebuild
(Portage version: 2.0.51.19)
Diffstat (limited to 'kde-base/kdebase-data/files')
-rw-r--r--kde-base/kdebase-data/files/agent-shutdown.sh13
-rw-r--r--kde-base/kdebase-data/files/agent-startup.sh19
-rw-r--r--kde-base/kdebase-data/files/startkde-3.4.0_rc1-gentoo.diff47
3 files changed, 79 insertions, 0 deletions
diff --git a/kde-base/kdebase-data/files/agent-shutdown.sh b/kde-base/kdebase-data/files/agent-shutdown.sh
new file mode 100644
index 000000000000..09c026605b12
--- /dev/null
+++ b/kde-base/kdebase-data/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-data/files/agent-startup.sh b/kde-base/kdebase-data/files/agent-startup.sh
new file mode 100644
index 000000000000..6b7be61a9904
--- /dev/null
+++ b/kde-base/kdebase-data/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-data/files/startkde-3.4.0_rc1-gentoo.diff b/kde-base/kdebase-data/files/startkde-3.4.0_rc1-gentoo.diff
new file mode 100644
index 000000000000..ab6e2798a60a
--- /dev/null
+++ b/kde-base/kdebase-data/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
+