summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2012-06-25 21:10:49 (GMT)
committerChristian Mollekopf <chrigi_1@fastmail.fm>2012-06-25 21:10:49 (GMT)
commit172803b38237e38a494aca62fffda918e5799d20 (patch)
tree299fe64ff6914b76d85b9d8c1387aa43c2f479d6
parent43d35cfb36c924eede624f4a5c2fcb0dd7d698b6 (diff)
downloadlibcalendaring-172803b38237e38a494aca62fffda918e5799d20.tar.gz
kdatetime compiles
-rw-r--r--kdecore/CMakeLists.txt1156
-rw-r--r--kdecore/date/kdatetime.cpp2
-rw-r--r--kdecore/date/ksystemtimezone.cpp4
-rw-r--r--kdecore/date/ktimezone.cpp2
-rw-r--r--kdecore/date/ktzfiletimezone.cpp2
5 files changed, 599 insertions, 567 deletions
diff --git a/kdecore/CMakeLists.txt b/kdecore/CMakeLists.txt
index 1424b0e..44a2ab1 100644
--- a/kdecore/CMakeLists.txt
+++ b/kdecore/CMakeLists.txt
@@ -1,56 +1,88 @@
project(kdecore)
+
+
+set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
+cmake_minimum_required(VERSION 2.6)
+
+# only available from cmake-2.8.0
+if(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 7)
+ cmake_policy(SET CMP0012 NEW)
+endif()
+
+# only available from cmake-2.8.4
+if(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 7 AND
+ ${CMAKE_PATCH_VERSION} GREATER 3)
+ cmake_policy(SET CMP0017 NEW)
+endif()
+
+
+
+find_package(Qt4 4.7.0 REQUIRED)
+
+include_directories(${QT_INCLUDES})
+
+INCLUDE (CheckTypeSize)
+INCLUDE (CheckStructMember)
+
+include_directories(localization)
+# include_directories(${CMAKE_CURRENT_BINARY_DIR}/jobs)
+
+# QT4_AUTOMOC(date/ksystemtimezone.cpp)
+QT4_GENERATE_MOC(${CMAKE_SOURCE_DIR}/date/ksystemtimezone.cpp ${CMAKE_CURRENT_BINARY_DIR}/date/ksystemtimezone.moc)
+# QT4_GENERATE_MOC(${CMAKE_SOURCE_DIR}/jobs/kcompositejob.cpp ${CMAKE_CURRENT_BINARY_DIR}/jobs/kcompositejob.moc)
+
# Generate config-kstandarddirs.h
-configure_file(config-kstandarddirs.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kstandarddirs.h )
+# configure_file(config-kstandarddirs.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kstandarddirs.h )
# Generate kdefakes.h
-configure_file(kdefakes.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/kdefakes.h )
+# configure_file(kdefakes.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/kdefakes.h )
# Generate kdeversion.h
-configure_file(util/kdeversion.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/kdeversion.h )
+# configure_file(util/kdeversion.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/kdeversion.h )
# Configure checks for kdirwatch
-macro_optional_find_package(FAM)
-macro_bool_to_01(FAM_FOUND HAVE_FAM)
-
-check_include_files(sys/inotify.h SYS_INOTIFY_H_FOUND)
-macro_bool_to_01(SYS_INOTIFY_H_FOUND HAVE_SYS_INOTIFY_H)
+# macro_optional_find_package(FAM)
+# macro_bool_to_01(FAM_FOUND HAVE_FAM)
+#
+# check_include_files(sys/inotify.h SYS_INOTIFY_H_FOUND)
+# macro_bool_to_01(SYS_INOTIFY_H_FOUND HAVE_SYS_INOTIFY_H)
# Generate io/config-kdirwatch.h
-configure_file(io/config-kdirwatch.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/io/config-kdirwatch.h )
+# configure_file(io/config-kdirwatch.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/io/config-kdirwatch.h )
# Configure checks for network/ but also for netsupp.*
-include(network/ConfigureChecks.cmake)
-configure_file(network/config-network.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/network/config-network.h )
-include_directories( ${CMAKE_CURRENT_BINARY_DIR}/network )
+# include(network/ConfigureChecks.cmake)
+# configure_file(network/config-network.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/network/config-network.h )
+# include_directories( ${CMAKE_CURRENT_BINARY_DIR}/network )
# Configure checks for date/
-include(date/ConfigureChecks.cmake)
-configure_file(date/config-date.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/date/config-date.h)
-include_directories( ${CMAKE_CURRENT_BINARY_DIR}/date )
+ include(date/ConfigureChecks.cmake)
+ configure_file(date/config-date.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/date/config-date.h)
+ include_directories( ${CMAKE_CURRENT_BINARY_DIR}/date )
# Configure checks for compression/
-include(compression/ConfigureChecks.cmake)
-configure_file(compression/config-compression.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/compression/config-compression.h)
-include_directories( ${CMAKE_CURRENT_BINARY_DIR}/compression )
+# include(compression/ConfigureChecks.cmake)
+# configure_file(compression/config-compression.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/compression/config-compression.h)
+# include_directories( ${CMAKE_CURRENT_BINARY_DIR}/compression )
# This file handles all the logic for compiling KAuth's backends
-include(auth/ConfigureChecks.cmake)
-include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/auth/ )
+# include(auth/ConfigureChecks.cmake)
+# include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/auth/ )
# Configure a small file to tell BackendsManager what to use
-configure_file(auth/BackendsConfig.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/BackendsConfig.h)
+# configure_file(auth/BackendsConfig.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/BackendsConfig.h)
# Configure checks for localization
-configure_file(localization/config-localization.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-localization.h)
+# configure_file(localization/config-localization.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-localization.h)
# Configure checks for util
-include(util/ConfigureChecks.cmake)
-configure_file(util/config-util.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-util.h)
+# include(util/ConfigureChecks.cmake)
+# configure_file(util/config-util.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-util.h)
-include_directories( ${KDE4_KDECORE_INCLUDES} )
-include_directories( ${ZLIB_INCLUDE_DIR} )
+# include_directories( ${KDE4_KDECORE_INCLUDES} )
+# include_directories( ${ZLIB_INCLUDE_DIR} )
include_directories( ${QT_INCLUDES} )
if (KDE_PLATFORM_FEATURE_DISABLE_DEPRECATED)
@@ -73,131 +105,131 @@ if(WIN32)
endif(WIN32)
# Needed for the kdatetime test in release mode
-if(KDE4_BUILD_TESTS)
- add_definitions(-DCOMPILING_TESTS)
-endif(KDE4_BUILD_TESTS)
-
-# compile bzip2 support if available
-if(BZIP2_FOUND)
- include_directories(${BZIP2_INCLUDE_DIR})
- set(kdecore_OPTIONAL_SRCS ${kdecore_OPTIONAL_SRCS} compression/kbzip2filter.cpp )
- set(kdecore_OPTIONAL_LIBS ${kdecore_OPTIONAL_LIBS} ${BZIP2_LIBRARIES})
-endif(BZIP2_FOUND)
-
-# compile lzma support if available
-if(LIBLZMA_FOUND)
- include_directories(${LIBLZMA_INCLUDE_DIRS})
- set(kdecore_OPTIONAL_SRCS ${kdecore_OPTIONAL_SRCS} compression/kxzfilter.cpp )
- set(kdecore_OPTIONAL_LIBS ${kdecore_OPTIONAL_LIBS} ${LIBLZMA_LIBRARIES})
-endif(LIBLZMA_FOUND)
-
-# compile Gettext support if available
-if(LIBINTL_FOUND)
- include_directories(${LIBINTL_INCLUDE_DIR})
- set(kdecore_OPTIONAL_LIBS ${kdecore_OPTIONAL_LIBS} ${LIBINTL_LIBRARIES})
-endif(LIBINTL_FOUND)
-
-if (HAVE_RESOLV_LIBRARY)
- set(kdecore_OPTIONAL_LIBS ${kdecore_OPTIONAL_LIBS} resolv)
-endif (HAVE_RESOLV_LIBRARY)
-
-if (APPLE)
- set(kdecore_OPTIONAL_SRCS ${kdecore_OPTIONAL_SRCS}
- kernel/kkernel_mac.cpp
- localization/klocale_mac.cpp
- )
-
- set(kdecore_OPTIONAL_LIBS ${kdecore_OPTIONAL_LIBS} ${CARBON_LIBRARY})
-endif (APPLE)
-
-if (WIN32)
- LIST(APPEND kdecore_OPTIONAL_SRCS
- kernel/kkernel_win.cpp
- kernel/ktoolinvocation_win.cpp
- kernel/kstandarddirs_win.cpp
- localization/klocale_win.cpp
- network/klocalsocket_win.cpp
- io/klockfile_win.cpp
- util/kde_file_win.cpp
- util/kmacroexpander_win.cpp
- util/kshell_win.cpp
- date/ktimezone_win.cpp
- )
- if(NOT WINCE)
- LIST(APPEND kdecore_OPTIONAL_SRCS
- util/kuser_win.cpp
- )
- else(NOT WINCE)
- LIST(APPEND kdecore_OPTIONAL_SRCS
- util/kuser_wince.cpp
- )
- endif(NOT WINCE)
- if(NOT MSVC)
- LIST(APPEND kdecore_OPTIONAL_SRCS
- network/netsupp.cpp
- )
- endif(NOT MSVC)
-endif (WIN32)
-
-
-if (UNIX)
- set(kdecore_OPTIONAL_SRCS ${kdecore_OPTIONAL_SRCS}
- kernel/ktoolinvocation_x11.cpp
- kernel/kstandarddirs_unix.cpp
- localization/klocale_unix.cpp
- network/klocalsocket_unix.cpp
- network/netsupp.cpp
- io/klockfile_unix.cpp
- util/kshell_unix.cpp
- util/kuser_unix.cpp
- util/kmacroexpander_unix.cpp
- fakes.c
- )
- if (NOT KDECORE_NO_KDE3SUPPORT)
- set(kdecore_OPTIONAL_SRCS ${kdecore_OPTIONAL_SRCS}
- network/k3httpproxysocketdevice.cpp
- network/k3socks.cpp
- network/k3sockssocketdevice.cpp
- )
- endif (NOT KDECORE_NO_KDE3SUPPORT)
-endif (UNIX)
-
-add_subdirectory( kconfig_compiler )
-add_subdirectory( tests )
-add_subdirectory( sonnet/tests )
-if ( NOT WINCE )
- add_subdirectory( network/kssld )
-endif ( NOT WINCE )
+# if(KDE4_BUILD_TESTS)
+# add_definitions(-DCOMPILING_TESTS)
+# endif(KDE4_BUILD_TESTS)
+#
+# # compile bzip2 support if available
+# if(BZIP2_FOUND)
+# include_directories(${BZIP2_INCLUDE_DIR})
+# set(kdecore_OPTIONAL_SRCS ${kdecore_OPTIONAL_SRCS} compression/kbzip2filter.cpp )
+# set(kdecore_OPTIONAL_LIBS ${kdecore_OPTIONAL_LIBS} ${BZIP2_LIBRARIES})
+# endif(BZIP2_FOUND)
+#
+# # compile lzma support if available
+# if(LIBLZMA_FOUND)
+# include_directories(${LIBLZMA_INCLUDE_DIRS})
+# set(kdecore_OPTIONAL_SRCS ${kdecore_OPTIONAL_SRCS} compression/kxzfilter.cpp )
+# set(kdecore_OPTIONAL_LIBS ${kdecore_OPTIONAL_LIBS} ${LIBLZMA_LIBRARIES})
+# endif(LIBLZMA_FOUND)
+#
+# # compile Gettext support if available
+# if(LIBINTL_FOUND)
+# include_directories(${LIBINTL_INCLUDE_DIR})
+# set(kdecore_OPTIONAL_LIBS ${kdecore_OPTIONAL_LIBS} ${LIBINTL_LIBRARIES})
+# endif(LIBINTL_FOUND)
+#
+# if (HAVE_RESOLV_LIBRARY)
+# set(kdecore_OPTIONAL_LIBS ${kdecore_OPTIONAL_LIBS} resolv)
+# endif (HAVE_RESOLV_LIBRARY)
+#
+# if (APPLE)
+# set(kdecore_OPTIONAL_SRCS ${kdecore_OPTIONAL_SRCS}
+# kernel/kkernel_mac.cpp
+# localization/klocale_mac.cpp
+# )
+#
+# set(kdecore_OPTIONAL_LIBS ${kdecore_OPTIONAL_LIBS} ${CARBON_LIBRARY})
+# endif (APPLE)
+
+# if (WIN32)
+# LIST(APPEND kdecore_OPTIONAL_SRCS
+# kernel/kkernel_win.cpp
+# kernel/ktoolinvocation_win.cpp
+# kernel/kstandarddirs_win.cpp
+# localization/klocale_win.cpp
+# network/klocalsocket_win.cpp
+# io/klockfile_win.cpp
+# util/kde_file_win.cpp
+# util/kmacroexpander_win.cpp
+# util/kshell_win.cpp
+# date/ktimezone_win.cpp
+# )
+# if(NOT WINCE)
+# LIST(APPEND kdecore_OPTIONAL_SRCS
+# util/kuser_win.cpp
+# )
+# else(NOT WINCE)
+# LIST(APPEND kdecore_OPTIONAL_SRCS
+# util/kuser_wince.cpp
+# )
+# endif(NOT WINCE)
+# if(NOT MSVC)
+# LIST(APPEND kdecore_OPTIONAL_SRCS
+# network/netsupp.cpp
+# )
+# endif(NOT MSVC)
+# endif (WIN32)
+
+
+# if (UNIX)
+# set(kdecore_OPTIONAL_SRCS ${kdecore_OPTIONAL_SRCS}
+# kernel/ktoolinvocation_x11.cpp
+# kernel/kstandarddirs_unix.cpp
+# localization/klocale_unix.cpp
+# network/klocalsocket_unix.cpp
+# network/netsupp.cpp
+# io/klockfile_unix.cpp
+# util/kshell_unix.cpp
+# util/kuser_unix.cpp
+# util/kmacroexpander_unix.cpp
+# fakes.c
+# )
+# # if (NOT KDECORE_NO_KDE3SUPPORT)
+# # set(kdecore_OPTIONAL_SRCS ${kdecore_OPTIONAL_SRCS}
+# # network/k3httpproxysocketdevice.cpp
+# # network/k3socks.cpp
+# # network/k3sockssocketdevice.cpp
+# # )
+# # endif (NOT KDECORE_NO_KDE3SUPPORT)
+# endif (UNIX)
+
+# add_subdirectory( kconfig_compiler )
+# add_subdirectory( tests )
+# add_subdirectory( sonnet/tests )
+# if ( NOT WINCE )
+# add_subdirectory( network/kssld )
+# endif ( NOT WINCE )
########### next target ###############
-if (UNIX)
-
- kde4_add_library(kdefakes ${LIBRARY_TYPE} fakes.c)
- set_target_properties(kdefakes PROPERTIES VERSION ${KDE_NON_GENERIC_LIB_VERSION} SOVERSION ${KDE_NON_GENERIC_LIB_SOVERSION})
- if (NOT HAVE_TRUNC)
- target_link_libraries(kdefakes m )
- endif (NOT HAVE_TRUNC)
- install(TARGETS kdefakes EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
-
-endif (UNIX)
+# if (UNIX)
+#
+# kde4_add_library(kdefakes ${LIBRARY_TYPE} fakes.c)
+# set_target_properties(kdefakes PROPERTIES VERSION ${KDE_NON_GENERIC_LIB_VERSION} SOVERSION ${KDE_NON_GENERIC_LIB_SOVERSION})
+# if (NOT HAVE_TRUNC)
+# target_link_libraries(kdefakes m )
+# endif (NOT HAVE_TRUNC)
+# install(TARGETS kdefakes EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
+#
+# endif (UNIX)
########### next target ###############
set(kdecore_LIB_SRCS
- compression/kgzipfilter.cpp
- compression/kfilterbase.cpp
- compression/kfilterdev.cpp
- config/kconfig.cpp
- config/kconfigbase.cpp
- config/kconfiggroup.cpp
- config/kconfigbackend.cpp
- config/kconfigini.cpp
- config/kdesktopfile.cpp
- config/ksharedconfig.cpp
- config/kcoreconfigskeleton.cpp
+# compression/kgzipfilter.cpp
+# compression/kfilterbase.cpp
+# compression/kfilterdev.cpp
+# config/kconfig.cpp
+# config/kconfigbase.cpp
+# config/kconfiggroup.cpp
+# config/kconfigbackend.cpp
+# config/kconfigini.cpp
+# config/kdesktopfile.cpp
+# config/ksharedconfig.cpp
+# config/kcoreconfigskeleton.cpp
date/kcalendarera.cpp
date/kcalendarsystem.cpp
date/kcalendarsystemcoptic.cpp
@@ -220,215 +252,215 @@ set(kdecore_LIB_SRCS
date/ktimezone.cpp
date/ksystemtimezone.cpp
date/ktzfiletimezone.cpp
- io/kar.cpp
- io/karchive.cpp
- io/kautosavefile.cpp
- io/kdebug.cpp
- io/kdebugdbusiface.cpp
- io/kdirwatch.cpp
- io/kfilesystemtype_p.cpp
- io/klimitediodevice.cpp
- io/kmessage.cpp
- io/kmountpoint.cpp
- io/kprocess.cpp
- io/ksavefile.cpp
- io/ktar.cpp
- io/ktempdir.cpp
- io/ktemporaryfile.cpp
- io/kurl.cpp
- io/kzip.cpp
- jobs/kcompositejob.cpp
- jobs/kjob.cpp
- jobs/kjobuidelegate.cpp
- jobs/kjobtrackerinterface.cpp
- kernel/kauthorized.cpp
- kernel/kaboutdata.cpp
- kernel/kcmdlineargs.cpp
- kernel/kglobal.cpp
- kernel/kcomponentdata.cpp
- kernel/kstandarddirs.cpp
- kernel/ktoolinvocation.cpp
- auth/kauthaction.cpp
- auth/kauthactionreply.cpp
- auth/kauthactionwatcher.cpp
- auth/AuthBackend.cpp
- auth/BackendsManager.cpp
- auth/HelperProxy.cpp
- auth/kauthhelpersupport.cpp
- auth/backends/fake/FakeBackend.cpp
- auth/backends/fakehelper/FakeHelperProxy.cpp
- services/kfoldermimetype.cpp
- services/kmimetypefactory.cpp
- services/kmimemagicrule.cpp
- services/kmimetypetrader.cpp
- services/kmimetype.cpp
- services/kmimeglobsfileparser.cpp
- services/kmimetyperepository.cpp
- services/kservice.cpp
- services/kserviceaction.cpp
- services/kservicefactory.cpp
- services/kservicegroup.cpp
- services/kservicegroupfactory.cpp
- services/kserviceoffer.cpp
- services/kservicetype.cpp
- services/kservicetypefactory.cpp
- services/kservicetypeprofile.cpp
- services/kservicetypetrader.cpp
- services/ktraderparse.cpp
- services/ktraderparsetree.cpp
- services/yacc.c
- services/lex.c
- services/kplugininfo.cpp
- sonnet/loader.cpp
- sonnet/client.cpp
- sonnet/spellerplugin.cpp
- sonnet/speller.cpp
- sonnet/filter.cpp
- sonnet/settings.cpp
- sonnet/backgroundchecker.cpp
- sonnet/backgroundengine.cpp
- sonnet/globals.cpp
+# io/kar.cpp
+# io/karchive.cpp
+# io/kautosavefile.cpp
+# io/kdebug.cpp
+# io/kdebugdbusiface.cpp
+# io/kdirwatch.cpp
+# io/kfilesystemtype_p.cpp
+# io/klimitediodevice.cpp
+# io/kmessage.cpp
+# io/kmountpoint.cpp
+# io/kprocess.cpp
+# io/ksavefile.cpp
+# io/ktar.cpp
+# io/ktempdir.cpp
+# io/ktemporaryfile.cpp
+# io/kurl.cpp
+# io/kzip.cpp
+# jobs/kcompositejob.cpp
+# jobs/kjob.cpp
+# jobs/kjobuidelegate.cpp
+# jobs/kjobtrackerinterface.cpp
+# kernel/kauthorized.cpp
+# kernel/kaboutdata.cpp
+# kernel/kcmdlineargs.cpp
+# kernel/kglobal.cpp
+# kernel/kcomponentdata.cpp
+# kernel/kstandarddirs.cpp
+# kernel/ktoolinvocation.cpp
+# auth/kauthaction.cpp
+# auth/kauthactionreply.cpp
+# auth/kauthactionwatcher.cpp
+# auth/AuthBackend.cpp
+# auth/BackendsManager.cpp
+# auth/HelperProxy.cpp
+# auth/kauthhelpersupport.cpp
+# auth/backends/fake/FakeBackend.cpp
+# auth/backends/fakehelper/FakeHelperProxy.cpp
+# services/kfoldermimetype.cpp
+# services/kmimetypefactory.cpp
+# services/kmimemagicrule.cpp
+# services/kmimetypetrader.cpp
+# services/kmimetype.cpp
+# services/kmimeglobsfileparser.cpp
+# services/kmimetyperepository.cpp
+# services/kservice.cpp
+# services/kserviceaction.cpp
+# services/kservicefactory.cpp
+# services/kservicegroup.cpp
+# services/kservicegroupfactory.cpp
+# services/kserviceoffer.cpp
+# services/kservicetype.cpp
+# services/kservicetypefactory.cpp
+# services/kservicetypeprofile.cpp
+# services/kservicetypetrader.cpp
+# services/ktraderparse.cpp
+# services/ktraderparsetree.cpp
+# services/yacc.c
+# services/lex.c
+# services/kplugininfo.cpp
+# sonnet/loader.cpp
+# sonnet/client.cpp
+# sonnet/spellerplugin.cpp
+# sonnet/speller.cpp
+# sonnet/filter.cpp
+# sonnet/settings.cpp
+# sonnet/backgroundchecker.cpp
+# sonnet/backgroundengine.cpp
+# sonnet/globals.cpp
)
-if (NOT KDECORE_NO_KDE3SUPPORT)
- set(kdecore_LIB_SRCS ${kdecore_LIB_SRCS}
- network/k3socketdevice.cpp # must be before the rest of network/, for enable-final
- network/k3bufferedsocket.cpp
- network/k3clientsocketbase.cpp
- network/k3datagramsocket.cpp
- network/k3resolver.cpp
- network/k3resolvermanager.cpp
- network/k3resolverworkerbase.cpp
- network/k3resolverstandardworkers.cpp
- network/k3reverseresolver.cpp
- network/k3serversocket.cpp
- network/k3socketaddress.cpp
- network/k3socketbase.cpp
- network/k3streamsocket.cpp
- network/k3socketbuffer.cpp
- )
-endif (NOT KDECORE_NO_KDE3SUPPORT)
+# if (NOT KDECORE_NO_KDE3SUPPORT)
+# set(kdecore_LIB_SRCS ${kdecore_LIB_SRCS}
+# network/k3socketdevice.cpp # must be before the rest of network/, for enable-final
+# network/k3bufferedsocket.cpp
+# network/k3clientsocketbase.cpp
+# network/k3datagramsocket.cpp
+# network/k3resolver.cpp
+# network/k3resolvermanager.cpp
+# network/k3resolverworkerbase.cpp
+# network/k3resolverstandardworkers.cpp
+# network/k3reverseresolver.cpp
+# network/k3serversocket.cpp
+# network/k3socketaddress.cpp
+# network/k3socketbase.cpp
+# network/k3streamsocket.cpp
+# network/k3socketbuffer.cpp
+# )
+# endif (NOT KDECORE_NO_KDE3SUPPORT)
set(kdecore_LIB_SRCS ${kdecore_LIB_SRCS}
- network/klocalsocket.cpp
- network/ksocketfactory.cpp
- network/ksslcertificatemanager.cpp
- network/ktcpsocket.cpp
- localization/kcatalog.cpp
- localization/kcurrencycode.cpp
- localization/kcharsets.cpp
- localization/kencodingdetector.cpp
- localization/guess_ja.cpp
- localization/kencodingprober.cpp
- localization/probers/CharDistribution.cpp
- localization/probers/ChineseGroupProber.cpp
- localization/probers/JapaneseGroupProber.cpp
- localization/probers/JpCntx.cpp
- localization/probers/LangBulgarianModel.cpp
- localization/probers/LangCyrillicModel.cpp
- localization/probers/LangGreekModel.cpp
- localization/probers/LangHebrewModel.cpp
- localization/probers/LangHungarianModel.cpp
- localization/probers/LangThaiModel.cpp
- localization/probers/UnicodeGroupProber.cpp
- localization/probers/nsBig5Prober.cpp
- localization/probers/nsCharSetProber.cpp
- localization/probers/nsEUCJPProber.cpp
- localization/probers/nsEUCKRProber.cpp
- localization/probers/nsEUCTWProber.cpp
- localization/probers/nsEscCharsetProber.cpp
- localization/probers/nsEscSM.cpp
- localization/probers/nsGB2312Prober.cpp
- localization/probers/nsHebrewProber.cpp
- localization/probers/nsLatin1Prober.cpp
- localization/probers/nsMBCSGroupProber.cpp
- localization/probers/nsMBCSSM.cpp
- localization/probers/nsSBCSGroupProber.cpp
- localization/probers/nsSBCharSetProber.cpp
- localization/probers/nsSJISProber.cpp
- localization/probers/nsUniversalDetector.cpp
- localization/klocale.cpp
- localization/klocale_kde.cpp
- localization/klocalizedstring.cpp
- localization/kuitsemantics.cpp
- localization/kuitformats.cpp
- localization/common_helpers.cpp
- sycoca/ksycoca.cpp
- sycoca/ksycocadict.cpp
- sycoca/ksycocaentry.cpp
- sycoca/ksycocafactory.cpp
- sycoca/kprotocolinfo.cpp
- sycoca/kprotocolinfofactory.cpp
- sycoca/kmemfile.cpp
- text/kascii.cpp
- text/kcodecs.cpp
- text/kstringhandler.cpp
- util/kallocator.cpp
- util/kautostart.cpp
- util/kdedmodule.cpp
- util/kdeversion.cpp
- util/klauncher_iface.cpp
- util/klibrary.cpp
- util/kmacroexpander.cpp
- util/kpluginfactory.cpp
- util/kpluginloader.cpp
- util/kshell.cpp
- util/krandom.cpp
- util/krandomsequence.cpp
- util/qtest_kde.cpp
+# network/klocalsocket.cpp
+# network/ksocketfactory.cpp
+# network/ksslcertificatemanager.cpp
+# network/ktcpsocket.cpp
+# localization/kcatalog.cpp
+# localization/kcurrencycode.cpp
+# localization/kcharsets.cpp
+# localization/kencodingdetector.cpp
+# localization/guess_ja.cpp
+# localization/kencodingprober.cpp
+# localization/probers/CharDistribution.cpp
+# localization/probers/ChineseGroupProber.cpp
+# localization/probers/JapaneseGroupProber.cpp
+# localization/probers/JpCntx.cpp
+# localization/probers/LangBulgarianModel.cpp
+# localization/probers/LangCyrillicModel.cpp
+# localization/probers/LangGreekModel.cpp
+# localization/probers/LangHebrewModel.cpp
+# localization/probers/LangHungarianModel.cpp
+# localization/probers/LangThaiModel.cpp
+# localization/probers/UnicodeGroupProber.cpp
+# localization/probers/nsBig5Prober.cpp
+# localization/probers/nsCharSetProber.cpp
+# localization/probers/nsEUCJPProber.cpp
+# localization/probers/nsEUCKRProber.cpp
+# localization/probers/nsEUCTWProber.cpp
+# localization/probers/nsEscCharsetProber.cpp
+# localization/probers/nsEscSM.cpp
+# localization/probers/nsGB2312Prober.cpp
+# localization/probers/nsHebrewProber.cpp
+# localization/probers/nsLatin1Prober.cpp
+# localization/probers/nsMBCSGroupProber.cpp
+# localization/probers/nsMBCSSM.cpp
+# localization/probers/nsSBCSGroupProber.cpp
+# localization/probers/nsSBCharSetProber.cpp
+# localization/probers/nsSJISProber.cpp
+# localization/probers/nsUniversalDetector.cpp
+# localization/klocale.cpp
+# localization/klocale_kde.cpp
+# localization/klocalizedstring.cpp
+# localization/kuitsemantics.cpp
+# localization/kuitformats.cpp
+# localization/common_helpers.cpp
+# sycoca/ksycoca.cpp
+# sycoca/ksycocadict.cpp
+# sycoca/ksycocaentry.cpp
+# sycoca/ksycocafactory.cpp
+# sycoca/kprotocolinfo.cpp
+# sycoca/kprotocolinfofactory.cpp
+# sycoca/kmemfile.cpp
+# text/kascii.cpp
+# text/kcodecs.cpp
+# text/kstringhandler.cpp
+# util/kallocator.cpp
+# util/kautostart.cpp
+# util/kdedmodule.cpp
+# util/kdeversion.cpp
+# util/klauncher_iface.cpp
+# util/klibrary.cpp
+# util/kmacroexpander.cpp
+# util/kpluginfactory.cpp
+# util/kpluginloader.cpp
+# util/kshell.cpp
+# util/krandom.cpp
+# util/krandomsequence.cpp
+# util/qtest_kde.cpp
${kdecore_OPTIONAL_SRCS}
)
-if(NOT KDE_NO_DEPRECATED)
- set(kdecore_LIB_SRCS ${kdecore_LIB_SRCS}
- util/klibloader.cpp
- )
-endif(NOT KDE_NO_DEPRECATED)
-
-if(NOT WIN32)
- set(kdecore_LIB_SRCS ${kdecore_LIB_SRCS} util/kshareddatacache.cpp)
- set(kdecore_OPTIONAL_LIBS ${kdecore_OPTIONAL_LIBS} ${CMAKE_THREAD_LIBS_INIT})
-
- set_source_files_properties(util/kshareddatacache.cpp
- PROPERTIES COMPILE_FLAGS ${KDE4_ENABLE_EXCEPTIONS})
-else(NOT WIN32)
- set(kdecore_LIB_SRCS ${kdecore_LIB_SRCS} util/kshareddatacache_win.cpp)
- set(kdecore_LIB_SRCS ${kdecore_LIB_SRCS} io/kdirwatch_win.cpp)
-endif(NOT WIN32)
-
-if (NOT Q_WS_X11 AND NOT Q_WS_QWS)
- add_definitions(-DNO_DISPLAY)
-endif (NOT Q_WS_X11 AND NOT Q_WS_QWS)
-
-kde4_add_library(kdecore ${LIBRARY_TYPE} ${kdecore_LIB_SRCS})
+# if(NOT KDE_NO_DEPRECATED)
+# set(kdecore_LIB_SRCS ${kdecore_LIB_SRCS}
+# util/klibloader.cpp
+# )
+# endif(NOT KDE_NO_DEPRECATED)
+
+# if(NOT WIN32)
+# set(kdecore_LIB_SRCS ${kdecore_LIB_SRCS} util/kshareddatacache.cpp)
+# set(kdecore_OPTIONAL_LIBS ${kdecore_OPTIONAL_LIBS} ${CMAKE_THREAD_LIBS_INIT})
+#
+# set_source_files_properties(util/kshareddatacache.cpp
+# PROPERTIES COMPILE_FLAGS ${KDE4_ENABLE_EXCEPTIONS})
+# else(NOT WIN32)
+# set(kdecore_LIB_SRCS ${kdecore_LIB_SRCS} util/kshareddatacache_win.cpp)
+# set(kdecore_LIB_SRCS ${kdecore_LIB_SRCS} io/kdirwatch_win.cpp)
+# endif(NOT WIN32)
+
+# if (NOT Q_WS_X11 AND NOT Q_WS_QWS)
+# add_definitions(-DNO_DISPLAY)
+# endif (NOT Q_WS_X11 AND NOT Q_WS_QWS)
+
+add_library(kdecore ${LIBRARY_TYPE} ${kdecore_LIB_SRCS})
target_link_libraries(kdecore ${QT_QTCORE_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTDBUS_LIBRARY} ${QT_QTXML_LIBRARY} ${ZLIB_LIBRARY} ${kdecore_OPTIONAL_LIBS})
-if(WINCE)
- target_link_libraries(kdecore ${WCECOMPAT_LIBRARIES} Ceshell.lib)
-endif(WINCE)
-
-set(SYS_INOTIFY_H_FOUND 0)
-if(SYS_INOTIFY_H_FOUND)
- macro_log_feature(FAM_FOUND "FAM" "File alteration notification support via a separate service" "http://oss.sgi.com/projects/fam" FALSE "" "You have file alteration notification support built into your kernel, however you might consider installing FAM as it also supports NFS.")
-else(SYS_INOTIFY_H_FOUND)
- macro_log_feature(FAM_FOUND "FAM" "File alteration notification support via a separate service" "http://oss.sgi.com/projects/fam" FALSE "" "Provides file alteration notification facilities using a separate service.")
-endif(SYS_INOTIFY_H_FOUND)
-
-if(FAM_FOUND)
- include_directories(${FAM_INCLUDE_DIR})
- target_link_libraries(kdecore ${FAM_LIBRARIES})
-endif(FAM_FOUND)
-
-if(WIN32)
- set(kdecore_LINK_INTERFACE_LIBRARIES ${QT_QTDBUS_LIBRARY} ${QT_QTCORE_LIBRARY} ${KDEWIN_LIBRARIES})
-else(WIN32)
- if(APPLE)
- set(kdecore_LINK_INTERFACE_LIBRARIES ${QT_QTDBUS_LIBRARY} ${QT_QTCORE_LIBRARY} ${CARBON_LIBRARY})
- else(APPLE)
+# if(WINCE)
+# target_link_libraries(kdecore ${WCECOMPAT_LIBRARIES} Ceshell.lib)
+# endif(WINCE)
+#
+# set(SYS_INOTIFY_H_FOUND 0)
+# if(SYS_INOTIFY_H_FOUND)
+# macro_log_feature(FAM_FOUND "FAM" "File alteration notification support via a separate service" "http://oss.sgi.com/projects/fam" FALSE "" "You have file alteration notification support built into your kernel, however you might consider installing FAM as it also supports NFS.")
+# else(SYS_INOTIFY_H_FOUND)
+# macro_log_feature(FAM_FOUND "FAM" "File alteration notification support via a separate service" "http://oss.sgi.com/projects/fam" FALSE "" "Provides file alteration notification facilities using a separate service.")
+# endif(SYS_INOTIFY_H_FOUND)
+
+# if(FAM_FOUND)
+# include_directories(${FAM_INCLUDE_DIR})
+# target_link_libraries(kdecore ${FAM_LIBRARIES})
+# endif(FAM_FOUND)
+
+# if(WIN32)
+# set(kdecore_LINK_INTERFACE_LIBRARIES ${QT_QTDBUS_LIBRARY} ${QT_QTCORE_LIBRARY} ${KDEWIN_LIBRARIES})
+# else(WIN32)
+# if(APPLE)
+# set(kdecore_LINK_INTERFACE_LIBRARIES ${QT_QTDBUS_LIBRARY} ${QT_QTCORE_LIBRARY} ${CARBON_LIBRARY})
+# else(APPLE)
set(kdecore_LINK_INTERFACE_LIBRARIES ${QT_QTDBUS_LIBRARY} ${QT_QTCORE_LIBRARY} )
- endif(APPLE)
-endif(WIN32)
+# endif(APPLE)
+# endif(WIN32)
target_link_libraries(kdecore LINK_INTERFACE_LIBRARIES ${kdecore_LINK_INTERFACE_LIBRARIES} )
@@ -438,7 +470,7 @@ set_target_properties(kdecore PROPERTIES
)
-install(TARGETS kdecore EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
+# install(TARGETS kdecore EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
########### next target ###############
@@ -446,234 +478,234 @@ install(TARGETS kdecore EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_A
# Compile only if fake backend has not been selected
-if (NOT "${KDE4_AUTH_BACKEND_NAME}" STREQUAL "FAKE")
- # KAUTH_POLICY_GEN_SRCS has been generated from auth/ConfigureChecks.cmake
- kde4_add_executable(kauth-policy-gen NOGUI ${KAUTH_POLICY_GEN_SRCS})
-
- # KAUTH_POLICY_GEN_LIBRARIES has been generated from auth/ConfigureChecks.cmake
- target_link_libraries( kauth-policy-gen ${KAUTH_POLICY_GEN_LIBRARIES} )
-
- install( TARGETS kauth-policy-gen EXPORT kdelibsToolsTargets DESTINATION ${LIBEXEC_INSTALL_DIR})
-endif (NOT "${KDE4_AUTH_BACKEND_NAME}" STREQUAL "FAKE")
-
-if ( NOT WINCE )
- ########### next target ###############
-
- # KAuth backend plugin
-
- if (NOT "${KDE4_AUTH_BACKEND_NAME}" STREQUAL "FAKE")
- set(KAUTH_BACKEND_SRCS ${KAUTH_BACKEND_SRCS} auth/AuthBackend.cpp)
- kde4_add_plugin(kauth_backend_plugin ${KAUTH_BACKEND_SRCS})
- target_link_libraries(kauth_backend_plugin ${KAUTH_BACKEND_LIBS})
- install(TARGETS kauth_backend_plugin
- LIBRARY DESTINATION ${KAUTH_BACKEND_PLUGIN_DIR}
- ARCHIVE DESTINATION ${KAUTH_BACKEND_PLUGIN_DIR}
- RUNTIME DESTINATION ${KAUTH_BACKEND_PLUGIN_DIR}
- )
- endif (NOT "${KDE4_AUTH_BACKEND_NAME}" STREQUAL "FAKE")
-
- ########### next target ###############
-
- # KAuth helper plugin
-
- if (NOT "${KDE4_AUTH_HELPER_BACKEND_NAME}" STREQUAL "FAKE")
- kde4_add_plugin(kauth_helper_plugin ${KAUTH_HELPER_BACKEND_SRCS} auth/HelperProxy.cpp)
- target_link_libraries(kauth_helper_plugin ${KAUTH_HELPER_BACKEND_LIBS})
- install(TARGETS kauth_helper_plugin
- LIBRARY DESTINATION ${KAUTH_HELPER_PLUGIN_DIR}
- ARCHIVE DESTINATION ${KAUTH_HELPER_PLUGIN_DIR}
- RUNTIME DESTINATION ${KAUTH_HELPER_PLUGIN_DIR}
- )
- endif (NOT "${KDE4_AUTH_HELPER_BACKEND_NAME}" STREQUAL "FAKE")
-endif ( NOT WINCE )
+# if (NOT "${KDE4_AUTH_BACKEND_NAME}" STREQUAL "FAKE")
+# # KAUTH_POLICY_GEN_SRCS has been generated from auth/ConfigureChecks.cmake
+# kde4_add_executable(kauth-policy-gen NOGUI ${KAUTH_POLICY_GEN_SRCS})
+#
+# # KAUTH_POLICY_GEN_LIBRARIES has been generated from auth/ConfigureChecks.cmake
+# target_link_libraries( kauth-policy-gen ${KAUTH_POLICY_GEN_LIBRARIES} )
+#
+# install( TARGETS kauth-policy-gen EXPORT kdelibsToolsTargets DESTINATION ${LIBEXEC_INSTALL_DIR})
+# endif (NOT "${KDE4_AUTH_BACKEND_NAME}" STREQUAL "FAKE")
+
+# if ( NOT WINCE )
+# ########### next target ###############
+#
+# # KAuth backend plugin
+#
+# if (NOT "${KDE4_AUTH_BACKEND_NAME}" STREQUAL "FAKE")
+# set(KAUTH_BACKEND_SRCS ${KAUTH_BACKEND_SRCS} auth/AuthBackend.cpp)
+# kde4_add_plugin(kauth_backend_plugin ${KAUTH_BACKEND_SRCS})
+# target_link_libraries(kauth_backend_plugin ${KAUTH_BACKEND_LIBS})
+# install(TARGETS kauth_backend_plugin
+# LIBRARY DESTINATION ${KAUTH_BACKEND_PLUGIN_DIR}
+# ARCHIVE DESTINATION ${KAUTH_BACKEND_PLUGIN_DIR}
+# RUNTIME DESTINATION ${KAUTH_BACKEND_PLUGIN_DIR}
+# )
+# endif (NOT "${KDE4_AUTH_BACKEND_NAME}" STREQUAL "FAKE")
+#
+# ########### next target ###############
+#
+# # KAuth helper plugin
+#
+# if (NOT "${KDE4_AUTH_HELPER_BACKEND_NAME}" STREQUAL "FAKE")
+# kde4_add_plugin(kauth_helper_plugin ${KAUTH_HELPER_BACKEND_SRCS} auth/HelperProxy.cpp)
+# target_link_libraries(kauth_helper_plugin ${KAUTH_HELPER_BACKEND_LIBS})
+# install(TARGETS kauth_helper_plugin
+# LIBRARY DESTINATION ${KAUTH_HELPER_PLUGIN_DIR}
+# ARCHIVE DESTINATION ${KAUTH_HELPER_PLUGIN_DIR}
+# RUNTIME DESTINATION ${KAUTH_HELPER_PLUGIN_DIR}
+# )
+# endif (NOT "${KDE4_AUTH_HELPER_BACKEND_NAME}" STREQUAL "FAKE")
+# endif ( NOT WINCE )
########### next target ###############
-configure_file(localization/all_languages.desktop ${CMAKE_CURRENT_BINARY_DIR}/all_languages @ONLY)
-
-kde4_add_executable(kde4-config NOGUI kde-config.cpp )
-
-target_link_libraries(kde4-config ${KDE4_KDECORE_LIBS})
-
-install(TARGETS kde4-config ${INSTALL_TARGETS_DEFAULT_ARGS} )
+# configure_file(localization/all_languages.desktop ${CMAKE_CURRENT_BINARY_DIR}/all_languages @ONLY)
+#
+# kde4_add_executable(kde4-config NOGUI kde-config.cpp )
+#
+# target_link_libraries(kde4-config ${KDE4_KDECORE_LIBS})
+#
+# install(TARGETS kde4-config ${INSTALL_TARGETS_DEFAULT_ARGS} )
########### next target ###############
-if(NOT WINCE)
- # kjs hash stuff for transcript plugin
- set( CREATE_HASH_TABLE ${CMAKE_SOURCE_DIR}/kjs/create_hash_table )
-
- add_custom_command(
- OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ktranscript.lut.h
- COMMAND ${PERL_EXECUTABLE} ${CREATE_HASH_TABLE}
- ${CMAKE_CURRENT_SOURCE_DIR}/localization/ktranscript.cpp
- > ${CMAKE_CURRENT_BINARY_DIR}/ktranscript.lut.h
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/localization/ktranscript.cpp
- )
-
- # the transcript plugin
- set( ktranscript_LIB_SRCS
- localization/ktranscript.cpp
- localization/common_helpers.cpp
- )
-
- kde4_add_plugin( ktranscript ${ktranscript_LIB_SRCS} )
-
- target_link_libraries( ktranscript kjs ${QT_QTCORE_LIBRARY} )
-
-
- if(KDE4_ENABLE_FINAL)
- macro_add_file_dependencies(${CMAKE_CURRENT_BINARY_DIR}/ktranscript_final_cpp.cpp ${CMAKE_CURRENT_BINARY_DIR}/ktranscript.lut.h)
- else(KDE4_ENABLE_FINAL)
- macro_add_file_dependencies(${CMAKE_CURRENT_SOURCE_DIR}/localization/ktranscript.cpp ${CMAKE_CURRENT_BINARY_DIR}/ktranscript.lut.h)
- endif(KDE4_ENABLE_FINAL)
-
- install( TARGETS ktranscript DESTINATION ${PLUGIN_INSTALL_DIR} )
-
-endif(NOT WINCE)
+# if(NOT WINCE)
+# # kjs hash stuff for transcript plugin
+# set( CREATE_HASH_TABLE ${CMAKE_SOURCE_DIR}/kjs/create_hash_table )
+#
+# add_custom_command(
+# OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ktranscript.lut.h
+# COMMAND ${PERL_EXECUTABLE} ${CREATE_HASH_TABLE}
+# ${CMAKE_CURRENT_SOURCE_DIR}/localization/ktranscript.cpp
+# > ${CMAKE_CURRENT_BINARY_DIR}/ktranscript.lut.h
+# DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/localization/ktranscript.cpp
+# )
+#
+# # the transcript plugin
+# set( ktranscript_LIB_SRCS
+# localization/ktranscript.cpp
+# localization/common_helpers.cpp
+# )
+#
+# kde4_add_plugin( ktranscript ${ktranscript_LIB_SRCS} )
+#
+# target_link_libraries( ktranscript kjs ${QT_QTCORE_LIBRARY} )
+#
+#
+# if(KDE4_ENABLE_FINAL)
+# macro_add_file_dependencies(${CMAKE_CURRENT_BINARY_DIR}/ktranscript_final_cpp.cpp ${CMAKE_CURRENT_BINARY_DIR}/ktranscript.lut.h)
+# else(KDE4_ENABLE_FINAL)
+# macro_add_file_dependencies(${CMAKE_CURRENT_SOURCE_DIR}/localization/ktranscript.cpp ${CMAKE_CURRENT_BINARY_DIR}/ktranscript.lut.h)
+# endif(KDE4_ENABLE_FINAL)
+#
+# install( TARGETS ktranscript DESTINATION ${PLUGIN_INSTALL_DIR} )
+#
+# endif(NOT WINCE)
########### install files ###############
-install( FILES ${CMAKE_CURRENT_BINARY_DIR}/all_languages DESTINATION ${LOCALE_INSTALL_DIR} )
-install( FILES localization/entry.desktop DESTINATION ${LOCALE_INSTALL_DIR}/en_US )
-install( FILES kdebug.areas kdebugrc DESTINATION ${CONFIG_INSTALL_DIR} )
-install( FILES
- kdecore_export.h
- compression/kfilterbase.h
- compression/karchive_export.h
- compression/kfilterdev.h
- config/conversion_check.h
- config/kconfig.h
- #config/kconfigbackend.h re-enable post-API review and implementation (4.2?)
- config/kconfigbase.h
- config/kconfiggroup.h
- config/kdesktopfile.h
- config/ksharedconfig.h
- config/kcoreconfigskeleton.h
- date/kcalendarsystem.h
- date/kdatetime.h
- date/klocalizeddate.h
- date/ksystemtimezone.h
- date/ktimezone.h
- date/ktzfiletimezone.h
- io/kar.h
- io/karchive.h
- io/kautosavefile.h
- io/kdebug.h
- io/kdirwatch.h
- io/kmessage.h
- io/kprocess.h
- io/klockfile.h
- io/kmountpoint.h
- io/ksavefile.h
- io/ktar.h
- io/ktempdir.h
- io/ktemporaryfile.h
- io/kurl.h
- io/kzip.h
- jobs/kcompositejob.h
- jobs/kjob.h
- jobs/kjobuidelegate.h
- jobs/kjobtrackerinterface.h
- kernel/kaboutdata.h
- kernel/kauthorized.h
- kernel/kcmdlineargs.h
- kernel/kglobal.h
- kernel/kcomponentdata.h
- kernel/kstandarddirs.h
- kernel/ktoolinvocation.h
- DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
-)
-
-if (NOT KDECORE_NO_KDE3SUPPORT)
- install(FILES
- network/k3bufferedsocket.h
- network/k3clientsocketbase.h
- network/k3datagramsocket.h
- network/k3httpproxysocketdevice.h
- network/k3resolver.h
- network/k3reverseresolver.h
- network/k3serversocket.h
- network/k3socketaddress.h
- network/k3socketbase.h
- network/k3socketdevice.h
- network/k3socks.h
- network/k3sockssocketdevice.h
- network/k3streamsocket.h
- DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
- )
-endif (NOT KDECORE_NO_KDE3SUPPORT)
-
-install(FILES
- network/klocalsocket.h
- network/ksocketfactory.h
- network/ktcpsocket.h
- auth/kauthaction.h
- auth/kauthactionreply.h
- auth/kauthactionwatcher.h
- auth/kauthhelpersupport.h
- auth/kauth.h
- services/kmimetype.h
- services/kmimetypetrader.h
- services/kservice.h
- services/kserviceaction.h
- services/kservicegroup.h
- #services/kservicefactory.h: do not install, internal API
- services/kservicetype.h
- #services/kservicetypefactory.h: do not install, internal API
- services/kservicetypeprofile.h
- services/kservicetypetrader.h
- #services/kserviceoffer.h: do not install, internal API
- services/kplugininfo.h
- localization/kcharsets.h
- localization/kcurrencycode.h
- localization/kencodingdetector.h
- localization/kencodingprober.h
- localization/klocale.h
- localization/klocalizedstring.h
- sycoca/kprotocolinfo.h
- sycoca/ksycoca.h
- sycoca/ksycocaentry.h
- sycoca/ksycocatype.h
- text/kascii.h
- text/kcodecs.h
- text/kstringhandler.h
- util/kallocator.h
- util/kautostart.h
- util/kde_file.h
- util/kdedmodule.h
- util/kgenericfactory.h
- util/kgenericfactory.tcc
- util/klauncher_iface.h
- util/klibrary.h
- util/klibloader.h
- util/kmacroexpander.h
- util/kexportplugin.h
- util/kpluginfactory.h
- util/kpluginloader.h
- util/kshell.h
- util/krandom.h
- util/krandomsequence.h
- util/kshareddatacache.h
- util/ksharedptr.h
- util/ksortablelist.h
- util/ktypelist.h
- util/ktypelistutils.h
- util/ktypetraits.h
- util/kuser.h
- util/qtest_kde.h
- ${CMAKE_CURRENT_BINARY_DIR}/kdefakes.h
- ${CMAKE_CURRENT_BINARY_DIR}/kdeversion.h
- DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
-)
-
-install( FILES sonnet/backgroundchecker.h sonnet/speller.h sonnet/globals.h
- DESTINATION ${INCLUDE_INSTALL_DIR}/sonnet COMPONENT Devel)
-
-install( FILES
- config/kconfigbackend.desktop
- services/kplugininfo.desktop
- sonnet/sonnetspeller.desktop
- DESTINATION ${SERVICETYPES_INSTALL_DIR}
-)
+# install( FILES ${CMAKE_CURRENT_BINARY_DIR}/all_languages DESTINATION ${LOCALE_INSTALL_DIR} )
+# install( FILES localization/entry.desktop DESTINATION ${LOCALE_INSTALL_DIR}/en_US )
+# install( FILES kdebug.areas kdebugrc DESTINATION ${CONFIG_INSTALL_DIR} )
+# install( FILES
+# kdecore_export.h
+# # compression/kfilterbase.h
+# # compression/karchive_export.h
+# # compression/kfilterdev.h
+# # config/conversion_check.h
+# # config/kconfig.h
+# # #config/kconfigbackend.h re-enable post-API review and implementation (4.2?)
+# # config/kconfigbase.h
+# # config/kconfiggroup.h
+# # config/kdesktopfile.h
+# # config/ksharedconfig.h
+# # config/kcoreconfigskeleton.h
+# date/kcalendarsystem.h
+# date/kdatetime.h
+# date/klocalizeddate.h
+# date/ksystemtimezone.h
+# date/ktimezone.h
+# date/ktzfiletimezone.h
+# # io/kar.h
+# # io/karchive.h
+# # io/kautosavefile.h
+# # io/kdebug.h
+# # io/kdirwatch.h
+# # io/kmessage.h
+# # io/kprocess.h
+# # io/klockfile.h
+# # io/kmountpoint.h
+# # io/ksavefile.h
+# # io/ktar.h
+# # io/ktempdir.h
+# # io/ktemporaryfile.h
+# # io/kurl.h
+# # io/kzip.h
+# jobs/kcompositejob.h
+# jobs/kjob.h
+# jobs/kjobuidelegate.h
+# jobs/kjobtrackerinterface.h
+# kernel/kaboutdata.h
+# kernel/kauthorized.h
+# kernel/kcmdlineargs.h
+# kernel/kglobal.h
+# kernel/kcomponentdata.h
+# kernel/kstandarddirs.h
+# kernel/ktoolinvocation.h
+# DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
+# )
+
+# if (NOT KDECORE_NO_KDE3SUPPORT)
+# install(FILES
+# network/k3bufferedsocket.h
+# network/k3clientsocketbase.h
+# network/k3datagramsocket.h
+# network/k3httpproxysocketdevice.h
+# network/k3resolver.h
+# network/k3reverseresolver.h
+# network/k3serversocket.h
+# network/k3socketaddress.h
+# network/k3socketbase.h
+# network/k3socketdevice.h
+# network/k3socks.h
+# network/k3sockssocketdevice.h
+# network/k3streamsocket.h
+# DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
+# )
+# endif (NOT KDECORE_NO_KDE3SUPPORT)
+
+# install(FILES
+# network/klocalsocket.h
+# network/ksocketfactory.h
+# network/ktcpsocket.h
+# auth/kauthaction.h
+# auth/kauthactionreply.h
+# auth/kauthactionwatcher.h
+# auth/kauthhelpersupport.h
+# auth/kauth.h
+# services/kmimetype.h
+# services/kmimetypetrader.h
+# services/kservice.h
+# services/kserviceaction.h
+# services/kservicegroup.h
+# #services/kservicefactory.h: do not install, internal API
+# services/kservicetype.h
+# #services/kservicetypefactory.h: do not install, internal API
+# services/kservicetypeprofile.h
+# services/kservicetypetrader.h
+# #services/kserviceoffer.h: do not install, internal API
+# services/kplugininfo.h
+# localization/kcharsets.h
+# localization/kcurrencycode.h
+# localization/kencodingdetector.h
+# localization/kencodingprober.h
+# localization/klocale.h
+# localization/klocalizedstring.h
+# sycoca/kprotocolinfo.h
+# sycoca/ksycoca.h
+# sycoca/ksycocaentry.h
+# sycoca/ksycocatype.h
+# text/kascii.h
+# text/kcodecs.h
+# text/kstringhandler.h
+# util/kallocator.h
+# util/kautostart.h
+# util/kde_file.h
+# util/kdedmodule.h
+# util/kgenericfactory.h
+# util/kgenericfactory.tcc
+# util/klauncher_iface.h
+# util/klibrary.h
+# util/klibloader.h
+# util/kmacroexpander.h
+# util/kexportplugin.h
+# util/kpluginfactory.h
+# util/kpluginloader.h
+# util/kshell.h
+# util/krandom.h
+# util/krandomsequence.h
+# util/kshareddatacache.h
+# util/ksharedptr.h
+# util/ksortablelist.h
+# util/ktypelist.h
+# util/ktypelistutils.h
+# util/ktypetraits.h
+# util/kuser.h
+# util/qtest_kde.h
+# ${CMAKE_CURRENT_BINARY_DIR}/kdefakes.h
+# ${CMAKE_CURRENT_BINARY_DIR}/kdeversion.h
+# DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
+# )
+#
+# install( FILES sonnet/backgroundchecker.h sonnet/speller.h sonnet/globals.h
+# DESTINATION ${INCLUDE_INSTALL_DIR}/sonnet COMPONENT Devel)
+#
+# install( FILES
+# config/kconfigbackend.desktop
+# services/kplugininfo.desktop
+# sonnet/sonnetspeller.desktop
+# DESTINATION ${SERVICETYPES_INSTALL_DIR}
+# )
diff --git a/kdecore/date/kdatetime.cpp b/kdecore/date/kdatetime.cpp
index 4e3f3cc..6c948ac 100644
--- a/kdecore/date/kdatetime.cpp
+++ b/kdecore/date/kdatetime.cpp
@@ -20,7 +20,7 @@
#include "kdatetime.h"
-#include <config.h>
+// #include <config.h>
#include <config-date.h>
#ifdef HAVE_SYS_TIME_H
diff --git a/kdecore/date/ksystemtimezone.cpp b/kdecore/date/ksystemtimezone.cpp
index 58adb01..0221cea 100644
--- a/kdecore/date/ksystemtimezone.cpp
+++ b/kdecore/date/ksystemtimezone.cpp
@@ -22,9 +22,9 @@
// This file requires HAVE_STRUCT_TM_TM_ZONE to be defined if struct tm member tm_zone is available.
// This file requires HAVE_TM_GMTOFF to be defined if struct tm member tm_gmtoff is available.
-#include "ksystemtimezone.moc"
+#include "ksystemtimezone.h"
-#include <config.h>
+// #include <config.h>
#include <config-date.h>
#ifdef HAVE_SYS_TIME_H
diff --git a/kdecore/date/ktimezone.cpp b/kdecore/date/ktimezone.cpp
index 4aa5dea..dde4dc4 100644
--- a/kdecore/date/ktimezone.cpp
+++ b/kdecore/date/ktimezone.cpp
@@ -21,7 +21,7 @@
#include "ktimezone.h"
-#include <config.h>
+// #include <config.h>
#include <config-date.h> // SIZEOF_TIME_T
#ifdef HAVE_SYS_TIME_H
diff --git a/kdecore/date/ktzfiletimezone.cpp b/kdecore/date/ktzfiletimezone.cpp
index b4d6793..2931327 100644
--- a/kdecore/date/ktzfiletimezone.cpp
+++ b/kdecore/date/ktzfiletimezone.cpp
@@ -20,7 +20,7 @@
#include "ktzfiletimezone.h"
-#include <config.h>
+// #include <config.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>