diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-06-26 17:28:18 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-06-26 17:28:18 +0900 |
commit | 5676a065c98e15803510bc238f853e991d7325cd (patch) | |
tree | effcd382849977bd2d609db7c0ecf2c6e77d55bf | |
parent | c8a78967418076d582f1307bed79439bf18bf68b (diff) | |
download | rosegarden-5676a065c98e15803510bc238f853e991d7325cd.tar.gz rosegarden-5676a065c98e15803510bc238f853e991d7325cd.zip |
Removed unused code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | CMakeLists.txt | 3 | ||||
-rw-r--r-- | cmake_admin/FindKDECONFIG.cmake | 114 | ||||
-rw-r--r-- | cmake_admin/FindLADSPA.cmake | 56 | ||||
-rw-r--r-- | cmake_admin/FindLIRC.cmake | 64 | ||||
-rw-r--r-- | cmake_admin/FindMEINPROC.cmake | 74 | ||||
-rw-r--r-- | cmake_admin/FindMSGFMT.cmake | 68 | ||||
-rw-r--r-- | cmake_admin/FindPCHSupport.cmake | 73 | ||||
-rw-r--r-- | cmake_admin/FindPkgConfig.cmake | 383 | ||||
-rw-r--r-- | cmake_admin/UserWarnings.cmake | 110 | ||||
-rw-r--r-- | cmake_admin/cmake_uninstall.cmake.in | 22 | ||||
-rw-r--r-- | rosegarden.spec | 209 | ||||
-rw-r--r-- | rosegarden.spec.in | 209 |
12 files changed, 0 insertions, 1385 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8fc581b..890be94 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -118,6 +118,3 @@ configure_file( config.h.cmake config.h @ONLY ) # create and install the version file FILE(WRITE "${CMAKE_BINARY_DIR}/version.txt" "${VERSION}\n") INSTALL( FILES "${CMAKE_BINARY_DIR}/version.txt" DESTINATION ${DATA_INSTALL_DIR}/rosegarden ) - -# configure the RPM spec -CONFIGURE_FILE("${CMAKE_SOURCE_DIR}/rosegarden.spec.in" "${CMAKE_BINARY_DIR}/rosegarden.spec" IMMEDIATE @ONLY) diff --git a/cmake_admin/FindKDECONFIG.cmake b/cmake_admin/FindKDECONFIG.cmake deleted file mode 100644 index fd640ba..0000000 --- a/cmake_admin/FindKDECONFIG.cmake +++ /dev/null @@ -1,114 +0,0 @@ -# Rosegarden -# A MIDI and audio sequencer and musical notation editor. -# -# This program is Copyright 2000-2008 -# Guillaume Laurent <glaurent@telegraph-road.org>, -# Chris Cannam <cannam@all-day-breakfast.com>, -# Richard Bown <richard.bown@ferventsoftware.com> -# -# The moral rights of Guillaume Laurent, Chris Cannam, and Richard -# Bown to claim authorship of this work have been asserted. -# -# This file is Copyright 2006-2008 -# Pedro Lopez-Cabanillas <plcl@users.sourceforge.net> -# -# Other copyrights also apply to some parts of this work. Please -# see the AUTHORS file and individual file headers for details. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. See the file -# COPYING included with this distribution for more information. -# Find the tde-config program and retrieve the install dirs - -# Variables: -# HAVE_KDECONFIG -# KDECONFIG_EXECUTABLE -# KDE3PREFIX -# KDE3HTMLDIR -# KDE3DATADIR -# KDE3ICONDIR -# KDE3MIMEDIR -# KDE3MENUDIR -# KDE3EXECDIR -# KDE3L18NDIR - -IF(KDECONFIG_EXECUTABLE) - SET(HAVE_KDECONFIG TRUE) -ELSE(KDECONFIG_EXECUTABLE) - FIND_PROGRAM(KDECONFIG_EXECUTABLE NAMES tde-config PATHS - $ENV{TDEDIR}/bin - /opt/trinity/bin - /opt/kde/bin - NO_DEFAULT_PATH - ) - FIND_PROGRAM(KDECONFIG_EXECUTABLE tde-config) -ENDIF(KDECONFIG_EXECUTABLE) - -IF(NOT KDE3PREFIX) - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --version - OUTPUT_VARIABLE kde_config_version ) - STRING(REGEX MATCH "KDE: .\\." kde_version ${kde_config_version}) - IF (${kde_version} MATCHES "KDE: 3\\.") - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --prefix - OUTPUT_VARIABLE tdedir ) - STRING(REGEX REPLACE "\n" "" KDE3PREFIX "${tdedir}") - ENDIF (${kde_version} MATCHES "KDE: 3\\.") -ENDIF(NOT KDE3PREFIX) - -IF(NOT KDE3HTMLDIR) - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --expandvars --install html - OUTPUT_VARIABLE _htmlinstalldir) - STRING(REGEX REPLACE "\n" "" _htmlinstalldir "${_htmlinstalldir}") - STRING(REPLACE "${KDE3PREFIX}/" "" KDE3HTMLDIR "${_htmlinstalldir}") - MESSAGE(STATUS "KDE3HTMLDIR : ${KDE3HTMLDIR}") -ENDIF(NOT KDE3HTMLDIR) - -IF(NOT KDE3DATADIR) - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --expandvars --install data - OUTPUT_VARIABLE _datainstalldir) - STRING(REGEX REPLACE "\n" "" _datainstalldir "${_datainstalldir}") - STRING(REPLACE "${KDE3PREFIX}/" "" KDE3DATADIR "${_datainstalldir}") - MESSAGE(STATUS "KDE3DATADIR : ${KDE3DATADIR}") -ENDIF(NOT KDE3DATADIR) - -IF(NOT KDE3ICONDIR) - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --expandvars --install icon - OUTPUT_VARIABLE _iconinstalldir) - STRING(REGEX REPLACE "\n" "" _iconinstalldir "${_iconinstalldir}") - STRING(REPLACE "${KDE3PREFIX}/" "" KDE3ICONDIR "${_iconinstalldir}") - MESSAGE(STATUS "KDE3ICONDIR : ${KDE3ICONDIR}") -ENDIF(NOT KDE3ICONDIR) - -IF(NOT KDE3MIMEDIR) - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --expandvars --install mime - OUTPUT_VARIABLE _mimeinstalldir) - STRING(REGEX REPLACE "\n" "" _mimeinstalldir "${_mimeinstalldir}") - STRING(REPLACE "${KDE3PREFIX}/" "" KDE3MIMEDIR "${_mimeinstalldir}") - MESSAGE(STATUS "KDE3MIMEDIR : ${KDE3MIMEDIR}") -ENDIF(NOT KDE3MIMEDIR) - -IF(NOT KDE3MENUDIR) - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --expandvars --install xdgdata-apps - OUTPUT_VARIABLE _menuinstalldir) - STRING(REGEX REPLACE "\n" "" _menuinstalldir "${_menuinstalldir}") - STRING(REPLACE "${KDE3PREFIX}/" "" KDE3MENUDIR "${_menuinstalldir}") - MESSAGE(STATUS "KDE3MENUDIR : ${KDE3MENUDIR}") -ENDIF(NOT KDE3MENUDIR) - -IF(NOT KDE3L18NDIR) - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --expandvars --install locale - OUTPUT_VARIABLE _l18ninstalldir) - STRING(REGEX REPLACE "\n" "" _l18ninstalldir "${_l18ninstalldir}") - STRING(REPLACE "${KDE3PREFIX}/" "" KDE3L18NDIR "${_l18ninstalldir}") - MESSAGE(STATUS "KDE3L18NDIR : ${KDE3L18NDIR}") -ENDIF(NOT KDE3L18NDIR) - -IF(NOT KDE3EXECDIR) - EXECUTE_PROCESS(COMMAND ${KDECONFIG_EXECUTABLE} --expandvars --install exe - OUTPUT_VARIABLE _execinstalldir) - STRING(REGEX REPLACE "\n" "" _execinstalldir "${_execinstalldir}") - STRING(REPLACE "${KDE3PREFIX}/" "" KDE3EXECDIR "${_execinstalldir}") - MESSAGE(STATUS "KDE3EXECDIR : ${KDE3EXECDIR}") -ENDIF(NOT KDE3EXECDIR) diff --git a/cmake_admin/FindLADSPA.cmake b/cmake_admin/FindLADSPA.cmake deleted file mode 100644 index d050f8f..0000000 --- a/cmake_admin/FindLADSPA.cmake +++ /dev/null @@ -1,56 +0,0 @@ -# Rosegarden -# A MIDI and audio sequencer and musical notation editor. -# -# This program is Copyright 2000-2008 -# Guillaume Laurent <glaurent@telegraph-road.org>, -# Chris Cannam <cannam@all-day-breakfast.com>, -# Richard Bown <richard.bown@ferventsoftware.com> -# -# The moral rights of Guillaume Laurent, Chris Cannam, and Richard -# Bown to claim authorship of this work have been asserted. -# -# This file is Copyright 2006-2008 -# Pedro Lopez-Cabanillas <plcl@users.sourceforge.net> -# -# Other copyrights also apply to some parts of this work. Please -# see the AUTHORS file and individual file headers for details. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. See the file -# COPYING included with this distribution for more information. - -# - Try to find LADSPA header -# Once done this will define: -# -# LADSPA_FOUND - system has LADSPA -# LADSPA_INCLUDE_DIR - LADSPA header path - -IF(LADSPA_INCLUDE_DIR) - SET(LADSPA_FIND_QUIETLY TRUE) -ENDIF(LADSPA_INCLUDE_DIR) - -FIND_PATH(LADSPA_INCLUDE_DIR "ladspa.h" - /usr/include - /usr/local/include -) - -IF(LADSPA_INCLUDE_DIR) - SET(LADSPA_FOUND TRUE) -ELSE(LADSPA_INCLUDE_DIR) - SET(LADSPA_FOUND FALSE) - SET(LADSPA_INCLUDE_DIR "") -ENDIF(LADSPA_INCLUDE_DIR) - -IF(LADSPA_FOUND) - IF(NOT LADSPA_FIND_QUIETLY) - MESSAGE(STATUS "Found LADSPA: ${LADSPA_INCLUDE_DIR}") - ENDIF(NOT LADSPA_FIND_QUIETLY) -ELSE(LADSPA_FOUND) - IF(LADSPA_FIND_REQUIRED) - MESSAGE(FATAL_ERROR "Could not find LADSPA") - ENDIF(LADSPA_FIND_REQUIRED) -ENDIF(LADSPA_FOUND) - -MARK_AS_ADVANCED(LADSPA_INCLUDE_DIR) diff --git a/cmake_admin/FindLIRC.cmake b/cmake_admin/FindLIRC.cmake deleted file mode 100644 index 386ad38..0000000 --- a/cmake_admin/FindLIRC.cmake +++ /dev/null @@ -1,64 +0,0 @@ -# Rosegarden -# A MIDI and audio sequencer and musical notation editor. -# -# This program is Copyright 2000-2008 -# Guillaume Laurent <glaurent@telegraph-road.org>, -# Chris Cannam <cannam@all-day-breakfast.com>, -# Richard Bown <richard.bown@ferventsoftware.com> -# -# The moral rights of Guillaume Laurent, Chris Cannam, and Richard -# Bown to claim authorship of this work have been asserted. -# -# This file is Copyright 2006-2008 -# Pedro Lopez-Cabanillas <plcl@users.sourceforge.net> -# -# Other copyrights also apply to some parts of this work. Please -# see the AUTHORS file and individual file headers for details. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. See the file -# COPYING included with this distribution for more information. - -# - Try to find LIRC -# Once done this will define: -# -# LIRC_FOUND - system has LIRC -# LIRC_LIBRARY - LIRC library -# LIRC_INCLUDE_DIR - LIRC include path -# LIRC_LIBRARY_DIR - LIRC library path - -IF(LIRC_INCLUDE_DIR) - SET(LIRC_FIND_QUIETLY TRUE) -ENDIF(LIRC_INCLUDE_DIR) - -FIND_PATH(LIRC_INCLUDE_DIR "lirc/lirc_client.h" - /usr/include - /usr/local/include -) - -FIND_LIBRARY(LIRC_LIBRARY - NAMES lirc_client - PATHS /usr/lib /usr/local/lib -) - -IF(LIRC_INCLUDE_DIR AND LIRC_LIBRARY) - SET(LIRC_FOUND TRUE) - GET_FILENAME_COMPONENT(LIRC_LIBRARY_DIR ${LIRC_LIBRARY} PATH) -ELSE(LIRC_INCLUDE_DIR AND LIRC_LIBRARY) - SET(LIRC_FOUND FALSE) - SET(LIRC_LIBRARY_DIR) -ENDIF(LIRC_INCLUDE_DIR AND LIRC_LIBRARY) - -IF(LIRC_FOUND) - IF(NOT LIRC_FIND_QUIETLY) - MESSAGE(STATUS "Found LIRC: ${LIRC_LIBRARY}") - ENDIF(NOT LIRC_FIND_QUIETLY) -ELSE(LIRC_FOUND) - IF(LIRC_FIND_REQUIRED) - MESSAGE(FATAL_ERROR "Could not find LIRC library") - ENDIF(LIRC_FIND_REQUIRED) -ENDIF(LIRC_FOUND) - -MARK_AS_ADVANCED(LIRC_LIBRARY LIRC_INCLUDE_DIR) diff --git a/cmake_admin/FindMEINPROC.cmake b/cmake_admin/FindMEINPROC.cmake deleted file mode 100644 index 37e40a5..0000000 --- a/cmake_admin/FindMEINPROC.cmake +++ /dev/null @@ -1,74 +0,0 @@ -# Rosegarden -# A MIDI and audio sequencer and musical notation editor. -# -# This program is Copyright 2000-2008 -# Guillaume Laurent <glaurent@telegraph-road.org>, -# Chris Cannam <cannam@all-day-breakfast.com>, -# Richard Bown <richard.bown@ferventsoftware.com> -# -# The moral rights of Guillaume Laurent, Chris Cannam, and Richard -# Bown to claim authorship of this work have been asserted. -# -# This file is Copyright 2006-2008 -# Pedro Lopez-Cabanillas <plcl@users.sourceforge.net> -# -# Other copyrights also apply to some parts of this work. Please -# see the AUTHORS file and individual file headers for details. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. See the file -# COPYING included with this distribution for more information. - -# Find the MEINPROC program -# -# Defined variables: -# MEINPROC_FOUND -# MEINPROC_EXECUTABLE -# -# Macro: -# ADD_DOCS - -IF(MEINPROC_EXECUTABLE) - SET(MEINPROC_FOUND TRUE) -ELSE(MEINPROC_EXECUTABLE) - FIND_PROGRAM(MEINPROC_EXECUTABLE - NAME meinproc - PATHS ${KDE3_BIN_INSTALL_DIR} - $ENV{TDEDIR}/bin - /usr/bin - /usr/local/bin - /opt/kde/bin - /opt/trinity/bin ) - IF(MEINPROC_EXECUTABLE) - SET(MEINPROC_FOUND TRUE) - ELSE(MEINPROC_EXECUTABLE) - IF(NOT MEINPROC_FIND_QUIETLY) - IF(MEINPROC_FIND_REQUIRED) - MESSAGE(FATAL_ERROR "Program meinproc couldn't be found") - ENDIF(MEINPROC_FIND_REQUIRED) - ENDIF(NOT MEINPROC_FIND_QUIETLY) - ENDIF(MEINPROC_EXECUTABLE) - MARK_AS_ADVANCED(MEINPROC_EXECUTABLE) -ENDIF (MEINPROC_EXECUTABLE) - -MACRO(ADD_DOCS _baseName) - SET(_outputs) - FOREACH(_dir ${ARGN}) - SET(_out "${CMAKE_CURRENT_BINARY_DIR}/${_dir}_index.cache.bz2") - SET(_in "${CMAKE_CURRENT_SOURCE_DIR}/${_dir}/index.docbook") - FILE(GLOB _images ${_dir}/*.png) - ADD_CUSTOM_COMMAND(OUTPUT ${_out} - COMMAND ${MEINPROC_EXECUTABLE} - ARGS --check --cache ${_out} ${_in} - DEPENDS ${_in} ) - INSTALL(FILES ${_out} - DESTINATION ${KDE3HTMLDIR}/${_dir}/${_baseName} - RENAME index.cache.bz2) - INSTALL(FILES ${_in} ${_images} - DESTINATION ${KDE3HTMLDIR}/${_dir}/${_baseName}) - SET(_outputs ${_outputs} ${_out}) - ENDFOREACH(_dir) - ADD_CUSTOM_TARGET(documentation ALL DEPENDS ${_outputs}) -ENDMACRO(ADD_DOCS) diff --git a/cmake_admin/FindMSGFMT.cmake b/cmake_admin/FindMSGFMT.cmake deleted file mode 100644 index b8419f8..0000000 --- a/cmake_admin/FindMSGFMT.cmake +++ /dev/null @@ -1,68 +0,0 @@ -# Rosegarden -# A MIDI and audio sequencer and musical notation editor. -# -# This program is Copyright 2000-2008 -# Guillaume Laurent <glaurent@telegraph-road.org>, -# Chris Cannam <cannam@all-day-breakfast.com>, -# Richard Bown <richard.bown@ferventsoftware.com> -# -# The moral rights of Guillaume Laurent, Chris Cannam, and Richard -# Bown to claim authorship of this work have been asserted. -# -# This file is Copyright 2006-2008 -# Pedro Lopez-Cabanillas <plcl@users.sourceforge.net> -# -# Other copyrights also apply to some parts of this work. Please -# see the AUTHORS file and individual file headers for details. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. See the file -# COPYING included with this distribution for more information. - -# Find the msgfmt program -# -# Defined variables: -# MSGFMT_FOUND -# MSGFMT_EXECUTABLE -# -# Macro: -# ADD_TRANSLATIONS -# - -IF(MSGFMT_EXECUTABLE) - SET(MSGFMT_FOUND TRUE) -ELSE(MSGFMT_EXECUTABLE) - FIND_PROGRAM(MSGFMT_EXECUTABLE - NAMES msgfmt gmsgfmt - PATHS /bin /usr/bin /usr/local/bin ) - IF(MSGFMT_EXECUTABLE) - SET(MSGFMT_FOUND TRUE) - ELSE(MSGFMT_EXECUTABLE) - IF(NOT MSGFMT_FIND_QUIETLY) - IF(MSGFMT_FIND_REQUIRED) - MESSAGE(FATAL_ERROR "msgfmt program couldn't be found") - ENDIF(MSGFMT_FIND_REQUIRED) - ENDIF(NOT MSGFMT_FIND_QUIETLY) - ENDIF(MSGFMT_EXECUTABLE) - MARK_AS_ADVANCED(MSGFMT_EXECUTABLE) -ENDIF (MSGFMT_EXECUTABLE) - -MACRO(ADD_TRANSLATIONS _baseName) - SET(_outputs) - FOREACH(_file ${ARGN}) - GET_FILENAME_COMPONENT(_file_we ${_file} NAME_WE) - SET(_out "${CMAKE_CURRENT_BINARY_DIR}/${_file_we}.gmo") - SET(_in "${CMAKE_CURRENT_SOURCE_DIR}/${_file_we}.po") - ADD_CUSTOM_COMMAND( - OUTPUT ${_out} - COMMAND ${MSGFMT_EXECUTABLE} -o ${_out} ${_in} - DEPENDS ${_in} ) - INSTALL(FILES ${_out} - DESTINATION ${KDE3L18NDIR}/${_file_we}/LC_MESSAGES/ - RENAME ${_baseName}.mo ) - SET(_outputs ${_outputs} ${_out}) - ENDFOREACH(_file) - ADD_CUSTOM_TARGET(translations ALL DEPENDS ${_outputs}) -ENDMACRO(ADD_TRANSLATIONS) diff --git a/cmake_admin/FindPCHSupport.cmake b/cmake_admin/FindPCHSupport.cmake deleted file mode 100644 index bea00dc..0000000 --- a/cmake_admin/FindPCHSupport.cmake +++ /dev/null @@ -1,73 +0,0 @@ -# Rosegarden -# A MIDI and audio sequencer and musical notation editor. -# -# This program is Copyright 2000-2008 -# Guillaume Laurent <glaurent@telegraph-road.org>, -# Chris Cannam <cannam@all-day-breakfast.com>, -# Richard Bown <richard.bown@ferventsoftware.com> -# -# The moral rights of Guillaume Laurent, Chris Cannam, and Richard -# Bown to claim authorship of this work have been asserted. -# -# This file is Copyright 2006-2008 -# Pedro Lopez-Cabanillas <plcl@users.sourceforge.net> -# -# Other copyrights also apply to some parts of this work. Please -# see the AUTHORS file and individual file headers for details. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. See the file -# COPYING included with this distribution for more information. - -# - Try to find precompiled headers support for GCC 3.4 and 4.x -# Once done this will define: -# -# Variable: -# PCHSupport_FOUND -# -# Macro: -# ADD_PRECOMPILED_HEADER - -IF(CMAKE_COMPILER_IS_GNUCXX) - EXEC_PROGRAM(${CMAKE_CXX_COMPILER} - ARGS -dumpversion - OUTPUT_VARIABLE gcc_compiler_version) -# STRING(REGEX REPLACE ".* ([0-9]\\.[0-9]\\.[0-9]) .*" "\\1" -# gcc_compiler_version ${_compiler_output}) -# MESSAGE("GCC Version: ${gcc_compiler_version}") - IF(gcc_compiler_version MATCHES "4\\.[0-9]\\.[0-9]") - SET(PCHSupport_FOUND TRUE) - ELSE(gcc_compiler_version MATCHES "4\\.[0-9]\\.[0-9]") - IF(gcc_compiler_version MATCHES "3\\.4\\.[0-9]") - SET(PCHSupport_FOUND TRUE) - ENDIF(gcc_compiler_version MATCHES "3\\.4\\.[0-9]") - ENDIF(gcc_compiler_version MATCHES "4\\.[0-9]\\.[0-9]") -ENDIF(CMAKE_COMPILER_IS_GNUCXX) - -MACRO(ADD_PRECOMPILED_HEADER _targetName _input) - GET_FILENAME_COMPONENT(_name ${_input} NAME) - SET(_source "${CMAKE_CURRENT_SOURCE_DIR}/${_input}") - SET(_outdir "${CMAKE_CURRENT_BINARY_DIR}/${_name}.gch") - MAKE_DIRECTORY(${_outdir}) - SET(_output "${_outdir}/${CMAKE_BUILD_TYPE}.c++") - STRING(TOUPPER "CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE}" _flags_var_name) - SET(_compiler_FLAGS ${${_flags_var_name}}) - SEPARATE_ARGUMENTS(_compiler_FLAGS) - #MESSAGE("_compiler_FLAGS: ${_compiler_FLAGS}") - ADD_CUSTOM_COMMAND( - OUTPUT ${_output} - COMMAND ${CMAKE_CXX_COMPILER} - ${_compiler_FLAGS} - -I${TQT_INCLUDE_DIR} - -I${KDE3_INCLUDE_DIR} - ${QT_DEFINITIONS} - ${KDE3_DEFINITIONS} - -x c++-header - -o ${_output} ${_source} - DEPENDS ${_source} ) - ADD_CUSTOM_TARGET(${_targetName} DEPENDS ${_output}) - #SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-include ${_name} -Winvalid-pch -H") - SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-include ${_name} -Winvalid-pch") -ENDMACRO(ADD_PRECOMPILED_HEADER) diff --git a/cmake_admin/FindPkgConfig.cmake b/cmake_admin/FindPkgConfig.cmake deleted file mode 100644 index 228ffcd..0000000 --- a/cmake_admin/FindPkgConfig.cmake +++ /dev/null @@ -1,383 +0,0 @@ -# - a pkg-config module for CMake -# -# Usage: -# pkg_check_modules(<PREFIX> [REQUIRED] <MODULE> [<MODULE>]*) -# checks for all the given modules -# -# pkg_search_module(<PREFIX> [REQUIRED] <MODULE> [<MODULE>]*) -# checks for given modules and uses the first working one -# -# When the 'REQUIRED' argument was set, macros will fail with an error -# when module(s) could not be found -# -# It sets the following variables: -# PKG_CONFIG_FOUND ... true iff pkg-config works on the system -# PKG_CONFIG_EXECUTABLE ... pathname of the pkg-config program -# <PREFIX>_FOUND ... set to 1 iff module(s) exist -# -# For the following variables two sets of values exist; first one is the -# common one and has the given PREFIX. The second set contains flags -# which are given out when pkgconfig was called with the '--static' -# option. -# <XPREFIX>_LIBRARIES ... only the libraries (w/o the '-l') -# <XPREFIX>_LIBRARY_DIRS ... the paths of the libraries (w/o the '-L') -# <XPREFIX>_LDFLAGS ... all required linker flags -# <XPREFIX>_LDFLAGS_OTHERS ... all other linker flags -# <XPREFIX>_INCLUDE_DIRS ... the '-I' preprocessor flags (w/o the '-I') -# <XPREFIX>_CFLAGS ... all required cflags -# <XPREFIX>_CFLAGS_OTHERS ... the other compiler flags -# -# <XPREFIX> = <PREFIX> for common case -# <XPREFIX> = <PREFIX>_STATIC for static linking -# -# There are some special variables whose prefix depends on the count -# of given modules. When there is only one module, <PREFIX> stays -# unchanged. When there are multiple modules, the prefix will be -# changed to <PREFIX>_<MODNAME>: -# <XPREFIX>_VERSION ... version of the module -# <XPREFIX>_PREFIX ... prefix-directory of the module -# <XPREFIX>_INCLUDEDIR ... include-dir of the module -# <XPREFIX>_LIBDIR ... lib-dir of the module -# -# <XPREFIX> = <PREFIX> when |MODULES| == 1, else -# <XPREFIX> = <PREFIX>_<MODNAME> -# -# A <MODULE> parameter can have the following formats: -# {MODNAME} ... matches any version -# {MODNAME}>={VERSION} ... at least version <VERSION> is required -# {MODNAME}={VERSION} ... exactly version <VERSION> is required -# {MODNAME}<={VERSION} ... modules must not be newer than <VERSION> -# -# Examples -# pkg_check_modules (GLIB2 glib-2.0) -# -# pkg_check_modules (GLIB2 glib-2.0>=2.10) -# requires at least version 2.10 of glib2 and defines e.g. -# GLIB2_VERSION=2.10.3 -# -# pkg_check_modules (FOO glib-2.0>=2.10 gtk+-2.0) -# requires both glib2 and gtk2, and defines e.g. -# FOO_glib-2.0_VERSION=2.10.3 -# FOO_gtk+-2.0_VERSION=2.8.20 -# -# pkg_check_modules (XRENDER REQUIRED xrender) -# defines e.g.: -# XRENDER_LIBRARIES=Xrender;X11 -# XRENDER_STATIC_LIBRARIES=Xrender;X11;pthread;Xau;Xdmcp -# -# pkg_search_module (BAR libxml-2.0 libxml2 libxml>=2) - - -# Copyright (C) 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> -# -# Redistribution and use, with or without modification, are permitted -# provided that the following conditions are met: -# -# 1. Redistributions must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# 2. The name of the author may not be used to endorse or promote -# products derived from this software without specific prior -# written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY -# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER -# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - -### Common stuff #### -set(PKG_CONFIG_VERSION 1) -set(PKG_CONFIG_FOUND 0) - -find_program(PKG_CONFIG_EXECUTABLE NAMES pkg-config DOC "pkg-config executable") -mark_as_advanced(PKG_CONFIG_EXECUTABLE) - -if(PKG_CONFIG_EXECUTABLE) - set(PKG_CONFIG_FOUND 1) -endif(PKG_CONFIG_EXECUTABLE) - - -# Unsets the given variables -macro(_pkgconfig_unset var) - set(${var} "" CACHE INTERNAL "") -endmacro(_pkgconfig_unset) - -macro(_pkgconfig_set var value) - set(${var} ${value} CACHE INTERNAL "") -endmacro(_pkgconfig_set) - -# Invokes pkgconfig, cleans up the result and sets variables -macro(_pkgconfig_invoke _pkglist _prefix _varname _regexp) - set(_pkgconfig_invoke_result) - - execute_process( - COMMAND ${PKG_CONFIG_EXECUTABLE} ${ARGN} ${_pkglist} - OUTPUT_VARIABLE _pkgconfig_invoke_result - RESULT_VARIABLE _pkgconfig_failed) - - if (_pkgconfig_failed) - set(_pkgconfig_${_varname} "") - _pkgconfig_unset(${_prefix}_${_varname}) - else(_pkgconfig_failed) - string(REGEX REPLACE "[\r\n]" " " _pkgconfig_invoke_result "${_pkgconfig_invoke_result}") - string(REGEX REPLACE " +$" "" _pkgconfig_invoke_result "${_pkgconfig_invoke_result}") - - if (NOT ${_regexp} STREQUAL "") - string(REGEX REPLACE "${_regexp}" " " _pkgconfig_invoke_result "${_pkgconfig_invoke_result}") - endif(NOT ${_regexp} STREQUAL "") - - separate_arguments(_pkgconfig_invoke_result) - - #message(STATUS " ${_varname} ... ${_pkgconfig_invoke_result}") - set(_pkgconfig_${_varname} ${_pkgconfig_invoke_result}) - _pkgconfig_set(${_prefix}_${_varname} "${_pkgconfig_invoke_result}") - endif(_pkgconfig_failed) -endmacro(_pkgconfig_invoke) - -# Invokes pkgconfig two times; once without '--static' and once with -# '--static' -macro(_pkgconfig_invoke_dyn _pkglist _prefix _varname cleanup_regexp) - _pkgconfig_invoke("${_pkglist}" ${_prefix} ${_varname} "${cleanup_regexp}" ${ARGN}) - _pkgconfig_invoke("${_pkglist}" ${_prefix} STATIC_${_varname} "${cleanup_regexp}" --static ${ARGN}) -endmacro(_pkgconfig_invoke_dyn) - -# Splits given arguments into options and a package list -macro(_pkgconfig_parse_options _result _is_req) - set(${_is_req} 0) - - foreach(_pkg ${ARGN}) - if (_pkg STREQUAL "REQUIRED") - set(${_is_req} 1) - endif (_pkg STREQUAL "REQUIRED") - endforeach(_pkg ${ARGN}) - - set(${_result} ${ARGN}) - list(REMOVE_ITEM ${_result} "REQUIRED") -endmacro(_pkgconfig_parse_options) - -### -macro(_pkg_check_modules_internal _is_required _is_silent _prefix) - _pkgconfig_unset(${_prefix}_FOUND) - _pkgconfig_unset(${_prefix}_VERSION) - _pkgconfig_unset(${_prefix}_PREFIX) - _pkgconfig_unset(${_prefix}_INCLUDEDIR) - _pkgconfig_unset(${_prefix}_LIBDIR) - _pkgconfig_unset(${_prefix}_LIBS) - _pkgconfig_unset(${_prefix}_LIBS_L) - _pkgconfig_unset(${_prefix}_LIBS_PATHS) - _pkgconfig_unset(${_prefix}_LIBS_OTHER) - _pkgconfig_unset(${_prefix}_CFLAGS) - _pkgconfig_unset(${_prefix}_CFLAGS_I) - _pkgconfig_unset(${_prefix}_CFLAGS_OTHER) - _pkgconfig_unset(${_prefix}_STATIC_LIBDIR) - _pkgconfig_unset(${_prefix}_STATIC_LIBS) - _pkgconfig_unset(${_prefix}_STATIC_LIBS_L) - _pkgconfig_unset(${_prefix}_STATIC_LIBS_PATHS) - _pkgconfig_unset(${_prefix}_STATIC_LIBS_OTHER) - _pkgconfig_unset(${_prefix}_STATIC_CFLAGS) - _pkgconfig_unset(${_prefix}_STATIC_CFLAGS_I) - _pkgconfig_unset(${_prefix}_STATIC_CFLAGS_OTHER) - - # create a better addressable variable of the modules and calculate its size - set(_pkg_check_modules_list ${ARGN}) - list(LENGTH _pkg_check_modules_list _pkg_check_modules_cnt) - - if(PKG_CONFIG_EXECUTABLE) - # give out status message telling checked module - if (NOT ${_is_silent}) - if (_pkg_check_modules_cnt EQUAL 1) - message(STATUS "checking for module '${_pkg_check_modules_list}'") - else(_pkg_check_modules_cnt EQUAL 1) - message(STATUS "checking for modules '${_pkg_check_modules_list}'") - endif(_pkg_check_modules_cnt EQUAL 1) - endif(NOT ${_is_silent}) - - set(_pkg_check_modules_packages) - set(_pkg_check_modules_failed) - - # iterate through module list and check whether they exist and match the required version - foreach (_pkg_check_modules_pkg ${_pkg_check_modules_list}) - set(_pkg_check_modules_exist_query) - - # check whether version is given - if (_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*") - string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\1" _pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}") - string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\2" _pkg_check_modules_pkg_op "${_pkg_check_modules_pkg}") - string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\3" _pkg_check_modules_pkg_ver "${_pkg_check_modules_pkg}") - else(_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*") - set(_pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}") - set(_pkg_check_modules_pkg_op) - set(_pkg_check_modules_pkg_ver) - endif(_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*") - - # handle the operands - if (_pkg_check_modules_pkg_op STREQUAL ">=") - list(APPEND _pkg_check_modules_exist_query --atleast-version) - endif(_pkg_check_modules_pkg_op STREQUAL ">=") - - if (_pkg_check_modules_pkg_op STREQUAL "=") - list(APPEND _pkg_check_modules_exist_query --exact-version) - endif(_pkg_check_modules_pkg_op STREQUAL "=") - - if (_pkg_check_modules_pkg_op STREQUAL "<=") - list(APPEND _pkg_check_modules_exist_query --max-version) - endif(_pkg_check_modules_pkg_op STREQUAL "<=") - - # create the final query which is of the format: - # * --atleast-version <version> <pkg-name> - # * --exact-version <version> <pkg-name> - # * --max-version <version> <pkg-name> - # * --exists <pkg-name> - if (_pkg_check_modules_pkg_op) - list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_ver}") - else(_pkg_check_modules_pkg_op) - list(APPEND _pkg_check_modules_exist_query --exists) - endif(_pkg_check_modules_pkg_op) - - _pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_VERSION) - _pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_PREFIX) - _pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_INCLUDEDIR) - _pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_LIBDIR) - - list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_name}") - list(APPEND _pkg_check_modules_packages "${_pkg_check_modules_pkg_name}") - - # execute the query - execute_process( - COMMAND ${PKG_CONFIG_EXECUTABLE} ${_pkg_check_modules_exist_query} - RESULT_VARIABLE _pkgconfig_retval) - - # evaluate result and tell failures - if (_pkgconfig_retval) - if(NOT ${_is_silent}) - message(STATUS " package '${_pkg_check_modules_pkg}' not found") - endif(NOT ${_is_silent}) - - set(_pkg_check_modules_failed 1) - endif(_pkgconfig_retval) - endforeach(_pkg_check_modules_pkg) - - if(_pkg_check_modules_failed) - # fail when requested - if (${_is_required}) - message(SEND_ERROR "A required package was not found") - endif (${_is_required}) - else(_pkg_check_modules_failed) - # when we are here, we checked whether requested modules - # exist. Now, go through them and set variables - - _pkgconfig_set(${_prefix}_FOUND 1) - list(LENGTH _pkg_check_modules_packages pkg_count) - - # iterate through all modules again and set individual variables - foreach (_pkg_check_modules_pkg ${_pkg_check_modules_packages}) - # handle case when there is only one package required - if (pkg_count EQUAL 1) - set(_pkg_check_prefix "${_prefix}") - else(pkg_count EQUAL 1) - set(_pkg_check_prefix "${_prefix}_${_pkg_check_modules_pkg}") - endif(pkg_count EQUAL 1) - - _pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" VERSION "" --modversion ) - _pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" PREFIX "" --variable=prefix ) - _pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" INCLUDEDIR "" --variable=includedir ) - _pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" LIBDIR "" --variable=libdir ) - - message(STATUS " found ${_pkg_check_modules_pkg}, version ${_pkgconfig_VERSION}") - endforeach(_pkg_check_modules_pkg) - - # set variables which are combined for multiple modules - _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LIBRARIES "(^| )-l" --libs-only-l ) - _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LIBRARY_DIRS "(^| )-L" --libs-only-L ) - _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LDFLAGS "" --libs ) - _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LDFLAGS_OTHER "" --libs-only-other ) - - _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" INCLUDE_DIRS "(^| )-I" --cflags-only-I ) - _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" CFLAGS "" --cflags ) - _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" CFLAGS_OTHER "" --cflags-only-other ) - endif(_pkg_check_modules_failed) - else(PKG_CONFIG_EXECUTABLE) - if (${_is_required}) - message(SEND_ERROR "pkg-config tool not found") - endif (${_is_required}) - endif(PKG_CONFIG_EXECUTABLE) -endmacro(_pkg_check_modules_internal) - -### -### User visible macros start here -### - -### -macro(pkg_check_modules _prefix _module0) - # check cached value - if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION}) - _pkgconfig_parse_options (_pkg_modules _pkg_is_required "${_module0}" ${ARGN}) - _pkg_check_modules_internal("${_pkg_is_required}" 0 "${_prefix}" ${_pkg_modules}) - - if(${_prefix}_FOUND) - _pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION}) - endif(${_prefix}_FOUND) - endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION}) -endmacro(pkg_check_modules) - -### -macro(pkg_search_module _prefix _module0) - # check cached value - if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION}) - set(_pkg_modules_found 0) - _pkgconfig_parse_options(_pkg_modules_alt _pkg_is_required "${_module0}" ${ARGN}) - - message(STATUS "checking for one of the modules '${_pkg_modules_alt}'") - - # iterate through all modules and stop at the first working one. - foreach(_pkg_alt ${_pkg_modules_alt}) - if(NOT _pkg_modules_found) - _pkg_check_modules_internal(0 1 "${_prefix}" "${_pkg_alt}") - endif(NOT _pkg_modules_found) - - if (${_prefix}_FOUND) - set(_pkg_modules_found 1) - endif(${_prefix}_FOUND) - endforeach(_pkg_alt) - - if (NOT ${_prefix}_FOUND) - if(${_pkg_is_required}) - message(SEND_ERROR "None of the required '${_pkg_modules_alt}' found") - endif(${_pkg_is_required}) - else (NOT ${_prefix}_FOUND) - _pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION}) - endif(NOT ${_prefix}_FOUND) - - endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION}) -endmacro(pkg_search_module) - -### -macro(PKGCONFIG _package _include_DIR _link_DIR _link_FLAGS _cflags) - message(STATUS "WARNING: you are using the obsolete 'PKGCONFIG' macro") - _pkg_check_modules_internal(0 0 _PKGCONFIG_TMP "${_package}") - if (_PKGCONFIG_TMP_FOUND) - set(${_include_DIR} ${_PKGCONFIG_TMP_INCLUDEDIR}) - set(${_link_DIR} ${_PKGCONFIG_TMP_LIBDIR}) - set(${_link_FLAGS} ${_PKGCONFIG_TMP_LDFLAGS}) - set(${_cflags} ${_PKGCONFIG_TMP_CFLAGS}) - set(_return_VALUE 0) - else(_PKGCONFIG_TMP_FOUND) - set(${_include_DIR}) - set(${_link_DIR}) - set(${_link_FLAGS}) - set(${_cflags}) - set(_return_VALUE 1) - endif(_PKGCONFIG_TMP_FOUND) -endmacro(PKGCONFIG) - - -### Local Variables: -### mode: cmake -### End: diff --git a/cmake_admin/UserWarnings.cmake b/cmake_admin/UserWarnings.cmake deleted file mode 100644 index 0e5312e..0000000 --- a/cmake_admin/UserWarnings.cmake +++ /dev/null @@ -1,110 +0,0 @@ -# Rosegarden -# A MIDI and audio sequencer and musical notation editor. -# -# This program is Copyright 2000-2008 -# Guillaume Laurent <glaurent@telegraph-road.org>, -# Chris Cannam <cannam@all-day-breakfast.com>, -# Richard Bown <richard.bown@ferventsoftware.com> -# -# The moral rights of Guillaume Laurent, Chris Cannam, and Richard -# Bown to claim authorship of this work have been asserted. -# -# This file is Copyright 2006-2008 -# Pedro Lopez-Cabanillas <plcl@users.sourceforge.net> -# -# Other copyrights also apply to some parts of this work. Please -# see the AUTHORS file and individual file headers for details. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. See the file -# COPYING included with this distribution for more information. - -MESSAGE("\n" -"Installation Summary\n" -"--------------------\n" -"\n" -"Install Directory : ${CMAKE_INSTALL_PREFIX}\n" -"Build type : ${CMAKE_BUILD_TYPE}\n" -"Use Qt/KDE precompiled headers: ${USE_PCH}\n" -"\n" -"Xft notation font support : ${HAVE_XFT}") - -IF(WANT_LIRC) -MESSAGE( -"LIRC infrared remote support : ${HAVE_LIRC}") -ELSE(WANT_LIRC) -MESSAGE("No LIRC support configured.") -ENDIF(WANT_LIRC) - -MESSAGE("") - -IF(WANT_SOUND) -MESSAGE( -"ALSA MIDI support : ${HAVE_ALSA}\n" -"JACK audio support : ${HAVE_JACK}\n" -"LADSPA plugin support : ${HAVE_LADSPA}\n" -"DSSI synth plugin support : ${HAVE_DSSI}\n" -"Custom OSC plugin GUI support : ${HAVE_LIBLO}\n" -"Audio timestretching : ${HAVE_FFTW3F}\n" -"LRDF plugin metadata support : ${HAVE_LIBLRDF}") -ELSE(WANT_SOUND) -MESSAGE("No sound support configured.") -ENDIF(WANT_SOUND) - -IF(NOT HAVE_XFT) -MESSAGE("\n* Score rendering quality and performance may be\n" -"improved if Xft 2.1.0 and Freetype 2 are available, to permit\n" -"Rosegarden to override the Qt font selection mechanism. It\n" -"may not be worth trying to install them if they aren't already\n" -"present in your distribution though.") -ENDIF(NOT HAVE_XFT) - -IF(WANT_SOUND) - -IF(NOT HAVE_ALSA) -MESSAGE("\n* Rosegarden requires the ALSA (Advanced Linux Sound Architecture) drivers\n" -"for MIDI, and the JACK audio framework for audio sequencing.\n" -"Please see the documentation at http://www.rosegardenmusic.com/getting/\n" -"for more information about these dependencies.") -ENDIF(NOT HAVE_ALSA) - -IF(NOT HAVE_JACK) -MESSAGE("\n* Rosegarden uses the JACK audio server for audio recording and\n" -"sequencing. See http://jackit.sf.net/ for more information about\n" -"getting and installing JACK. If you want to use Rosegarden only\n" -"for MIDI, then you do not need JACK.") -ENDIF(NOT HAVE_JACK) - -IF(NOT HAVE_LADSPA) -MESSAGE("\n* Rosegarden supports LADSPA audio plugins if available. See\n" -"http://www.ladspa.org/ for more information about LADSPA. To\n" -"build LADSPA support into Rosegarden, you need to make sure\n" -"you have ladspa.h available on your system.") -ENDIF(NOT HAVE_LADSPA) - -IF(NOT HAVE_DSSI) -MESSAGE("\n* Rosegarden supports DSSI audio plugins if available. See\n" -"http://dssi.sf.net/ for more information about DSSI. To\n" -"build DSSI support into Rosegarden, you need to make sure\n" -"you have dssi.h available on your system.") -ENDIF(NOT HAVE_DSSI) - -IF(NOT HAVE_LIBLO) -MESSAGE("\n* Rosegarden supports custom GUIs for DSSI (and LADSPA) plugins using\n" -"the Open Sound Control protocol, if the Lite OSC library liblo is\n" -"available. Go to http://www.plugin.org.uk/liblo/ to obtain liblo\n" -"and http://dssi.sf.net/ for more information about DSSI GUIs.") -ENDIF(NOT HAVE_LIBLO) - -IF(NOT HAVE_LIBLRDF) -MESSAGE("\n* Rosegarden supports the LRDF metadata format for classification\n" -"of LADSPA and DSSI plugins. This will improve the usability of\n" -"plugin selection dialogs. You can obtain LRDF from\n" -"http://www.plugin.org.uk/lrdf/.") -ENDIF(NOT HAVE_LIBLRDF) - -ENDIF(WANT_SOUND) - -MESSAGE("") diff --git a/cmake_admin/cmake_uninstall.cmake.in b/cmake_admin/cmake_uninstall.cmake.in deleted file mode 100644 index c8ff0b7..0000000 --- a/cmake_admin/cmake_uninstall.cmake.in +++ /dev/null @@ -1,22 +0,0 @@ -IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") - MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"") -ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") - -FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files) -STRING(REGEX REPLACE "\n" ";" files "${files}") -FOREACH(file ${files}) - MESSAGE(STATUS "Uninstalling \"${file}\"") - IF(EXISTS "${file}") - EXEC_PROGRAM( - "@CMAKE_COMMAND@" ARGS "-E remove \"${file}\"" - OUTPUT_VARIABLE rm_out - RETURN_VALUE rm_retval - ) - IF("${rm_retval}" STREQUAL 0) - ELSE("${rm_retval}" STREQUAL 0) - MESSAGE(FATAL_ERROR "Problem when removing \"${file}\"") - ENDIF("${rm_retval}" STREQUAL 0) - ELSE(EXISTS "${file}") - MESSAGE(STATUS "File \"${file}\" does not exist.") - ENDIF(EXISTS "${file}") -ENDFOREACH(file) diff --git a/rosegarden.spec b/rosegarden.spec deleted file mode 100644 index e85f5e3..0000000 --- a/rosegarden.spec +++ /dev/null @@ -1,209 +0,0 @@ -%define name rosegarden -%define version 1.7.0 -%define release - -Summary: Midi, audio and notation editor -Name: %name -Version: %version -Release: %release -URL: http://www.rosegardenmusic.com/ -Source0: %name-1.7.0.tar.bz2 -License: GPL -Group: Sound -BuildRequires: qt3-devel -BuildRequires: tdemultimedia-devel -BuildRequires: jackit-devel -BuildRequires: ladspa-devel -BuildRequires: dssi-devel -BuildRequires: liblrdf-devel -BuildRequires: libxml2-utils -BuildRequires: libfftw3-devel - -BuildRoot: %{_tmppath}/%{name}-buildroot - -%description -Rosegarden is an attractive, user-friendly MIDI and audio sequencer, -notation editor, and general-purpose music composition and editing -application for Unix and Linux - -%prep -rm -rf $RPM_BUILD_ROOT -%setup -q -n %{name}-1.7.0 - -%build -cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -%make - -%install -rm -rf $RPM_BUILD_ROOT -%make DESTDIR=$RPM_BUILD_ROOT install - -#rm 0 byte fonts----why were they kept Lenny? -rm -rf `find $RPM_BUILD_ROOT -name accordion*.xpm` -rm -rf `find $RPM_BUILD_ROOT -name custodes*.xpm` - -#menu -mkdir -p %{buildroot}%{_menudir} -kdedesktop2mdkmenu.pl %{name} "Multimedia/Sound" $RPM_BUILD_ROOT%{_datadir}/applnk/Applications/rosegarden.desktop $RPM_BUILD_ROOT%{_menudir}/%{name} - -%find_lang %name - -%post -%update_menus - -%postun -%clean_menus - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -n %name -f %name.lang -%defattr(-,root,root) -%defattr(-, root,root) -%doc AUTHORS COPYING Doxyfile INSTALL README TRANSLATORS -%{_bindir}/* - -%{_datadir}/applnk/Applications/kde/rosegarden.desktop -%{_datadir}/apps/%name -%{_datadir}/apps/profiles - -%dir %_docdir/HTML/en/%name/ -%doc %_docdir/HTML/en/%name/* - -%dir %_docdir/HTML/ja/%name/ -%doc %_docdir/HTML/ja/%name/*.bz2 -%doc %_docdir/HTML/ja/%name/*.docbook - -%dir %_docdir/HTML/sv/%name/ -%doc %_docdir/HTML/sv/%name/*.bz2 -%doc %_docdir/HTML/sv/%name/*.docbook -%doc %_docdir/HTML/sv/%name/*.png - -%doc %_docdir/HTML/es/%name/*.bz2 -%doc %_docdir/HTML/es/%name/*.docbook - -%{_datadir}/mimelnk/audio/* - -%_menudir/* - -%{_iconsdir}/hicolor/*/apps/* -%{_iconsdir}/locolor/*/apps/* -%{_iconsdir}/hicolor/16x16/mimetypes/x-rosegarden.png -%{_iconsdir}/hicolor/32x32/mimetypes/x-rosegarden.png -%{_iconsdir}/locolor/16x16/mimetypes/x-rosegarden.png -%{_iconsdir}/locolor/32x32/mimetypes/x-rosegarden.png - -%changelog -* Mon Dec 4 2006 Pedro Lopez-Cabanillas <plcl@users.sf.net> 1.5.0 -- Using CMake - -* Mon Sep 25 2006 Pedro Lopez-Cabanillas <plcl@users.sf.net> 1.4.0-1mdk -- 1.4.0 - -* Fri Jul 14 2006 Pedro Lopez-Cabanillas <plcl@users.sf.net> 1.2.4-1mdk -- New release -- Include DSSI support -- Use the internal scons-mini to avoid broken SCons versions - -* Sun Feb 19 2006 Christiaan Welvaart <cjw@daneel.dyndns.org> 1.2.3-1mdk -- 1.2.3 -- drop patches 1,2,3,4 - don't apply + not needed -- scons... -- no shared libraries built, drop lib packages - -* Wed Aug 24 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.0-5mdk -- harmless 64-bit fixes - -* Sat Aug 20 2005 Christiaan Welvaart <cjw@daneel.dyndns.org> 1.0-4mdk -- patch3: fix build (for gcc 4.0?) - -* Mon Jun 13 2005 Pascal Terjan <pterjan@mandriva.org> 1.0-3mdk -- fix build with gcc4 (patch2) - -* Mon Mar 21 2005 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 1.0-2mdk -- fix build on lib64 platforms - -* Tue Feb 15 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 1.0-1mdk -- 1.0 - -* Mon Dec 20 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.9.91-1mdk -- 0.9.91 - -* Tue Oct 19 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.9.9-2mdk -- -Wmissing-prototypes is only valid for the C front-end - -* Tue Aug 17 2004 Pascal Terjan <pterjan@mandrake.org> 0.9.9-1mdk -- 0.9.9 -- update patch0 - -* Fri Jul 16 2004 Michael Scherer <misc@mandrake.org> 0.9.8-2mdk -- rebuild for new gcc ( patch 0 ) - -* Tue May 26 2004 Austin Acton <austin@mandrake.org> 0.9.8-1mdk -- 0.9.8 - -* Tue Apr 20 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.9.7-2mdk -- Fix menu - -* Thu Apr 1 2004 Austin Acton <austin@mandrake.org> 0.9.7-1mdk -- 0.9.7 - -* Tue Feb 17 2004 Austin Acton <austin@mandrake.org> 0.9.6-4mdk -- rebuild for liblrdf2 - -* Wed Jan 14 2004 Charles A Edwards <eslrahc@mandrake.org> 0.9.6-3mdk -- put back correct changelog entry for Austin's 0.9.6-1mdk--don't - know how I screwed that - -* Wed Jan 14 2004 Charles A Edwards <eslrahc@mandrake.org> 0.9.6-2mdk -- use libtoolize /bin/true -- define iconname -- build with liblrdf -- buildrequire liblrdf0-devel and ImageMagick -- use source xpm to create icons -- fix rpath for _libdir and _bindir -- use marcos configure2_5x and makeinstall_std -- rm 0 byte fonts -- add docand doc/howtos - -* Mon Jan 12 2004 Austin Acton <austin@mandrake.org> 0.9.6-1mdk -- 0.9.6 -- does not require "jack" or libname -- buildrequires jackit and ladspa libs -- mklibname -- lib64 fix buildrequires - -* Thu Dec 04 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.9.5-1mdk -- 0.9.5 - -* Thu Jun 5 2003 Austin Acton <aacton@yorku.ca> 0.9.1-1mdk -- 0.9.1 -- pretty-up spec -- tie bin and lib package versions - -* Sun May 11 2003 Laurent Culioli <laurent@pschit.net> 0.9-1mdk -- 0.9 -- frop patch0 - -* Tue May 06 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.8.5-2mdk -- buildrequires - -* Fri Dec 20 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.8.5-1mdk -- add mandrake menu -- add libraries rpm -- keep zero length xpm icons... -- from ccrma package - -* Wed Dec 18 2002 Fernando Lopez Lezcano <nando@ccrma.stanford.edu> 0.8.5-1 -- changed name to rosegarden, anaconda does not like the current name - (anaconda should be fixed, name is legal) -- update to 0.8.5 - -* Sun Nov 10 2002 Fernando Lopez Lezcano <nando@ccrma.stanford.edu> 0.8-2 -- changed name of package to rosegarden-4 (what was I thinking?...) -- added patch to rename jack alsa ports for jack >= 0.40 -- added explicit dependency to jack -- added redhat menu entry - -* Fri Oct 18 2002 Fernando Lopez Lezcano <nando@ccrma.stanford.edu> -- Initial build. diff --git a/rosegarden.spec.in b/rosegarden.spec.in deleted file mode 100644 index 90c1f1f..0000000 --- a/rosegarden.spec.in +++ /dev/null @@ -1,209 +0,0 @@ -%define name rosegarden -%define version @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@ -%define release @VERSION_SUFFIX@ - -Summary: Midi, audio and notation editor -Name: %name -Version: %version -Release: %release -URL: http://www.rosegardenmusic.com/ -Source0: %name-@VERSION@.tar.bz2 -License: GPL -Group: Sound -BuildRequires: qt3-devel -BuildRequires: tdemultimedia-devel -BuildRequires: jackit-devel -BuildRequires: ladspa-devel -BuildRequires: dssi-devel -BuildRequires: liblrdf-devel -BuildRequires: libxml2-utils -BuildRequires: libfftw3-devel - -BuildRoot: %{_tmppath}/%{name}-buildroot - -%description -Rosegarden is an attractive, user-friendly MIDI and audio sequencer, -notation editor, and general-purpose music composition and editing -application for Unix and Linux - -%prep -rm -rf $RPM_BUILD_ROOT -%setup -q -n %{name}-@VERSION@ - -%build -cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -%make - -%install -rm -rf $RPM_BUILD_ROOT -%make DESTDIR=$RPM_BUILD_ROOT install - -#rm 0 byte fonts----why were they kept Lenny? -rm -rf `find $RPM_BUILD_ROOT -name accordion*.xpm` -rm -rf `find $RPM_BUILD_ROOT -name custodes*.xpm` - -#menu -mkdir -p %{buildroot}%{_menudir} -kdedesktop2mdkmenu.pl %{name} "Multimedia/Sound" $RPM_BUILD_ROOT%{_datadir}/applnk/Applications/rosegarden.desktop $RPM_BUILD_ROOT%{_menudir}/%{name} - -%find_lang %name - -%post -%update_menus - -%postun -%clean_menus - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -n %name -f %name.lang -%defattr(-,root,root) -%defattr(-, root,root) -%doc AUTHORS COPYING Doxyfile INSTALL README TRANSLATORS -%{_bindir}/* - -%{_datadir}/applnk/Applications/kde/rosegarden.desktop -%{_datadir}/apps/%name -%{_datadir}/apps/profiles - -%dir %_docdir/HTML/en/%name/ -%doc %_docdir/HTML/en/%name/* - -%dir %_docdir/HTML/ja/%name/ -%doc %_docdir/HTML/ja/%name/*.bz2 -%doc %_docdir/HTML/ja/%name/*.docbook - -%dir %_docdir/HTML/sv/%name/ -%doc %_docdir/HTML/sv/%name/*.bz2 -%doc %_docdir/HTML/sv/%name/*.docbook -%doc %_docdir/HTML/sv/%name/*.png - -%doc %_docdir/HTML/es/%name/*.bz2 -%doc %_docdir/HTML/es/%name/*.docbook - -%{_datadir}/mimelnk/audio/* - -%_menudir/* - -%{_iconsdir}/hicolor/*/apps/* -%{_iconsdir}/locolor/*/apps/* -%{_iconsdir}/hicolor/16x16/mimetypes/x-rosegarden.png -%{_iconsdir}/hicolor/32x32/mimetypes/x-rosegarden.png -%{_iconsdir}/locolor/16x16/mimetypes/x-rosegarden.png -%{_iconsdir}/locolor/32x32/mimetypes/x-rosegarden.png - -%changelog -* Mon Dec 4 2006 Pedro Lopez-Cabanillas <plcl@users.sf.net> 1.5.0 -- Using CMake - -* Mon Sep 25 2006 Pedro Lopez-Cabanillas <plcl@users.sf.net> 1.4.0-1mdk -- 1.4.0 - -* Fri Jul 14 2006 Pedro Lopez-Cabanillas <plcl@users.sf.net> 1.2.4-1mdk -- New release -- Include DSSI support -- Use the internal scons-mini to avoid broken SCons versions - -* Sun Feb 19 2006 Christiaan Welvaart <cjw@daneel.dyndns.org> 1.2.3-1mdk -- 1.2.3 -- drop patches 1,2,3,4 - don't apply + not needed -- scons... -- no shared libraries built, drop lib packages - -* Wed Aug 24 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.0-5mdk -- harmless 64-bit fixes - -* Sat Aug 20 2005 Christiaan Welvaart <cjw@daneel.dyndns.org> 1.0-4mdk -- patch3: fix build (for gcc 4.0?) - -* Mon Jun 13 2005 Pascal Terjan <pterjan@mandriva.org> 1.0-3mdk -- fix build with gcc4 (patch2) - -* Mon Mar 21 2005 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 1.0-2mdk -- fix build on lib64 platforms - -* Tue Feb 15 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 1.0-1mdk -- 1.0 - -* Mon Dec 20 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.9.91-1mdk -- 0.9.91 - -* Tue Oct 19 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.9.9-2mdk -- -Wmissing-prototypes is only valid for the C front-end - -* Tue Aug 17 2004 Pascal Terjan <pterjan@mandrake.org> 0.9.9-1mdk -- 0.9.9 -- update patch0 - -* Fri Jul 16 2004 Michael Scherer <misc@mandrake.org> 0.9.8-2mdk -- rebuild for new gcc ( patch 0 ) - -* Tue May 26 2004 Austin Acton <austin@mandrake.org> 0.9.8-1mdk -- 0.9.8 - -* Tue Apr 20 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.9.7-2mdk -- Fix menu - -* Thu Apr 1 2004 Austin Acton <austin@mandrake.org> 0.9.7-1mdk -- 0.9.7 - -* Tue Feb 17 2004 Austin Acton <austin@mandrake.org> 0.9.6-4mdk -- rebuild for liblrdf2 - -* Wed Jan 14 2004 Charles A Edwards <eslrahc@mandrake.org> 0.9.6-3mdk -- put back correct changelog entry for Austin's 0.9.6-1mdk--don't - know how I screwed that - -* Wed Jan 14 2004 Charles A Edwards <eslrahc@mandrake.org> 0.9.6-2mdk -- use libtoolize /bin/true -- define iconname -- build with liblrdf -- buildrequire liblrdf0-devel and ImageMagick -- use source xpm to create icons -- fix rpath for _libdir and _bindir -- use marcos configure2_5x and makeinstall_std -- rm 0 byte fonts -- add docand doc/howtos - -* Mon Jan 12 2004 Austin Acton <austin@mandrake.org> 0.9.6-1mdk -- 0.9.6 -- does not require "jack" or libname -- buildrequires jackit and ladspa libs -- mklibname -- lib64 fix buildrequires - -* Thu Dec 04 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.9.5-1mdk -- 0.9.5 - -* Thu Jun 5 2003 Austin Acton <aacton@yorku.ca> 0.9.1-1mdk -- 0.9.1 -- pretty-up spec -- tie bin and lib package versions - -* Sun May 11 2003 Laurent Culioli <laurent@pschit.net> 0.9-1mdk -- 0.9 -- frop patch0 - -* Tue May 06 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.8.5-2mdk -- buildrequires - -* Fri Dec 20 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.8.5-1mdk -- add mandrake menu -- add libraries rpm -- keep zero length xpm icons... -- from ccrma package - -* Wed Dec 18 2002 Fernando Lopez Lezcano <nando@ccrma.stanford.edu> 0.8.5-1 -- changed name to rosegarden, anaconda does not like the current name - (anaconda should be fixed, name is legal) -- update to 0.8.5 - -* Sun Nov 10 2002 Fernando Lopez Lezcano <nando@ccrma.stanford.edu> 0.8-2 -- changed name of package to rosegarden-4 (what was I thinking?...) -- added patch to rename jack alsa ports for jack >= 0.40 -- added explicit dependency to jack -- added redhat menu entry - -* Fri Oct 18 2002 Fernando Lopez Lezcano <nando@ccrma.stanford.edu> -- Initial build. |