summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-27 00:52:50 -0600
committerTimothy Pearson <[email protected]>2013-01-27 00:52:50 -0600
commitd04d2847e11f0eb9218c877ad9dc2a51f7c0d4ec (patch)
tree2d6eac180c9446e62e62f94d5003f08752864e8f
parent6cddb500f2ba134e6dbc04f096c87d523fee6e0d (diff)
downloadkdirstat-d04d2847e11f0eb9218c877ad9dc2a51f7c0d4ec.tar.gz
kdirstat-d04d2847e11f0eb9218c877ad9dc2a51f7c0d4ec.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
-rw-r--r--acinclude.m48
-rw-r--r--kdirstat.spec6
-rw-r--r--kdirstat/Makefile.am2
-rw-r--r--kdirstat/kactivitytracker.cpp2
-rw-r--r--kdirstat/kdirstatapp.cpp4
-rw-r--r--kdirstat/kdirtree.cpp8
-rw-r--r--kdirstat/kdirtree.h4
-rw-r--r--kdirstat/ktreemapview.cpp2
8 files changed, 18 insertions, 18 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 62ba0a9..6e01d00 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -590,7 +590,7 @@ AC_DEFUN([KDE_SUBST_PROGRAMS],
fi
if test -n "$trinity2ornewer"; then
- KDE_FIND_PATH(kconfig_compiler, KCONFIG_COMPILER, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kconfig_compiler)])
+ KDE_FIND_PATH(tdeconfig_compiler, KCONFIG_COMPILER, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(tdeconfig_compiler)])
KDE_FIND_PATH(dcopidlng, DCOPIDLNG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidlng)])
fi
KDE_FIND_PATH(xmllint, XMLLINT, [${prefix}/bin ${exec_prefix}/bin], [XMLLINT=""])
@@ -1741,7 +1741,7 @@ if test "$kde_qtver" = 1; then
kde_check_lib="libtdecore.la"
else
kde_check_header="ksharedptr.h"
- kde_check_lib="libkio.la"
+ kde_check_lib="libtdeio.la"
fi
if test -z "$1"; then
@@ -2037,7 +2037,7 @@ elif test $kde_qtver = 2; then
AC_SUBST(LIB_KIO, "-lkio")
AC_SUBST(LIB_KSYCOCA, "-ltdesycoca")
AC_SUBST(LIB_SMB, "-lsmb")
- AC_SUBST(LIB_KFILE, "-lkfile")
+ AC_SUBST(LIB_KFILE, "-ltdefile")
AC_SUBST(LIB_KAB, "-lkab")
AC_SUBST(LIB_KHTML, "-ltdehtml")
AC_SUBST(LIB_KSPELL, "-ltdespell")
@@ -2047,7 +2047,7 @@ else
AC_SUBST(LIB_TDECORE, "-ltdecore -lXext $(LIB_QT)")
AC_SUBST(LIB_TDEUI, "-ltdeui $(LIB_TDECORE)")
AC_SUBST(LIB_KFM, "-lkfm $(LIB_TDECORE)")
- AC_SUBST(LIB_KFILE, "-lkfile $(LIB_KFM) $(LIB_TDEUI)")
+ AC_SUBST(LIB_KFILE, "-ltdefile $(LIB_KFM) $(LIB_TDEUI)")
AC_SUBST(LIB_KAB, "-lkab $(LIB_KIMGIO) $(LIB_TDECORE)")
fi
])
diff --git a/kdirstat.spec b/kdirstat.spec
index 1ebbf17..bf5f745 100644
--- a/kdirstat.spec
+++ b/kdirstat.spec
@@ -64,7 +64,7 @@ make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
%dir /opt/trinity/share/icons/locolor/16x16/apps
%dir /opt/trinity/share/icons/locolor/32x32/apps
/opt/trinity/share/icons/??color/??x??/*/kdirstat*
-%dir /opt/trinity/share/apps/kconf_update
-/opt/trinity/share/apps/kconf_update/kdirstat.upd
-/opt/trinity/share/apps/kconf_update/fix_move_to_trash_bin.pl
+%dir /opt/trinity/share/apps/tdeconf_update
+/opt/trinity/share/apps/tdeconf_update/kdirstat.upd
+/opt/trinity/share/apps/tdeconf_update/fix_move_to_trash_bin.pl
diff --git a/kdirstat/Makefile.am b/kdirstat/Makefile.am
index 925aeb5..219977a 100644
--- a/kdirstat/Makefile.am
+++ b/kdirstat/Makefile.am
@@ -53,7 +53,7 @@ EXTRA_DIST = \
hi16-app-kdirstat.png
-updatedir = $(kde_datadir)/kconf_update
+updatedir = $(kde_datadir)/tdeconf_update
update_DATA = kdirstat.upd
update_SCRIPTS = fix_move_to_trash_bin.pl
diff --git a/kdirstat/kactivitytracker.cpp b/kdirstat/kactivitytracker.cpp
index 0e98f9e..fbd5bc2 100644
--- a/kdirstat/kactivitytracker.cpp
+++ b/kdirstat/kactivitytracker.cpp
@@ -11,7 +11,7 @@
#include <kapp.h>
#include <kdebug.h>
-#include <kconfig.h>
+#include <tdeconfig.h>
#include "kactivitytracker.h"
diff --git a/kdirstat/kdirstatapp.cpp b/kdirstat/kdirstatapp.cpp
index 1c07e2e..33c4d73 100644
--- a/kdirstat/kdirstatapp.cpp
+++ b/kdirstat/kdirstatapp.cpp
@@ -17,8 +17,8 @@
#include <kaccel.h>
#include <kaction.h>
#include <kapp.h>
-#include <kconfig.h>
-#include <kfiledialog.h>
+#include <tdeconfig.h>
+#include <tdefiledialog.h>
#include <kiconloader.h>
#include <klocale.h>
#include <kmenubar.h>
diff --git a/kdirstat/kdirtree.cpp b/kdirstat/kdirtree.cpp
index 47c609d..82f7df6 100644
--- a/kdirstat/kdirtree.cpp
+++ b/kdirstat/kdirtree.cpp
@@ -14,13 +14,13 @@
#include <tqtimer.h>
#include <kapp.h>
#include <klocale.h>
-#include <kconfig.h>
+#include <tdeconfig.h>
#include "kdirtree.h"
#include "kdirtreeiterators.h"
#include "kdirtreeview.h"
#include "kdirsaver.h"
-#include "kio/job.h"
-#include "kio/netaccess.h"
+#include "tdeio/job.h"
+#include "tdeio/netaccess.h"
#define HAVE_STUPID_COMPILER 0
@@ -1556,7 +1556,7 @@ KDirStat::fixedUrl( const TQString & dirtyUrl )
}
- // Strip off the rightmost slash - some kioslaves (e.g. 'tar') can't handle that.
+ // Strip off the rightmost slash - some tdeioslaves (e.g. 'tar') can't handle that.
TQString path = url.path();
diff --git a/kdirstat/kdirtree.h b/kdirstat/kdirtree.h
index abadd7e..ca1eda4 100644
--- a/kdirstat/kdirtree.h
+++ b/kdirstat/kdirtree.h
@@ -21,8 +21,8 @@
#include <dirent.h>
#include <tqptrqueue.h>
#include <kdebug.h>
-#include <kfileitem.h>
-#include <kio/jobclasses.h>
+#include <tdefileitem.h>
+#include <tdeio/jobclasses.h>
#ifndef NOT_USED
# define NOT_USED(PARAM) ( (void) (PARAM) )
diff --git a/kdirstat/ktreemapview.cpp b/kdirstat/ktreemapview.cpp
index 6509738..473422a 100644
--- a/kdirstat/ktreemapview.cpp
+++ b/kdirstat/ktreemapview.cpp
@@ -14,7 +14,7 @@
#include <tqregexp.h>
#include <kapp.h>
-#include <kconfig.h>
+#include <tdeconfig.h>
#include <kglobal.h>
#include <klocale.h>