From 8e2ffd2cc8a92d7f3a73457309bcea49d4487b1a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 29 Jan 2013 23:32:30 -0600 Subject: Rename a few build variables for overall consistency --- CMakeLists.txt | 10 +++++----- akregator/src/mk4storage/Makefile.am | 2 +- indexlib/lockfile.h | 6 +++--- kalarm/pictdefileradio.h | 6 +++--- kandy/src/Makefile.am | 2 +- kmail/accountdialog.cpp | 2 +- kmailcvt/Makefile.am | 2 +- kmobile/Makefile.am | 2 +- knode/Makefile.am | 2 +- korganizer/Makefile.am | 2 +- korn/Makefile.am | 2 +- ktnef/gui/Makefile.am | 2 +- libtdenetwork/libgpgme-copy/assuan/assuan-logging.c | 8 ++++---- tdefile-plugins/ics/tdefile_ics.h | 4 ++-- tdefile-plugins/palm-databases/tdefile_palm.h | 4 ++-- tdefile-plugins/rfc822/tdefile_rfc822.h | 4 ++-- tdefile-plugins/vcf/tdefile_vcf.h | 4 ++-- tderesources/caldav/export.h | 10 +++++----- tderesources/caldav/plugin.cpp | 2 +- tderesources/carddav/export.h | 10 +++++----- 20 files changed, 43 insertions(+), 43 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5a6e8d870..50d1c7dc6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -109,13 +109,13 @@ option( BUILD_KORGANIZER "Build korganizer" ${BUILD_ALL} ) option( BUILD_PLUGINS "Build plugins" ${BUILD_ALL} ) option( BUILD_KNOTES "Build knotes" ${BUILD_ALL} ) option( BUILD_KODE "Build kode" ${BUILD_ALL} ) -option( BUILD_KRESOURCES "Build tderesources" ${BUILD_ALL} ) +option( BUILD_TDERESOURCES "Build tderesources" ${BUILD_ALL} ) option( BUILD_WIZARDS "Build wizards" ${BUILD_ALL} ) option( BUILD_KABC "Build kabc" ${BUILD_ALL} ) option( BUILD_KONSOLEKALENDAR "Build konsolekalendar" ${BUILD_ALL} ) option( BUILD_KMAILCVT "Build kmailcvt" ${BUILD_ALL} ) option( BUILD_KARM "Build karm" ${BUILD_ALL} ) -option( BUILD_KFILE_PLUGINS "Build tdefile-plugins" ${BUILD_ALL} ) +option( BUILD_TDEFILE_PLUGINS "Build tdefile-plugins" ${BUILD_ALL} ) option( BUILD_KANDY "Build kandy" ${BUILD_ALL} ) option( BUILD_KNODE "Build knode" ${BUILD_ALL} ) option( BUILD_KMOBILE "Build kmobile" ${BUILD_ALL} ) @@ -148,7 +148,7 @@ if( BUILD_LIBKCAL OR BUILD_LIBTDEPIM OR BUILD_LIBKPIMIDENTITIES OR BUILD_KIOSLAV add_subdirectory( libemailfunctions ) endif() -if( BUILD_KADDRESSBOOK OR (BUILD_KRESOURCES AND (WITH_EGROUPWARE OR WITH_BIRTHDAYS)) ) +if( BUILD_KADDRESSBOOK OR (BUILD_TDERESOURCES AND (WITH_EGROUPWARE OR WITH_BIRTHDAYS)) ) add_subdirectory( kaddressbook/common ) endif() @@ -181,13 +181,13 @@ tde_conditional_add_subdirectory( BUILD_KORGANIZER korganizer ) tde_conditional_add_subdirectory( BUILD_PLUGINS plugins ) tde_conditional_add_subdirectory( BUILD_KNOTES knotes ) tde_conditional_add_subdirectory( BUILD_KODE kode ) -tde_conditional_add_subdirectory( BUILD_KRESOURCES tderesources ) +tde_conditional_add_subdirectory( BUILD_TDERESOURCES tderesources ) tde_conditional_add_subdirectory( BUILD_WIZARDS wizards ) tde_conditional_add_subdirectory( BUILD_KABC kabc ) tde_conditional_add_subdirectory( BUILD_KONSOLEKALENDAR konsolekalendar ) tde_conditional_add_subdirectory( BUILD_KMAILCVT kmailcvt ) tde_conditional_add_subdirectory( BUILD_KARM karm ) -tde_conditional_add_subdirectory( BUILD_KFILE_PLUGINS tdefile-plugins ) +tde_conditional_add_subdirectory( BUILD_TDEFILE_PLUGINS tdefile-plugins ) tde_conditional_add_subdirectory( BUILD_KANDY kandy ) tde_conditional_add_subdirectory( BUILD_KNODE knode ) tde_conditional_add_subdirectory( BUILD_KMOBILE kmobile ) diff --git a/akregator/src/mk4storage/Makefile.am b/akregator/src/mk4storage/Makefile.am index a7bb10cb1..e862c038d 100644 --- a/akregator/src/mk4storage/Makefile.am +++ b/akregator/src/mk4storage/Makefile.am @@ -11,7 +11,7 @@ libakregator_mk4storage_plugin_la_LIBADD = \ $(top_builddir)/akregator/src/mk4storage/metakit/src/libmetakitlocal.la \ $(top_builddir)/akregator/src/librss/librsslocal.la \ ../libakregatorprivate.la \ - $(LIB_KFILE) \ + $(LIB_TDEFILE) \ $(LIB_TDECORE) \ $(LIB_QT) \ $(LIB_TDEUI) diff --git a/indexlib/lockfile.h b/indexlib/lockfile.h index d49684981..9fb6acae2 100644 --- a/indexlib/lockfile.h +++ b/indexlib/lockfile.h @@ -1,5 +1,5 @@ -#ifndef LPC_LOCKFILE_H1118420718_INCLUDE_GUARD_ -#define LPC_LOCKFILE_H1118420718_INCLUDE_GUARD_ +#ifndef LPC_LOCTDEFILE_H1118420718_INCLUDE_GUARD_ +#define LPC_LOCTDEFILE_H1118420718_INCLUDE_GUARD_ /* This file is part of indexlib. * Copyright (C) 2005 Luís Pedro Coelho @@ -69,4 +69,4 @@ class lockfile { -#endif /* LPC_LOCKFILE_H1118420718_INCLUDE_GUARD_ */ +#endif /* LPC_LOCTDEFILE_H1118420718_INCLUDE_GUARD_ */ diff --git a/kalarm/pictdefileradio.h b/kalarm/pictdefileradio.h index ad6e0c25c..87e4478e0 100644 --- a/kalarm/pictdefileradio.h +++ b/kalarm/pictdefileradio.h @@ -18,8 +18,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifndef PICKFILERADIO_H -#define PICKFILERADIO_H +#ifndef PICTDEFILERADIO_H +#define PICTDEFILERADIO_H /** @file pictdefileradio.h - radio button with an associated file picker */ @@ -118,4 +118,4 @@ class PickFileRadio : public RadioButton bool mRevertId; // true to revert to the previous radio button selection }; -#endif // PICKFILERADIO_H +#endif // PICTDEFILERADIO_H diff --git a/kandy/src/Makefile.am b/kandy/src/Makefile.am index 1ae8c3963..87f3eb8e0 100644 --- a/kandy/src/Makefile.am +++ b/kandy/src/Makefile.am @@ -3,7 +3,7 @@ bin_PROGRAMS = kandy kandy_client INCLUDES = -I$(top_srcdir) $(all_includes) kandy_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor -kandy_LDADD = $(KANDY_LIBLOCKDEV) $(LIB_KFILE) -lkabc $(top_builddir)/libtdepim/libtdepim.la +kandy_LDADD = $(KANDY_LIBLOCKDEV) $(LIB_TDEFILE) -lkabc $(top_builddir)/libtdepim/libtdepim.la kandy_SOURCES = main.cpp kandy.cpp \ cmdpropertiesdialog_base.ui cmdpropertiesdialog.cpp \ kandyview.cpp \ diff --git a/kmail/accountdialog.cpp b/kmail/accountdialog.cpp index 73c3e3f09..4f2dfc558 100644 --- a/kmail/accountdialog.cpp +++ b/kmail/accountdialog.cpp @@ -118,7 +118,7 @@ ProcmailRCParser::ProcmailRCParser(TQString fname) mProcmailrc.setName(fname); } - TQRegExp lockFileGlobal("^LOCKFILE=", true); + TQRegExp lockFileGlobal("^LOCTDEFILE=", true); TQRegExp lockFileLocal("^:0", true); if( mProcmailrc.open(IO_ReadOnly) ) { diff --git a/kmailcvt/Makefile.am b/kmailcvt/Makefile.am index 4276b3fac..4bb4a997c 100644 --- a/kmailcvt/Makefile.am +++ b/kmailcvt/Makefile.am @@ -8,7 +8,7 @@ kmailcvt_SOURCES = kimportpagedlg.ui kimportpage.cpp kselfilterpagedlg.ui \ filter_kmail_maildir.cxx filter_sylpheed.cxx filter_thebat.cxx \ filter_lnotes.cxx filter_kmail_archive.cxx -kmailcvt_LDADD = $(LIB_KFILE) +kmailcvt_LDADD = $(LIB_TDEFILE) EXTRA_DIST = main.cpp kmailcvt.cpp kimportpage.cpp kimportpage.h \ kselfilterpage.cpp kselfilterpage.h kmailcvt.h \ diff --git a/kmobile/Makefile.am b/kmobile/Makefile.am index 91fab1819..9b73cf67d 100644 --- a/kmobile/Makefile.am +++ b/kmobile/Makefile.am @@ -9,7 +9,7 @@ lib_LTLIBRARIES = libkmobiledevice.la libkmobileclient.la INCLUDES = $(all_includes) kmobile_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor -kmobile_LDADD = $(LIB_KFILE) $(LIB_KABC) libkmobiledevice.la +kmobile_LDADD = $(LIB_TDEFILE) $(LIB_KABC) libkmobiledevice.la kmobile_SOURCES = main.cpp kmobile.cpp kmobileview.cpp kmobileitem.cpp\ pref.cpp kmobileiface.skel kmobile_selectiondialog.ui \ systemtray.cpp diff --git a/knode/Makefile.am b/knode/Makefile.am index 74981dfb3..c4132709c 100644 --- a/knode/Makefile.am +++ b/knode/Makefile.am @@ -26,7 +26,7 @@ kcm_knode_la_LIBADD = libknodecommon.la $(LIB_TDECORE) knconfigpages.lo: smtpaccountwidget_base.h libknodecommon_la_LDFLAGS = -version-info 3:0:0 -no-undefined $(all_libraries) -libknodecommon_la_LIBADD = $(top_builddir)/libkmime/libkmime.la $(top_builddir)/libkpgp/libkpgp.la $(top_builddir)/libtdepim/libtdepim.la $(LIB_KSPELL) $(LIB_KABC) $(LIB_KFILE) $(LIB_KUTILS) $(LIBRESOLV) $(LIB_TDEHTML) +libknodecommon_la_LIBADD = $(top_builddir)/libkmime/libkmime.la $(top_builddir)/libkpgp/libkpgp.la $(top_builddir)/libtdepim/libtdepim.la $(LIB_KSPELL) $(LIB_KABC) $(LIB_TDEFILE) $(LIB_KUTILS) $(LIBRESOLV) $(LIB_TDEHTML) libknodecommon_la_SOURCES = knconfigmanager.cpp \ knconfig.cpp \ knconfigwidgets.cpp \ diff --git a/korganizer/Makefile.am b/korganizer/Makefile.am index fed0db81b..859213e44 100644 --- a/korganizer/Makefile.am +++ b/korganizer/Makefile.am @@ -62,7 +62,7 @@ libkorganizer_la_LIBADD = \ $(top_builddir)/libemailfunctions/libemailfunctions.la \ $(top_builddir)/libkholidays/libkholidays.la \ $(top_builddir)/libkmime/libkmime.la \ - $(LIB_KPARTS) $(LIB_KFILE) $(LIB_KNEWSTUFF) \ + $(LIB_KPARTS) $(LIB_TDEFILE) $(LIB_KNEWSTUFF) \ -ltdeprint -lkabc -ltdeutils libkorganizer_la_COMPILE_FIRST = \ diff --git a/korn/Makefile.am b/korn/Makefile.am index 91bde6721..50e5c731b 100644 --- a/korn/Makefile.am +++ b/korn/Makefile.am @@ -9,7 +9,7 @@ METASOURCES = AUTO bin_PROGRAMS = korn korn_LDADD = $(LIB_KIO) $(top_builddir)/libkmime/libkmime.la -#korn_LDADD = $(top_builddir)/mimelib/libmimelib.la $(LIB_KFILE) $(LIBSOCKET) $(top_builddir)/libkmime/libkmime.la +#korn_LDADD = $(top_builddir)/mimelib/libmimelib.la $(LIB_TDEFILE) $(LIBSOCKET) $(top_builddir)/libkmime/libkmime.la korn_SOURCES = \ accountmanager.cpp \ diff --git a/ktnef/gui/Makefile.am b/ktnef/gui/Makefile.am index 89295fbe1..774da4d6a 100644 --- a/ktnef/gui/Makefile.am +++ b/ktnef/gui/Makefile.am @@ -5,7 +5,7 @@ SUBDIRS = pics bin_PROGRAMS = ktnef ktnef_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor -ktnef_LDADD = $(LIB_KFILE) $(top_builddir)/ktnef/lib/libktnef.la +ktnef_LDADD = $(LIB_TDEFILE) $(top_builddir)/ktnef/lib/libktnef.la ktnef_SOURCES = ktnefmain.cpp ktnefview.cpp attachpropertydialogbase.ui \ attachpropertydialog.cpp messagepropertydialog.cpp \ qwmf.cpp main.cpp diff --git a/libtdenetwork/libgpgme-copy/assuan/assuan-logging.c b/libtdenetwork/libgpgme-copy/assuan/assuan-logging.c index cfc3d846f..6642f8510 100644 --- a/libtdenetwork/libgpgme-copy/assuan/assuan-logging.c +++ b/libtdenetwork/libgpgme-copy/assuan/assuan-logging.c @@ -137,7 +137,7 @@ _assuan_log_print_buffer (FILE *fp, const void *buffer, size_t length) fwrite (buffer, length, 1, fp); else { -#ifdef HAVE_FLOCKFILE +#ifdef HAVE_FLOCTDEFILE flockfile (fp); #endif putc_unlocked ('[', fp); @@ -154,7 +154,7 @@ _assuan_log_print_buffer (FILE *fp, const void *buffer, size_t length) } putc_unlocked (' ', fp); putc_unlocked (']', fp); -#ifdef HAVE_FUNLOCKFILE +#ifdef HAVE_FUNLOCTDEFILE funlockfile (fp); #endif } @@ -171,7 +171,7 @@ _assuan_log_sanitized_string (const char *string) if (! *s) return; -#ifdef HAVE_FLOCKFILE +#ifdef HAVE_FLOCTDEFILE flockfile (fp); #endif @@ -218,7 +218,7 @@ _assuan_log_sanitized_string (const char *string) } } -#ifdef HAVE_FUNLOCKFILE +#ifdef HAVE_FUNLOCTDEFILE funlockfile (fp); #endif } diff --git a/tdefile-plugins/ics/tdefile_ics.h b/tdefile-plugins/ics/tdefile_ics.h index 9f4a897eb..756a11bec 100644 --- a/tdefile-plugins/ics/tdefile_ics.h +++ b/tdefile-plugins/ics/tdefile_ics.h @@ -17,8 +17,8 @@ * */ -#ifndef KFILE_ICS_H -#define KFILE_ICS_H +#ifndef TDEFILE_ICS_H +#define TDEFILE_ICS_H #include diff --git a/tdefile-plugins/palm-databases/tdefile_palm.h b/tdefile-plugins/palm-databases/tdefile_palm.h index d566d5fcf..22124aa79 100644 --- a/tdefile-plugins/palm-databases/tdefile_palm.h +++ b/tdefile-plugins/palm-databases/tdefile_palm.h @@ -19,8 +19,8 @@ * */ -#ifndef __KFILE_PALM_H__ -#define __KFILE_PALM_H__ +#ifndef __TDEFILE_PALM_H__ +#define __TDEFILE_PALM_H__ #include diff --git a/tdefile-plugins/rfc822/tdefile_rfc822.h b/tdefile-plugins/rfc822/tdefile_rfc822.h index e43948a98..c8f3f2f8d 100644 --- a/tdefile-plugins/rfc822/tdefile_rfc822.h +++ b/tdefile-plugins/rfc822/tdefile_rfc822.h @@ -17,8 +17,8 @@ * */ -#ifndef __KFILE_RFC822_H__ -#define __KFILE_RFC822_H__ +#ifndef __TDEFILE_RFC822_H__ +#define __TDEFILE_RFC822_H__ #include diff --git a/tdefile-plugins/vcf/tdefile_vcf.h b/tdefile-plugins/vcf/tdefile_vcf.h index 19866d8b8..de5243e19 100644 --- a/tdefile-plugins/vcf/tdefile_vcf.h +++ b/tdefile-plugins/vcf/tdefile_vcf.h @@ -17,8 +17,8 @@ * */ -#ifndef __KFILE_VCF_H__ -#define __KFILE_VCF_H__ +#ifndef __TDEFILE_VCF_H__ +#define __TDEFILE_VCF_H__ #include diff --git a/tderesources/caldav/export.h b/tderesources/caldav/export.h index c439f53f4..9a70e8ce3 100644 --- a/tderesources/caldav/export.h +++ b/tderesources/caldav/export.h @@ -30,22 +30,22 @@ Boston, MA 02110-1301, USA. */ -#ifndef KRESOURCES_TDEPIM_EXPORT_H -#define KRESOURCES_TDEPIM_EXPORT_H +#ifndef TDERESOURCES_TDEPIM_EXPORT_H +#define TDERESOURCES_TDEPIM_EXPORT_H /** Exports a function returning tderesources plugin factory, for resource class @a resourceclass, * @a resourceconfigclass config class and @a catalog catalog. */ -#define EXPORT_KRESOURCES_PLUGIN( resourceclass, resourceconfigclass, catalog ) \ +#define EXPORT_TDERESOURCES_PLUGIN( resourceclass, resourceconfigclass, catalog ) \ typedef KRES::PluginFactory< resourceclass, resourceconfigclass > FactoryBase; \ class Factory : public FactoryBase { \ public: Factory() { TDEGlobal::locale()->insertCatalogue(catalog); } \ }; \ K_EXPORT_PLUGIN( Factory ) -/** Like EXPORT_KRESOURCES_PLUGIN but allows to specify two catalogs. +/** Like EXPORT_TDERESOURCES_PLUGIN but allows to specify two catalogs. */ -#define EXPORT_KRESOURCES_PLUGIN2( resourceclass, resourceconfigclass, catalog1, catalog2 ) \ +#define EXPORT_TDERESOURCES_PLUGIN2( resourceclass, resourceconfigclass, catalog1, catalog2 ) \ typedef KRES::PluginFactory< resourceclass, resourceconfigclass > FactoryBase; \ class Factory : public FactoryBase { \ public: Factory() { TDEGlobal::locale()->insertCatalogue(catalog1); \ diff --git a/tderesources/caldav/plugin.cpp b/tderesources/caldav/plugin.cpp index 9ce6d60f6..c7ea06e81 100644 --- a/tderesources/caldav/plugin.cpp +++ b/tderesources/caldav/plugin.cpp @@ -32,7 +32,7 @@ using namespace KCal; ========================================================================*/ // Creates the resource factory. -//EXPORT_KRESOURCES_PLUGIN2( ResourceCalDav, ResourceCalDavConfig, "libkcal", "kres_caldav" ) +//EXPORT_TDERESOURCES_PLUGIN2( ResourceCalDav, ResourceCalDavConfig, "libkcal", "kres_caldav" ) typedef KRES::PluginFactory CalDavFactory; diff --git a/tderesources/carddav/export.h b/tderesources/carddav/export.h index c439f53f4..9a70e8ce3 100644 --- a/tderesources/carddav/export.h +++ b/tderesources/carddav/export.h @@ -30,22 +30,22 @@ Boston, MA 02110-1301, USA. */ -#ifndef KRESOURCES_TDEPIM_EXPORT_H -#define KRESOURCES_TDEPIM_EXPORT_H +#ifndef TDERESOURCES_TDEPIM_EXPORT_H +#define TDERESOURCES_TDEPIM_EXPORT_H /** Exports a function returning tderesources plugin factory, for resource class @a resourceclass, * @a resourceconfigclass config class and @a catalog catalog. */ -#define EXPORT_KRESOURCES_PLUGIN( resourceclass, resourceconfigclass, catalog ) \ +#define EXPORT_TDERESOURCES_PLUGIN( resourceclass, resourceconfigclass, catalog ) \ typedef KRES::PluginFactory< resourceclass, resourceconfigclass > FactoryBase; \ class Factory : public FactoryBase { \ public: Factory() { TDEGlobal::locale()->insertCatalogue(catalog); } \ }; \ K_EXPORT_PLUGIN( Factory ) -/** Like EXPORT_KRESOURCES_PLUGIN but allows to specify two catalogs. +/** Like EXPORT_TDERESOURCES_PLUGIN but allows to specify two catalogs. */ -#define EXPORT_KRESOURCES_PLUGIN2( resourceclass, resourceconfigclass, catalog1, catalog2 ) \ +#define EXPORT_TDERESOURCES_PLUGIN2( resourceclass, resourceconfigclass, catalog1, catalog2 ) \ typedef KRES::PluginFactory< resourceclass, resourceconfigclass > FactoryBase; \ class Factory : public FactoryBase { \ public: Factory() { TDEGlobal::locale()->insertCatalogue(catalog1); \ -- cgit v1.2.1