aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2017-05-20 08:08:20 +0200
committerPino Toscano <pino@kde.org>2017-05-20 08:08:20 +0200
commit97ba63aafa510e64c78a529cb5e88eebd2e97967 (patch)
treeaa845b80f997f86db2fef8878b8d55576dff189a
parentb58820c4af6407ca6a67d342d7bc43ab09778e7d (diff)
downloadextra-cmake-modules-97ba63aafa510e64c78a529cb5e88eebd2e97967.tar.gz
extra-cmake-modules-97ba63aafa510e64c78a529cb5e88eebd2e97967.tar.bz2
Drop modules from attic that are not useful anymore
Even if they are in attic and not actually in use, drop a number of modules (and old tests) that it does not make sense to keep carry further: - FindAlsa.cmake, config-alsa.h.cmake: cmake has been providing a better FindALSA for long time - FindEigen.cmake, FindEigen2.cmake & test: Eigen v1 & v2 are deprecated and unmaintained for years - FindGStreamer.cmake: gstreamer-0.10 is long dead upstream - FindKdcraw.cmake, FindKDE4Workspace.cmake, FindKdeMultimedia.cmake, FindKDevPlatform.cmake, FindKexiv2.cmake, FindKipi.cmake, FindLibAttica.cmake, FindLibKonq.cmake: modules for KDE 4 libraries -- they are provided already by kdelibs 4.x, and the frameworks versions of those libraries provide cmake config files already - FindKNepomuk.cmake, FindKonto.cmake, FindNepomuk.cmake, NepomukAddOntologyClasses.cmake, NepomukMacros.cmake: Nepomuk stuff, which is long dead - FindKopete.cmake: the Frameworks version of Kopete is not released yet, so it'd rather provide own cmake config files - FindKorundum.cmake: Korudum is dead upstream, and so is Ruby 1.8 - FindLCMS.cmake & test: LCMS 1 is dead for many years already - FindMusicBrainz.cmake: libmusicbrainz v2 is long dead, and the web service API it uses was dismantled years ago - FindOpenEXR.cmake & test: ECM already provides an improved and polished version of this module - FindPolkitQt.cmake: polkit-qt is long dead, replaced by polkit-qt-1 - FindPopplerQt4.cmake: ECM 5.19+ already provides a better FindPoppler module - FindSharedDesktopOntologies.cmake: dead upstream, but also used to provide cmake config files already - tests for Blitz, Flex, LibXslt: their modules are not even in attic
-rw-r--r--attic/modules-tests/Blitz/CMakeLists.txt5
-rw-r--r--attic/modules-tests/Eigen2/CMakeLists.txt5
-rw-r--r--attic/modules-tests/Flex/CMakeLists.txt5
-rw-r--r--attic/modules-tests/GStreamer/CMakeLists.txt5
-rw-r--r--attic/modules-tests/LCMS/CMakeLists.txt5
-rw-r--r--attic/modules-tests/LibXslt/CMakeLists.txt5
-rw-r--r--attic/modules-tests/OpenEXR/CMakeLists.txt5
-rw-r--r--attic/modules-tests/RunAllModuleTests.cmake7
-rw-r--r--attic/modules/FindAlsa.cmake69
-rw-r--r--attic/modules/FindEigen.cmake24
-rw-r--r--attic/modules/FindEigen2.cmake55
-rw-r--r--attic/modules/FindGStreamer.cmake80
-rw-r--r--attic/modules/FindKDE4Workspace.cmake71
-rw-r--r--attic/modules/FindKDevPlatform.cmake45
-rw-r--r--attic/modules/FindKNepomuk.cmake39
-rw-r--r--attic/modules/FindKdcraw.cmake124
-rw-r--r--attic/modules/FindKdeMultimedia.cmake48
-rw-r--r--attic/modules/FindKexiv2.cmake123
-rw-r--r--attic/modules/FindKipi.cmake116
-rw-r--r--attic/modules/FindKonto.cmake38
-rw-r--r--attic/modules/FindKopete.cmake87
-rw-r--r--attic/modules/FindKorundum.cmake20
-rw-r--r--attic/modules/FindLCMS.cmake60
-rw-r--r--attic/modules/FindLibAttica.cmake63
-rw-r--r--attic/modules/FindLibKonq.cmake22
-rw-r--r--attic/modules/FindMusicBrainz.cmake32
-rw-r--r--attic/modules/FindNepomuk.cmake95
-rw-r--r--attic/modules/FindOpenEXR.cmake104
-rw-r--r--attic/modules/FindPolkitQt.cmake94
-rw-r--r--attic/modules/FindPopplerQt4.cmake53
-rw-r--r--attic/modules/FindSharedDesktopOntologies.cmake42
-rw-r--r--attic/modules/NepomukAddOntologyClasses.cmake115
-rw-r--r--attic/modules/NepomukMacros.cmake67
-rw-r--r--attic/modules/config-alsa.h.cmake34
34 files changed, 0 insertions, 1762 deletions
diff --git a/attic/modules-tests/Blitz/CMakeLists.txt b/attic/modules-tests/Blitz/CMakeLists.txt
deleted file mode 100644
index ef81e4df..00000000
--- a/attic/modules-tests/Blitz/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-include("${CMAKE_CURRENT_SOURCE_DIR}/../TestFindPackage.cmake")
-
-set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../modules" )
-
-test_find_package(Blitz BLITZ INCLUDES LIBRARIES)
diff --git a/attic/modules-tests/Eigen2/CMakeLists.txt b/attic/modules-tests/Eigen2/CMakeLists.txt
deleted file mode 100644
index b2ae0d35..00000000
--- a/attic/modules-tests/Eigen2/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-include("${CMAKE_CURRENT_SOURCE_DIR}/../TestFindPackage.cmake")
-
-set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../modules" )
-
-test_find_package(Eigen2 EIGEN2 INCLUDE_DIR )
diff --git a/attic/modules-tests/Flex/CMakeLists.txt b/attic/modules-tests/Flex/CMakeLists.txt
deleted file mode 100644
index 38b66566..00000000
--- a/attic/modules-tests/Flex/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-include("${CMAKE_CURRENT_SOURCE_DIR}/../TestFindPackage.cmake")
-
-set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../modules" )
-
-test_find_package(Flex FLEX VERSION EXECUTABLE)
diff --git a/attic/modules-tests/GStreamer/CMakeLists.txt b/attic/modules-tests/GStreamer/CMakeLists.txt
deleted file mode 100644
index 896a8536..00000000
--- a/attic/modules-tests/GStreamer/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-include("${CMAKE_CURRENT_SOURCE_DIR}/../TestFindPackage.cmake")
-
-set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../modules" )
-
-test_find_package(GStreamer GSTREAMER INCLUDE_DIR LIBRARIES DEFINITIONS)
diff --git a/attic/modules-tests/LCMS/CMakeLists.txt b/attic/modules-tests/LCMS/CMakeLists.txt
deleted file mode 100644
index 43a90425..00000000
--- a/attic/modules-tests/LCMS/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-include("${CMAKE_CURRENT_SOURCE_DIR}/../TestFindPackage.cmake")
-
-set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../modules" )
-
-test_find_package(LCMS LCMS INCLUDE_DIR LIBRARIES VERSION)
diff --git a/attic/modules-tests/LibXslt/CMakeLists.txt b/attic/modules-tests/LibXslt/CMakeLists.txt
deleted file mode 100644
index 561a6930..00000000
--- a/attic/modules-tests/LibXslt/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-include("${CMAKE_CURRENT_SOURCE_DIR}/../TestFindPackage.cmake")
-
-set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../modules" )
-
-test_find_package(LibXslt LIBXSLT INCLUDE_DIR LIBRARIES DEFINITIONS XSLTPROC_EXECUTABLE)
diff --git a/attic/modules-tests/OpenEXR/CMakeLists.txt b/attic/modules-tests/OpenEXR/CMakeLists.txt
deleted file mode 100644
index dd33dab9..00000000
--- a/attic/modules-tests/OpenEXR/CMakeLists.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-include("${CMAKE_CURRENT_SOURCE_DIR}/../TestFindPackage.cmake")
-
-set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../modules" )
-
-test_find_package(OpenEXR OPENEXR INCLUDE_DIR LIBRARIES DEFINITIONS)
diff --git a/attic/modules-tests/RunAllModuleTests.cmake b/attic/modules-tests/RunAllModuleTests.cmake
index a9b387d7..b233bb34 100644
--- a/attic/modules-tests/RunAllModuleTests.cmake
+++ b/attic/modules-tests/RunAllModuleTests.cmake
@@ -30,19 +30,12 @@ if(DEFINED MODULE)
set(modulesToTest ${MODULE})
else()
set(modulesToTest AGG
- Blitz
BlueZ
ENCHANT
- Eigen2
FFmpeg
Flac
- Flex
GObject
- GStreamer
- LCMS
LibArt
- LibXslt
- OpenEXR
PCRE
QCA2
QImageBlitz
diff --git a/attic/modules/FindAlsa.cmake b/attic/modules/FindAlsa.cmake
deleted file mode 100644
index e0aa4e21..00000000
--- a/attic/modules/FindAlsa.cmake
+++ /dev/null
@@ -1,69 +0,0 @@
-# Alsa check, based on libkmid/configure.in.in.
-# Only the support for Alsa >= 0.9.x was included; 0.5.x was dropped (but feel free to re-add it if you need it)
-# It defines ...
-# It offers the following macros:
-# ALSA_CONFIGURE_FILE(config_header) - generate a config.h, typical usage:
-# ALSA_CONFIGURE_FILE(${CMAKE_BINARY_DIR}/config-alsa.h)
-# ALSA_VERSION_STRING(version_string) looks for alsa/version.h and reads the version string into
-# the first argument passed to the macro
-
-# Copyright (c) 2006, David Faure, <faure@kde.org>
-# Copyright (c) 2007, Matthias Kretz <kretz@kde.org>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-include(CheckIncludeFiles)
-include(CheckIncludeFileCXX)
-include(CheckLibraryExists)
-
-# Already done by toplevel
-find_library(ASOUND_LIBRARY asound)
-set(ASOUND_LIBRARY_DIR "")
-if(ASOUND_LIBRARY)
- get_filename_component(ASOUND_LIBRARY_DIR ${ASOUND_LIBRARY} PATH)
-endif()
-
-check_library_exists(asound snd_seq_create_simple_port "${ASOUND_LIBRARY_DIR}" HAVE_LIBASOUND2)
-if(HAVE_LIBASOUND2)
- message(STATUS "Found ALSA: ${ASOUND_LIBRARY}")
-else()
- message(STATUS "ALSA not found")
-endif()
-set(ALSA_FOUND ${HAVE_LIBASOUND2})
-
-find_path(ALSA_INCLUDES alsa/version.h)
-
-macro(ALSA_VERSION_STRING _result)
- # check for version in alsa/version.h
- if(ALSA_INCLUDES)
- file(READ "${ALSA_INCLUDES}/alsa/version.h" _ALSA_VERSION_CONTENT)
- string(REGEX REPLACE ".*SND_LIB_VERSION_STR.*\"(.*)\".*" "\\1" ${_result} "${_ALSA_VERSION_CONTENT}")
- else()
- message(STATUS "ALSA version not known. ALSA output will probably not work correctly.")
- endif()
-endmacro(ALSA_VERSION_STRING _result)
-
-
-get_filename_component(_FIND_ALSA_MODULE_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
-macro(ALSA_CONFIGURE_FILE _destFile)
- check_include_files(sys/soundcard.h HAVE_SYS_SOUNDCARD_H)
- check_include_files(machine/soundcard.h HAVE_MACHINE_SOUNDCARD_H)
-
- check_include_files(linux/awe_voice.h HAVE_LINUX_AWE_VOICE_H)
- check_include_files(awe_voice.h HAVE_AWE_VOICE_H)
- check_include_files(/usr/src/sys/i386/isa/sound/awe_voice.h HAVE__USR_SRC_SYS_I386_ISA_SOUND_AWE_VOICE_H)
- check_include_files(/usr/src/sys/gnu/i386/isa/sound/awe_voice.h HAVE__USR_SRC_SYS_GNU_I386_ISA_SOUND_AWE_VOICE_H)
-
- check_include_file_cxx(sys/asoundlib.h HAVE_SYS_ASOUNDLIB_H)
- check_include_file_cxx(alsa/asoundlib.h HAVE_ALSA_ASOUNDLIB_H)
-
- check_library_exists(asound snd_pcm_resume "${ASOUND_LIBRARY_DIR}" ASOUND_HAS_SND_PCM_RESUME)
- if(ASOUND_HAS_SND_PCM_RESUME)
- set(HAVE_SND_PCM_RESUME 1)
- endif()
-
- configure_file(${_FIND_ALSA_MODULE_DIR}/config-alsa.h.cmake ${_destFile})
-endmacro(ALSA_CONFIGURE_FILE _destFile)
-
-mark_as_advanced(ALSA_INCLUDES ASOUND_LIBRARY)
diff --git a/attic/modules/FindEigen.cmake b/attic/modules/FindEigen.cmake
deleted file mode 100644
index 805deb2d..00000000
--- a/attic/modules/FindEigen.cmake
+++ /dev/null
@@ -1,24 +0,0 @@
-# Note that Eigen1 is deprecated in favor of Eigen2. So this file is deprecated
-# in favor of FindEigen2.cmake. It is kept only for compatibility.
-#
-# - Try to find Eigen1 library
-# Once done this will define
-#
-# EIGEN_FOUND - system has eigen lib
-# EIGEN_INCLUDE_DIR - the eigen include directory
-
-# Copyright (c) 2006, 2007 Montel Laurent, <montel@kde.org>
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-find_path(EIGEN_INCLUDE_DIR NAMES eigen/matrix.h
- PATHS
- ${INCLUDE_INSTALL_DIR}
- )
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(Eigen DEFAULT_MSG EIGEN_INCLUDE_DIR )
-
-mark_as_advanced(EIGEN_INCLUDE_DIR)
-
-
diff --git a/attic/modules/FindEigen2.cmake b/attic/modules/FindEigen2.cmake
deleted file mode 100644
index 721dbce7..00000000
--- a/attic/modules/FindEigen2.cmake
+++ /dev/null
@@ -1,55 +0,0 @@
-# - Try to find Eigen2 lib
-#
-# This module supports requiring a minimum version, e.g. you can do
-# find_package(Eigen2 2.0.3)
-# to require version 2.0.3 to newer of Eigen2.
-#
-# Once done this will define
-#
-# EIGEN2_FOUND - system has eigen lib with correct version
-# EIGEN2_INCLUDE_DIR - the eigen include directory
-# EIGEN2_VERSION - eigen version
-
-# Copyright (c) 2006, 2007 Montel Laurent, <montel@kde.org>
-# Copyright (c) 2008, 2009 Gael Guennebaud, <g.gael@free.fr>
-# Redistribution and use is allowed according to the terms of the BSD license.
-
-if(NOT Eigen2_FIND_VERSION)
- set(Eigen2_FIND_VERSION_MAJOR 2)
- set(Eigen2_FIND_VERSION_MINOR 0)
- set(Eigen2_FIND_VERSION_PATCH 0)
-
- set(Eigen2_FIND_VERSION "${Eigen2_FIND_VERSION_MAJOR}.${Eigen2_FIND_VERSION_MINOR}.${Eigen2_FIND_VERSION_PATCH}")
-endif()
-
-macro(_eigen2_get_version)
- file(READ "${EIGEN2_INCLUDE_DIR}/Eigen/src/Core/util/Macros.h" _eigen2_version_header LIMIT 5000 OFFSET 1000)
-
- string(REGEX MATCH "define *EIGEN_WORLD_VERSION ([0-9]*)" _eigen2_world_version_match "${_eigen2_version_header}")
- set(EIGEN2_WORLD_VERSION "${CMAKE_MATCH_1}")
- string(REGEX MATCH "define *EIGEN_MAJOR_VERSION ([0-9]*)" _eigen2_major_version_match "${_eigen2_version_header}")
- set(EIGEN2_MAJOR_VERSION "${CMAKE_MATCH_1}")
- string(REGEX MATCH "define *EIGEN_MINOR_VERSION ([0-9]*)" _eigen2_minor_version_match "${_eigen2_version_header}")
- set(EIGEN2_MINOR_VERSION "${CMAKE_MATCH_1}")
-
- set(EIGEN2_VERSION ${EIGEN2_WORLD_VERSION}.${EIGEN2_MAJOR_VERSION}.${EIGEN2_MINOR_VERSION})
-endmacro(_eigen2_get_version)
-
-find_path(EIGEN2_INCLUDE_DIR NAMES Eigen/Core
- PATHS
- ${INCLUDE_INSTALL_DIR}
- ${KDE4_INCLUDE_DIR}
- PATH_SUFFIXES eigen2
- )
-
-if(EIGEN2_INCLUDE_DIR)
- _eigen2_get_version()
-endif()
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(Eigen2 REQUIRED_VARS EIGEN2_INCLUDE_DIR
- VERSION_VAR EIGEN2_VERSION)
-
-mark_as_advanced(EIGEN2_INCLUDE_DIR)
-
-
diff --git a/attic/modules/FindGStreamer.cmake b/attic/modules/FindGStreamer.cmake
deleted file mode 100644
index 43793711..00000000
--- a/attic/modules/FindGStreamer.cmake
+++ /dev/null
@@ -1,80 +0,0 @@
-# - Try to find GStreamer
-# Once done this will define
-#
-# GSTREAMER_FOUND - system has GStreamer
-# GSTREAMER_INCLUDE_DIR - the GStreamer include directory
-# GSTREAMER_LIBRARIES - the libraries needed to use GStreamer
-# GSTREAMER_DEFINITIONS - Compiler switches required for using GStreamer
-
-# Copyright (c) 2006, Tim Beaulen <tbscope@gmail.com>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-# TODO: Other versions --> GSTREAMER_X_Y_FOUND (Example: GSTREAMER_0_8_FOUND and GSTREAMER_0_10_FOUND etc)
-
-IF (GSTREAMER_INCLUDE_DIR AND GSTREAMER_LIBRARIES AND GSTREAMER_BASE_LIBRARY AND GSTREAMER_INTERFACE_LIBRARY)
- # in cache already
- SET(GStreamer_FIND_QUIETLY TRUE)
-ELSE (GSTREAMER_INCLUDE_DIR AND GSTREAMER_LIBRARIES AND GSTREAMER_BASE_LIBRARY AND GSTREAMER_INTERFACE_LIBRARY)
- SET(GStreamer_FIND_QUIETLY FALSE)
-ENDIF (GSTREAMER_INCLUDE_DIR AND GSTREAMER_LIBRARIES AND GSTREAMER_BASE_LIBRARY AND GSTREAMER_INTERFACE_LIBRARY)
-
-IF (NOT WIN32)
- # use pkg-config to get the directories and then use these values
- # in the FIND_PATH() and FIND_LIBRARY() calls
- FIND_PACKAGE(PkgConfig)
- PKG_CHECK_MODULES(PC_GSTREAMER QUIET gstreamer-0.10)
- #MESSAGE(STATUS "DEBUG: GStreamer include directory = ${GSTREAMER_INCLUDE_DIRS}")
- #MESSAGE(STATUS "DEBUG: GStreamer link directory = ${GSTREAMER_LIBRARY_DIRS}")
- #MESSAGE(STATUS "DEBUG: GStreamer CFlags = ${GSTREAMER_CFLAGS_OTHER}")
- SET(GSTREAMER_DEFINITIONS ${PC_GSTREAMER_CFLAGS_OTHER})
-ENDIF (NOT WIN32)
-
-FIND_PATH(GSTREAMER_INCLUDE_DIR gst/gst.h
- PATHS
- ${PC_GSTREAMER_INCLUDEDIR}
- ${PC_GSTREAMER_INCLUDE_DIRS}
- #PATH_SUFFIXES gst
- )
-
-FIND_LIBRARY(GSTREAMER_LIBRARIES NAMES gstreamer-0.10
- PATHS
- ${PC_GSTREAMER_LIBDIR}
- ${PC_GSTREAMER_LIBRARY_DIRS}
- )
-
-FIND_LIBRARY(GSTREAMER_BASE_LIBRARY NAMES gstbase-0.10
- PATHS
- ${PC_GSTREAMER_LIBDIR}
- ${PC_GSTREAMER_LIBRARY_DIRS}
- )
-
-FIND_LIBRARY(GSTREAMER_INTERFACE_LIBRARY NAMES gstinterfaces-0.10
- PATHS
- ${PC_GSTREAMER_LIBDIR}
- ${PC_GSTREAMER_LIBRARY_DIRS}
- )
-
-IF (GSTREAMER_INCLUDE_DIR)
- #MESSAGE(STATUS "DEBUG: Found GStreamer include dir: ${GSTREAMER_INCLUDE_DIR}")
-ELSE (GSTREAMER_INCLUDE_DIR)
- MESSAGE(STATUS "GStreamer: WARNING: include dir not found")
-ENDIF (GSTREAMER_INCLUDE_DIR)
-
-IF (GSTREAMER_LIBRARIES)
- #MESSAGE(STATUS "DEBUG: Found GStreamer library: ${GSTREAMER_LIBRARIES}")
-ELSE (GSTREAMER_LIBRARIES)
- MESSAGE(STATUS "GStreamer: WARNING: library not found")
-ENDIF (GSTREAMER_LIBRARIES)
-
-IF (GSTREAMER_INTERFACE_LIBRARY)
- #MESSAGE(STATUS "DEBUG: Found GStreamer interface library: ${GSTREAMER_INTERFACE_LIBRARY}")
-ELSE (GSTREAMER_INTERFACE_LIBRARY)
- MESSAGE(STATUS "GStreamer: WARNING: interface library not found")
-ENDIF (GSTREAMER_INTERFACE_LIBRARY)
-
-INCLUDE(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(GStreamer DEFAULT_MSG GSTREAMER_LIBRARIES GSTREAMER_INCLUDE_DIR GSTREAMER_BASE_LIBRARY GSTREAMER_INTERFACE_LIBRARY)
-
-MARK_AS_ADVANCED(GSTREAMER_INCLUDE_DIR GSTREAMER_LIBRARIES GSTREAMER_BASE_LIBRARY GSTREAMER_INTERFACE_LIBRARY)
diff --git a/attic/modules/FindKDE4Workspace.cmake b/attic/modules/FindKDE4Workspace.cmake
deleted file mode 100644
index 660c7b8d..00000000
--- a/attic/modules/FindKDE4Workspace.cmake
+++ /dev/null
@@ -1,71 +0,0 @@
-# Find if we installed kdebase/workspaces.
-# Once done this will define
-#
-# KDE4WORKSPACE_FOUND - system has KDE workspace installed
-# KDE4WORKSPACE_INCLUDE_DIR - the KDE workspace include directory
-#
-# It also sets variables for the following libraries:
-# KDE4WORKSPACE_TASKMANAGER_LIBRARY, KDE4WORKSPACE_TASKMANAGER_LIBS
-# KDE4WORKSPACE_KWORKSPACE_LIBRARY, KDE4WORKSPACE_KWORKSPACE_LIBS
-# KDE4WORKSPACE_SOLIDCONTROLIFACES_LIBRARY, KDE4WORKSPACE_SOLIDCONTROLIFACES_LIBS
-# KDE4WORKSPACE_SOLIDCONTROL_LIBRARY, KDE4WORKSPACE_SOLIDCONTROL_LIBS
-# KDE4WORKSPACE_PROCESSUI_LIBRARY, KDE4WORKSPACE_PROCESSUI_LIBS
-# KDE4WORKSPACE_LSOFUI_LIBRARY, KDE4WORKSPACE_LSOFUI_LIBS
-# KDE4WORKSPACE_PLASMACLOCK_LIBRARY, KDE4WORKSPACE_PLASMACLOCK_LIBS
-# KDE4WORKSPACE_NEPOMUKQUERYCLIENT_LIBRARY, KDE4WORKSPACE_NEPOMUKQUERYCLIENT_LIBS
-# KDE4WORKSPACE_NEPOMUKQUERY_LIBRARY, KDE4WORKSPACE_NEPOMUKQUERY_LIBS
-# KDE4WORKSPACE_KSCREENSAVER_LIBRARY, KDE4WORKSPACE_KSCREENSAVER_LIBS
-# KDE4WORKSPACE_WEATHERION_LIBRARY, KDE4WORKSPACE_WEATHERION_LIBS
-# KDE4WORKSPACE_KWINEFFECTS_LIBRARY, KDE4WORKSPACE_KWINEFFECTS_LIBS
-# KDE4WORKSPACE_KDECORATIONS_LIBRARY, KDE4WORKSPACE_KDECORATIONS_LIBS
-# KDE4WORKSPACE_KSGRD_LIBRARY, KDE4WORKSPACE_KSGRD_LIBS
-# KDE4WORKSPACE_KEPHAL_LIBRARY, KDE4WORKSPACE_KEPHAL_LIBS
-#
-# And the following locations:
-# KDE4WORKSPACE_LIB_DIR
-# KDE4WORKSPACE_LIBEXEC_DIR
-# KDE4WORKSPACE_INCLUDE_DIR
-# KDE4WORKSPACE_BIN_DIR
-# KDE4WORKSPACE_SBIN_DIR
-# KDE4WORKSPACE_DATA_DIR
-# KDE4WORKSPACE_HTML_DIR
-# KDE4WORKSPACE_CONFIG_DIR
-# KDE4WORKSPACE_ICON_DIR
-# KDE4WORKSPACE_KCFG_DIR
-# KDE4WORKSPACE_LOCALE_DIR
-# KDE4WORKSPACE_MIME_DIR
-# KDE4WORKSPACE_SOUND_DIR
-# KDE4WORKSPACE_TEMPLATES_DIR
-# KDE4WORKSPACE_WALLPAPER_DIR
-# KDE4WORKSPACE_KCONF_UPDATE_DIR
-# KDE4WORKSPACE_AUTOSTART_DIR
-# KDE4WORKSPACE_XDG_APPS_DIR
-# KDE4WORKSPACE_XDG_DIRECTORY_DIR
-# KDE4WORKSPACE_SYSCONF_DIR
-# KDE4WORKSPACE_MAN_DIR
-# KDE4WORKSPACE_INFO_DIR
-# KDE4WORKSPACE_DBUS_INTERFACES_DIR
-# KDE4WORKSPACE_DBUS_SERVICES_DIR
-# KDE4WORKSPACE_SERVICES_DIR
-# KDE4WORKSPACE_SERVICETYPES_DIR
-
-# Copyright (c) 2008, Alexander Neundorf, <neundorf@kde.org>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-# The find_package() call below loads the file KDE4WorkspaceConfig.cmake file.
-# This file is created and installed by kdebase/workspace/CMakeLists.txt
-# It contains settings for all install location of kdebase/workspace, as e.g.
-# KDE4WORKSPACE_INCLUDE_DIR, and also variables for all libraries.
-# See kdebase/workspace/CMakeLists.txt and kdebase/workspace/KDE4WorkspaceConfig.cmake.in
-# for details. Alex
-
-
-set(_KDE4Workspace_FIND_QUIETLY ${KDE4Workspace_FIND_QUIETLY})
-find_package(KDE4Workspace QUIET NO_MODULE PATHS ${KDE4_LIB_DIR}/KDE4Workspace/cmake )
-set(KDE4Workspace_FIND_QUIETLY ${_KDE4Workspace_FIND_QUIETLY})
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(KDE4Workspace DEFAULT_MSG KDE4Workspace_CONFIG )
-
diff --git a/attic/modules/FindKDevPlatform.cmake b/attic/modules/FindKDevPlatform.cmake
deleted file mode 100644
index a458a2d2..00000000
--- a/attic/modules/FindKDevPlatform.cmake
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# Find the KDevelop Platform modules and sets various variables accordingly
-#
-# Example usage of this module:
-# find_package(KDevPlatform 1.0.0 REQUIRED)
-#
-# The version number and REQUIRED flag are optional. You can set CMAKE_PREFIX_PATH
-# variable to help it find the required files and directories
-
-# KDEVPLATFORM_FOUND - set to TRUE if the platform was found and the version is compatible FALSE otherwise
-#
-# KDEVPLATFORM_VERSION - The version number of kdevplatform
-# KDEVPLATFORM_VERSION_MAJOR - The major version number of kdevplatform
-# KDEVPLATFORM_VERSION_MINOR - The minor version number of kdevplatform
-# KDEVPLATFORM_VERSION_PATCH - The patch version number of kdevplatform
-# KDEVPLATFORM_INCLUDE_DIR - include dir of the platform, for example /usr/include/kdevplatform
-# KDEVPLATFORM_INTERFACES_LIBRARIES - interfaces module library
-# KDEVPLATFORM_LANGUAGE_LIBRARIES - language module library
-# KDEVPLATFORM_OUTPUTVIEW_LIBRARIES - outputview module library
-# KDEVPLATFORM_PROJECT_LIBRARIES - project module library
-# KDEVPLATFORM_SUBLIME_LIBRARIES - sublime module library
-# KDEVPLATFORM_SHELL_LIBRARIES - shell module library
-# KDEVPLATFORM_TESTS_LIBRARIES - library to write tests for plugins,
-# contains some useful tools and a way to replace parts of Core
-# classes with custom implementations
-# KDEVPLATFORM_UTIL_LIBRARIES - util module library
-# KDEVPLATFORM_VCS_LIBRARIES - vcs module library
-# KDEVPLATFORM_DEBUGGER_LIBRARIES - debugger module library
-#
-# The following macros are added (from KDevPlatformMacros.cmake):
-#
-# KDEVPLATFORM_ADD_APP_TEMPLATES( template1 ... templateN )
-# Use this to get packaged template archives for the given templates.
-# Parameters should be the directories containing the templates.
-#
-# Copyright 2007 Andreas Pakulat <apaku@gmx.de>
-# Redistribution and use is allowed according to the terms of the BSD license.
-
-set(_KDevPlatform_FIND_QUIETLY ${KDevPlatform_FIND_QUIETLY})
-find_package( KDevPlatform ${KDevPlatform_FIND_VERSION} NO_MODULE )
-set(KDevPlatform_FIND_QUIETLY ${_KDevPlatform_FIND_QUIETLY})
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(KDevPlatform DEFAULT_MSG KDevPlatform_CONFIG )
-
diff --git a/attic/modules/FindKNepomuk.cmake b/attic/modules/FindKNepomuk.cmake
deleted file mode 100644
index 071a8949..00000000
--- a/attic/modules/FindKNepomuk.cmake
+++ /dev/null
@@ -1,39 +0,0 @@
-# Once done this will define
-#
-# KNEPOMUK_FOUND - system has the Nepomuk-KDE backbone lib KNep
-# KNEPOMUK_INCLUDES - the libKNep include directory
-# KNEPOMUK_LIBRARIES - Link these to use libKNep
-#
-
-# Copyright (c) 2008, Sebastian Trueg, <sebastian@trueg.de>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-
-if(KNEPOMUK_INCLUDES AND KNEPOMUK_LIBRARIES)
- set(KNepomuk_FIND_QUIETLY TRUE)
-endif()
-
-FIND_PATH(KNEPOMUK_INCLUDES
- NAMES
- knepomuk/knepomuk.h
- PATHS
- ${KDE4_INCLUDE_DIR}
- ${INCLUDE_INSTALL_DIR}
-)
-
-FIND_LIBRARY(KNEPOMUK_LIBRARIES
- NAMES
- knepomuk
- PATHS
- ${KDE4_LIB_DIR}
- ${LIB_INSTALL_DIR}
-)
-
-include(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(KNepomuk DEFAULT_MSG KNEPOMUK_INCLUDES KNEPOMUK_LIBRARIES )
-
-
-MARK_AS_ADVANCED(KNEPOMUK_INCLUDES KNEPOMUK_LIBRARIES)
-
diff --git a/attic/modules/FindKdcraw.cmake b/attic/modules/FindKdcraw.cmake
deleted file mode 100644
index c19c70c2..00000000
--- a/attic/modules/FindKdcraw.cmake
+++ /dev/null
@@ -1,124 +0,0 @@
-# - Try to find the Kdcraw library
-#
-# If you have put a local version of libkdcraw into your source tree,
-# set KDCRAW_LOCAL_DIR to the relative path to the local directory.
-#
-# Once done this will define
-#
-# KDCRAW_FOUND - system has libkdcraw
-# KDCRAW_INCLUDE_DIR - the libkdcraw include directory
-# KDCRAW_LIBRARIES - Link these to use libkdcraw
-# KDCRAW_DEFINITIONS - Compiler switches required for using libkdcraw
-#
-
-# Copyright (c) 2008, Gilles Caulier, <caulier.gilles@gmail.com>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-
-if (KDCRAW_INCLUDE_DIR AND KDCRAW_LIBRARIES AND KDCRAW_DEFINITIONS)
-
- message(STATUS "Found Kdcraw library in cache: ${KDCRAW_LIBRARIES}")
-
- # in cache already
- set(KDCRAW_FOUND TRUE)
-
-else (KDCRAW_INCLUDE_DIR AND KDCRAW_LIBRARIES AND KDCRAW_DEFINITIONS)
-
- message(STATUS "Check Kdcraw library in local sub-folder...")
-
- # Check if library is not in local sub-folder
-
- if (KDCRAW_LOCAL_DIR)
- set (KDCRAW_LOCAL_FOUND TRUE)
- else (KDCRAW_LOCAL_DIR)
- find_file(KDCRAW_LOCAL_FOUND libkdcraw/kdcraw.h ${CMAKE_SOURCE_DIR}/libkdcraw ${CMAKE_SOURCE_DIR}/libs/libkdcraw NO_DEFAULT_PATH)
-
- if (KDCRAW_LOCAL_FOUND)
- # Was it found in libkdcraw/ or in libs/libkdcraw?
- find_file(KDCRAW_LOCAL_FOUND_IN_LIBS libkdcraw/kdcraw.h ${CMAKE_SOURCE_DIR}/libs/libkdcraw NO_DEFAULT_PATH)
- if (KDCRAW_LOCAL_FOUND_IN_LIBS)
- set(KDCRAW_LOCAL_DIR libs/libkdcraw)
- else (KDCRAW_LOCAL_FOUND_IN_LIBS)
- set(KDCRAW_LOCAL_DIR libkdcraw)
- endif (KDCRAW_LOCAL_FOUND_IN_LIBS)
- endif (KDCRAW_LOCAL_FOUND)
- endif (KDCRAW_LOCAL_DIR)
-
- if (KDCRAW_LOCAL_FOUND)
-
- # we need two include directories: because the version.h file is put into the build directory
- # TODO KDCRAW_INCLUDE_DIR sounds like it should contain only one directory...
- set(KDCRAW_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/${KDCRAW_LOCAL_DIR} ${CMAKE_BINARY_DIR}/${KDCRAW_LOCAL_DIR})
- set(KDCRAW_DEFINITIONS "-I${CMAKE_SOURCE_DIR}/${KDCRAW_LOCAL_DIR}" "-I${CMAKE_BINARY_DIR}/${KDCRAW_LOCAL_DIR}")
- set(KDCRAW_LIBRARIES kdcraw)
- message(STATUS "Found Kdcraw library in local sub-folder: ${CMAKE_SOURCE_DIR}/${KDCRAW_LOCAL_DIR}")
- set(KDCRAW_FOUND TRUE)
- mark_as_advanced(KDCRAW_INCLUDE_DIR KDCRAW_LIBRARIES KDCRAW_DEFINITIONS)
-
- else()
-
- message(STATUS "Check Kdcraw library using pkg-config...")
- if (NOT WIN32)
- # use pkg-config to get the directories and then use these values
- # in the FIND_PATH() and FIND_LIBRARY() calls
- include(UsePkgConfig)
-
- PKGCONFIG(libkdcraw _KDCRAWIncDir _KDCRAWLinkDir _KDCRAWLinkFlags _KDCRAWCflags)
-
- if (_KDCRAWLinkFlags)
- # query pkg-config asking for a libkdcraw >= 0.2.0
- exec_program(${PKGCONFIG_EXECUTABLE} ARGS --atleast-version=0.2.0 libkdcraw RETURN_VALUE _return_VALUE OUTPUT_VARIABLE _pkgconfigDevNull )
- if (_return_VALUE STREQUAL "0")
- message(STATUS "Found libkdcraw release >= 0.2.0")
- set(KDCRAW_VERSION_GOOD_FOUND TRUE)
- else (_return_VALUE STREQUAL "0")
- message(STATUS "Found libkdcaw release < 0.2.0, too old")
- set(KDCRAW_VERSION_GOOD_FOUND FALSE)
- set(KDCRAW_FOUND FALSE)
- endif (_return_VALUE STREQUAL "0")
- else (_KDCRAWLinkFlags)
- set(KDCRAW_VERSION_GOOD_FOUND FALSE)
- set(KDCRAW_FOUND FALSE)
- endif (_KDCRAWLinkFlags)
- else (NOT WIN32)
- set(KDCRAW_VERSION_GOOD_FOUND TRUE)
- endif (NOT WIN32)
-
- if (KDCRAW_VERSION_GOOD_FOUND)
- set(KDCRAW_DEFINITIONS "${_KDCRAWCflags}")
-
- find_path(KDCRAW_INCLUDE_DIR libkdcraw/version.h
- ${_KDCRAWIncDir}
- )
-
- find_library(KDCRAW_LIBRARIES NAMES kdcraw
- PATHS
- ${_KDCRAWLinkDir}
- )
-
- if (KDCRAW_INCLUDE_DIR AND KDCRAW_LIBRARIES)
- set(KDCRAW_FOUND TRUE)
- endif (KDCRAW_INCLUDE_DIR AND KDCRAW_LIBRARIES)
- endif (KDCRAW_VERSION_GOOD_FOUND)
- if (KDCRAW_FOUND)
- if (NOT Kdcraw_FIND_QUIETLY)
- message(STATUS "Found libkdcraw: ${KDCRAW_LIBRARIES}")
- endif (NOT Kdcraw_FIND_QUIETLY)
- else (KDCRAW_FOUND)
- if (Kdcraw_FIND_REQUIRED)
- if (NOT KDCRAW_INCLUDE_DIR)
- message(FATAL_ERROR "Could NOT find libkdcraw header files")
- endif (NOT KDCRAW_INCLUDE_DIR)
- if (NOT KDCRAW_LIBRARIES)
- message(FATAL_ERROR "Could NOT find libkdcraw library")
- endif (NOT KDCRAW_LIBRARIES)
- endif (Kdcraw_FIND_REQUIRED)
- endif (KDCRAW_FOUND)
-
- mark_as_advanced(KDCRAW_INCLUDE_DIR KDCRAW_LIBRARIES KDCRAW_DEFINITIONS)
-
- endif()
-
-endif (KDCRAW_INCLUDE_DIR AND KDCRAW_LIBRARIES AND KDCRAW_DEFINITIONS)
diff --git a/attic/modules/FindKdeMultimedia.cmake b/attic/modules/FindKdeMultimedia.cmake
deleted file mode 100644
index c8850291..00000000
--- a/attic/modules/FindKdeMultimedia.cmake
+++ /dev/null
@@ -1,48 +0,0 @@
-# Module to see if we have KDE4 kdemultimedia installed
-#
-# This module defines
-# KDEMULTIMEDIA_INCLUDE_DIR - the include dir
-# KCDDB_LIBRARY - the kcddb library
-# KCOMPACTDISC_LIBRARY - the kcompactdisk library
-# KDEMULTIMEDIA_LIBRARIES - all of the KDE multimedia libraries together
-# KDEMULTIMEDIA_FOUND - true if the above have been found
-
-# KDEMULTIMEDIA_INCLUDE_DIR
-# KDEMULTIMEDIA_FOUND
-# Copyright (C) 2007 Laurent Montel <montel@kde.org>
-# Copyright (C) 2007 Gerd Fleischer <gerdfleischer@web.de>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-
-if (KDEMULTIMEDIA_INCLUDE_DIR)
- # Already in cache, be silent
- set(KDEMULTIMEDIA_FOUND TRUE)
-endif (KDEMULTIMEDIA_INCLUDE_DIR)
-
-
-find_path(KDEMULTIMEDIA_INCLUDE_DIR NAMES libkcddb/kcddb.h libkcompactdisc/kcompactdisc.h
- PATHS
- ${INCLUDE_INSTALL_DIR}
-)
-
-find_library(KCDDB_LIBRARY NAMES kcddb
- PATHS
- ${LIB_INSTALL_DIR}
-)
-
-find_library(KCOMPACTDISC_LIBRARY NAMES kcompactdisc
- PATHS
- ${LIB_INSTALL_DIR}
-)
-
-# audioencoder, audiocdplugins?
-
-set(KDEMULTIMEDIA_LIBRARIES ${KCDDB_LIBRARY} ${KCOMPACTDISC_LIBRARY})
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(KdeMultimedia DEFAULT_MSG KDEMULTIMEDIA_LIBRARIES KDEMULTIMEDIA_INCLUDE_DIR )
-
-mark_as_advanced(KDEMULTIMEDIA_INCLUDE_DIR KDEMULTIMEDIA_LIBRARIES)
-
diff --git a/attic/modules/FindKexiv2.cmake b/attic/modules/FindKexiv2.cmake
deleted file mode 100644
index 3fdc6c15..00000000
--- a/attic/modules/FindKexiv2.cmake
+++ /dev/null
@@ -1,123 +0,0 @@
-# - Try to find the KExiv2 library
-#
-# If you have put a local version of libkexiv2 into your source tree,
-# set KEXIV2_LOCAL_DIR to the relative path to the local directory.
-#
-# Once done this will define
-#
-# KEXIV2_FOUND - system has libkexiv2
-# KEXIV2_INCLUDE_DIR - the libkexiv2 include directory
-# KEXIV2_LIBRARIES - Link these to use libkexiv2
-# KEXIV2_DEFINITIONS - Compiler switches required for using libkexiv2
-#
-
-# Copyright (c) 2008, Gilles Caulier, <caulier.gilles@gmail.com>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-if (KEXIV2_INCLUDE_DIR AND KEXIV2_LIBRARIES AND KEXIV2_DEFINITIONS)
-
- message(STATUS "Found Kexiv2 library in cache: ${KEXIV2_LIBRARIES}")
-
- # in cache already
- set(KEXIV2_FOUND TRUE)
-
-else (KEXIV2_INCLUDE_DIR AND KEXIV2_LIBRARIES AND KEXIV2_DEFINITIONS)
-
- message(STATUS "Check Kexiv2 library in local sub-folder...")
-
- # Check if library is not in local sub-folder
-
- if (KEXIV2_LOCAL_DIR)
- set(KEXIV2_LOCAL_FOUND TRUE)
- else (KEXIV2_LOCAL_DIR)
- find_file(KEXIV2_LOCAL_FOUND libkexiv2/version.h.cmake ${CMAKE_SOURCE_DIR}/libkexiv2 ${CMAKE_SOURCE_DIR}/libs/libkexiv2 NO_DEFAULT_PATH)
-
- if (KEXIV2_LOCAL_FOUND)
- # Was it found in libkexiv2/ or in libs/libkexiv2?
- find_file(KEXIV2_LOCAL_FOUND_IN_LIBS libkexiv2/version.h.cmake ${CMAKE_SOURCE_DIR}/libs/libkexiv2 NO_DEFAULT_PATH)
- if (KEXIV2_LOCAL_FOUND_IN_LIBS)
- set(KEXIV2_LOCAL_DIR libs/libkexiv2)
- else (KEXIV2_LOCAL_FOUND_IN_LIBS)
- set(KEXIV2_LOCAL_DIR libkexiv2)
- endif (KEXIV2_LOCAL_FOUND_IN_LIBS)
- endif (KEXIV2_LOCAL_FOUND)
-
- endif (KEXIV2_LOCAL_DIR)
-
- if (KEXIV2_LOCAL_FOUND)
- # we need two include directories: because the version.h file is put into the build directory
- # TODO KEXIV2_INCLUDE_DIR sounds like it should contain only one directory...
- set(KEXIV2_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/${KEXIV2_LOCAL_DIR} ${CMAKE_BINARY_DIR}/${KEXIV2_LOCAL_DIR})
- set(KEXIV2_DEFINITIONS "-I${CMAKE_SOURCE_DIR}/${KEXIV2_LOCAL_DIR}" "-I${CMAKE_BINARY_DIR}/${KEXIV2_LOCAL_DIR}")
- set(KEXIV2_LIBRARIES kexiv2)
- message(STATUS "Found Kexiv2 library in local sub-folder: ${CMAKE_SOURCE_DIR}/${KEXIV2_LOCAL_DIR}")
- set(KEXIV2_FOUND TRUE)
- mark_as_advanced(KEXIV2_INCLUDE_DIR KEXIV2_LIBRARIES KEXIV2_DEFINITIONS)
-
- else()
- if(NOT WIN32)
- message(STATUS "Check Kexiv2 library using pkg-config...")
-
- # use pkg-config to get the directories and then use these values
- # in the FIND_PATH() and FIND_LIBRARY() calls
- include(UsePkgConfig)
-
- PKGCONFIG(libkexiv2 _KEXIV2IncDir _KEXIV2LinkDir _KEXIV2LinkFlags _KEXIV2Cflags)
-
- if(_KEXIV2LinkFlags)
- # query pkg-config asking for a libkexiv2 >= 0.2.0
- exec_program(${PKGCONFIG_EXECUTABLE} ARGS --atleast-version=0.2.0 libkexiv2 RETURN_VALUE _return_VALUE OUTPUT_VARIABLE _pkgconfigDevNull )
- if(_return_VALUE STREQUAL "0")
- message(STATUS "Found libkexiv2 release >= 0.2.0")
- set(KEXIV2_VERSION_GOOD_FOUND TRUE)
- else()
- message(STATUS "Found libkexiv2 release < 0.2.0, too old")
- set(KEXIV2_VERSION_GOOD_FOUND FALSE)
- set(KEXIV2_FOUND FALSE)
- endif()
- else()
- set(KEXIV2_VERSION_GOOD_FOUND FALSE)
- set(KEXIV2_FOUND FALSE)
- endif()
- else()
- set(KEXIV2_VERSION_GOOD_FOUND TRUE)
- endif()
-
- if(KEXIV2_VERSION_GOOD_FOUND)
- set(KEXIV2_DEFINITIONS "${_KEXIV2Cflags}")
-
- find_path(KEXIV2_INCLUDE_DIR libkexiv2/version.h
- ${_KEXIV2IncDir}
- )
-
- find_library(KEXIV2_LIBRARIES NAMES kexiv2
- PATHS
- ${_KEXIV2LinkDir}
- )
-
- if (KEXIV2_INCLUDE_DIR AND KEXIV2_LIBRARIES)
- set(KEXIV2_FOUND TRUE)
- endif (KEXIV2_INCLUDE_DIR AND KEXIV2_LIBRARIES)
- endif()
- if (KEXIV2_FOUND)
- if (NOT Kexiv2_FIND_QUIETLY)
- message(STATUS "Found libkexiv2: ${KEXIV2_LIBRARIES}")
- endif (NOT Kexiv2_FIND_QUIETLY)
- else (KEXIV2_FOUND)
- if (Kexiv2_FIND_REQUIRED)
- if (NOT KEXIV2_INCLUDE_DIR)
- message(FATAL_ERROR "Could NOT find libkexiv2 header files")
- endif (NOT KEXIV2_INCLUDE_DIR)
- if (NOT KEXIV2_LIBRARIES)
- message(FATAL_ERROR "Could NOT find libkexiv2 library")
- endif (NOT KEXIV2_LIBRARIES)
- endif (Kexiv2_FIND_REQUIRED)
- endif (KEXIV2_FOUND)
-
- mark_as_advanced(KEXIV2_INCLUDE_DIR KEXIV2_LIBRARIES KEXIV2_DEFINITIONS)
-
- endif()
-
-endif (KEXIV2_INCLUDE_DIR AND KEXIV2_LIBRARIES AND KEXIV2_DEFINITIONS)
diff --git a/attic/modules/FindKipi.cmake b/attic/modules/FindKipi.cmake
deleted file mode 100644
index 13521e55..00000000
--- a/attic/modules/FindKipi.cmake
+++ /dev/null
@@ -1,116 +0,0 @@
-# - Try to find the Kipi library
-#
-# If you have put a local version of libkipi into your source tree,
-# set KIPI_LOCAL_DIR to the relative path to the local directory.
-#
-# Once done this will define
-#
-# KIPI_FOUND - system has libkipi
-# KIPI_INCLUDE_DIR - the libkipi include directory
-# KIPI_LIBRARIES - Link these to use libkipi
-# KIPI_DEFINITIONS - Compiler switches required for using libkipi
-#
-
-# Copyright (c) 2008, Gilles Caulier, <caulier.gilles@gmail.com>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-if (KIPI_INCLUDE_DIR AND KIPI_LIBRARIES AND KIPI_DEFINITIONS)
-
- message(STATUS "Found Kipi library in cache: ${KIPI_LIBRARIES}")
-
- # in cache already
- set(KIPI_FOUND TRUE)
-
-else (KIPI_INCLUDE_DIR AND KIPI_LIBRARIES AND KIPI_DEFINITIONS)
-
- message(STATUS "Check Kipi library in local sub-folder...")
-
- # Check if library is not in local sub-folder
-
- if (KIPI_LOCAL_DIR)
- set (KIPI_LOCAL_FOUND TRUE)
- else (KIPI_LOCAL_DIR)
- find_file(KIPI_LOCAL_FOUND libkipi/kipi.h ${CMAKE_SOURCE_DIR}/libkipi ${CMAKE_SOURCE_DIR}/libs/libkipi NO_DEFAULT_PATH)
-
- if (KIPI_LOCAL_FOUND)
- # Was it found in libkdcraw/ or in libs/libkdcraw?
- find_file(KIPI_LOCAL_FOUND_IN_LIBS libkipi/kipi.h ${CMAKE_SOURCE_DIR}/libs/libkipi NO_DEFAULT_PATH)
- if (KIPI_LOCAL_FOUND_IN_LIBS)
- set(KIPI_LOCAL_DIR libs/libkipi)
- else (KIPI_LOCAL_FOUND_IN_LIBS)
- set(KIPI_LOCAL_DIR libkipi)
- endif (KIPI_LOCAL_FOUND_IN_LIBS)
- endif (KIPI_LOCAL_FOUND)
- endif (KIPI_LOCAL_DIR)
-
- if (KIPI_LOCAL_FOUND)
- # we need two include directories: because the version.h file is put into the build directory
- # TODO KIPI_INCLUDE_DIR sounds like it should contain only one directory...
- set(KIPI_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/${KIPI_LOCAL_DIR} ${CMAKE_BINARY_DIR}/${KIPI_LOCAL_DIR})
- set(KIPI_DEFINITIONS "-I${CMAKE_SOURCE_DIR}/${KIPI_LOCAL_DIR}" "-I${CMAKE_BINARY_DIR}/${KIPI_LOCAL_DIR}")
- set(KIPI_LIBRARIES kipi)
- message(STATUS "Found Kipi library in local sub-folder: ${CMAKE_SOURCE_DIR}/${KIPI_LOCAL_DIR}")
- set(KIPI_FOUND TRUE)
- mark_as_advanced(KIPI_INCLUDE_DIR KIPI_LIBRARIES KIPI_DEFINITIONS)
-
- else (KIPI_LOCAL_FOUND)
-
- if (NOT WIN32)
- message(STATUS "Check Kipi library using pkg-config...")
-
- # use pkg-config to get the directories and then use these values
- # in the FIND_PATH() and FIND_LIBRARY() calls
- include(UsePkgConfig)
-
- PKGCONFIG(libkipi _KIPIIncDir _KIPILinkDir _KIPILinkFlags _KIPICflags)
-
- if (_KIPILinkFlags)
- # query pkg-config asking for a libkipi >= 0.2.0
- exec_program(${PKGCONFIG_EXECUTABLE} ARGS --atleast-version=0.2.0 libkipi RETURN_VALUE _return_VALUE OUTPUT_VARIABLE _pkgconfigDevNull )
- if (_return_VALUE STREQUAL "0")
- message(STATUS "Found libkipi release >= 0.2.0")
- set(KIPI_VERSION_GOOD_FOUND TRUE)
- else (_return_VALUE STREQUAL "0")
- message(STATUS "Found libkipi release < 0.2.0, too old")
- set(KIPI_VERSION_GOOD_FOUND FALSE)
- set(KIPI_FOUND FALSE)
- endif (_return_VALUE STREQUAL "0")
- else (_KIPILinkFlags)
- set(KIPI_VERSION_GOOD_FOUND FALSE)
- set(KIPI_FOUND FALSE)
- endif (_KIPILinkFlags)
- else (NOT WIN32)
- set(KIPI_VERSION_GOOD_FOUND TRUE)
- endif (NOT WIN32)
- if (KIPI_VERSION_GOOD_FOUND)
- set(KIPI_DEFINITIONS ${_KIPICflags})
-
- find_path(KIPI_INCLUDE_DIR NAMES libkipi/version.h PATHS ${KDE4_INCLUDE_DIR} ${_KIPIIncDir})
- find_library(KIPI_LIBRARIES NAMES kipi PATHS ${KDE4_LIB_DIR} ${_KIPILinkDir})
-
- if (KIPI_INCLUDE_DIR AND KIPI_LIBRARIES)
- set(KIPI_FOUND TRUE)
- endif (KIPI_INCLUDE_DIR AND KIPI_LIBRARIES)
- endif (KIPI_VERSION_GOOD_FOUND)
- if (KIPI_FOUND)
- if (NOT Kipi_FIND_QUIETLY)
- message(STATUS "Found libkipi: ${KIPI_LIBRARIES}")
- endif (NOT Kipi_FIND_QUIETLY)
- else (KIPI_FOUND)
- if (Kipi_FIND_REQUIRED)
- if (NOT KIPI_INCLUDE_DIR)
- message(FATAL_ERROR "Could NOT find libkipi header files")
- endif (NOT KIPI_INCLUDE_DIR)
- if (NOT KIPI_LIBRARIES)
- message(FATAL_ERROR "Could NOT find libkipi library")
- endif (NOT KIPI_LIBRARIES)
- endif (Kipi_FIND_REQUIRED)
- endif (KIPI_FOUND)
-
- mark_as_advanced(KIPI_INCLUDE_DIR KIPI_LIBRARIES KIPI_DEFINITIONS)
-
- endif (KIPI_LOCAL_FOUND)
-
-endif (KIPI_INCLUDE_DIR AND KIPI_LIBRARIES AND KIPI_DEFINITIONS)
diff --git a/attic/modules/FindKonto.cmake b/attic/modules/FindKonto.cmake
deleted file mode 100644
index d3c3458b..00000000
--- a/attic/modules/FindKonto.cmake
+++ /dev/null
@@ -1,38 +0,0 @@
-# Once done this will define
-#
-# KONTO_FOUND - system has the Nepomuk-KDE backbone lib Konto
-# KONTO_INCLUDES - the libKonto include directory
-# KONTO_LIBRARIES - Link these to use libKonto
-#
-
-# Copyright (c) 2008, Sebastian Trueg, <sebastian@trueg.de>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-
-if(KONTO_INCLUDES AND KONTO_LIBRARIES)
- # Already in cache, be silent
- set(Konto_FIND_QUIETLY TRUE)
-endif(KONTO_INCLUDES AND KONTO_LIBRARIES
-
-
-FIND_PATH(KONTO_INCLUDES
- NAMES
- konto/class.h
- PATHS
- ${KDE4_INCLUDE_DIR}
- ${INCLUDE_INSTALL_DIR}
-)
-
-FIND_LIBRARY(KONTO_LIBRARIES
- NAMES
- konto
- PATHS
- ${KDE4_LIB_DIR}
- ${LIB_INSTALL_DIR}
-)
-
-include(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(Kondo DEFAULT_MSG KONTO_INCLUDES KONTO_LIBRARIES)
-
diff --git a/attic/modules/FindKopete.cmake b/attic/modules/FindKopete.cmake
deleted file mode 100644
index 0bb98ee8..00000000
--- a/attic/modules/FindKopete.cmake
+++ /dev/null
@@ -1,87 +0,0 @@
-# - Try to find the Kopete library
-# Once done this will define
-#
-# Kopete_FOUND - system has kopete
-# KOPETE_INCLUDE_DIR - the kopete include directory
-# KOPETE_LIBRARIES - Link these to use kopete
-
-# Copyright (c) 2007 Charles Connell <charles@connells.org>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-if(KOPETE_INCLUDE_DIR AND KOPETE_LIBRARIES)
-
- # read from cache
- set(Kopete_FOUND TRUE)
-
-else()
-
- FIND_PATH(KOPETE_INCLUDE_DIR
- NAMES
- kopete/kopete_export.h
- PATHS
- ${KDE4_INCLUDE_DIR}
- ${INCLUDE_INSTALL_DIR}
- )
-
- FIND_LIBRARY(KOPETE_LIBRARIES
- NAMES
- kopete
- PATHS
- ${KDE4_LIB_DIR}
- ${LIB_INSTALL_DIR}
- )
- if(KOPETE_INCLUDE_DIR AND KOPETE_LIBRARIES)
- set(Kopete_FOUND TRUE)
- endif()
-
- if(MSVC)
- FIND_LIBRARY(KOPETE_LIBRARIES_DEBUG
- NAMES
- kopeted
- PATHS
- ${KDE4_LIB_DIR}
- ${LIB_INSTALL_DIR}
- )
- if(NOT KOPETE_LIBRARIES_DEBUG)
- set(Kopete_FOUND FALSE)
- endif()
-
- if(MSVC_IDE)
- if( NOT KOPETE_LIBRARIES_DEBUG OR NOT KOPETE_LIBRARIES)
- message(FATAL_ERROR "\nCould NOT find the debug AND release version of the Kopete library.\nYou need to have both to use MSVC projects.\nPlease build and install both kopete libraries first.\n")
- endif()
- else()
- string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_TOLOWER)
- if(CMAKE_BUILD_TYPE_TOLOWER MATCHES debug)
- set(KOPETE_LIBRARIES ${KOPETE_LIBRARIES_DEBUG})
- else()
- set(KOPETE_LIBRARIES ${KOPETE_LIBRARIES})
- endif()
- endif()
- endif()
-
- if(Kopete_FOUND)
- if(NOT Kopete_FIND_QUIETLY)
- message(STATUS "Found Kopete: ${KOPETE_LIBRARIES}")
- endif()
- else()
- if(Kopete_FIND_REQUIRED)
- if(NOT KOPETE_INCLUDE_DIR)
- message(FATAL_ERROR "Could not find Kopete includes.")
- endif()
- if(NOT KOPETE_LIBRARIES)
- message(FATAL_ERROR "Could not find Kopete library.")
- endif()
- else()
- if(NOT KOPETE_INCLUDE_DIR)
- message(STATUS "Could not find Kopete includes.")
- endif()
- if(NOT KOPETE_LIBRARIES)
- message(STATUS "Could not find Kopete library.")
- endif()
- endif()
- endif()
-
-endif()
diff --git a/attic/modules/FindKorundum.cmake b/attic/modules/FindKorundum.cmake
deleted file mode 100644
index d921f611..00000000
--- a/attic/modules/FindKorundum.cmake
+++ /dev/null
@@ -1,20 +0,0 @@
-# - Find Korundum - the KDE Ruby bindings
-#
-# This module finds if Korundum is installed.
-# It defines the following variables:
-# KORUNDUM_PATH - the path to the korundum ruby file
-# KORUNDUM_FOUND - true if it has been found
-
-# Copyright (c) 2006, Egon Willighagen, <egonw@users.sf.net>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-find_path(KORUNDUM_PATH Korundum.rb /usr/lib/ruby/1.8)
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(Korundum DEFAULT_MSG KORUNDUM_PATH)
-
-# just for compat.:
-set(Korumdum_PATH ${KORUNDUM_PATH})
-set(Korumdum_FOUND ${KORUNDUM_FOUND})
diff --git a/attic/modules/FindLCMS.cmake b/attic/modules/FindLCMS.cmake
deleted file mode 100644
index ba8890f8..00000000
--- a/attic/modules/FindLCMS.cmake
+++ /dev/null
@@ -1,60 +0,0 @@
-# - Find LCMS
-# Find the LCMS (Little Color Management System) library and includes and
-# This module defines
-# LCMS_INCLUDE_DIR, where to find lcms.h
-# LCMS_LIBRARIES, the libraries needed to use LCMS.
-# LCMS_DOT_VERSION, The version number of the LCMS library, e.g. "1.19"
-# LCMS_VERSION, Similar to LCMS_DOT_VERSION, but without the dots, e.g. "119"
-# LCMS_FOUND, If false, do not try to use LCMS.
-#
-# The minimum required version of LCMS can be specified using the
-# standard syntax, e.g. find_package(LCMS 1.10)
-
-# Copyright (c) 2008, Adrian Page, <adrian@pagenet.plus.com>
-# Copyright (c) 2009, Cyrille Berger, <cberger@cberger.net>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-
-# use pkg-config to get the directories and then use these values
-# in the FIND_PATH() and FIND_LIBRARY() calls
-if(NOT WIN32)
- find_package(PkgConfig)
- pkg_check_modules(PC_LCMS lcms)
- set(LCMS_DEFINITIONS ${PC_LCMS_CFLAGS_OTHER})
-endif()
-
-find_path(LCMS_INCLUDE_DIR lcms.h
- HINTS
- ${PC_LCMS_INCLUDEDIR}
- ${PC_LCMS_INCLUDE_DIRS}
- PATH_SUFFIXES lcms liblcms1
-)
-
-find_library(LCMS_LIBRARIES NAMES lcms liblcms lcms-1 liblcms-1
- HINTS
- ${PC_LCMS_LIBDIR}
- ${PC_LCMS_LIBRARY_DIRS}
- PATH_SUFFIXES lcms
-)
-
-# Store the LCMS version number in the cache, so we don't have to search everytime again
-if(LCMS_INCLUDE_DIR AND NOT LCMS_VERSION)
- file(READ ${LCMS_INCLUDE_DIR}/lcms.h LCMS_VERSION_CONTENT)
- string(REGEX MATCH "#define LCMS_VERSION[ ]*[0-9]*\n" LCMS_VERSION_MATCH ${LCMS_VERSION_CONTENT})
- if(LCMS_VERSION_MATCH)
- string(REGEX REPLACE "#define LCMS_VERSION[ ]*([0-9]*)\n" "\\1" _LCMS_VERSION ${LCMS_VERSION_MATCH})
- string(SUBSTRING ${_LCMS_VERSION} 0 1 LCMS_MAJOR_VERSION)
- string(SUBSTRING ${_LCMS_VERSION} 1 2 LCMS_MINOR_VERSION)
- endif()
- set(LCMS_VERSION "${LCMS_MAJOR_VERSION}${LCMS_MINOR_VERSION}" CACHE STRING "Version number of lcms" FORCE)
- set(LCMS_DOT_VERSION "${LCMS_MAJOR_VERSION}.${LCMS_MINOR_VERSION}" CACHE STRING "Version number of lcms split into components" FORCE)
-endif()
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(LCMS REQUIRED_VARS LCMS_LIBRARIES LCMS_INCLUDE_DIR
- VERSION_VAR LCMS_DOT_VERSION )
-
-mark_as_advanced(LCMS_INCLUDE_DIR LCMS_LIBRARIES LCMS_VERSION)
-
diff --git a/attic/modules/FindLibAttica.cmake b/attic/modules/FindLibAttica.cmake
deleted file mode 100644
index bb919da7..00000000
--- a/attic/modules/FindLibAttica.cmake
+++ /dev/null
@@ -1,63 +0,0 @@
-# Try to find the Attica library
-# Once done this will define
-#
-# LIBATTICA_FOUND Indicates that Attica was found
-# LIBATTICA_LIBRARIES Libraries needed to use Attica
-# LIBATTICA_LIBRARY_DIRS Paths needed for linking against Attica
-# LIBATTICA_INCLUDE_DIR Path needed for finding Attica include files
-#
-# The minimum required version of LibAttica can be specified using the
-# standard syntax, e.g. find_package(LibAttica 0.20)
-
-# Copyright (c) 2009 Frederik Gladhorn <gladhorn@kde.org>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-
-# Support LIBATTICA_MIN_VERSION for compatibility:
-IF(NOT LibAttica_FIND_VERSION)
- SET(LibAttica_FIND_VERSION "${LIBATTICA_MIN_VERSION}")
-ENDIF(NOT LibAttica_FIND_VERSION)
-
-# the minimum version of LibAttica we require
-IF(NOT LibAttica_FIND_VERSION)
- SET(LibAttica_FIND_VERSION "0.1.0")
-ENDIF(NOT LibAttica_FIND_VERSION)
-
-
-IF (NOT WIN32)
- # use pkg-config to get the directories and then use these values
- # in the FIND_PATH() and FIND_LIBRARY() calls
- FIND_PACKAGE(PkgConfig)
- PKG_CHECK_MODULES(PC_LIBATTICA QUIET libattica)
- SET(LIBATTICA_DEFINITIONS ${PC_ATTICA_CFLAGS_OTHER})
-ENDIF (NOT WIN32)
-
-FIND_PATH(LIBATTICA_INCLUDE_DIR attica/provider.h
- HINTS
- ${PC_LIBATTICA_INCLUDEDIR}
- ${PC_LIBATTICA_INCLUDE_DIRS}
- PATH_SUFFIXES attica
- )
-
-# Store the version number in the cache, so we don't have to search everytime:
-IF(LIBATTICA_INCLUDE_DIR AND NOT LIBATTICA_VERSION)
- FILE(READ ${LIBATTICA_INCLUDE_DIR}/attica/version.h LIBATTICA_VERSION_CONTENT)
- STRING (REGEX MATCH "LIBATTICA_VERSION_STRING \".*\"\n" LIBATTICA_VERSION_MATCH "${LIBATTICA_VERSION_CONTENT}")
- IF(LIBATTICA_VERSION_MATCH)
- STRING(REGEX REPLACE "LIBATTICA_VERSION_STRING \"(.*)\"\n" "\\1" _LIBATTICA_VERSION ${LIBATTICA_VERSION_MATCH})
- ENDIF(LIBATTICA_VERSION_MATCH)
- SET(LIBATTICA_VERSION "${_LIBATTICA_VERSION}" CACHE STRING "Version number of LibAttica" FORCE)
-ENDIF(LIBATTICA_INCLUDE_DIR AND NOT LIBATTICA_VERSION)
-
-
-FIND_LIBRARY(LIBATTICA_LIBRARIES NAMES attica libattica
- HINTS
- ${PC_LIBATTICA_LIBDIR}
- ${PC_LIBATTICA_LIBRARY_DIRS}
- )
-
-INCLUDE(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibAttica REQUIRED_VARS LIBATTICA_LIBRARIES LIBATTICA_INCLUDE_DIR
- VERSION_VAR LIBATTICA_VERSION)
-
-MARK_AS_ADVANCED(LIBATTICA_INCLUDE_DIR LIBATTICA_LIBRARIES)
diff --git a/attic/modules/FindLibKonq.cmake b/attic/modules/FindLibKonq.cmake
deleted file mode 100644
index eaf4c08f..00000000
--- a/attic/modules/FindLibKonq.cmake
+++ /dev/null
@@ -1,22 +0,0 @@
-# - Try to find konqueror library
-# Once done this will define
-#
-# LIBKONQ_FOUND - system has libkonq library
-# LIBKONQ_INCLUDE_DIR - the LIBKONQ include directory
-# LIBKONQ_LIBRARY - the libkonq library
-
-# Original file: FindMarbleWidget.cmake (found in digikam-0.10.0-beta2)
-# copyright 2008 by Patrick Spendrin <ps_ml@gmx.de>
-# Copyright (c) 2009, Alexander Neundorf, <neundorf@kde.org>
-# use this file as you like
-#
-# Modifications to find libkonq by Joachim Eibl 2008
-
-find_path(LIBKONQ_INCLUDE_DIR konq_popupmenuplugin.h )
-
-find_library(LIBKONQ_LIBRARY konq)
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(LIBKONQ DEFAULT_MSG LIBKONQ_INCLUDE_DIR LIBKONQ_LIBRARY )
-
-mark_as_advanced(LIBKONQ_INCLUDE_DIR LIBKONQ_LIBRARY)
diff --git a/attic/modules/FindMusicBrainz.cmake b/attic/modules/FindMusicBrainz.cmake
deleted file mode 100644
index 92d14f09..00000000
--- a/attic/modules/FindMusicBrainz.cmake
+++ /dev/null
@@ -1,32 +0,0 @@
-# Module to find the musicbrainz library
-#
-# It defines
-# MUSICBRAINZ_INCLUDE_DIR - the include dir
-# MUSICBRAINZ_LIBRARIES - the required libraries
-# MUSICBRAINZ_FOUND - true if both of the above have been found
-
-# Copyright (c) 2006,2007 Laurent Montel, <montel@kde.org>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-if(MUSICBRAINZ_INCLUDE_DIR AND MUSICBRAINZ_LIBRARIES)
- set(MUSICBRAINZ_FIND_QUIETLY TRUE)
-endif()
-
-FIND_PATH(MUSICBRAINZ_INCLUDE_DIR musicbrainz/musicbrainz.h)
-
-FIND_LIBRARY( MUSICBRAINZ_LIBRARIES NAMES musicbrainz)
-
-# We need version 2, version 3 is source-incompatible
-FIND_PATH(MUSICBRAINZ3_INCLUDE_DIR musicbrainz3/musicbrainz.h)
-if(MUSICBRAINZ3_INCLUDE_DIR AND NOT MUSICBRAINZ_INCLUDE_DIR)
- message(STATUS "\nIncompatible version 3.x of the musicbrainz includes detected. Version 2.x is needed.\n")
-endif()
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args( MusicBrainz DEFAULT_MSG
- MUSICBRAINZ_INCLUDE_DIR MUSICBRAINZ_LIBRARIES)
-
-MARK_AS_ADVANCED(MUSICBRAINZ_INCLUDE_DIR MUSICBRAINZ_LIBRARIES)
-
diff --git a/attic/modules/FindNepomuk.cmake b/attic/modules/FindNepomuk.cmake
deleted file mode 100644
index 3b097341..00000000
--- a/attic/modules/FindNepomuk.cmake
+++ /dev/null
@@ -1,95 +0,0 @@
-# Once done this will define
-#
-# NEPOMUK_FOUND - system has Nepomuk
-# NEPOMUK_INCLUDE_DIR - the Nepomuk include directory
-# NEPOMUK_LIBRARIES - Link these to use Nepomuk
-# NEPOMUK_QUERY_LIBRARIES - Link these to use Nepomuk query
-# NEPOMUK_UTILS_LIBRARIES - Link these to use Nepomuk utils
-# NEPOMUK_DEFINITIONS - Compiler switches required for using Nepomuk
-#
-# Nepomuk requires Soprano, so this module checks for Soprano too.
-#
-
-
-# Copyright (c) 2008-2009, Sebastian Trueg, <sebastian@trueg.de>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-
-if (NOT DEFINED Soprano_FOUND)
- find_package(Soprano ${SOPRANO_MIN_VERSION})
- include(MacroLogFeature)
- macro_log_feature(Soprano_FOUND "Soprano" "Support for the Nepomuk semantic desktop system" "http://soprano.sourceforge.net" FALSE "" "")
-endif (NOT DEFINED Soprano_FOUND)
-
-if (NOT DEFINED SHAREDDESKTOPONTOLOGIES_FOUND)
- find_package(SharedDesktopOntologies)
- include(MacroLogFeature)
- macro_log_feature(SHAREDDESKTOPONTOLOGIES_FOUND "Shared desktop ontologies" "Support for the Nepomuk semantic desktop system" "http://oscaf.sourceforge.net" FALSE "" "")
-endif (NOT DEFINED SHAREDDESKTOPONTOLOGIES_FOUND)
-
-# Check for the following stuff independent from whether soprano has been found
-# or not. This will give a better error message at the end.
-find_path(NEPOMUK_INCLUDE_DIR
- NAMES
- nepomuk/resource.h
- HINTS
- ${KDE4_INCLUDE_DIR}
- ${INCLUDE_INSTALL_DIR}
- )
-
-find_library(NEPOMUK_LIBRARIES
- NAMES
- nepomuk
- HINTS
- ${KDE4_LIB_DIR}
- ${LIB_INSTALL_DIR}
- )
-
-find_library(NEPOMUK_QUERY_LIBRARIES
- NAMES
- nepomukquery
- HINTS
- ${KDE4_LIB_DIR}
- ${LIB_INSTALL_DIR}
- )
-
-find_library(NEPOMUK_UTILS_LIBRARIES
- NAMES
- nepomukutils
- HINTS
- ${KDE4_LIB_DIR}
- ${LIB_INSTALL_DIR}
-)
-
-find_file(NEPOMUK_ADDONTOLOGYCLASSES_FILE NepomukAddOntologyClasses.cmake
- HINTS ${KDE4_DATA_INSTALL_DIR}/cmake/modules/
- PATH_SUFFIXES share/apps/cmake/modules/
- )
-
-include("${NEPOMUK_ADDONTOLOGYCLASSES_FILE}" OPTIONAL)
-
-mark_as_advanced(NEPOMUK_INCLUDE_DIR NEPOMUK_LIBRARIES NEPOMUK_QUERY_LIBRARIES NEPOMUK_UTILS_LIBRARIES NEPOMUK_ADDONTOLOGIES_FILE)
-
-include(FindPackageHandleStandardArgs)
-# List all nepomuk and also all necessary soprano variables here, to make it
-# easier for the user to see what was missing:
-if(NOT WINCE)
-find_package_handle_standard_args(Nepomuk DEFAULT_MSG
- NEPOMUK_LIBRARIES NEPOMUK_INCLUDE_DIR NEPOMUK_ADDONTOLOGYCLASSES_FILE
- Soprano_FOUND SOPRANO_PLUGIN_RAPTORPARSER_FOUND SOPRANO_PLUGIN_REDLANDBACKEND_FOUND
- SHAREDDESKTOPONTOLOGIES_FOUND
- )
-else()
-#FIXME: There are no backends at this time
-find_package_handle_standard_args(Nepomuk DEFAULT_MSG
- NEPOMUK_LIBRARIES NEPOMUK_INCLUDE_DIR NEPOMUK_ADDONTOLOGYCLASSES_FILE
- Soprano_FOUND
- SHAREDDESKTOPONTOLOGIES_FOUND
- )
-endif()
-
-#to retain backward compatibility
-set (Nepomuk_FOUND ${NEPOMUK_FOUND})
-
diff --git a/attic/modules/FindOpenEXR.cmake b/attic/modules/FindOpenEXR.cmake
deleted file mode 100644
index 405b892d..00000000
--- a/attic/modules/FindOpenEXR.cmake
+++ /dev/null
@@ -1,104 +0,0 @@
-# Try to find the OpenEXR libraries
-# This check defines:
-#
-# OPENEXR_FOUND - system has OpenEXR
-# OPENEXR_INCLUDE_DIR - OpenEXR include directory
-# OPENEXR_LIBRARIES - Libraries needed to use OpenEXR
-# OPENEXR_DEFINITIONS - definitions required to use OpenEXR
-
-# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-
-if (OPENEXR_INCLUDE_DIR AND OPENEXR_LIBRARIES)
- # in cache already
- set(OPENEXR_FOUND TRUE)
-
-else (OPENEXR_INCLUDE_DIR AND OPENEXR_LIBRARIES)
-
- # use pkg-config to get the directories and then use these values
- # in the FIND_PATH() and FIND_LIBRARY() calls
- find_package(PkgConfig)
- pkg_check_modules(PC_OPENEXR QUIET OpenEXR)
-
- FIND_PATH(OPENEXR_INCLUDE_DIR ImfRgbaFile.h
- HINTS
- ${PC_OPENEXR_INCLUDEDIR}
- ${PC_OPENEXR_INCLUDE_DIRS}
- PATH_SUFFIXES OpenEXR
- )
-
- FIND_LIBRARY(OPENEXR_HALF_LIBRARY NAMES Half
- HINTS
- ${PC_OPENEXR_LIBDIR}
- ${PC_OPENEXR_LIBRARY_DIRS}
- )
-
-
- FIND_LIBRARY(OPENEXR_IEX_LIBRARY NAMES Iex
- PATHS
- ${PC_OPENEXR_LIBDIR}
- ${PC_OPENEXR_LIBRARY_DIRS}
- )
-
- FIND_LIBRARY(OPENEXR_IMATH_LIBRARY NAMES Imath
- HINTS
- ${PC_OPENEXR_LIBDIR}
- ${PC_OPENEXR_LIBRARY_DIRS}
- NO_DEFAULT_PATH
- )
-
- FIND_LIBRARY(OPENEXR_ILMIMF_LIBRARY NAMES IlmImf
- HINTS
- ${PC_OPENEXR_LIBDIR}
- ${PC_OPENEXR_LIBRARY_DIRS}
- )
-
- FIND_LIBRARY(OPENEXR_ILMTHREAD_LIBRARY NAMES IlmThread
- HINTS
- ${PC_OPENEXR_LIBDIR}
- ${PC_OPENEXR_LIBRARY_DIRS}
- )
-
- if (OPENEXR_INCLUDE_DIR AND OPENEXR_IMATH_LIBRARY AND OPENEXR_ILMIMF_LIBRARY AND OPENEXR_IEX_LIBRARY AND OPENEXR_HALF_LIBRARY)
- set(OPENEXR_FOUND TRUE)
- if (OPENEXR_ILMTHREAD_LIBRARY)
- set(OPENEXR_LIBRARIES ${OPENEXR_IMATH_LIBRARY} ${OPENEXR_ILMIMF_LIBRARY} ${OPENEXR_IEX_LIBRARY} ${OPENEXR_HALF_LIBRARY} ${OPENEXR_ILMTHREAD_LIBRARY} )
- else (OPENEXR_ILMTHREAD_LIBRARY)
- set(OPENEXR_LIBRARIES ${OPENEXR_IMATH_LIBRARY} ${OPENEXR_ILMIMF_LIBRARY} ${OPENEXR_IEX_LIBRARY} ${OPENEXR_HALF_LIBRARY} )
- endif (OPENEXR_ILMTHREAD_LIBRARY)
-
- if (WIN32)
- set(_OPENEXR_DEFINITIONS -DOPENEXR_DLL)
- else (WIN32)
- set(_OPENEXR_DEFINITIONS)
- endif (WIN32)
-
- set(OPENEXR_DEFINITIONS ${_OPENEXR_DEFINITIONS})
-
- endif (OPENEXR_INCLUDE_DIR AND OPENEXR_IMATH_LIBRARY AND OPENEXR_ILMIMF_LIBRARY AND OPENEXR_IEX_LIBRARY AND OPENEXR_HALF_LIBRARY)
-
-
- if (OPENEXR_FOUND)
- if (NOT OpenEXR_FIND_QUIETLY)
- message(STATUS "Found OPENEXR: ${OPENEXR_LIBRARIES}")
- endif (NOT OpenEXR_FIND_QUIETLY)
- else (OPENEXR_FOUND)
- if (OpenEXR_FIND_REQUIRED)
- message(FATAL_ERROR "Could NOT find OPENEXR")
- endif (OpenEXR_FIND_REQUIRED)
- endif (OPENEXR_FOUND)
-
- mark_as_advanced(
- OPENEXR_INCLUDE_DIR
- OPENEXR_LIBRARIES
- OPENEXR_ILMIMF_LIBRARY
- OPENEXR_ILMTHREAD_LIBRARY
- OPENEXR_IMATH_LIBRARY
- OPENEXR_IEX_LIBRARY
- OPENEXR_HALF_LIBRARY
- OPENEXR_DEFINITIONS )
-
-endif (OPENEXR_INCLUDE_DIR AND OPENEXR_LIBRARIES)
diff --git a/attic/modules/FindPolkitQt.cmake b/attic/modules/FindPolkitQt.cmake
deleted file mode 100644
index 21285f79..00000000
--- a/attic/modules/FindPolkitQt.cmake
+++ /dev/null
@@ -1,94 +0,0 @@
-# - Try to find Polkit-qt
-# Once done this will define
-#
-# POLKITQT_FOUND - system has Polkit-qt
-# POLKITQT_INCLUDE_DIR - the Polkit-qt include directory
-# POLKITQT_LIBRARIES - Link these to use all Polkit-qt libs
-# POLKITQT_CORE_LIBRARY - Link this to use the polkit-qt-core library only
-# POLKITQT_GUI_LIBRARY - Link this to use GUI elements in polkit-qt (polkit-qt-gui)
-# POLKITQT_DEFINITIONS - Compiler switches required for using Polkit-qt
-# POLKITQT_POLICY_FILES_INSTALL_DIR - The directory where policy files should be installed to.
-#
-# The minimum required version of PolkitQt can be specified using the
-# standard syntax, e.g. find_package(PolkitQt 1.0)
-# For compatiblity, this can also be done by setting the POLKITQT_MIN_VERSION variable.
-
-# Copyright (c) 2009, Daniel Nicoletti, <dantti85-pk@yahoo.com.br>
-# Copyright (c) 2009, Dario Freddi, <drf54321@gmail.com>
-# Copyright (c) 2009, Michal Malek, <michalm@jabster.pl>
-# Copyright (c) 2009, Alexander Neundorf, <neundorf@kde.org>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-
-# Support POLKITQT_MIN_VERSION for compatibility:
-if(NOT PolkitQt_FIND_VERSION)
- set(PolkitQt_FIND_VERSION "${POLKITQT_MIN_VERSION}")
-endif()
-
-# the minimum version of PolkitQt we require
-if(NOT PolkitQt_FIND_VERSION)
- set(PolkitQt_FIND_VERSION "0.9.3")
-endif()
-
-if (NOT WIN32)
- # use pkg-config to get the directories and then use these values
- # in the FIND_PATH() and FIND_LIBRARY() calls
- find_package(PkgConfig)
- pkg_check_modules(PC_POLKITQT QUIET polkit-qt)
- set(POLKITQT_DEFINITIONS ${PC_POLKITQT_CFLAGS_OTHER})
-endif (NOT WIN32)
-
-find_path( POLKITQT_INCLUDE_DIR
- NAMES polkit-qt/auth.h
- PATH_SUFFIXES PolicyKit
-)
-
-find_file( POLKITQT_VERSION_FILE
- polkit-qt/polkitqtversion.h
- HINTS ${POLKITQT_INCLUDE_DIR}
-)
-
-if(POLKITQT_VERSION_FILE AND NOT POLKITQT_VERSION)
- file(READ ${POLKITQT_VERSION_FILE} POLKITQT_VERSION_CONTENT)
- string (REGEX MATCH "POLKITQT_VERSION_STRING \".*\"\n" POLKITQT_VERSION_MATCH "${POLKITQT_VERSION_CONTENT}")
-
- if(POLKITQT_VERSION_MATCH)
- string(REGEX REPLACE "POLKITQT_VERSION_STRING \"(.*)\"\n" "\\1" _POLKITQT_VERSION ${POLKITQT_VERSION_MATCH})
- endif()
- set(POLKITQT_VERSION "${_POLKITQT_VERSION}" CACHE STRING "Version number of PolkitQt" FORCE)
-endif()
-
-find_library( POLKITQT_CORE_LIBRARY
- NAMES polkit-qt-core
- HINTS ${PC_POLKITQT_LIBDIR}
-)
-find_library( POLKITQT_GUI_LIBRARY
- NAMES polkit-qt-gui
- HINTS ${PC_POLKITQT_LIBDIR}
-)
-set(POLKITQT_LIBRARIES ${POLKITQT_GUI_LIBRARY} ${POLKITQT_CORE_LIBRARY})
-
-include(FindPackageHandleStandardArgs)
-# Use the extended (new) syntax for FPHSA():
-find_package_handle_standard_args(PolkitQt REQUIRED_VARS POLKITQT_GUI_LIBRARY POLKITQT_CORE_LIBRARY POLKITQT_INCLUDE_DIR
- VERSION_VAR POLKITQT_VERSION)
-
-mark_as_advanced(POLKITQT_INCLUDE_DIR
- POLKITQT_CORE_LIBRARY
- POLKITQT_GUI_LIBRARY
- POLKITQT_VERSION_FILE
- )
-
-set(POLKITQT_POLICY_FILES_INSTALL_DIR share/PolicyKit/policy/)
-
-if(POLKITQT_FOUND)
- get_filename_component(_POLKITQT_INSTALL_PREFIX "${POLKITQT_CORE_LIBRARY}" PATH)
- get_filename_component(_POLKITQT_INSTALL_PREFIX "${_POLKITQT_INSTALL_PREFIX}" PATH)
- if ( NOT _POLKITQT_INSTALL_PREFIX STREQUAL CMAKE_INSTALL_PREFIX )
- message("WARNING: Installation prefix does not match PolicyKit install prefixes. You probably will need to move files installed "
- "in ${CMAKE_INSTALL_PREFIX}/${POLKITQT_POLICY_FILES_INSTALL_DIR} and by dbus_add_activation_system_service to the ${_POLKITQT_INSTALL_PREFIX}/${POLKITQT_POLICY_FILES_INSTALL_DIR} prefix")
- endif (NOT _POLKITQT_INSTALL_PREFIX STREQUAL CMAKE_INSTALL_PREFIX)
-endif()
-
diff --git a/attic/modules/FindPopplerQt4.cmake b/attic/modules/FindPopplerQt4.cmake
deleted file mode 100644
index f2a59b8c..00000000
--- a/attic/modules/FindPopplerQt4.cmake
+++ /dev/null
@@ -1,53 +0,0 @@
-# - Try to find the Qt4 binding of the Poppler library
-# Once done this will define
-#
-# POPPLER_QT4_FOUND - system has poppler-qt4
-# POPPLER_QT4_INCLUDE_DIR - the poppler-qt4 include directory
-# POPPLER_QT4_LIBRARIES - Link these to use poppler-qt4
-# POPPLER_QT4_DEFINITIONS - Compiler switches required for using poppler-qt4
-#
-
-# use pkg-config to get the directories and then use these values
-# in the FIND_PATH() and FIND_LIBRARY() calls
-
-# Copyright (c) 2006, Wilfried Huss, <wilfried.huss@gmx.at>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-
-find_package(PkgConfig)
-pkg_check_modules(PC_POPPLERQT4 QUIET poppler-qt4)
-
-set(POPPLER_QT4_DEFINITIONS ${PC_POPPLERQT4_CFLAGS_OTHER})
-
-find_path(POPPLER_QT4_INCLUDE_DIR
- NAMES poppler-qt4.h
- HINTS ${PC_POPPLERQT4_INCLUDEDIR}
- PATH_SUFFIXES poppler/qt4 poppler
-)
-
-find_library(POPPLER_QT4_LIBRARY
- NAMES poppler-qt4
- HINTS ${PC_POPPLERQT4_LIBDIR}
-)
-
-set(POPPLER_QT4_LIBRARIES ${POPPLER_QT4_LIBRARY})
-
-if (POPPLER_QT4_INCLUDE_DIR AND POPPLER_QT4_LIBRARIES)
- set(POPPLER_QT4_FOUND TRUE)
-else (POPPLER_QT4_INCLUDE_DIR AND POPPLER_QT4_LIBRARIES)
- set(POPPLER_QT4_FOUND FALSE)
-endif (POPPLER_QT4_INCLUDE_DIR AND POPPLER_QT4_LIBRARIES)
-
-if (POPPLER_QT4_FOUND)
- if (NOT PopplerQt4_FIND_QUIETLY)
- message(STATUS "Found poppler-qt4: library: ${POPPLER_QT4_LIBRARIES}, include path: ${POPPLER_QT4_INCLUDE_DIR}")
- endif (NOT PopplerQt4_FIND_QUIETLY)
-else (POPPLER_QT4_FOUND)
- if (PopplerQt4_FIND_REQUIRED)
- message(FATAL_ERROR "Could NOT find poppler-qt4")
- endif (PopplerQt4_FIND_REQUIRED)
-endif (POPPLER_QT4_FOUND)
-
-mark_as_advanced(POPPLER_QT4_INCLUDE_DIR POPPLER_QT4_LIBRARIES)
diff --git a/attic/modules/FindSharedDesktopOntologies.cmake b/attic/modules/FindSharedDesktopOntologies.cmake
deleted file mode 100644
index b60f8e97..00000000
--- a/attic/modules/FindSharedDesktopOntologies.cmake
+++ /dev/null
@@ -1,42 +0,0 @@
-# - Try to find shared-desktop-ontologies
-# The shared-desktop-ontologies package is a direct dependancy of the Nepomuk
-# semantic desktop system and provides all necessary ontology files like
-# RDF, RDFS, NRL, or NIE.
-#
-# The package is created by the OSCAF project (http://oscaf.sourceforge.net).
-#
-# Once done this will define
-#
-# SHAREDDESKTOPONTOLOGIES_FOUND - system has shared-desktop-ontologies
-# SHAREDDESKTOPONTOLOGIES_ROOT_DIR - Folder where the ontologies are stored
-# SHAREDDESKTOPONTOLOGIES_VERSION_MAJOR - The major version number, i.e. '1' in '1.2'
-# SHAREDDESKTOPONTOLOGIES_VERSION_MINOR - The minor version number, i.e. '2' in '1.2'
-# SHAREDDESKTOPONTOLOGIES_VERSION - The complete version string, i.e. '1.2'
-#
-
-# Copyright (c) 2009, Sebastian Trueg, <trueg@kde.org>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-
-# First try the SharedDesktopOntologiesConfig.cmake from shared-desktop-ontologies 0.2 and newer
-
-# This is to make it work with cmake 2.6.2, since SDO 0.2 installs its config file into
-# the 2.6.3 compatible location only ( share/cmake/SDO/ instead share/SDO/[cmake/] )
-if( "${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_LESS "2.6.3")
- find_path(_SDO_CONFIG_DIR SharedDesktopOntologiesConfig.cmake PATH_SUFFIXES share/cmake/SharedDesktopOntologies/ )
-endif()
-
-if(NOT SharedDesktopOntologies_FIND_VERSION)
- set(SharedDesktopOntologies_FIND_VERSION "${SDO_MIN_VERSION}")
-endif()
-
-find_package(SharedDesktopOntologies ${SharedDesktopOntologies_FIND_VERSION} QUIET NO_MODULE HINTS "${_SDO_CONFIG_DIR}" )
-
-if (SHAREDDESKTOPONTOLOGIES_ROOT_DIR)
- mark_as_advanced(SHAREDDESKTOPONTOLOGIES_ROOT_DIR)
-endif (SHAREDDESKTOPONTOLOGIES_ROOT_DIR)
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(SharedDesktopOntologies REQUIRED_VARS SHAREDDESKTOPONTOLOGIES_ROOT_DIR VERSION_VAR SharedDesktopOntologies_VERSION)
diff --git a/attic/modules/NepomukAddOntologyClasses.cmake b/attic/modules/NepomukAddOntologyClasses.cmake
deleted file mode 100644
index ad336a24..00000000
--- a/attic/modules/NepomukAddOntologyClasses.cmake
+++ /dev/null
@@ -1,115 +0,0 @@
-#
-# Use the Nepomuk resource class generator to generate convinient Resource subclasses
-# from ontologies.
-#
-# Usage:
-# NEPOMUK_ADD_ONTOLOGY_CLASSES(<sources-var>
-# [FAST]
-# [ONTOLOGIES] <onto-file1> [<onto-file2> ...]
-# [CLASSES <class1> [<class2> ...]]
-# [VISIBILITY <visibility-name>]
-# )
-#
-# If FAST is specified the rcgen parameter --fast will be used which results in resource classes
-# not based on Nepomuk::Resource but on a custom class which does not perform any checks and simply
-# writes the data to Nepomuk (hence the name fast).
-#
-# The optional CLASSES parameter allows to specify the classes to be generated (RDF URIs) in
-# case one does not want all classes in the ontologies to be generated.
-#
-# The optional VISIBILITY parameter can only be used in non-fast mode and allows to set the gcc visibility
-# to make the generated classes usable in a publically exported API. The <visibility-name> is used to create
-# the name of the export macro and the export include file. Thus, when using "VISIBILITY foobar" include
-# file "foobar_export.h" needs to define FOOBAR_EXPORT.
-#
-# Copyright (c) 2009 Sebastian Trueg <trueg@kde.org>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-#
-macro(NEPOMUK_ADD_ONTOLOGY_CLASSES _sources)
- # extract arguments
- set(_current_arg_type "onto")
- foreach(_arg ${ARGN})
- if(${_arg} STREQUAL "ONTOLOGIES")
- set(_current_arg_type "onto")
- elseif(${_arg} STREQUAL "VISIBILITY")
- set(_current_arg_type "visib")
- elseif(${_arg} STREQUAL "CLASSES")
- set(_current_arg_type "class")
- elseif(${_arg} STREQUAL "FAST")
- set(_fastmode "--fast")
- else()
- if(${_current_arg_type} STREQUAL "onto")
- list(APPEND _ontologies ${_arg})
- get_filename_component(_filename ${_arg} NAME)
- list(APPEND _ontofilenames ${_filename})
- elseif(${_current_arg_type} STREQUAL "class")
- list(APPEND _classes "--class" "${_arg}")
- else()
- set(_visibility "--visibility" "${_arg}")
- endif()
- endif()
- endforeach(_arg)
-
- # find our helper program (first in the install dir, then everywhere)
- if(NOT WINCE)
- find_program(RCGEN nepomuk-rcgen PATHS ${KDE4_BIN_INSTALL_DIR} ${BIN_INSTALL_DIR} NO_DEFAULT_PATH)
- find_program(RCGEN nepomuk-rcgen)
- else()
- find_program(RCGEN nepomuk-rcgen PATHS ${HOST_BINDIR} NO_DEFAULT_PATH)
- endif()
-
- if(NOT RCGEN)
- message(SEND_ERROR "Failed to find the Nepomuk source generator" )
- else()
- file(TO_NATIVE_PATH ${RCGEN} RCGEN)
-
- # we generate the files in the current binary dir
- set(_targetdir ${CMAKE_CURRENT_BINARY_DIR})
-
- # generate the list of source and header files
- execute_process(
- COMMAND ${RCGEN} ${_fastmode} --listheaders --prefix ${_targetdir}/ ${_classes} ${_visibility} ${_ontologies}
- OUTPUT_VARIABLE _out_headers
- RESULT_VARIABLE rcgen_result
- )
- if(NOT ${rcgen_result} EQUAL 0)
- message(SEND_ERROR "Running ${RCGEN} to generate list of headers failed with error code ${rcgen_result}")
- endif()
-
- execute_process(
- COMMAND ${RCGEN} ${_fastmode} --listsources --prefix ${_targetdir}/ ${_classes} ${_visibility} ${_ontologies}
- OUTPUT_VARIABLE _out_sources
- RESULT_VARIABLE rcgen_result
- )
- if(NOT ${rcgen_result} EQUAL 0)
- message(SEND_ERROR "Running ${RCGEN} to generate list of sources failed with error code ${rcgen_result}")
- endif()
-
- add_custom_command(OUTPUT ${_out_headers} ${_out_sources}
- COMMAND ${RCGEN} ${_fastmode} --writeall --target ${_targetdir}/ ${_classes} ${_visibility} ${_ontologies}
- DEPENDS ${_ontologies}
- COMMENT "Generating ontology source files from ${_ontofilenames}"
- )
-
- # make sure the includes are found
- include_directories(${_targetdir})
-
- # finally append the source files to the source list
- list(APPEND ${_sources} ${_out_sources})
- endif()
-
- # reset variable names used
- unset(_current_arg_type)
- unset(_arg)
- unset(_ontologies)
- unset(_ontofilenames)
- unset(_classes)
- unset(_visibility)
- unset(_fastmode)
- unset(_targetdir)
- unset(_out_headers)
- unset(_out_sources)
- unset(rcgen_result)
-endmacro(NEPOMUK_ADD_ONTOLOGY_CLASSES)
diff --git a/attic/modules/NepomukMacros.cmake b/attic/modules/NepomukMacros.cmake
deleted file mode 100644
index ef68fc59..00000000
--- a/attic/modules/NepomukMacros.cmake
+++ /dev/null
@@ -1,67 +0,0 @@
-# This file contains the following macros:
-#
-# NEPOMUK_GENERATE_FROM_ONTOLOGY
-# Parameters:
-# ontofile - Path to the NRL ontology defining the resources to be generated.
-# targetdir - Folder to which the generated sources should be written.
-# out_headers - Variable which will be filled with the names of all generated headers.
-# out_sources - Variable which will be filled with the names of all generated sources.
-# out_includes - Variable which will be filled with complete include statements of all
-# generated resource classes.
-#
-# In addition to the parameters an arbitrary number of template filenames can be set as arguments
-#
-# In case of success NEPOMUK_RESOURCES_GENERATED is true, otherwise false
-
-# (C) 2007 Sebastian Trueg <trueg@kde.org>
-
-
-macro(NEPOMUK_GENERATE_FROM_ONTOLOGY ontofile targetdir out_headers out_sources out_includes)
-
- # init
- set(NEPOMUK_RESOURCES_GENERATED false)
-
- find_program(RCGEN nepomuk-rcgen PATHS ${KDE4_BIN_INSTALL_DIR} ${BIN_INSTALL_DIR} NO_DEFAULT_PATH)
-
- if(NOT RCGEN)
-
- message(STATUS "Failed to find the Nepomuk source generator" )
-
- else()
-
- FILE(TO_NATIVE_PATH ${RCGEN} RCGEN)
-
- execute_process(
- COMMAND ${RCGEN} --listheaders --prefix ${targetdir}/ --ontologies ${ontofile}
- OUTPUT_VARIABLE ${out_headers}
- RESULT_VARIABLE rcgen_result
- )
-
- # If the first call succeeds it is very very likely that the rest will, too
- if(${rcgen_result} EQUAL 0)
-
- execute_process(
- COMMAND ${RCGEN} --listsources --prefix ${targetdir}/ --ontologies ${ontofile}
- OUTPUT_VARIABLE ${out_sources}
- )
-
- execute_process(
- COMMAND ${RCGEN} --listincludes --ontologies ${ontofile}
- OUTPUT_VARIABLE ${out_includes}
- )
-
- execute_process(
- COMMAND ${RCGEN} --writeall --templates ${ARGN} --target ${targetdir}/ --ontologies ${ontofile}
- )
-
- set(NEPOMUK_RESOURCES_GENERATED true)
-
- else()
-
- message(STATUS "Failed to generate Nepomuk resource classes.")
-
- endif()
-
- endif()
-
-endmacro(NEPOMUK_GENERATE_FROM_ONTOLOGY)
diff --git a/attic/modules/config-alsa.h.cmake b/attic/modules/config-alsa.h.cmake
deleted file mode 100644
index fb9cb8ca..00000000
--- a/attic/modules/config-alsa.h.cmake
+++ /dev/null
@@ -1,34 +0,0 @@
-/* Define to 1 if you have the <linux/awe_voice.h> header file. */
-#cmakedefine HAVE_LINUX_AWE_VOICE_H 1
-
-/* Define to 1 if you have the <sys/awe_voice.h> header file. */
-#cmakedefine HAVE_SYS_AWE_VOICE_H 1
-
-/* Define to 1 if you have the </usr/src/sys/gnu/i386/isa/sound/awe_voice.h>
- header file. */
-#cmakedefine HAVE__USR_SRC_SYS_GNU_I386_ISA_SOUND_AWE_VOICE_H 1
-
-/* Define to 1 if you have the </usr/src/sys/i386/isa/sound/awe_voice.h>
- header file. */
-#cmakedefine HAVE__USR_SRC_SYS_I386_ISA_SOUND_AWE_VOICE_H 1
-
-/* Define to 1 if you have the <awe_voice.h> header file. */
-#cmakedefine HAVE_AWE_VOICE_H 1
-
-/* Define if you have libasound.so.2 (required for ALSA 0.9.x support) */
-#cmakedefine HAVE_LIBASOUND2 1
-
-/* Define if libasound has snd_pcm_resume() */
-#cmakedefine HAVE_SND_PCM_RESUME 1
-
-/* Define to 1 if you have the <alsa/asoundlib.h> header file. */
-#cmakedefine HAVE_ALSA_ASOUNDLIB_H 1
-
-/* Define to 1 if you have the <sys/asoundlib.h> header file. */
-#cmakedefine HAVE_SYS_ASOUNDLIB_H 1
-
-/* Define to 1 if you have the <sys/soundcard.h> header file. */
-#cmakedefine HAVE_SYS_SOUNDCARD_H 1
-
-/* Define to 1 if you have the <machine/soundcard.h> header file. */
-#cmakedefine HAVE_MACHINE_SOUNDCARD_H 1