From 22d5a332d62147aaa6dcce878f02078422ef202e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 27 Jan 2013 00:51:01 -0600 Subject: [PATCH] Rename a number of libraries and executables to avoid conflicts with KDE4 --- acinclude.m4 | 8 ++++---- aclocal.m4 | 8 ++++---- adept/adept/installerview.cpp | 2 +- adept/adept/packagedetails.cpp | 4 ++-- adept/adept/packagedetailsui.ui | 4 ++-- adept/kubuntu_upgrader/upgradewizard.cpp | 6 +++--- adept/libadept/packagedetails.cpp | 4 ++-- adept/libadept/packagedetailsui.ui | 4 ++-- adept/notifier/app.cpp | 2 +- 9 files changed, 21 insertions(+), 21 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index d3e728c..f05933f 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -646,7 +646,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 if test -n "$trinity3ornewer"; then @@ -1967,7 +1967,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 @@ -2313,7 +2313,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") @@ -2323,7 +2323,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/aclocal.m4 b/aclocal.m4 index 61f30cb..425bcaf 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -614,7 +614,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 if test -n "$trinity3ornewer"; then @@ -1800,7 +1800,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 @@ -2106,7 +2106,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") @@ -2116,7 +2116,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/adept/adept/installerview.cpp b/adept/adept/installerview.cpp index f18e9a6..c6e995a 100644 --- a/adept/adept/installerview.cpp +++ b/adept/adept/installerview.cpp @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include diff --git a/adept/adept/packagedetails.cpp b/adept/adept/packagedetails.cpp index b245feb..bfe1f9a 100644 --- a/adept/adept/packagedetails.cpp +++ b/adept/adept/packagedetails.cpp @@ -7,8 +7,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/adept/adept/packagedetailsui.ui b/adept/adept/packagedetailsui.ui index 9cbe245..f2b03d7 100644 --- a/adept/adept/packagedetailsui.ui +++ b/adept/adept/packagedetailsui.ui @@ -475,7 +475,7 @@ KFileDetailView -
kfiledetailview.h
+
tdefiledetailview.h
-1 -1 @@ -500,7 +500,7 @@ ktoolbar.h adept/packageinfo.h adept/lister.h - kfiledetailview.h + tdefiledetailview.h adept/tagchooser.h diff --git a/adept/kubuntu_upgrader/upgradewizard.cpp b/adept/kubuntu_upgrader/upgradewizard.cpp index 05f94cb..23b4d32 100644 --- a/adept/kubuntu_upgrader/upgradewizard.cpp +++ b/adept/kubuntu_upgrader/upgradewizard.cpp @@ -18,12 +18,12 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #include -#include -#include +#include +#include #include #include #include -#include +#include #include #include diff --git a/adept/libadept/packagedetails.cpp b/adept/libadept/packagedetails.cpp index 04d25a9..4411e9b 100644 --- a/adept/libadept/packagedetails.cpp +++ b/adept/libadept/packagedetails.cpp @@ -7,8 +7,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/adept/libadept/packagedetailsui.ui b/adept/libadept/packagedetailsui.ui index 2ecd519..65b4812 100644 --- a/adept/libadept/packagedetailsui.ui +++ b/adept/libadept/packagedetailsui.ui @@ -433,7 +433,7 @@
KFileDetailView -
kfiledetailview.h
+
tdefiledetailview.h
-1 -1 @@ -458,7 +458,7 @@ ktoolbar.h adept/packageinfo.h adept/lister.h - kfiledetailview.h + tdefiledetailview.h adept/tagchooser.h diff --git a/adept/notifier/app.cpp b/adept/notifier/app.cpp index 40a786f..81fe41c 100644 --- a/adept/notifier/app.cpp +++ b/adept/notifier/app.cpp @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include