From 167ec17df581b4b82fa8adf31a1468c376ecaa22 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 26 Jan 2013 13:08:35 -0600 Subject: [PATCH] Rename a number of libraries and executables to avoid conflicts with KDE4 --- acinclude.m4 | 26 +++++++++---------- po/hu.pot | 4 +-- src/kchmviewwindowmgr.cpp | 2 +- src/kde-qt.h | 2 +- src/kde/Makefile.am | 4 +-- ...art.cpp => kchmviewwindow_tdehtmlpart.cpp} | 6 ++--- ...tmlpart.h => kchmviewwindow_tdehtmlpart.h} | 0 7 files changed, 22 insertions(+), 22 deletions(-) rename src/kde/{kchmviewwindow_khtmlpart.cpp => kchmviewwindow_tdehtmlpart.cpp} (97%) rename src/kde/{kchmviewwindow_khtmlpart.h => kchmviewwindow_tdehtmlpart.h} (100%) diff --git a/acinclude.m4 b/acinclude.m4 index 095df10..0e48fb3 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2075,16 +2075,16 @@ if test $kde_qtver = 3; then AC_SUBST(LIB_SMB, "-lsmb") AC_SUBST(LIB_KAB, "-lkab") AC_SUBST(LIB_KABC, "-lkabc") - AC_SUBST(LIB_KHTML, "-lkhtml") - AC_SUBST(LIB_KSPELL, "-lkspell") - AC_SUBST(LIB_KPARTS, "-lkparts") + AC_SUBST(LIB_KHTML, "-ltdehtml") + AC_SUBST(LIB_KSPELL, "-ltdespell") + AC_SUBST(LIB_KPARTS, "-ltdeparts") AC_SUBST(LIB_TDEPRINT, "-ltdeprint") - AC_SUBST(LIB_KUTILS, "-lkutils") + AC_SUBST(LIB_KUTILS, "-ltdeutils") AC_SUBST(LIB_TDEPIM, "-ltdepim") - AC_SUBST(LIB_KIMPROXY, "-lkimproxy") + AC_SUBST(LIB_KIMPROXY, "-ltdeimproxy") AC_SUBST(LIB_KNEWSTUFF, "-lknewstuff") - AC_SUBST(LIB_KDNSSD, "-lkdnssd") - AC_SUBST(LIB_KUNITTEST, "-lkunittest") + AC_SUBST(LIB_KDNSSD, "-ltdednssd") + AC_SUBST(LIB_KUNITTEST, "-ltdeunittest") # these are for backward compatibility AC_SUBST(LIB_KSYCOCA, "-lkio") AC_SUBST(LIB_KFILE, "-lkio") @@ -2092,13 +2092,13 @@ elif test $kde_qtver = 2; then AC_SUBST(LIB_TDECORE, "-ltdecore") AC_SUBST(LIB_TDEUI, "-ltdeui") AC_SUBST(LIB_KIO, "-lkio") - AC_SUBST(LIB_KSYCOCA, "-lksycoca") + AC_SUBST(LIB_KSYCOCA, "-ltdesycoca") AC_SUBST(LIB_SMB, "-lsmb") AC_SUBST(LIB_KFILE, "-lkfile") AC_SUBST(LIB_KAB, "-lkab") - AC_SUBST(LIB_KHTML, "-lkhtml") - AC_SUBST(LIB_KSPELL, "-lkspell") - AC_SUBST(LIB_KPARTS, "-lkparts") + AC_SUBST(LIB_KHTML, "-ltdehtml") + AC_SUBST(LIB_KSPELL, "-ltdespell") + AC_SUBST(LIB_KPARTS, "-ltdeparts") AC_SUBST(LIB_TDEPRINT, "-ltdeprint") else AC_SUBST(LIB_TDECORE, "-ltdecore -lXext $(LIB_QT)") @@ -2547,7 +2547,7 @@ AC_FIND_FILE(jpeglib.h, $jpeg_incdirs, jpeg_incdir) test "x$jpeg_incdir" = xNO && jpeg_incdir= dnl if headers _and_ libraries are missing, this is no error, and we -dnl continue with a warning (the user will get no jpeg support in khtml) +dnl continue with a warning (the user will get no jpeg support in tdehtml) dnl if only one is missing, it means a configuration error, but we still dnl only warn if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then @@ -3489,7 +3489,7 @@ LIBTOOL_SHELL="/bin/sh ./libtool" KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)" AC_SUBST(KDE_PLUGIN) -# This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs. +# This hack ensures that libtool creates shared libs for tdeunittest plugins. By default check_LTLIBRARIES makes static libs. KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)" AC_SUBST(KDE_CHECK_PLUGIN) diff --git a/po/hu.pot b/po/hu.pot index 82e4476..39eb45d 100644 --- a/po/hu.pot +++ b/po/hu.pot @@ -494,7 +494,7 @@ msgstr "Az alapoldalra ugráshoz kattintson erre a gombra." msgid "&Recent files" msgstr "&Legutóbbi fájlok" -#: kchmmainwindow.cpp:507 kchmviewwindow_khtmlpart.cpp:163 +#: kchmmainwindow.cpp:507 kchmviewwindow_tdehtmlpart.cpp:163 msgid "&Select all" msgstr "&Minden kijelölése" @@ -689,7 +689,7 @@ msgid "" "For example, search for 'C' will give the same result as searching for 'C++'." msgstr "" -#: kchmviewwindow_khtmlpart.cpp:161 +#: kchmviewwindow_tdehtmlpart.cpp:161 msgid "Editor" msgstr "Szerkesztő" diff --git a/src/kchmviewwindowmgr.cpp b/src/kchmviewwindowmgr.cpp index a59aa5a..5be3640 100644 --- a/src/kchmviewwindowmgr.cpp +++ b/src/kchmviewwindowmgr.cpp @@ -30,7 +30,7 @@ #include "kchmviewwindow_qtextbrowser.h" #if defined (USE_KDE) - #include "kde/kchmviewwindow_khtmlpart.h" + #include "kde/kchmviewwindow_tdehtmlpart.h" #endif diff --git a/src/kde-qt.h b/src/kde-qt.h index ac6b5d2..0d65253 100644 --- a/src/kde-qt.h +++ b/src/kde-qt.h @@ -37,7 +37,7 @@ #include #include #include - #include + #include #include #include #include diff --git a/src/kde/Makefile.am b/src/kde/Makefile.am index e095be6..8524867 100644 --- a/src/kde/Makefile.am +++ b/src/kde/Makefile.am @@ -1,6 +1,6 @@ lib_LIBRARIES=libkdeextra.a -libkdeextra_a_SOURCES = kchmdcopiface.cpp kchmdcopiface.skel kchmviewwindow_khtmlpart.cpp -noinst_HEADERS = kchmdcopiface.h kchmviewwindow_khtmlpart.h +libkdeextra_a_SOURCES = kchmdcopiface.cpp kchmdcopiface.skel kchmviewwindow_tdehtmlpart.cpp +noinst_HEADERS = kchmdcopiface.h kchmviewwindow_tdehtmlpart.h INCLUDES = $(QT_INCLUDES) $(CHM_INCLUDES) $(KDE_INCLUDES) $(LIBCHMFILE_INCLUDES) diff --git a/src/kde/kchmviewwindow_khtmlpart.cpp b/src/kde/kchmviewwindow_tdehtmlpart.cpp similarity index 97% rename from src/kde/kchmviewwindow_khtmlpart.cpp rename to src/kde/kchmviewwindow_tdehtmlpart.cpp index a2f02e1..4ad2538 100644 --- a/src/kde/kchmviewwindow_khtmlpart.cpp +++ b/src/kde/kchmviewwindow_tdehtmlpart.cpp @@ -21,15 +21,15 @@ #include -#include +#include #include #include "kde-qt.h" #include "kchmmainwindow.h" #include "kchmconfig.h" -#include "kchmviewwindow_khtmlpart.h" +#include "kchmviewwindow_tdehtmlpart.h" -#include "kchmviewwindow_khtmlpart.moc" +#include "kchmviewwindow_tdehtmlpart.moc" TQWidget * KCHMViewWindow_KHTMLPart::getTQWidget() diff --git a/src/kde/kchmviewwindow_khtmlpart.h b/src/kde/kchmviewwindow_tdehtmlpart.h similarity index 100% rename from src/kde/kchmviewwindow_khtmlpart.h rename to src/kde/kchmviewwindow_tdehtmlpart.h