Rename a number of libraries and executables to avoid conflicts with KDE4

r14.0.x
Timothy Pearson 11 years ago
parent 74e623fc18
commit 896d42313d

@ -602,7 +602,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
@ -1779,7 +1779,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
@ -2085,7 +2085,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")
@ -2095,7 +2095,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
])

@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include <tqlabel.h>
// KDE
#include <kfile.h>
#include <tdefile.h>
#include <kicondialog.h>
#include <klineedit.h>
#include <klocale.h>

@ -32,13 +32,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// KDE
#include <kcolorbutton.h>
#include <kconfigdialogmanager.h>
#include <tdeconfigdialogmanager.h>
#include <tdeversion.h>
#include <kdirsize.h>
#include <kfiledialog.h>
#include <tdefiledialog.h>
#include <kiconloader.h>
#include <klocale.h>
#include <kio/netaccess.h>
#include <tdeio/netaccess.h>
#include <kmessagebox.h>
#include <kurllabel.h>
#include <kurlrequester.h>

@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// KDE
#include <kdebug.h>
#include <kfileitem.h>
#include <tdefileitem.h>
#include <klocale.h>
#include <kurl.h>

@ -34,17 +34,17 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include <kbookmarkmanager.h>
#include <kbookmarkmenu.h>
#include <kcombobox.h>
#include <kconfig.h>
#include <tdeconfig.h>
#include <kcursor.h>
#include <kdebug.h>
#include <tdeversion.h>
#include <kdockwidget.h>
#include <kedittoolbar.h>
#include <kfiledialog.h>
#include <tdefiledialog.h>
#include <kglobal.h>
#include <khelpmenu.h>
#include <kiconloader.h>
#include <kio/netaccess.h>
#include <tdeio/netaccess.h>
#include <kkeydialog.h>
#include <klargefile.h>
#include <klistview.h>
@ -1068,9 +1068,9 @@ void MainWindow::createObjectInteractions() {
TQT_TQOBJECT(this), TQT_SLOT(openFileViewControllerContextMenu(const TQPoint&, bool)) );
// Bookmarks
TQString file = locate( "data", "kfile/bookmarks.xml" );
TQString file = locate( "data", "tdefile/bookmarks.xml" );
if (file.isEmpty()) {
file = locateLocal( "data", "kfile/bookmarks.xml" );
file = locateLocal( "data", "tdefile/bookmarks.xml" );
}
KBookmarkManager* manager=KBookmarkManager::managerForFile(file,false);

@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include <tqvbox.h>
// KDE
#include <kfilemetainfo.h>
#include <tdefilemetainfo.h>
class TQTextEdit;
namespace Gwenview {

@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#define TREEVIEW_H
// KDE
#include <kfiletreeview.h>
#include <tdefiletreeview.h>
class KURL;
class TQShowEvent;

@ -9,7 +9,7 @@ Gwenview is an image viewer for TDE. It features a folder tree window and a file
.PP
Image loading is handled by the Qt library, so Gwenview supports all image formats your Qt installation supports. Gwenview correctly displays images with an alpha channel.
.PP
Gwenview supports the displaying and editing of EXIF comments, if the necessary JPEG kfile\-plugin is installed. This comes as part of the tdegraphics package. Lossless JPEG transforms are also supported.
Gwenview supports the displaying and editing of EXIF comments, if the necessary JPEG tdefile\-plugin is installed. This comes as part of the tdegraphics package. Lossless JPEG transforms are also supported.
.SH OPTIONS
.SS Arguments:
.TP

@ -20,7 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
// KDE includes
#include <kfileitem.h>
#include <tdefileitem.h>
// Our includes
#include "archive.h"

@ -24,12 +24,12 @@ Copyright 2000-2004 Aur
// TQt
// KDE
#include <kconfig.h>
#include <tdeconfig.h>
#include <kdebug.h>
#include <tdeversion.h>
#include <ksharedptr.h>
#include <kstaticdeleter.h>
#include <kio/global.h>
#include <tdeio/global.h>
#include "cache.moc"

@ -14,12 +14,12 @@
* *
***************************************************************************/
#include <kconfig.h>
#include <tdeconfig.h>
#include <tdeversion.h>
#include <kdialogbase.h>
#include <kglobal.h>
#include <kiconloader.h>
#include <kio/job.h>
#include <tdeio/job.h>
#include <klocale.h>
#include <kstdguiitem.h>
#include <kurl.h>

@ -31,10 +31,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// KDE
#include <kapplication.h>
#include <kdebug.h>
#include <kfilemetainfo.h>
#include <tdefilemetainfo.h>
#include <kglobalsettings.h>
#include <kimageio.h>
#include <kio/job.h>
#include <tdeio/job.h>
#include <klocale.h>
#include <kmessagebox.h>
#include <kprinter.h>

@ -26,7 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// KDE
#include <kdebug.h>
#include <kio/netaccess.h>
#include <tdeio/netaccess.h>
#include <klocale.h>
// Local

@ -33,7 +33,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// KDE
#include <kapplication.h>
#include <kdebug.h>
#include <kio/netaccess.h>
#include <tdeio/netaccess.h>
#include <klargefile.h>
#include <klocale.h>
#include <ktempfile.h>

@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// KDE
#include <kdebug.h>
#include <kfilemetainfo.h>
#include <tdefilemetainfo.h>
#undef ENABLE_LOG
#undef LOG

@ -26,7 +26,7 @@ Copyright 2000-2004 Aur
#include <tqptrlist.h>
// KDE
#include <kfileitem.h>
#include <tdefileitem.h>
// Local
#include "libgwenview_export.h"

@ -1,5 +1,5 @@
// vim: set tabstop=4 shiftwidth=4 noexpandtab
/* This file is based on kfiledetailview.cpp v1.43 from the KDE libs. Original
/* This file is based on tdefiledetailview.cpp v1.43 from the KDE libs. Original
copyright follows.
*/
/* This file is part of the KDE libraries
@ -33,7 +33,7 @@
// KDE
#include <kapplication.h>
#include <kdebug.h>
#include <kfileitem.h>
#include <tdefileitem.h>
#include <kglobalsettings.h>
#include <kiconloader.h>
#include <klocale.h>

@ -1,5 +1,5 @@
// vim: set tabstop=4 shiftwidth=4 noexpandtab
/* This file is based on kfiledetailview.h v1.30 from the KDE libs. Original
/* This file is based on tdefiledetailview.h v1.30 from the KDE libs. Original
copyright follows.
*/
/* This file is part of the KDE libraries

@ -1,5 +1,5 @@
// vim: set tabstop=4 shiftwidth=4 noexpandtab
/* This file is based on kfiledetailview.cpp from the KDE libs. Original
/* This file is based on tdefiledetailview.cpp from the KDE libs. Original
copyright follows.
*/
/* This file is part of the KDE libraries

@ -1,5 +1,5 @@
// vim: set tabstop=4 shiftwidth=4 noexpandtab
/* This file is based on kfiledetailview.h from the KDE libs. Original
/* This file is based on tdefiledetailview.h from the KDE libs. Original
copyright follows.
*/
/* This file is part of the KDE libraries
@ -26,7 +26,7 @@
// KDE includes
#include <klistview.h>
#include <kfileitem.h>
#include <tdefileitem.h>
namespace Gwenview {
#define COL_NAME 0

@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include <tqobject.h>
// KDE
#include <kconfig.h>
#include <tdeconfig.h>
#include <kiconloader.h>
#include <klocale.h>

@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// KDE
#include <kurl.h>
#include <kio/job.h>
#include <tdeio/job.h>
#include "libgwenview_export.h"

@ -26,8 +26,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// KDE
#include <tdeversion.h>
#include <kfiledialog.h>
#include <kfilefiltercombo.h>
#include <tdefiledialog.h>
#include <tdefilefiltercombo.h>
#include <kglobalsettings.h>
#include <klineedit.h>
#include <klocale.h>

@ -26,7 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include <tqstring.h>
// KDE includes
#include <kio/job.h>
#include <tdeio/job.h>
#include <kurl.h>
class TQWidget;

@ -31,7 +31,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// KDE
#include <kapplication.h>
#include <kconfig.h>
#include <tdeconfig.h>
#include <kdebug.h>
#include <kglobalsettings.h>
#include <kiconloader.h>

@ -26,7 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include <tqcolor.h>
// KDE includes
#include <kfileview.h>
#include <tdefileview.h>
namespace Gwenview {
class FileViewBase : public KFileView {

@ -47,8 +47,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include <ktoolbar.h>
#include <ktoolbarlabelaction.h>
#include <kurldrag.h>
#include <kio/job.h>
#include <kio/file.h>
#include <tdeio/job.h>
#include <tdeio/file.h>
// Local
#include "archive.h"

@ -28,8 +28,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// KDE
#include <kdirlister.h>
#include <kfileitem.h>
#include <kio/job.h>
#include <tdefileitem.h>
#include <tdeio/job.h>
#include <kurl.h>
#include "libgwenview_export.h"

@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include <tqcstring.h>
// KDE
#include <kio/job.h>
#include <tdeio/job.h>
// Local
#include "tsthread/tsthread.h"

@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// KDE includes
#include <kdebug.h>
#include <tdeversion.h>
#include <kfilefiltercombo.h>
#include <tdefilefiltercombo.h>
#include <kimageio.h>
#include <klocale.h>
#include <kurlcombobox.h>

@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#define IMAGESAVEDIALOG_H
// KDE includes
#include <kfiledialog.h>
#include <tdefiledialog.h>
class TQString;
class TQWidget;

@ -40,7 +40,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// KDE
#include <kaction.h>
#include <kconfig.h>
#include <tdeconfig.h>
#include <kdebug.h>
#include <tdeversion.h>
#include <klocale.h>

@ -25,9 +25,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// KDE
#include <kapplication.h>
#include <kfileitem.h>
#include <tdefileitem.h>
#include <kimageio.h>
#include <kio/netaccess.h>
#include <tdeio/netaccess.h>
#include <kmimetype.h>
#include <kurl.h>

@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include <tqtimer.h>
// KDE
#include <kconfig.h>
#include <tdeconfig.h>
#include <kdebug.h>
// Local

@ -39,9 +39,9 @@
// KDE
#include <kapplication.h>
#include <kdebug.h>
#include <kfileitem.h>
#include <tdefileitem.h>
#include <kiconloader.h>
#include <kio/previewjob.h>
#include <tdeio/previewjob.h>
#include <klargefile.h>
#include <kmdcodec.h>
#include <kstandarddirs.h>

@ -32,7 +32,7 @@
#include <tqvaluevector.h>
// KDE
#include <kio/job.h>
#include <tdeio/job.h>
// Local
#include "tsthread/tsthread.h"

@ -22,8 +22,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// KDE
#include <kdebug.h>
#include <kfileitem.h>
#include <kfilemetainfo.h>
#include <tdefileitem.h>
#include <tdefilemetainfo.h>
#include <kglobal.h>
#include <klocale.h>

@ -33,7 +33,7 @@ Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA.
#include <kstandarddirs.h>
#include <tdeparts/browserextension.h>
#include <tdeparts/genericfactory.h>
#include <kio/job.h>
#include <tdeio/job.h>
#include <gvcore/fileoperation.h>
#include <gvcore/archive.h>

@ -25,10 +25,10 @@ Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA.
#include <kaction.h>
#include <kapplication.h>
#include <kconfig.h>
#include <tdeconfig.h>
#include <kdebug.h>
#include <kdirlister.h>
#include <kfiledialog.h>
#include <tdefiledialog.h>
#include <kiconloader.h>
#include <klocale.h>
#include <kmessagebox.h>

@ -31,7 +31,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include <kaboutdata.h>
#include <kcmdlineargs.h>
#include <kdebug.h>
#include <kfilemetainfo.h>
#include <tdefilemetainfo.h>
// Local
#include "imageutils/imageutils.h"

@ -147,7 +147,7 @@ ln -s %_datadir/icons/hicolor/16x16/apps/%{gvname}.png %buildroot/%_miconsdir
%_datadir/services/%{gvimagepartname}.desktop
%_menudir/*
%_datadir/apps/konqueror/servicemenus/*
%_datadir/apps/kconf_update/%{gvname}*
%_datadir/apps/tdeconf_update/%{gvname}*
%dir %_datadir/apps/%{gvname}/
%_datadir/apps/%{gvname}/*
%_datadir/icons/crystalsvg/16x16/apps/*

@ -6,4 +6,4 @@ update_SCRIPTS = \
gwenview_thumbnail_size.sh \
gwenview_1.4_osdformat.sh
updatedir = $(kde_datadir)/kconf_update
updatedir = $(kde_datadir)/tdeconf_update

Loading…
Cancel
Save