summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-07 18:49:59 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-07 18:49:59 -0600
commitc0d7b0d9c0ae0f94606c9b078dd7e5be4dfcb483 (patch)
treef613b64a8278aada8e88a5830bd12f37268ee94c
parent06e6cb97c9d33fa285c0f96452939e7221f47fb6 (diff)
downloadkmyfirewall-c0d7b0d9c0ae0f94606c9b078dd7e5be4dfcb483.tar.gz
kmyfirewall-c0d7b0d9c0ae0f94606c9b078dd7e5be4dfcb483.zip
Rename KDEHOME and KDEDIR
-rw-r--r--acinclude.m426
-rw-r--r--configure.in2
-rw-r--r--kmyfirewall/installer/linux/kmfiptinstaller.cpp12
-rw-r--r--kmyfirewall/installer/openbsd/kmfpfinstaller.cpp12
4 files changed, 26 insertions, 26 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 33e8570..3748f81 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -382,13 +382,13 @@ same compiler to compile Qt and tdelibs as you did use now.
For more details about this problem, look at the end of config.log.])
fi
-if eval `KDEDIR= ./conftest 2>&5`; then
+if eval `TDEDIR= ./conftest 2>&5`; then
kde_result=done
else
kde_result=problems
fi
-KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
+TDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
kde_have_all_paths=yes
KDE_SET_PATHS($kde_result)
@@ -547,11 +547,11 @@ Please check whether you installed aRts correctly or use
AC_DEFUN([KDE_SET_DEFAULT_BINDIRS],
[
kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/trinity/bin /usr/kde/bin /usr/local/kde/bin"
- test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
- if test -n "$KDEDIRS"; then
+ test -n "$TDEDIR" && kde_default_bindirs="$TDEDIR/bin $kde_default_bindirs"
+ if test -n "$TDEDIRS"; then
kde_save_IFS=$IFS
IFS=:
- for dir in $KDEDIRS; do
+ for dir in $TDEDIRS; do
kde_default_bindirs="$dir/bin $kde_default_bindirs "
done
IFS=$kde_save_IFS
@@ -613,7 +613,7 @@ AC_DEFUN([KDE_SUBST_PROGRAMS],
if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/trinity/share /opt/kde/share $prefix/share"
- test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
+ test -n "$TDEDIR" && kde_sharedirs="$TDEDIR/share $kde_sharedirs"
AC_FIND_FILE(apps/ksgmltools2/customization/kde-chunk.xsl, $kde_sharedirs, KDE_XSL_STYLESHEET)
if test "$KDE_XSL_STYLESHEET" = "NO"; then
KDE_XSL_STYLESHEET=""
@@ -1794,7 +1794,7 @@ fi
if test -z "$1"; then
kde_incdirs="$kde_libs_prefix/include /opt/trinity/include/kde /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/trinity/include /opt/kde/include $x_includes $qt_includes"
-test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
+test -n "$TDEDIR" && kde_incdirs="$TDEDIR/include $TDEDIR/include/kde $TDEDIR $kde_incdirs"
kde_incdirs="$ac_kde_includes $kde_incdirs"
AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir)
ac_kde_includes="$kde_incdir"
@@ -1806,7 +1806,7 @@ So, check this please and use another prefix!])
fi
kde_libdirs="$kde_libs_prefix/lib${tdelibsuff} /usr/lib/kde/lib${tdelibsuff} /usr/local/kde/lib${tdelibsuff} /usr/kde/lib${tdelibsuff} /usr/lib${tdelibsuff}/kde /usr/lib${tdelibsuff}/trinity /usr/lib${tdelibsuff} /usr/X11R6/lib${tdelibsuff} /usr/local/lib${tdelibsuff} /opt/trinity/lib${tdelibsuff} /opt/kde/lib${tdelibsuff} /usr/X11R6/kde/lib${tdelibsuff}"
-test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${tdelibsuff} $KDEDIR $kde_libdirs"
+test -n "$TDEDIR" && kde_libdirs="$TDEDIR/lib${tdelibsuff} $TDEDIR $kde_libdirs"
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
AC_FIND_FILE($kde_check_lib, $kde_libdirs, kde_libdir)
ac_kde_libraries="$kde_libdir"
@@ -3549,7 +3549,7 @@ AC_CANONICAL_SYSTEM
AC_ARG_PROGRAM
AM_INIT_AUTOMAKE($1, $2)
AM_DISABLE_LIBRARIES
-AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde})
+AC_PREFIX_DEFAULT(${TDEDIR:-/usr/local/kde})
AC_CHECK_COMPILERS
KDE_PROG_LIBTOOL
AM_KDE_WITH_NLS
@@ -4948,12 +4948,12 @@ AC_DEFUN([KDE_CONF_FILES],
dnl This sets the prefix, for arts and tdelibs
dnl Do NOT use in any other module.
-dnl It only looks at --prefix, KDEDIR and falls back to /usr/local/kde
+dnl It only looks at --prefix, TDEDIR and falls back to /usr/local/kde
AC_DEFUN([KDE_SET_PREFIX_CORE],
[
unset CDPATH
- dnl make $KDEDIR the default for the installation
- AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde})
+ dnl make $TDEDIR the default for the installation
+ AC_PREFIX_DEFAULT(${TDEDIR:-/usr/local/kde})
if test "x$prefix" = "xNONE"; then
prefix=$ac_default_prefix
@@ -4977,7 +4977,7 @@ AC_DEFUN([KDE_SET_PREFIX],
unset CDPATH
dnl We can't give real code to that macro, only a value.
dnl It only matters for --help, since we set the prefix in this function anyway.
- AC_PREFIX_DEFAULT(${KDEDIR:-the kde prefix})
+ AC_PREFIX_DEFAULT(${TDEDIR:-the kde prefix})
KDE_SET_DEFAULT_BINDIRS
if test "x$prefix" = "xNONE"; then
diff --git a/configure.in b/configure.in
index e0b99ff..def4d14 100644
--- a/configure.in
+++ b/configure.in
@@ -116,7 +116,7 @@ if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
echo "Warning: you chose to install this package in $given_prefix,"
echo "but KDE was found in $kde_libs_prefix."
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
- echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
+ echo "that TDEDIRS contains it, e.g. export TDEDIRS=$given_prefix:$kde_libs_prefix"
echo "Then restart KDE."
echo ""
fi
diff --git a/kmyfirewall/installer/linux/kmfiptinstaller.cpp b/kmyfirewall/installer/linux/kmfiptinstaller.cpp
index 0afc9a1..c84dd52 100644
--- a/kmyfirewall/installer/linux/kmfiptinstaller.cpp
+++ b/kmyfirewall/installer/linux/kmfiptinstaller.cpp
@@ -366,7 +366,7 @@ void KMFIPTInstaller::cmdInstallFW() {
if ( installscript.isEmpty() ) {
TQString msg = i18n( "<p>Unable to find install script <b>kmfinstall.sh</b>"
"<p>Please check your installation. Usually this script is installed in "
- "$KDEDIR/share/apps/kmyfirewall/scripts/installer/linux"
+ "$TDEDIR/share/apps/kmyfirewall/scripts/installer/linux"
"<p>Unable to install the firewall without this script." );
TQString cap = "KMFIPTInstaller";
KMessageBox::error( 0, msg, cap );
@@ -469,7 +469,7 @@ void KMFIPTInstaller::cmdUninstallFW() {
if ( installscript.isEmpty() ) {
const TQString & msg = i18n( "<p>Unable to find uninstall script <b>kmfinstall.sh</b>"
"<p>Please check your installation. Usually this script is installed in "
- "$KDEDIR/share/apps/kmyfirewall/scripts/installer/linux"
+ "$TDEDIR/share/apps/kmyfirewall/scripts/installer/linux"
"<p>Unable to uninstall the firewall without this script." );
const TQString& cap = "KMFIPTInstaller";
KMessageBox::error( 0, msg, cap );
@@ -912,7 +912,7 @@ void KMFIPTInstaller::generateInstallerPackage( KMFTarget* target, const KURL& p
if ( readme_url.path().isEmpty() ) {
TQString msg = i18n( "<p>Unable to find the package README script <b>README.InstallerPackage.txt</b>"
"<p>Please check your installation. Usually this file is installed in "
- "$KDEDIR/share/apps/kmyfirewall/"
+ "$TDEDIR/share/apps/kmyfirewall/"
"<p>The package will be built without the README file." );
TQString cap = "KMFIPTInstaller";
KMessageBox::error( 0, msg, cap );
@@ -925,7 +925,7 @@ void KMFIPTInstaller::generateInstallerPackage( KMFTarget* target, const KURL& p
if ( kmfinstall_url.path().isEmpty() ) {
TQString msg = i18n( "<p>Unable to find install script <b>kmfinstall.sh</b>"
"<p>Please check your installation. Usually this script is installed in "
- "$KDEDIR/share/apps/kmyfirewall/scripts/installer/%1"
+ "$TDEDIR/share/apps/kmyfirewall/scripts/installer/%1"
"<p>Unable to install the firewall without this script."
).tqarg(target->config()->oS());
TQString cap = "KMFIPTInstaller";
@@ -942,7 +942,7 @@ void KMFIPTInstaller::generateInstallerPackage( KMFTarget* target, const KURL& p
if ( kmfpgkinstall_url.path().isEmpty() ) {
TQString msg = i18n( "<p>Unable to find install script <b>kmfinstall.sh</b>"
"<p>Please check your installation. Usually this script is installed in "
- "$KDEDIR/share/apps/kmyfirewall/scripts/installer/%1"
+ "$TDEDIR/share/apps/kmyfirewall/scripts/installer/%1"
"<p>Unable to install the firewall without this script."
).tqarg(target->config()->oS());
TQString cap = "KMFIPTInstaller";
@@ -958,7 +958,7 @@ void KMFIPTInstaller::generateInstallerPackage( KMFTarget* target, const KURL& p
if ( kmf_install_package_url.path().isEmpty() ) {
TQString msg = i18n( "<p>Unable to find install package script <b>installpackage.sh</b>"
"<p>Please check your installation. Usually this script is installed in "
- "$KDEDIR/share/apps/kmyfirewall/scripts/installer/%1"
+ "$TDEDIR/share/apps/kmyfirewall/scripts/installer/%1"
"<p>Unable to install the firewall without this script."
).tqarg(target->config()->oS());
TQString cap = "KMFIPTInstaller";
diff --git a/kmyfirewall/installer/openbsd/kmfpfinstaller.cpp b/kmyfirewall/installer/openbsd/kmfpfinstaller.cpp
index ba8ce64..6223c9b 100644
--- a/kmyfirewall/installer/openbsd/kmfpfinstaller.cpp
+++ b/kmyfirewall/installer/openbsd/kmfpfinstaller.cpp
@@ -377,7 +377,7 @@ void KMFPFInstaller::cmdInstallFW() {
// if ( installscript.isEmpty() ) {
// TQString msg = i18n( "<p>Unable to find install script <b>kmfinstall.sh</b>"
// "<p>Please check your installation. Usually this script is installed in "
-// "$KDEDIR/share/apps/kmyfirewall/scripts/installer/linux"
+// "$TDEDIR/share/apps/kmyfirewall/scripts/installer/linux"
// "<p>Unable to install the firewall without this script." );
// TQString cap = "KMFPFInstaller";
// KMessageBox::error( 0, msg, cap );
@@ -482,7 +482,7 @@ void KMFPFInstaller::cmdUninstallFW() {
// if ( installscript.isEmpty() ) {
// const TQString & msg = i18n( "<p>Unable to find uninstall script <b>kmfinstall.sh</b>"
// "<p>Please check your installation. Usually this script is installed in "
-// "$KDEDIR/share/apps/kmyfirewall/scripts/installer/linux"
+// "$TDEDIR/share/apps/kmyfirewall/scripts/installer/linux"
// "<p>Unable to uninstall the firewall without this script." );
// const TQString& cap = "KMFPFInstaller";
// KMessageBox::error( 0, msg, cap );
@@ -871,7 +871,7 @@ void KMFPFInstaller::generateInstallerPackage( KMFTarget* target, const KURL& pa
// if ( readme_url.path().isEmpty() ) {
// TQString msg = i18n( "<p>Unable to find the package README script <b>README.InstallerPackage.txt</b>"
// "<p>Please check your installation. Usually this file is installed in "
-// "$KDEDIR/share/apps/kmyfirewall/"
+// "$TDEDIR/share/apps/kmyfirewall/"
// "<p>The package will be built without the README file." );
// TQString cap = "KMFPFInstaller";
// KMessageBox::error( 0, msg, cap );
@@ -884,7 +884,7 @@ void KMFPFInstaller::generateInstallerPackage( KMFTarget* target, const KURL& pa
// if ( kmfinstall_url.path().isEmpty() ) {
// TQString msg = i18n( "<p>Unable to find install script <b>kmfinstall.sh</b>"
// "<p>Please check your installation. Usually this script is installed in "
-// "$KDEDIR/share/apps/kmyfirewall/scripts/installer/" + target->config()->oS() + ""
+// "$TDEDIR/share/apps/kmyfirewall/scripts/installer/" + target->config()->oS() + ""
// "<p>Unable to install the firewall without this script." );
// TQString cap = "KMFPFInstaller";
// KMessageBox::error( 0, msg, cap );
@@ -900,7 +900,7 @@ void KMFPFInstaller::generateInstallerPackage( KMFTarget* target, const KURL& pa
// if ( kmfpgkinstall_url.path().isEmpty() ) {
// TQString msg = i18n( "<p>Unable to find install script <b>kmfinstall.sh</b>"
// "<p>Please check your installation. Usually this script is installed in "
-// "$KDEDIR/share/apps/kmyfirewall/scripts/installer/" + target->config()->oS() + ""
+// "$TDEDIR/share/apps/kmyfirewall/scripts/installer/" + target->config()->oS() + ""
// "<p>Unable to install the firewall without this script." );
// TQString cap = "KMFPFInstaller";
// KMessageBox::error( 0, msg, cap );
@@ -915,7 +915,7 @@ void KMFPFInstaller::generateInstallerPackage( KMFTarget* target, const KURL& pa
// if ( kmf_install_package_url.path().isEmpty() ) {
// TQString msg = i18n( "<p>Unable to find install package script <b>installpackage.sh</b>"
// "<p>Please check your installation. Usually this script is installed in "
-// "$KDEDIR/share/apps/kmyfirewall/scripts/installer/" + target->config()->oS() + ""
+// "$TDEDIR/share/apps/kmyfirewall/scripts/installer/" + target->config()->oS() + ""
// "<p>Unable to install the firewall without this script." );
// TQString cap = "KMFPFInstaller";
// KMessageBox::error( 0, msg, cap );