summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kdebase/files/3.2.0_beta1-r1/startkde-3.2.0_beta1-r1-gentoo.diff')
-rw-r--r--kde-base/kdebase/files/3.2.0_beta1-r1/startkde-3.2.0_beta1-r1-gentoo.diff67
1 files changed, 67 insertions, 0 deletions
diff --git a/kde-base/kdebase/files/3.2.0_beta1-r1/startkde-3.2.0_beta1-r1-gentoo.diff b/kde-base/kdebase/files/3.2.0_beta1-r1/startkde-3.2.0_beta1-r1-gentoo.diff
new file mode 100644
index 000000000000..2f1c520b2deb
--- /dev/null
+++ b/kde-base/kdebase/files/3.2.0_beta1-r1/startkde-3.2.0_beta1-r1-gentoo.diff
@@ -0,0 +1,67 @@
+--- startkde 2003-03-12 18:20:54.000000000 +0100
++++ startkde 2003-03-12 18:26:10.000000000 +0100
+@@ -1,12 +1,34 @@
+-#!/bin/sh
++#!/bin/sh --login
+ #
+-# DEFAULT KDE STARTUP SCRIPT ( KDE-3.2 )
++# GENTOO CUSTOMIZED KDE STARTUP SCRIPT ( KDE-3.2 )
+ #
+
+ # When the X server dies we get a HUP signal from xinit. We must ignore it
+ # because we still need to do some cleanup.
+ trap 'echo GOT SIGHUP' HUP
+
++# Gentoo part:
++export PATH="_KDEDIR_/bin:${PATH}"
++export KDEDIR="_KDEDIR_"
++# Use env.d's KDEDIRS. They should only include locations like /usr though, not
++# actual KDE installations
++
++# handle ~/.kde* dirs - separate ones for separate KDEs
++cd ~
++[ -d .kde ] && /bin/mv .kde .kde.backup
++if [ ! -e .kde3.2 ]; then
++ if [ -e .kde3.1 ]; then
++ /bin/cp -r .kde3.1 .kde3.2
++ else
++ /bin/mkdir .kde3.2
++ fi
++fi
++/bin/ln -sf .kde3.2 .kde
++
++#export KDEHOME="${HOME}/.kde3.2"
++
++# Gentoo part ends
++
+ # we have to unset this for Darwin since it will screw up KDE's dynamic-loading
+ unset DYLD_FORCE_FLAT_NAMESPACE
+
+@@ -112,12 +134,12 @@
+ # especially necessary on slow machines, where starting KDE takes one or two
+ # minutes until anything appears on the screen.
+ #
+-# Set the background to plain grey.
++# Set the background to cyan (Gentoo version change).
+ # 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.
+
+-test "$XDM_MANAGED" || bkg="-solid #C0C0C0"
++test "$XDM_MANAGED" || bkg="-solid #5477A0"
+ xsetroot -cursor_name left_ptr $bkg
+
+ # The user's personal KDE directory is usually ~/.kde, but this setting
+@@ -163,7 +186,11 @@
+ fi
+
+ # the splashscreen and progress indicator
+-ksplash --nodcop
++if [ -n "$KSPLASH" ]; then
++ $KSPLASH
++else
++ ksplash --nodcop
++fi
+
+ # We set LD_BIND_NOW to increase the efficiency of kdeinit.
+ # kdeinit unsets this variable before loading applications.