From 97ba63aafa510e64c78a529cb5e88eebd2e97967 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Sat, 20 May 2017 08:08:20 +0200 Subject: 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 --- attic/modules/FindAlsa.cmake | 69 -------------------------------------------- 1 file changed, 69 deletions(-) delete mode 100644 attic/modules/FindAlsa.cmake (limited to 'attic/modules/FindAlsa.cmake') 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, -# Copyright (c) 2007, Matthias Kretz -# -# 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) -- cgit v1.2.1