aboutsummaryrefslogtreecommitdiff
path: root/attic/modules/FindNepomuk.cmake
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 /attic/modules/FindNepomuk.cmake
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
Diffstat (limited to 'attic/modules/FindNepomuk.cmake')
-rw-r--r--attic/modules/FindNepomuk.cmake95
1 files changed, 0 insertions, 95 deletions
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})
-