Rename kde-config to tde-config

pull/2/head
Timothy Pearson 12 years ago
parent 3862d9bc99
commit 618f2521c3

@ -198,7 +198,7 @@ usually a folder named <filename class="directory">.kde</filename>
folder. If you want scripts to be executed for all &tde; users, you can folder. If you want scripts to be executed for all &tde; users, you can
put them under <filename class="directory">$<envar>TDEDIR</envar>/env/</filename>, where $<envar>TDEDIR</envar> is the prefix &tde; was put them under <filename class="directory">$<envar>TDEDIR</envar>/env/</filename>, where $<envar>TDEDIR</envar> is the prefix &tde; was
installed to (you can find this out using the command installed to (you can find this out using the command
<userinput><command>kde-config</command> --prefix</userinput>).</para> <userinput><command>tde-config</command> --prefix</userinput>).</para>
<para>If you wish to start a program after &tde; has started, you may want to use the <para>If you wish to start a program after &tde; has started, you may want to use the
<filename class="directory">Autostart</filename> folder. To add <filename class="directory">Autostart</filename> folder. To add
entries to the <filename class="directory">Autostart</filename> folder: entries to the <filename class="directory">Autostart</filename> folder:

@ -653,7 +653,7 @@ only. The requirements is that the script is placed in a folder where &kate;
can find it, along with an optional .desktop file that defines the related can find it, along with an optional .desktop file that defines the related
properties. The valid folder are named <filename>katepart/scripts</filename> properties. The valid folder are named <filename>katepart/scripts</filename>
in the &tde; data folders. You can find the data folders by running the command in the &tde; data folders. You can find the data folders by running the command
<command>kde-config <option>--path</option> <parameter>data</parameter></command> <command>tde-config <option>--path</option> <parameter>data</parameter></command>
You will usually have at least a system and a personal data folder. Of course You will usually have at least a system and a personal data folder. Of course
scripts in the system data folder are available to all users on the system, scripts in the system data folder are available to all users on the system,
while those in the personal folder are available for you only.</para> while those in the personal folder are available for you only.</para>

@ -227,7 +227,7 @@ Although this guide is revised periodically, those traditional terms might still
<varlistentry> <varlistentry>
<term>&tde; prefix</term> <term>&tde; prefix</term>
<listitem><para>&tde; installs into its own folder tree, which is found by <listitem><para>&tde; installs into its own folder tree, which is found by
running the command <userinput><command>kde-config</command> <option>--prefix</option></userinput>. This folder is referred to running the command <userinput><command>tde-config</command> <option>--prefix</option></userinput>. This folder is referred to
by the environment variable $<envar>TDEDIR</envar> and possibly by the environment variable $<envar>TDEDIR</envar> and possibly
$<envar>TDEDIRS</envar>.</para> $<envar>TDEDIRS</envar>.</para>
</listitem> </listitem>

@ -23,7 +23,7 @@ class="directory">.kde/share/config</filename> (replace
the global ones are in the <filename the global ones are in the <filename
class="directory">share/config</filename> sub-directory of &tde;'s class="directory">share/config</filename> sub-directory of &tde;'s
installation path. (You can find this path by running the command installation path. (You can find this path by running the command
<command>kde-config --prefix</command>.) Their filenames typically <command>tde-config --prefix</command>.) Their filenames typically
end in rc (without an initial period), for example <filename>kopeterc</filename>.</para> end in rc (without an initial period), for example <filename>kopeterc</filename>.</para>
<warning><para> <warning><para>

@ -39,7 +39,7 @@ save=1
[externaltool_EmailCVSDiffforCurrentDocument] [externaltool_EmailCVSDiffforCurrentDocument]
acname=externaltool_EmailCVSDiffforCurrentDocument acname=externaltool_EmailCVSDiffforCurrentDocument
cmdname= cmdname=
command=cd %directory\nif [ -d CVS ] && grep %filename CVS/Entries > /dev/null ; then\n cvs diff -ubB %filename > $(kde-config --path tmp)%filename.diff \n kmail --composer --attach $(kde-config --path tmp)%filename.diff\nelse\n kdialog --title Error -msgbox "The file '%filename' is not in CVS"\nfi command=cd %directory\nif [ -d CVS ] && grep %filename CVS/Entries > /dev/null ; then\n cvs diff -ubB %filename > $(tde-config --path tmp)%filename.diff \n kmail --composer --attach $(tde-config --path tmp)%filename.diff\nelse\n kdialog --title Error -msgbox "The file '%filename' is not in CVS"\nfi
executable=kmail executable=kmail
icon=kmail icon=kmail
mimetypes= mimetypes=

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# Installs a KDE theme (into the user's theme dir) # Installs a KDE theme (into the user's theme dir)
appsdir=`kde-config --path data | sed -e 's/:.*//'` appsdir=`tde-config --path data | sed -e 's/:.*//'`
themedir=$appsdir"/kthememanager/themes/"`basename "$1" ".kth"` themedir=$appsdir"/kthememanager/themes/"`basename "$1" ".kth"`
if test -n "$appsdir"; then if test -n "$appsdir"; then
test -d "$themedir" || mkdir -p "$themedir" test -d "$themedir" || mkdir -p "$themedir"

@ -5,7 +5,7 @@ use warnings;
sub getKDEDocDir() sub getKDEDocDir()
{ {
my $prefix = `kde-config --prefix`; my $prefix = `tde-config --prefix`;
chomp $prefix; chomp $prefix;
$prefix = "/opt/kde" if (not defined($prefix)); $prefix = "/opt/kde" if (not defined($prefix));

@ -29,7 +29,7 @@ use Getopt::Long;
my $htdigdata = "/etc/htdig"; my $htdigdata = "/etc/htdig";
my $htdigbin = "/usr/bin"; my $htdigbin = "/usr/bin";
my $kdeprefix = "@prefix@"; my $kdeprefix = "@prefix@";
my $kdehtmldir = `kde-config --expandvars --install html`; my $kdehtmldir = `tde-config --expandvars --install html`;
chomp $kdeprefix; chomp $kdeprefix;
chomp $kdehtmldir; chomp $kdehtmldir;

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
filename=`kde-config --localprefix`share/autostart/klipper.desktop filename=`tde-config --localprefix`share/autostart/klipper.desktop
if grep 'Hidden=true' "$filename" > /dev/null 2> /dev/null; then if grep 'Hidden=true' "$filename" > /dev/null 2> /dev/null; then
echo AutoStart=false echo AutoStart=false
else else

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
prefix=$(kde-config --localprefix) prefix=$(tde-config --localprefix)
source="$prefix/share/apps/konqsidebartng" source="$prefix/share/apps/konqsidebartng"
[ -d "$source/entries" ] || exit 0 [ -d "$source/entries" ] || exit 0

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
prefix=`kde-config --localprefix` prefix=`tde-config --localprefix`
source="${prefix}/share/config" source="${prefix}/share/config"
dest="${prefix}/share/config/session" dest="${prefix}/share/config/session"

@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
prefix=$(kde-config --localprefix) prefix=$(tde-config --localprefix)
source1="$prefix/share/icons/favicons" source1="$prefix/share/icons/favicons"
source2="$prefix/share/cache/favicons" source2="$prefix/share/cache/favicons"
dest="$(kde-config --path cache)/favicons" dest="$(tde-config --path cache)/favicons"
if [ -n "$prefix" -a -d "$source1" ]; then if [ -n "$prefix" -a -d "$source1" ]; then
while [ ! -d "$dest" ]; do while [ ! -d "$dest" ]; do

@ -26,7 +26,7 @@ echo "[starttde] This script is $0" 1>&2
# the existence of $TDEDIR. That environment variable might not be # the existence of $TDEDIR. That environment variable might not be
# defined or defined to point to KDE4 binaries. # defined or defined to point to KDE4 binaries.
BIN_DIR="`dirname $0`" BIN_DIR="`dirname $0`"
# Do not use kde-config to determine the version. That command creates a # Do not use tde-config to determine the version. That command creates a
# profile directory in the root of the file system. Refer to Bug Report 293. # profile directory in the root of the file system. Refer to Bug Report 293.
if [ -x $BIN_DIR/konqueror ]; then if [ -x $BIN_DIR/konqueror ]; then
TDE_VERSION="`$BIN_DIR/konqueror --version | grep TDE | awk '{print $2}'`" TDE_VERSION="`$BIN_DIR/konqueror --version | grep TDE | awk '{print $2}'`"
@ -127,10 +127,10 @@ else
# Presume $HOME/.kde is being used for KDE4 to be on the safe side. # Presume $HOME/.kde is being used for KDE4 to be on the safe side.
export TDEHOME=$HOME/.trinity export TDEHOME=$HOME/.trinity
fi fi
elif [ -f /opt/trinity/bin/kde-config ]; then elif [ -f /opt/trinity/bin/tde-config ]; then
# Looks like Trinity is installed. # Looks like Trinity is installed.
export TDEHOME=$HOME/.trinity export TDEHOME=$HOME/.trinity
elif [ -f /usr/bin/kde-config ] && [ -d $HOME/.kde ]; then elif [ -f /usr/bin/tde-config ] && [ -d $HOME/.kde ]; then
# Looks like Trinity is installed and not playing second fiddle to KDE4. # Looks like Trinity is installed and not playing second fiddle to KDE4.
export TDEHOME=$HOME/.kde export TDEHOME=$HOME/.kde
else else
@ -366,7 +366,7 @@ fi
# For anything else (that doesn't set env vars, or that needs a window manager), # For anything else (that doesn't set env vars, or that needs a window manager),
# better use the Autostart folder. # better use the Autostart folder.
exepath=`kde-config --path exe | tr : '\n'` exepath=`tde-config --path exe | tr : '\n'`
for prefix in `echo "$exepath" | sed -n -e 's,/bin[^/]*/,/env/,p'`; do for prefix in `echo "$exepath" | sed -n -e 's,/bin[^/]*/,/env/,p'`; do
for file in "$prefix"*.sh; do for file in "$prefix"*.sh; do

@ -2578,7 +2578,7 @@ int main( int argc, char **argv )
" Default is to scan /etc/X11/tdm, $XLIBDIR/tdm, /etc/X11/xdm,\n" " Default is to scan /etc/X11/tdm, $XLIBDIR/tdm, /etc/X11/xdm,\n"
" $XLIBDIR/xdm; there in turn look for tdm-config and xdm-config.\n" " $XLIBDIR/xdm; there in turn look for tdm-config and xdm-config.\n"
" Note that you possibly need to use --no-old-kde to make this take effect.\n" " Note that you possibly need to use --no-old-kde to make this take effect.\n"
" --old-kde /path/to/old/kde-config-dir\n" " --old-kde /path/to/old/tde-config-dir\n"
" Where to look for the tdmrc of an older tdm.\n" " Where to look for the tdmrc of an older tdm.\n"
" Default is to scan " KDE_CONFDIR " and\n" " Default is to scan " KDE_CONFDIR " and\n"
" {/usr,/usr/local,{/opt,/usr/local}/{trinity,kde,kde2,kde1}}/share/config.\n" " {/usr,/usr/local,{/opt,/usr/local}/{trinity,kde,kde2,kde1}}/share/config.\n"

Loading…
Cancel
Save