Rename kde-config to tde-config

pull/16/head
Timothy Pearson 13 years ago
parent cb810cbe20
commit 1281f76995

@ -53,7 +53,7 @@ messages:
find $$dirs -maxdepth 1 -name "*.cpp" -print > files ;\ find $$dirs -maxdepth 1 -name "*.cpp" -print > files ;\
find $$dirs -maxdepth 1 -name "*.cc" -print >> files ;\ find $$dirs -maxdepth 1 -name "*.cc" -print >> files ;\
find $$dirs -maxdepth 1 -name "*.h" -print >> files ;\ find $$dirs -maxdepth 1 -name "*.h" -print >> files ;\
echo ./tdecore/kde-config.cpp.in >> files ;\ echo ./tdecore/tde-config.cpp.in >> files ;\
$(EXTRACTRC) `find $$dirs -maxdepth 1 \( -name "*.rc" -o -name "*.ui" \) ` ./dnssd/kcm_kdnssd.kcfg > rc.cpp; \ $(EXTRACTRC) `find $$dirs -maxdepth 1 \( -name "*.rc" -o -name "*.ui" \) ` ./dnssd/kcm_kdnssd.kcfg > rc.cpp; \
: > kde.pot ;\ : > kde.pot ;\
$(XGETTEXT) -ktranslate -x qt-messages.pot rc.cpp `cat files` && cat messages.po qt-messages.pot > $(podir)/tdelibs.pot $(XGETTEXT) -ktranslate -x qt-messages.pot rc.cpp `cat files` && cat messages.po qt-messages.pot > $(podir)/tdelibs.pot

@ -4,7 +4,7 @@ tmpfile=`mktemp -t dcopidlng.XXXXXX` || { echo "$0: Cannot create temporary file
trap " [ -f \"$tmpfile\" ] && /bin/rm -f -- \"$tmpfile\"" 0 1 2 3 13 15 trap " [ -f \"$tmpfile\" ] && /bin/rm -f -- \"$tmpfile\"" 0 1 2 3 13 15
if test -z "$KDECONFIG"; then if test -z "$KDECONFIG"; then
KDECONFIG=kde-config KDECONFIG=tde-config
fi fi
LIBDIR="`$KDECONFIG --install data --expandvars`/dcopidlng" LIBDIR="`$KDECONFIG --install data --expandvars`/dcopidlng"
perl -I"$LIBDIR" "$LIBDIR/kalyptus" --allow_k_dcop_accessors -f dcopidl $1 2> $tmpfile perl -I"$LIBDIR" "$LIBDIR/kalyptus" --allow_k_dcop_accessors -f dcopidl $1 2> $tmpfile

@ -87,7 +87,7 @@ and use Qt's powerful string API instead.
A workaround for KDE 3.1.x and older is to install a .sh script in A workaround for KDE 3.1.x and older is to install a .sh script in
$(kde_datadir) that contains a simple exec: $(kde_datadir) that contains a simple exec:
exec "`kde-config --prefix`/bin/kconf_update_bin/my_update_app" exec "`tde-config --prefix`/bin/kconf_update_bin/my_update_app"
This is equivalent to what KDE 3.2 can do directly, but of course the .upd This is equivalent to what KDE 3.2 can do directly, but of course the .upd
file now points to the .sh script instead of the binary application. file now points to the .sh script instead of the binary application.

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
bas=`kde-config --localprefix`share/apps/kio_help bas=`tde-config --localprefix`share/apps/kio_help
mv "$bas/cache" "`kde-config --path cache`kio_help" mv "$bas/cache" "`tde-config --path cache`kio_help"
rmdir "$bas" rmdir "$bas"
exit 0 exit 0

@ -177,14 +177,14 @@ tde_add_library( ${target} SHARED
) )
##### kde-config ################################ ##### tde-config ################################
# FIXME still need some research and improvements # FIXME still need some research and improvements
configure_file( kde-config.cpp.cmake kde-config.cpp @ONLY ) configure_file( tde-config.cpp.cmake tde-config.cpp @ONLY )
tde_add_executable( kde-config tde_add_executable( tde-config
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/kde-config.cpp SOURCES ${CMAKE_CURRENT_BINARY_DIR}/tde-config.cpp
LINK tdecore-shared LINK tdecore-shared
DESTINATION ${BIN_INSTALL_DIR} DESTINATION ${BIN_INSTALL_DIR}
) )

@ -168,9 +168,9 @@ kcharsets.lo: kentities.c
parser: kentities.gperf parser: kentities.gperf
cd $(srcdir) && gperf -a -L "ANSI-C" -E -C -c -o -t -k '*' -Nkde_findEntity -D -Hhash_Entity -Wwordlist_Entity -s 2 kentities.gperf > kentities.c cd $(srcdir) && gperf -a -L "ANSI-C" -E -C -c -o -t -k '*' -Nkde_findEntity -D -Hhash_Entity -Wwordlist_Entity -s 2 kentities.gperf > kentities.c
bin_PROGRAMS = kde-config kgrantpty bin_PROGRAMS = tde-config kgrantpty
kde_config_SOURCES = kde-config.cpp kde_config_SOURCES = tde-config.cpp
kde_config_LDADD = ./libtdecore.la kde_config_LDADD = ./libtdecore.la
kde_config_LDFLAGS = $(KDE_RPATH) $(KDE_MT_LDFLAGS) kde_config_LDFLAGS = $(KDE_RPATH) $(KDE_MT_LDFLAGS)
@ -186,7 +186,7 @@ install-exec-hook:
@echo "This is needed for konsole, etc. to ensure that they can't be eavesdropped." @echo "This is needed for konsole, etc. to ensure that they can't be eavesdropped."
@echo "" @echo ""
DISTCLEANFILES = kde-config.cpp DISTCLEANFILES = tde-config.cpp
DOXYGEN_REFERENCES = dcop tdeui kparts kio DOXYGEN_REFERENCES = dcop tdeui kparts kio
DOXYGEN_EXCLUDE = malloc kde_file.h DOXYGEN_EXCLUDE = malloc kde_file.h

@ -167,7 +167,7 @@ AC_TRY_LINK(dnl
AC_CHECK_HEADERS(sys/mount.h) AC_CHECK_HEADERS(sys/mount.h)
dnl AC_OUTPUT(tdecore/kde-config.cpp) dnl AC_OUTPUT(tdecore/tde-config.cpp)
AM_CONFIG_HEADER(tdecore/kdemacros.h) AM_CONFIG_HEADER(tdecore/kdemacros.h)

@ -114,12 +114,12 @@ void printResult(const TQString &s)
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
KLocale::setMainCatalogue("tdelibs"); KLocale::setMainCatalogue("tdelibs");
KAboutData about("kde-config", "kde-config", "1.0", description, KAboutData::License_GPL, "(C) 2000 Stephan Kulow"); KAboutData about("tde-config", "tde-config", "1.0", description, KAboutData::License_GPL, "(C) 2000 Stephan Kulow");
KCmdLineArgs::init( argc, argv, &about); KCmdLineArgs::init( argc, argv, &about);
KCmdLineArgs::addCmdLineOptions( options ); // Add my own options. KCmdLineArgs::addCmdLineOptions( options ); // Add my own options.
KInstance a("kde-config"); KInstance a("tde-config");
(void)KGlobal::dirs(); // trigger the creation (void)KGlobal::dirs(); // trigger the creation
(void)KGlobal::config(); (void)KGlobal::config();

@ -114,12 +114,12 @@ void printResult(const TQString &s)
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
KLocale::setMainCatalogue("tdelibs"); KLocale::setMainCatalogue("tdelibs");
KAboutData about("kde-config", "kde-config", "1.0", description, KAboutData::License_GPL, "(C) 2000 Stephan Kulow"); KAboutData about("tde-config", "tde-config", "1.0", description, KAboutData::License_GPL, "(C) 2000 Stephan Kulow");
KCmdLineArgs::init( argc, argv, &about); KCmdLineArgs::init( argc, argv, &about);
KCmdLineArgs::addCmdLineOptions( options ); // Add my own options. KCmdLineArgs::addCmdLineOptions( options ); // Add my own options.
KInstance a("kde-config"); KInstance a("tde-config");
(void)KGlobal::dirs(); // trigger the creation (void)KGlobal::dirs(); // trigger the creation
(void)KGlobal::config(); (void)KGlobal::config();
Loading…
Cancel
Save