Here's the second one.  It's an updated
kdebase-3.0-startkde-8.2-non-ix86.patch called
kdebase-3.1-startkde-9.1-non-ix86.patch

--- David Walser <[EMAIL PROTECTED]> wrote:
> Thanks Danny.  He probably hasn't applied it because
> I'm not exactly making it easy for him.  He can't
> just
> apply my patch to something and be on his way,
> giving
> he creates his startkde with a patch to the stock
> one.
>  SO, I'm gonna save Laurent some work, and submit 3
> patches.  One is an updated version of his
> kdebase-3.0-startkde-8.2-ix86.patch that's in CVS,
> one
> is an updated
> kdebase-3.0-startkde-8.2-non-ix86.patch,
> and finally the last is a patch he can apply to his
> kdebase.spec so that my patches will work (as I've
> renamed the patches I upgraded and they are -p0 and
> not -p1 patches).  I will submit them in 3 replies
> to
> this mail.

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
--- startkde.orig	2002-11-02 12:24:12.000000000 -0500
+++ startkde	2002-11-02 12:40:20.000000000 -0500
@@ -30,15 +30,70 @@
 # people's heads. We use colours from the standard KDE palette for those with
 # palettised displays.
 
-test "$XDM_MANAGED" || bkg="-solid #C0C0C0"
-xsetroot -cursor_name left_ptr $bkg
-
 # The user's personal KDE directory is usually ~/.kde, but this setting
 # may be overridden by setting KDEHOME.
 
 kdehome=$HOME/.kde
 test -n "$KDEHOME" && kdehome=`echo "$KDEHOME"|sed "s,^\~/,$HOME/,"`
 
+#test "$XDM_MANAGED" || bkg="-solid #C0C0C0"
+#xsetroot -cursor_name left_ptr $bkg
+
+if [ ! -d $kdehome/share/config ] ; then
+   mkdir -p $kdehome/share/config
+fi
+
+if [ "`whoami`" = root ] ; then
+   xsetroot -cursor_name left_ptr -solid '#B20003'
+
+   if [ ! -e /root/.kde/share/config/kdesktoprc ] ; then
+       cp /usr/share/mdk/kde/root-interface/kdesktoprc /root/.kde/share/config/kdesktoprc
+   fi
+
+   if [ ! -e /root/.kde/share/config/kickerrc ] ; then
+       cp /usr/share/mdk/kde/root-interface/kickerrc /root/.kde/share/config/kickerrc
+   fi
+
+   if [ ! -d /root/.kde/share/autostart/ ] ; then
+       mkdir -p /root/.kde/share/autostart/
+       cp /usr/share/mdk/kde/root-interface/klipper.desktop /root/.kde/share/autostart/
+   fi
+   if [ ! -d /root/.kde/share/apps/kdisplay/color-schemes/ ] ; then
+       mkdir -p /root/.kde/share/apps/kdisplay/color-schemes/
+       cp /usr/share/mdk/kde/root-interface/Root_interface.kcsrc /root/.kde/share/apps/kdisplay/color-schemes/
+   fi
+
+else
+   xsetroot -cursor_name left_ptr -solid '#21449C';
+
+   if [ ! -d ~/Desktop ] ; then
+          mkdir -p ~/Desktop/ ;
+   fi
+
+   if [ ! -d $kdehome/Autostart/ ] ; then
+          mkdir -p $kdehome/Autostart/ ;
+   fi
+
+   if [ ! -d $kdehome/share/apps/konqueror ] ; then
+           mkdir -p $kdehome/share/apps/konqueror/ && cp /usr/share/mdk/kde/bookmarks.xml $kdehome/share/apps/konqueror/
+   fi
+
+   if [ ! -e ~/Desktop/.ArrangeIcons ] ; then
+          cp /usr/share/mdk/kde/ArangeIcons.desktop $kdehome/Autostart/ && touch ~/Desktop/.ArrangeIcons
+   else rm -f $kdehome/Autostart/ArangeIcons.desktop
+   fi
+
+   /usr/bin/kdesktop-links > /dev/null 2>&1
+fi
+
+export HELP_BROWSER="kfmclient openProfile webbrowsing"
+export BROWSER="kfmclient openProfile webbrowsing"
+
+# Laurent kde2.2-30mdk scan-nsplugins
+if [ -x /usr/bin/nspluginscan ]; then
+   /usr/bin/nspluginscan
+fi
+
 # Activate the kde font directories.
 #
 # There are 4 directories that may be used for supplying fonts for KDE.
@@ -134,7 +189,13 @@
 fi
 
 # the splashscreen and progress indicator
-ksplash
+
+# Laurent kdebase-2.2.2-7mdk fix conflict with ksplashml
+if [ -e /usr/bin/ksplashml ]; then
+   ksplashml
+else
+   ksplash
+fi
 
 # We set LD_BIND_NOW to increase the efficiency of kdeinit.
 # kdeinit unsets this variable before loading applications.

Reply via email to