diff options
author | Pino Toscano <pino@kde.org> | 2017-05-20 08:08:20 +0200 |
---|---|---|
committer | Pino Toscano <pino@kde.org> | 2017-05-20 08:08:20 +0200 |
commit | 97ba63aafa510e64c78a529cb5e88eebd2e97967 (patch) | |
tree | aa845b80f997f86db2fef8878b8d55576dff189a /attic/modules/NepomukMacros.cmake | |
parent | b58820c4af6407ca6a67d342d7bc43ab09778e7d (diff) | |
download | extra-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/NepomukMacros.cmake')
-rw-r--r-- | attic/modules/NepomukMacros.cmake | 67 |
1 files changed, 0 insertions, 67 deletions
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) |