From 364bc134f6a03fb1214e6ddc921510efc600c761 Mon Sep 17 00:00:00 2001 From: Martin Schlemmer Date: Fri, 1 Nov 2002 19:15:40 +0000 Subject: [PATCH] add missing patch --- .../files/startkde-3.0.4-r2-gentoo.diff | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 kde-base/kdebase/files/startkde-3.0.4-r2-gentoo.diff diff --git a/kde-base/kdebase/files/startkde-3.0.4-r2-gentoo.diff b/kde-base/kdebase/files/startkde-3.0.4-r2-gentoo.diff new file mode 100644 index 000000000000..38edcf02bba4 --- /dev/null +++ b/kde-base/kdebase/files/startkde-3.0.4-r2-gentoo.diff @@ -0,0 +1,55 @@ +--- startkde 2002-08-07 19:55:10.000000000 +0300 ++++ startkde 2002-09-30 15:38:37.000000000 +0300 +@@ -1,8 +1,21 @@ +-#!/bin/sh ++#!/bin/sh --login + # +-# DEFAULT KDE STARTUP SCRIPT ( KDE-3.0.4 ) ++# GENTOO CUSTOMIZED KDE STARTUP SCRIPT ( KDE-3.0.4 ) + # + ++# Gentoo part: ++export PATH="_KDEDIR_/bin:${PATH}" ++export KDEDIR="_KDEDIR_" ++export KDEDIRS="_KDEDIR_:/usr" # do NOT include env.d's $KDEDIRS ++ ++cd ~ ++[ -d .kde ] && mv .kde .kde.backup ++[ -e .kde3 ] || mkdir .kde3 ++ln -sf .kde3 .kde ++export KDEHOME="${HOME}/.kde3" ++ ++# Gentoo part ends ++ + # Boot sequence: + # + # kdeinit is used to fork off processes which improves memory usage +@@ -25,12 +38,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 +@@ -131,7 +144,12 @@ + fi + + # the splashscreen and progress indicator +-ksplash ++# Gentoo addition: run $KSPLASH if set, otherwise just the default 'ksplash' ++if [ -n "$KSPLASH" ]; then ++ $KSPLASH ++else ++ ksplash ++fi + + # We set LD_BIND_NOW to increase the efficiency of kdeinit. + # kdeinit unsets this variable before loading applications. -- 2.26.2