summaryrefslogtreecommitdiffstats
path: root/kpresenter/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/scripts')
-rwxr-xr-xkpresenter/scripts/mkstandalone.sh38
1 files changed, 19 insertions, 19 deletions
diff --git a/kpresenter/scripts/mkstandalone.sh b/kpresenter/scripts/mkstandalone.sh
index ebd2fd8a..b362ee36 100755
--- a/kpresenter/scripts/mkstandalone.sh
+++ b/kpresenter/scripts/mkstandalone.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# This script copies everything that is needed to run kpresenter on a
# computer where KDE isn't installed.
-# Relies on kpresenter being installed on the local machine, in $KDEDIR
+# Relies on kpresenter being installed on the local machine, in $TDEDIR
#
# The script copies everything into a directory. You just need to tar it up,
# transfer it (CD-ROM or via Internet), untar it, cd into it,
@@ -20,30 +20,30 @@ else
mkdir -p $out
mkdir -p $out/share
mkdir -p $out/share/apps
- cp -r $KDEDIR/share/apps/kpresenter $out/share/apps/
- cp -r $KDEDIR/share/apps/koffice $out/share/apps/
- cp -r $KDEDIR/share/apps/kstyle $out/share/apps/
+ cp -r $TDEDIR/share/apps/kpresenter $out/share/apps/
+ cp -r $TDEDIR/share/apps/koffice $out/share/apps/
+ cp -r $TDEDIR/share/apps/kstyle $out/share/apps/
mkdir -p $out/share/config
- cp $KDEDIR/share/config/kdebug.areas $out/share/config/
+ cp $TDEDIR/share/config/kdebug.areas $out/share/config/
cp ~/.kde/share/config/kdeglobals $out/share/config/
cp ~/.kde/share/config/kpresenterrc $out/share/config/
- ### cp $KDEDIR/share/icons $out/share/
- cp -r $KDEDIR/share/toolbar $out/share/
+ ### cp $TDEDIR/share/icons $out/share/
+ cp -r $TDEDIR/share/toolbar $out/share/
mkdir -p $out/share/servicetypes
- cp $KDEDIR/share/servicetypes/kofficepart.desktop $out/share/servicetypes
+ cp $TDEDIR/share/servicetypes/kofficepart.desktop $out/share/servicetypes
mkdir -p $out/share/applnk
- cp $KDEDIR/share/applnk/KOffice/kpresenter.desktop $out/share/applnk/
+ cp $TDEDIR/share/applnk/KOffice/kpresenter.desktop $out/share/applnk/
########### Libraries (warning, using Linux specific ldd !)
TMPFILE=/tmp/__kpresenter_ldd.tmp
mkdir -p $out/lib
- ldd $KDEDIR/bin/kpresenter | sed -e 's/.*=> \([^ ]*\).*/\1/' > $TMPFILE
+ ldd $TDEDIR/bin/kpresenter | sed -e 's/.*=> \([^ ]*\).*/\1/' > $TMPFILE
# Add style libs
- echo $KDEDIR/lib/basicstyle.so >> $TMPFILE
- echo $KDEDIR/lib/kstepstyle.so >> $TMPFILE
+ echo $TDEDIR/lib/basicstyle.so >> $TMPFILE
+ echo $TDEDIR/lib/kstepstyle.so >> $TMPFILE
# Add image handler libs
- echo $KDEDIR/lib/kimg_jpeg.so >> $TMPFILE
- echo $KDEDIR/lib/kimg_tiff.so >> $TMPFILE
+ echo $TDEDIR/lib/kimg_jpeg.so >> $TMPFILE
+ echo $TDEDIR/lib/kimg_tiff.so >> $TMPFILE
# Add libs for embedded parts here
cat $TMPFILE | while read libfile; do
@@ -69,16 +69,16 @@ else
########### Binaries
mkdir -p $out/bin
- cp $KDEDIR/bin/kpresenter $out/bin/
- cp $KDEDIR/bin/dcopserver $out/bin/
+ cp $TDEDIR/bin/kpresenter $out/bin/
+ cp $TDEDIR/bin/dcopserver $out/bin/
# Take kded as well - we could copy the ksycoca file but we would have
# to install it in ~/.kde ...
- cp $KDEDIR/bin/kded $out/bin/
+ cp $TDEDIR/bin/kded $out/bin/
########### Startup script
echo '#!/bin/sh' > $out/go.sh
- echo 'export KDEDIR=`pwd`' >> $out/go.sh
- echo 'export LD_LIBRARY_PATH=$KDEDIR/lib' >> $out/go.sh
+ echo 'export TDEDIR=`pwd`' >> $out/go.sh
+ echo 'export LD_LIBRARY_PATH=$TDEDIR/lib' >> $out/go.sh
echo 'mkdir -p ~/.kde 2>/dev/null' >> $out/go.sh
echo 'mkdir -p ~/.kde/share 2>/dev/null' >> $out/go.sh
echo 'mkdir -p ~/.kde/share/config 2>/dev/null' >> $out/go.sh