Browse Source

Initial attempt at migration to standard TDE CMake build system

tags/r14.0.0
Timothy Pearson 7 years ago
parent
commit
0710d08800
100 changed files with 767 additions and 362 deletions
  1. 78
    354
      CMakeLists.txt
  2. 399
    0
      CMakeLists.txt.orig
  3. 217
    0
      ConfigureChecks.cmake
  4. 5
    0
      config.h.cmake
  5. 8
    8
      data/CMakeLists.txt
  6. 12
    0
      doc/CMakeLists.txt
  7. 0
    0
      doc/de/.gitignore
  8. 12
    0
      doc/en/CMakeLists.txt
  9. 0
    0
      doc/en/headers-and-unicode-lyrics.png
  10. 0
    0
      doc/en/index.docbook
  11. 0
    0
      doc/en/rg-audiofilemanager.png
  12. 0
    0
      doc/en/rg-audiomixer.png
  13. 0
    0
      doc/en/rg-bankeditor.png
  14. 0
    0
      doc/en/rg-button-bar-time.png
  15. 0
    0
      doc/en/rg-button-from-end.png
  16. 0
    0
      doc/en/rg-clefdialog.png
  17. 0
    0
      doc/en/rg-coda.png
  18. 0
    0
      doc/en/rg-colours.png
  19. 0
    0
      doc/en/rg-cursors.png
  20. 0
    0
      doc/en/rg-devicemanager.png
  21. 0
    0
      doc/en/rg-eraser.png
  22. 0
    0
      doc/en/rg-eventfilter.png
  23. 0
    0
      doc/en/rg-eventlisteditor.png
  24. 0
    0
      doc/en/rg-gridquantizer.png
  25. 0
    0
      doc/en/rg-guitarchorddialog.png
  26. 0
    0
      doc/en/rg-guitarchordeditordialog.png
  27. 0
    0
      doc/en/rg-ipb-audio.png
  28. 0
    0
      doc/en/rg-ipb-midi.png
  29. 0
    0
      doc/en/rg-ipb-synth.png
  30. 0
    0
      doc/en/rg-keysigdialog.png
  31. 0
    0
      doc/en/rg-loadpreset.png
  32. 0
    0
      doc/en/rg-mainwindow.png
  33. 0
    0
      doc/en/rg-markerloop.png
  34. 0
    0
      doc/en/rg-matrixview.png
  35. 0
    0
      doc/en/rg-metronome.png
  36. 0
    0
      doc/en/rg-midifilter.png
  37. 0
    0
      doc/en/rg-midimixer.png
  38. 0
    0
      doc/en/rg-move.png
  39. 0
    0
      doc/en/rg-notation-toolbars.png
  40. 0
    0
      doc/en/rg-notationquantizer.png
  41. 0
    0
      doc/en/rg-notationtools.png
  42. 0
    0
      doc/en/rg-notationview-multipage.png
  43. 0
    0
      doc/en/rg-notationview.png
  44. 0
    0
      doc/en/rg-pastedialog.png
  45. 0
    0
      doc/en/rg-pencil.png
  46. 0
    0
      doc/en/rg-percussionmatrix.png
  47. 0
    0
      doc/en/rg-plugin-dialog.png
  48. 0
    0
      doc/en/rg-pluginbuttons.png
  49. 0
    0
      doc/en/rg-plugineditorbutton.png
  50. 0
    0
      doc/en/rg-quickmarker.png
  51. 0
    0
      doc/en/rg-rawnoteruler.png
  52. 0
    0
      doc/en/rg-resize.png
  53. 0
    0
      doc/en/rg-segmentparameterbox.png
  54. 0
    0
      doc/en/rg-segno.png
  55. 0
    0
      doc/en/rg-select.png
  56. 0
    0
      doc/en/rg-split.png
  57. 0
    0
      doc/en/rg-synthpluginbuttons.png
  58. 0
    0
      doc/en/rg-tempodialog.png
  59. 0
    0
      doc/en/rg-temporuler.png
  60. 0
    0
      doc/en/rg-text-cursor.png
  61. 0
    0
      doc/en/rg-textdialog.png
  62. 0
    0
      doc/en/rg-timesigdialog.png
  63. 0
    0
      doc/en/rg-trackbutton-instrumentmenu.png
  64. 0
    0
      doc/en/rg-trackbutton-instruments.png
  65. 0
    0
      doc/en/rg-trackbutton-labels.png
  66. 0
    0
      doc/en/rg-trackbuttons.png
  67. 0
    0
      doc/en/rg-trackeditor.png
  68. 0
    0
      doc/en/rg-trackparameterbox.png
  69. 0
    0
      doc/en/rg-transport.png
  70. 0
    0
      doc/en/rg-triggersegment.png
  71. 0
    0
      doc/en/rg-tupletdialog.png
  72. 0
    0
      doc/en/rg-useornament.png
  73. 0
    0
      doc/en/tips
  74. 0
    0
      doc/en/transpose-by-interval.png
  75. 12
    0
      doc/es/CMakeLists.txt
  76. 0
    0
      doc/es/index.docbook
  77. 12
    0
      doc/ja/CMakeLists.txt
  78. 0
    0
      doc/ja/index.docbook
  79. 12
    0
      doc/sv/CMakeLists.txt
  80. 0
    0
      doc/sv/index.docbook
  81. 0
    0
      doc/sv/rg-audiofilemanager.png
  82. 0
    0
      doc/sv/rg-audiomixer.png
  83. 0
    0
      doc/sv/rg-bankeditor.png
  84. 0
    0
      doc/sv/rg-clefdialog.png
  85. 0
    0
      doc/sv/rg-colours.png
  86. 0
    0
      doc/sv/rg-devicemanager.png
  87. 0
    0
      doc/sv/rg-eventlisteditor.png
  88. 0
    0
      doc/sv/rg-gridquantizer.png
  89. 0
    0
      doc/sv/rg-ipb-audio.png
  90. 0
    0
      doc/sv/rg-ipb-midi.png
  91. 0
    0
      doc/sv/rg-ipb-synth.png
  92. 0
    0
      doc/sv/rg-keysigdialog.png
  93. 0
    0
      doc/sv/rg-mainwindow.png
  94. 0
    0
      doc/sv/rg-matrixview.png
  95. 0
    0
      doc/sv/rg-metronome.png
  96. 0
    0
      doc/sv/rg-midifilter.png
  97. 0
    0
      doc/sv/rg-midimixer.png
  98. 0
    0
      doc/sv/rg-notationquantizer.png
  99. 0
    0
      doc/sv/rg-notationview-multipage.png
  100. 0
    0
      doc/sv/rg-notationview.png

+ 78
- 354
CMakeLists.txt View File

@@ -1,56 +1,40 @@
# 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>
# (C) 2011 Timothy Pearson
# kb9vqf (AT) pearsoncomputing.net
#
# The moral rights of Guillaume Laurent, Chris Cannam, and Richard
# Bown to claim authorship of this work have been asserted.
# Improvements and feedback are welcome
#
# This file is Copyright 2006-2008
# Pedro Lopez-Cabanillas <plcl@users.sourceforge.net>
# This file is released under GPL >= 2
#
# 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.
#################################################

cmake_minimum_required( VERSION 2.8 )


##### general package setup #####################

# The name of our project is "ROSEGARDEN". CMakeLists files in this project can
# refer to the root source directory of the project as ${ROSEGARDEN_SOURCE_DIR}
# refer to the root source directory of the project as ${ROSEGARDEN_SOURCE_DIR}
# and to the root binary directory of the project as ${ROSEGARDEN_BINARY_DIR}
PROJECT(ROSEGARDEN)

# CMake supports KDE checks since this version number
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.2)

# Show full commands and messages. It generates a lot of console output.
# It is necessary for Eclipse warning/error parser,
# but it can be enabled anyway with "make VERBOSE=1"
SET(CMAKE_VERBOSE_MAKEFILE OFF)
##### include essential cmake modules ###########

# Seems that relative paths break some scripts. Don't set it ON
SET(CMAKE_USE_RELATIVE_PATHS OFF)
include( CheckCXXSourceCompiles )
include( CheckFunctionExists )
include( CheckIncludeFileCXX )
include( CheckLibraryExists )
include( CheckStructHasMember )
include( CheckSymbolExists )
include( CheckTypeSize )
include( FindPkgConfig )

# Rebuild the object files if the rules have changed, but not the actual source
# files or headers (e.g. if you changed the some compiler switches)
SET(CMAKE_SKIP_RULE_DEPENDENCY OFF)

# Misc settings
SET(CMAKE_COLOR_MAKEFILE ON)
SET(CMAKE_INCLUDE_CURRENT_DIR ON)
SET(CMAKE_BUILD_WITH_INSTALL_RPATH ON)

# Additional CMake modules for 3rd party library checks reside here
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_admin")
##### set up versioning #########################

# Mark as advanced
MARK_AS_ADVANCED(EXECUTABLE_OUTPUT_PATH
MARK_AS_ADVANCED(EXECUTABLE_OUTPUT_PATH
LIBRARY_OUTPUT_PATH
CMAKE_BACKWARDS_COMPATIBILITY)

@@ -66,15 +50,32 @@ IF(VERSION_SUFFIX)
ENDIF(VERSION_SUFFIX)
ADD_DEFINITIONS(-D'VERSION="${VERSION}"')

# User options
OPTION(WANT_DEBUG "Include debug support" OFF)
OPTION(WANT_FULLDBG "Full debug support (BIG executables!)" OFF)
OPTION(WANT_SOUND "Include Sound support" ON)
OPTION(WANT_JACK "Include Jack (Jack Audio Connection Kit) support" ON)
OPTION(WANT_DSSI "Include DSSI support" ON)
OPTION(WANT_LIRC "Include LIRC (Linux Infrared Remote Control) support" OFF)
OPTION(WANT_PCH "Use precompiled headers" OFF)
OPTION(WANT_TEST "Perform unit tests" OFF)

##### include our cmake modules #################

set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEMacros )


##### setup install paths #######################

include( TDESetupPaths )
tde_setup_paths( )


##### user requested modules ####################

option( BUILD_ALL "Build all" OFF )
option( BUILD_DOC "Build doc" ${BUILD_ALL} )
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
option( WANT_DEBUG "Include debug support" OFF )
option( WANT_FULLDBG "Full debug support (BIG executables!)" OFF )
option( WANT_SOUND "Include Sound support" ${BUILD_ALL} )
option( WANT_JACK "Include Jack (Jack Audio Connection Kit) support" ${BUILD_ALL} )
option( WANT_DSSI "Include DSSI support" ${BUILD_ALL} )
option( WANT_LIRC "Include LIRC (Linux Infrared Remote Control) support" OFF )
option( WANT_PCH "Use precompiled headers" OFF )
option( WANT_TEST "Perform unit tests" OFF )

IF(WANT_TEST)
ENABLE_TESTING()
@@ -86,314 +87,37 @@ IF(NOT WANT_SOUND)
ADD_DEFINITIONS(-DNO_SOUND)
ENDIF(NOT WANT_SOUND)

# Check for KDE3
FIND_PACKAGE(KDE3 REQUIRED QUIET)
IF(QT_FOUND)
ADD_DEFINITIONS(${QT_DEFINITIONS})
MESSAGE(STATUS "Found Qt3 (version ${qt_version_str})")
#MESSAGE("QT_LIBRARIES: ${QT_LIBRARIES}")
ELSE(QT_FOUND)
MESSAGE(STATUS_ERROR "Qt3 package not found--assuming TQt4")
SET(QT_INCLUDE_DIR "/usr/include/qt4")
ENDIF(QT_FOUND)
SET(QT_UIC_EXECUTABLE "/usr/bin/uic-tqt")
SET(QT_MOC_EXECUTABLE "/usr/bin/tmoc")
IF(KDE3_FOUND)
ADD_DEFINITIONS(${KDE3_DEFINITIONS})
#MESSAGE("KDE3PREFIX: ${KDE3PREFIX}")
KDE3_PRINT_RESULTS()
#MESSAGE("QT_AND_TDECORE_LIBS: ${QT_AND_TDECORE_LIBS}")
ELSE(KDE3_FOUND)
MESSAGE(FATAL_ERROR "KDE3 Not found")
ENDIF(KDE3_FOUND)

# Clear the flags set by FindKDE3
SET(CMAKE_CXX_FLAGS "-I/usr/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT")
MARK_AS_ADVANCED(KDE3_BUILD_TESTS
KDE3_ENABLE_FINAL
KDE3_DCOPIDL_EXECUTABLE
KDE3_DCOPIDL2CPP_EXECUTABLE
KDE3_INCLUDE_DIR
KDE3_KCFGC_EXECUTABLE
KDE3_TDECORE_LIBRARY
KDECONFIG_EXECUTABLE )

# Provide the KDE3 prefix as a default prefix (if the user has CMake 2.4.4)
IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
SET(CMAKE_INSTALL_PREFIX ${KDE3PREFIX} CACHE PATH
"Install path prefix, prepended onto install directories." FORCE)
ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)

# Check for PKG-CONFIG
FIND_PACKAGE(PkgConfig REQUIRED)
IF(PKG_CONFIG_FOUND)
MESSAGE(STATUS "Program pkg-config found (${PKG_CONFIG_EXECUTABLE})")
ELSE(PKG_CONFIG_FOUND)
MESSAGE(FATAL_ERROR "Program pkg-config not found")
ENDIF(PKG_CONFIG_FOUND)

# Initialize some variables
SET(HAVE_XFT FALSE)
SET(HAVE_ALSA FALSE)
SET(HAVE_JACK FALSE)
SET(HAVE_DSSI FALSE)
SET(HAVE_LIBLO FALSE)
SET(HAVE_LIBLRDF FALSE)
SET(HAVE_LADSPA FALSE)
SET(HAVE_LIRC FALSE)
SET(HAVE_FFTW3F FALSE)

# Check for Xft
PKG_CHECK_MODULES(XFT xft>=2.1.0)
IF(XFT_FOUND)
ADD_DEFINITIONS(-DHAVE_XFT)
SET(HAVE_XFT TRUE)
SET(XFT_LIBS ${XFT_LIBRARIES})
#MESSAGE("XFT_LIBS: ${XFT_LIBS}")
LIST(APPEND XFT_LIB_DIR ${XFT_LIBRARY_DIRS} ${XFT_LIBDIR})
#MESSAGE("XFT_LIB_DIR: ${XFT_LIB_DIR}")
LIST(APPEND XFT_INC_DIR ${XFT_INCLUDE_DIRS} ${XFT_INCLUDEDIR})
#MESSAGE("XFT_INC_DIR: ${XFT_INC_DIR}")
ENDIF(XFT_FOUND)

IF(WANT_SOUND)

# Check for ALSA 1.0
PKG_CHECK_MODULES(ALSA REQUIRED alsa>=1.0)
IF(ALSA_FOUND)
SET(HAVE_ALSA TRUE)
ADD_DEFINITIONS(-DHAVE_ALSA)
SET(ALSA_LIBS ${ALSA_LIBRARIES})
#MESSAGE("ALSA_LIBS: ${ALSA_LIBS}")
LIST(APPEND ALSA_LIB_DIR ${ALSA_LIBRARY_DIRS} ${ALSA_LIBDIR} )
#MESSAGE("ALSA_LIB_DIR: ${ALSA_LIB_DIR}")
LIST(APPEND ALSA_INC_DIR ${ALSA_INCLUDE_DIRS} ${ALSA_INCLUDEDIR})
#MESSAGE("ALSA_INC_DIR: ${ALSA_INC_DIR}")
ELSE(ALSA_FOUND)
MESSAGE(FATAL_ERROR "Please install the required package. Aborting")
ENDIF(ALSA_FOUND)
IF(WANT_JACK)
PKG_CHECK_MODULES(JACK jack>=0.77)
IF(JACK_FOUND)
ADD_DEFINITIONS(-DHAVE_LIBJACK)
SET(HAVE_JACK TRUE)
SET(JACK_LIBS ${JACK_LIBRARIES})
#MESSAGE("JACK_LIBS: ${JACK_LIBS}")
LIST(APPEND JACK_LIB_DIR ${JACK_LIBDIR} ${JACK_LIBRARY_DIRS})
#MESSAGE("JACK_LIB_DIR: ${JACK_LIB_DIR}")
LIST(APPEND JACK_INC_DIR ${JACK_INCLUDEDIR} ${JACK_INCLUDE_DIRS})
#MESSAGE("JACK_INC_DIR: ${JACK_INC_DIR}")
ENDIF(JACK_FOUND)
ENDIF(WANT_JACK)
IF(WANT_DSSI)
PKG_CHECK_MODULES(DSSI dssi>=0.4)
IF(DSSI_FOUND)
ADD_DEFINITIONS(-DHAVE_DSSI)
SET(HAVE_DSSI TRUE)
LIST(APPEND DSSI_INC_DIR ${DSSI_INCLUDE_DIRS} ${DSSI_INCLUDEDIR})
#MESSAGE("DSSI_INC_DIR: ${DSSI_INC_DIR}")
ENDIF(DSSI_FOUND)
ENDIF(WANT_DSSI)
PKG_CHECK_MODULES(LIBLO liblo>=0.7)
IF(LIBLO_FOUND)
ADD_DEFINITIONS(-DHAVE_LIBLO)
SET(HAVE_LIBLO TRUE)
SET(LIBLO_LIBS ${LIBLO_LIBRARIES})
#MESSAGE("LIBLO_LIBS: ${LIBLO_LIBS}")
LIST(APPEND LIBLO_LIB_DIR ${LIBLO_LIBDIR} ${LIBLO_LIBRARY_DIRS})
#MESSAGE("LIBLO_LIB_DIR: ${LIBLO_LIB_DIR}")
LIST(APPEND LIBLO_INC_DIR ${LIBLO_INCLUDEDIR} ${LIBLO_INCLUDE_DIRS})
#MESSAGE("LIBLO_INC_DIR: ${LIBLO_INC_DIR}")
ENDIF(LIBLO_FOUND)
PKG_CHECK_MODULES(LRDF lrdf>=0.3)
IF(LRDF_FOUND)
SET(HAVE_LIBLRDF TRUE)
ADD_DEFINITIONS(-DHAVE_LIBLRDF)
SET(LRDF_LIBS ${LRDF_LIBRARIES})
#MESSAGE("LRDF_LIBS: ${LRDF_LIBS}")
LIST(APPEND LRDF_LIB_DIR ${LRDF_LIBDIR} ${LRDF_LIBRARY_DIRS})
#MESSAGE("LRDF_LIB_DIR: ${LRDF_LIB_DIR}")
LIST(APPEND LRDF_INC_DIR ${LRDF_INCLUDEDIR} ${LRDF_INCLUDE_DIRS})
#MESSAGE("LRDF_INC_DIR: ${LRDF_INC_DIR}")
ENDIF(LRDF_FOUND)

FIND_PACKAGE(LADSPA QUIET)
IF(LADSPA_FOUND)
SET(HAVE_LADSPA TRUE)
ADD_DEFINITIONS(-DHAVE_LADSPA)
SET(LADSPA_INC_DIR ${LADSPA_INCLUDE_DIR})
MESSAGE(STATUS "Found LADSPA (${LADSPA_INC_DIR})")
ENDIF(LADSPA_FOUND)
ENDIF(WANT_SOUND)

PKG_CHECK_MODULES(FFTW3F REQUIRED fftw3f>=3.0.0)
IF(FFTW3F_FOUND)
ADD_DEFINITIONS(-DHAVE_FFTW3F)
SET(HAVE_FFTW3F TRUE)
SET(FFTW3F_LIBS ${FFTW3F_LIBRARIES})
#MESSAGE("FFTW3F_LIBS: ${FFTW3F_LIBS}")
LIST(APPEND FFTW3F_LIB_DIR ${FFTW3F_LIBDIR} ${FFTW3F_LIBRARY_DIRS})
#MESSAGE("FFTW3F_LIB_DIR: ${FFTW3F_LIB_DIR}")
LIST(APPEND FFTW3F_INC_DIR ${FFTW3F_INCLUDEDIR} ${FFTW3F_INCLUDE_DIRS})
#MESSAGE("FFTW3F_INC_DIR: ${FFTW3F_INC_DIR}")
ELSE(FFTW3F_FOUND)
MESSAGE(FATAL_ERROR "Please install the required package. Aborting")
ENDIF(FFTW3F_FOUND)

IF(WANT_LIRC)
FIND_PACKAGE(LIRC QUIET)
IF(LIRC_FOUND)
SET(HAVE_LIRC TRUE)
ADD_DEFINITIONS(-DHAVE_LIRC)
MESSAGE(STATUS "Found LIRC (${LIRC_LIBRARY})")
SET(LIRC_LIBS ${LIRC_LIBRARY})
SET(LIRC_INC_DIR ${LIRC_INCLUDE_DIR})
SET(LIRC_LIB_DIR ${LIRC_LIBRARY_DIR})
#MESSAGE("LIRC_LIBS: ${LIRC_LIBS}")
#MESSAGE("LIRC_LIB_DIR: ${LIRC_LIB_DIR}")
#MESSAGE("LIRC_INC_DIR: ${LIRC_INC_DIR}")
ENDIF(LIRC_FOUND)
ENDIF(WANT_LIRC)

FIND_PACKAGE(MSGFMT REQUIRED)
IF(MSGFMT_FOUND)
MESSAGE(STATUS "Program msgfmt found (${MSGFMT_EXECUTABLE})")
ENDIF(MSGFMT_FOUND)

FIND_PACKAGE(KDECONFIG)
IF(KDECONFIG_EXECUTABLE)
MESSAGE(STATUS "Program kde-config found (${KDECONFIG_EXECUTABLE})")
#MESSAGE("KDE3PREFIX: ${KDE3PREFIX}")
ENDIF(KDECONFIG_EXECUTABLE)

FIND_PACKAGE(MEINPROC REQUIRED)
IF(MEINPROC_FOUND)
MESSAGE(STATUS "Program meinproc found (${MEINPROC_EXECUTABLE})")
ENDIF(MEINPROC_FOUND)

# Check GCC for PCH support
SET(USE_PCH FALSE)
IF(WANT_PCH)
FIND_PACKAGE(PCHSupport)
IF(PCHSupport_FOUND)
SET(USE_PCH TRUE)
ADD_DEFINITIONS(-DUSE_PCH)
MESSAGE(STATUS "Enabling precompiled headers for GCC ${gcc_compiler_version}")
ENDIF(PCHSupport_FOUND)
ENDIF(WANT_PCH)

# Check PTHREAD_MUTEX_RECURSIVE
INCLUDE(CheckCSourceCompiles)
CHECK_C_SOURCE_COMPILES(
"#include <pthread.h>
int main(int argc, char **argv) {
pthread_mutexattr_t attr;
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
return 0;
}" PTHREAD_HAS_MUTEX_RECURSIVE)
IF(PTHREAD_HAS_MUTEX_RECURSIVE)
ADD_DEFINITIONS(-DHAVE_PTHREAD_MUTEX_RECURSIVE)
ENDIF(PTHREAD_HAS_MUTEX_RECURSIVE)
# End of PTHREAD_MUTEX_RECURSIVE Test

SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -w -fexceptions -DNDEBUG -include tqt.h")
SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -Wall -fexceptions -DDEBUG -include tqt.h")
SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g3 -Wall -fexceptions -DDEBUG -include tqt.h")

MESSAGE(STATUS "Rosegarden ${VERSION} will be built for install into ${CMAKE_INSTALL_PREFIX}")

IF(WANT_DEBUG)
IF(WANT_FULLDBG)
MESSAGE(STATUS "Configured to compile including full debug information in the executables")
SET(CMAKE_BUILD_TYPE Debug CACHE STRING
"Choose the type of build, options are: Debug Release RelWithDebInfo" FORCE)
ELSE(WANT_FULLDBG)
MESSAGE(STATUS "Configured to compile including debug information in the executables")
SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
"Choose the type of build, options are: Debug Release RelWithDebInfo" FORCE)
ENDIF(WANT_FULLDBG)
ELSE(WANT_DEBUG)
MESSAGE(STATUS "Configured to compile for release without debug information")
SET(CMAKE_BUILD_TYPE Release CACHE STRING
"Choose the type of build, options are: Debug Release RelWithDebInfo" FORCE)
ENDIF(WANT_DEBUG)
MARK_AS_ADVANCED(CMAKE_BUILD_TYPE)

# Warn the user if important libraries are missing
INCLUDE(UserWarnings)

# Recurse into the "src" subdirectory. This does not actually
# cause another cmake executable to run. The same process will walk through
# the project's entire directory structure.
# Output directory will be "RGbuild/"
ADD_SUBDIRECTORY(src RGbuild)

# Build and install the translations directory
ADD_SUBDIRECTORY(po RGbuild/po)

# Build and install the documentation directory
ADD_SUBDIRECTORY(docs RGbuild/docs)

# Install data files
ADD_SUBDIRECTORY(data RGbuild/data)

# install some documents...
# INSTALL( FILES AUTHORS COPYING README TRANSLATORS INSTALL rosegarden.lsm
# DESTINATION share/doc/rosegarden-${VERSION} )
##### configure checks ##########################

include( ConfigureChecks.cmake )


###### global compiler settings #################

add_definitions(
-DHAVE_CONFIG_H
)

set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )


##### source directories ########################

add_subdirectory( src )
add_subdirectory( data )
tde_conditional_add_subdirectory( BUILD_DOC doc )
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )


##### write configure files #####################

configure_file( config.h.cmake config.h @ONLY )

# create and install the version file
FILE(WRITE version.txt "${VERSION}\n")
INSTALL( FILES version.txt
DESTINATION ${KDE3DATADIR}/rosegarden )

# uninstall custom target
CONFIGURE_FILE(
"${CMAKE_SOURCE_DIR}/cmake_admin/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)

ADD_CUSTOM_TARGET(uninstall
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")

# Custom target trying to clean the CMake generated files
ADD_CUSTOM_TARGET ( distclean
COMMAND rm -f {,src/,po/,docs/,data/}CMakeCache.txt
COMMAND rm -f {,src/,po/,docs/,data/}cmake_install.cmake
COMMAND rm -f {,src/,po/,docs/,data/}cmake_uninstall.cmake
COMMAND rm -f {,src/,po/,docs/,data/}CPackConfig.cmake
COMMAND rm -f {,src/,po/,docs/,data/}CPackSourceConfig.cmake
COMMAND rm -f {,src/,po/,docs/,data/}install_manifest.txt
COMMAND rm -f {,src/,po/,docs/,data/}progress.make
COMMAND rm -f {,src/,po/,docs/,data/}rosegarden.spec
COMMAND rm -f {,src/,po/,docs/,data/}Makefile
COMMAND rm -rf {,src/,po/,docs/,data/}CMakeFiles
COMMAND rm -rf {,src/,po/,docs/,data/}_CPack_Packages
COMMAND rm -rf RGbuild/*
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
ADD_DEPENDENCIES(distclean clean)
INSTALL( FILES version.txt DESTINATION ${DATA_INSTALL_DIR}/rosegarden )

# configure the RPM spec
CONFIGURE_FILE(
"${CMAKE_SOURCE_DIR}/rosegarden.spec.in"
"${CMAKE_SOURCE_DIR}/rosegarden.spec"
IMMEDIATE @ONLY)

# tarball target
ADD_CUSTOM_TARGET ( tarball
COMMAND mkdir -p rosegarden-${VERSION}
COMMAND cp -r cmake_admin rosegarden-${VERSION}
COMMAND cp -r data rosegarden-${VERSION}
COMMAND cp -r docs rosegarden-${VERSION}
COMMAND cp -r po rosegarden-${VERSION}
COMMAND cp -r src rosegarden-${VERSION}
COMMAND cp CMakeLists.txt AUTHORS COPYING Doxyfile INSTALL README rosegarden.* TRANSLATORS rosegarden-${VERSION}
COMMAND tar -cj --exclude .svn --exclude gettext-0.10.35-kde -f rosegarden-${VERSION}.tar.bz2 rosegarden-${VERSION}
COMMAND rm -rf rosegarden-${VERSION}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
CONFIGURE_FILE("${CMAKE_SOURCE_DIR}/rosegarden.spec.in" "${CMAKE_SOURCE_DIR}/rosegarden.spec" IMMEDIATE @ONLY)

+ 399
- 0
CMakeLists.txt.orig View File

@@ -0,0 +1,399 @@
# 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.

# The name of our project is "ROSEGARDEN". CMakeLists files in this project can
# refer to the root source directory of the project as ${ROSEGARDEN_SOURCE_DIR}
# and to the root binary directory of the project as ${ROSEGARDEN_BINARY_DIR}
PROJECT(ROSEGARDEN)

# CMake supports KDE checks since this version number
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.2)

# Show full commands and messages. It generates a lot of console output.
# It is necessary for Eclipse warning/error parser,
# but it can be enabled anyway with "make VERBOSE=1"
SET(CMAKE_VERBOSE_MAKEFILE OFF)

# Seems that relative paths break some scripts. Don't set it ON
SET(CMAKE_USE_RELATIVE_PATHS OFF)

# Rebuild the object files if the rules have changed, but not the actual source
# files or headers (e.g. if you changed the some compiler switches)
SET(CMAKE_SKIP_RULE_DEPENDENCY OFF)

# Misc settings
SET(CMAKE_COLOR_MAKEFILE ON)
SET(CMAKE_INCLUDE_CURRENT_DIR ON)
SET(CMAKE_BUILD_WITH_INSTALL_RPATH ON)

# Additional CMake modules for 3rd party library checks reside here
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_admin")

# Mark as advanced
MARK_AS_ADVANCED(EXECUTABLE_OUTPUT_PATH
LIBRARY_OUTPUT_PATH
CMAKE_BACKWARDS_COMPATIBILITY)

# Rosegarden version string
SET (VERSION_MAJOR "1")
SET (VERSION_MINOR "7")
SET (VERSION_PATCH "0")
# comment out the next line for a public release
#SET (VERSION_SUFFIX "svn")
SET (VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
IF(VERSION_SUFFIX)
SET (VERSION "${VERSION}-${VERSION_SUFFIX}")
ENDIF(VERSION_SUFFIX)
ADD_DEFINITIONS(-D'VERSION="${VERSION}"')

# User options
OPTION(WANT_DEBUG "Include debug support" OFF)
OPTION(WANT_FULLDBG "Full debug support (BIG executables!)" OFF)
OPTION(WANT_SOUND "Include Sound support" ON)
OPTION(WANT_JACK "Include Jack (Jack Audio Connection Kit) support" ON)
OPTION(WANT_DSSI "Include DSSI support" ON)
OPTION(WANT_LIRC "Include LIRC (Linux Infrared Remote Control) support" OFF)
OPTION(WANT_PCH "Use precompiled headers" OFF)
OPTION(WANT_TEST "Perform unit tests" OFF)

IF(WANT_TEST)
ENABLE_TESTING()
ENDIF(WANT_TEST)

IF(NOT WANT_SOUND)
SET(WANT_JACK OFF)
SET(WANT_DSSI OFF)
ADD_DEFINITIONS(-DNO_SOUND)
ENDIF(NOT WANT_SOUND)

# Check for KDE3
FIND_PACKAGE(KDE3 REQUIRED QUIET)
IF(QT_FOUND)
ADD_DEFINITIONS(${QT_DEFINITIONS})
MESSAGE(STATUS "Found Qt3 (version ${qt_version_str})")
#MESSAGE("QT_LIBRARIES: ${QT_LIBRARIES}")
ELSE(QT_FOUND)
MESSAGE(STATUS_ERROR "Qt3 package not found--assuming TQt4")
SET(QT_INCLUDE_DIR "/usr/include/qt4")
ENDIF(QT_FOUND)
SET(QT_UIC_EXECUTABLE "/usr/bin/uic-tqt")
SET(QT_MOC_EXECUTABLE "/usr/bin/tmoc")
IF(KDE3_FOUND)
ADD_DEFINITIONS(${KDE3_DEFINITIONS})
#MESSAGE("KDE3PREFIX: ${KDE3PREFIX}")
KDE3_PRINT_RESULTS()
#MESSAGE("QT_AND_TDECORE_LIBS: ${QT_AND_TDECORE_LIBS}")
ELSE(KDE3_FOUND)
MESSAGE(FATAL_ERROR "KDE3 Not found")
ENDIF(KDE3_FOUND)

# Clear the flags set by FindKDE3
SET(CMAKE_CXX_FLAGS "-I/usr/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT")
MARK_AS_ADVANCED(KDE3_BUILD_TESTS
KDE3_ENABLE_FINAL
KDE3_DCOPIDL_EXECUTABLE
KDE3_DCOPIDL2CPP_EXECUTABLE
KDE3_INCLUDE_DIR
KDE3_KCFGC_EXECUTABLE
KDE3_TDECORE_LIBRARY
KDECONFIG_EXECUTABLE )

# Provide the KDE3 prefix as a default prefix (if the user has CMake 2.4.4)
IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
SET(CMAKE_INSTALL_PREFIX ${KDE3PREFIX} CACHE PATH
"Install path prefix, prepended onto install directories." FORCE)
ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)

# Check for PKG-CONFIG
FIND_PACKAGE(PkgConfig REQUIRED)
IF(PKG_CONFIG_FOUND)
MESSAGE(STATUS "Program pkg-config found (${PKG_CONFIG_EXECUTABLE})")
ELSE(PKG_CONFIG_FOUND)
MESSAGE(FATAL_ERROR "Program pkg-config not found")
ENDIF(PKG_CONFIG_FOUND)

# Initialize some variables
SET(HAVE_XFT FALSE)
SET(HAVE_ALSA FALSE)
SET(HAVE_JACK FALSE)
SET(HAVE_DSSI FALSE)
SET(HAVE_LIBLO FALSE)
SET(HAVE_LIBLRDF FALSE)
SET(HAVE_LADSPA FALSE)
SET(HAVE_LIRC FALSE)
SET(HAVE_FFTW3F FALSE)

# Check for Xft
PKG_CHECK_MODULES(XFT xft>=2.1.0)
IF(XFT_FOUND)
ADD_DEFINITIONS(-DHAVE_XFT)
SET(HAVE_XFT TRUE)
SET(XFT_LIBS ${XFT_LIBRARIES})
#MESSAGE("XFT_LIBS: ${XFT_LIBS}")
LIST(APPEND XFT_LIB_DIR ${XFT_LIBRARY_DIRS} ${XFT_LIBDIR})
#MESSAGE("XFT_LIB_DIR: ${XFT_LIB_DIR}")
LIST(APPEND XFT_INC_DIR ${XFT_INCLUDE_DIRS} ${XFT_INCLUDEDIR})
#MESSAGE("XFT_INC_DIR: ${XFT_INC_DIR}")
ENDIF(XFT_FOUND)

IF(WANT_SOUND)

# Check for ALSA 1.0
PKG_CHECK_MODULES(ALSA REQUIRED alsa>=1.0)
IF(ALSA_FOUND)
SET(HAVE_ALSA TRUE)
ADD_DEFINITIONS(-DHAVE_ALSA)
SET(ALSA_LIBS ${ALSA_LIBRARIES})
#MESSAGE("ALSA_LIBS: ${ALSA_LIBS}")
LIST(APPEND ALSA_LIB_DIR ${ALSA_LIBRARY_DIRS} ${ALSA_LIBDIR} )
#MESSAGE("ALSA_LIB_DIR: ${ALSA_LIB_DIR}")
LIST(APPEND ALSA_INC_DIR ${ALSA_INCLUDE_DIRS} ${ALSA_INCLUDEDIR})
#MESSAGE("ALSA_INC_DIR: ${ALSA_INC_DIR}")
ELSE(ALSA_FOUND)
MESSAGE(FATAL_ERROR "Please install the required package. Aborting")
ENDIF(ALSA_FOUND)
IF(WANT_JACK)
PKG_CHECK_MODULES(JACK jack>=0.77)
IF(JACK_FOUND)
ADD_DEFINITIONS(-DHAVE_LIBJACK)
SET(HAVE_JACK TRUE)
SET(JACK_LIBS ${JACK_LIBRARIES})
#MESSAGE("JACK_LIBS: ${JACK_LIBS}")
LIST(APPEND JACK_LIB_DIR ${JACK_LIBDIR} ${JACK_LIBRARY_DIRS})
#MESSAGE("JACK_LIB_DIR: ${JACK_LIB_DIR}")
LIST(APPEND JACK_INC_DIR ${JACK_INCLUDEDIR} ${JACK_INCLUDE_DIRS})
#MESSAGE("JACK_INC_DIR: ${JACK_INC_DIR}")
ENDIF(JACK_FOUND)
ENDIF(WANT_JACK)
IF(WANT_DSSI)
PKG_CHECK_MODULES(DSSI dssi>=0.4)
IF(DSSI_FOUND)
ADD_DEFINITIONS(-DHAVE_DSSI)
SET(HAVE_DSSI TRUE)
LIST(APPEND DSSI_INC_DIR ${DSSI_INCLUDE_DIRS} ${DSSI_INCLUDEDIR})
#MESSAGE("DSSI_INC_DIR: ${DSSI_INC_DIR}")
ENDIF(DSSI_FOUND)
ENDIF(WANT_DSSI)
PKG_CHECK_MODULES(LIBLO liblo>=0.7)
IF(LIBLO_FOUND)
ADD_DEFINITIONS(-DHAVE_LIBLO)
SET(HAVE_LIBLO TRUE)
SET(LIBLO_LIBS ${LIBLO_LIBRARIES})
#MESSAGE("LIBLO_LIBS: ${LIBLO_LIBS}")
LIST(APPEND LIBLO_LIB_DIR ${LIBLO_LIBDIR} ${LIBLO_LIBRARY_DIRS})
#MESSAGE("LIBLO_LIB_DIR: ${LIBLO_LIB_DIR}")
LIST(APPEND LIBLO_INC_DIR ${LIBLO_INCLUDEDIR} ${LIBLO_INCLUDE_DIRS})
#MESSAGE("LIBLO_INC_DIR: ${LIBLO_INC_DIR}")
ENDIF(LIBLO_FOUND)
PKG_CHECK_MODULES(LRDF lrdf>=0.3)
IF(LRDF_FOUND)
SET(HAVE_LIBLRDF TRUE)
ADD_DEFINITIONS(-DHAVE_LIBLRDF)
SET(LRDF_LIBS ${LRDF_LIBRARIES})
#MESSAGE("LRDF_LIBS: ${LRDF_LIBS}")
LIST(APPEND LRDF_LIB_DIR ${LRDF_LIBDIR} ${LRDF_LIBRARY_DIRS})
#MESSAGE("LRDF_LIB_DIR: ${LRDF_LIB_DIR}")
LIST(APPEND LRDF_INC_DIR ${LRDF_INCLUDEDIR} ${LRDF_INCLUDE_DIRS})
#MESSAGE("LRDF_INC_DIR: ${LRDF_INC_DIR}")
ENDIF(LRDF_FOUND)

FIND_PACKAGE(LADSPA QUIET)
IF(LADSPA_FOUND)
SET(HAVE_LADSPA TRUE)
ADD_DEFINITIONS(-DHAVE_LADSPA)
SET(LADSPA_INC_DIR ${LADSPA_INCLUDE_DIR})
MESSAGE(STATUS "Found LADSPA (${LADSPA_INC_DIR})")
ENDIF(LADSPA_FOUND)
ENDIF(WANT_SOUND)

PKG_CHECK_MODULES(FFTW3F REQUIRED fftw3f>=3.0.0)
IF(FFTW3F_FOUND)
ADD_DEFINITIONS(-DHAVE_FFTW3F)
SET(HAVE_FFTW3F TRUE)
SET(FFTW3F_LIBS ${FFTW3F_LIBRARIES})
#MESSAGE("FFTW3F_LIBS: ${FFTW3F_LIBS}")
LIST(APPEND FFTW3F_LIB_DIR ${FFTW3F_LIBDIR} ${FFTW3F_LIBRARY_DIRS})
#MESSAGE("FFTW3F_LIB_DIR: ${FFTW3F_LIB_DIR}")
LIST(APPEND FFTW3F_INC_DIR ${FFTW3F_INCLUDEDIR} ${FFTW3F_INCLUDE_DIRS})
#MESSAGE("FFTW3F_INC_DIR: ${FFTW3F_INC_DIR}")
ELSE(FFTW3F_FOUND)
MESSAGE(FATAL_ERROR "Please install the required package. Aborting")
ENDIF(FFTW3F_FOUND)

IF(WANT_LIRC)
FIND_PACKAGE(LIRC QUIET)
IF(LIRC_FOUND)
SET(HAVE_LIRC TRUE)
ADD_DEFINITIONS(-DHAVE_LIRC)
MESSAGE(STATUS "Found LIRC (${LIRC_LIBRARY})")
SET(LIRC_LIBS ${LIRC_LIBRARY})
SET(LIRC_INC_DIR ${LIRC_INCLUDE_DIR})
SET(LIRC_LIB_DIR ${LIRC_LIBRARY_DIR})
#MESSAGE("LIRC_LIBS: ${LIRC_LIBS}")
#MESSAGE("LIRC_LIB_DIR: ${LIRC_LIB_DIR}")
#MESSAGE("LIRC_INC_DIR: ${LIRC_INC_DIR}")
ENDIF(LIRC_FOUND)
ENDIF(WANT_LIRC)

FIND_PACKAGE(MSGFMT REQUIRED)
IF(MSGFMT_FOUND)
MESSAGE(STATUS "Program msgfmt found (${MSGFMT_EXECUTABLE})")
ENDIF(MSGFMT_FOUND)

FIND_PACKAGE(KDECONFIG)
IF(KDECONFIG_EXECUTABLE)
MESSAGE(STATUS "Program kde-config found (${KDECONFIG_EXECUTABLE})")
#MESSAGE("KDE3PREFIX: ${KDE3PREFIX}")
ENDIF(KDECONFIG_EXECUTABLE)

FIND_PACKAGE(MEINPROC REQUIRED)
IF(MEINPROC_FOUND)
MESSAGE(STATUS "Program meinproc found (${MEINPROC_EXECUTABLE})")
ENDIF(MEINPROC_FOUND)

# Check GCC for PCH support
SET(USE_PCH FALSE)
IF(WANT_PCH)
FIND_PACKAGE(PCHSupport)
IF(PCHSupport_FOUND)
SET(USE_PCH TRUE)
ADD_DEFINITIONS(-DUSE_PCH)
MESSAGE(STATUS "Enabling precompiled headers for GCC ${gcc_compiler_version}")
ENDIF(PCHSupport_FOUND)
ENDIF(WANT_PCH)

# Check PTHREAD_MUTEX_RECURSIVE
INCLUDE(CheckCSourceCompiles)
CHECK_C_SOURCE_COMPILES(
"#include <pthread.h>
int main(int argc, char **argv) {
pthread_mutexattr_t attr;
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
return 0;
}" PTHREAD_HAS_MUTEX_RECURSIVE)
IF(PTHREAD_HAS_MUTEX_RECURSIVE)
ADD_DEFINITIONS(-DHAVE_PTHREAD_MUTEX_RECURSIVE)
ENDIF(PTHREAD_HAS_MUTEX_RECURSIVE)
# End of PTHREAD_MUTEX_RECURSIVE Test

SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -w -fexceptions -DNDEBUG -include tqt.h")
SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -Wall -fexceptions -DDEBUG -include tqt.h")
SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g3 -Wall -fexceptions -DDEBUG -include tqt.h")

MESSAGE(STATUS "Rosegarden ${VERSION} will be built for install into ${CMAKE_INSTALL_PREFIX}")

IF(WANT_DEBUG)
IF(WANT_FULLDBG)
MESSAGE(STATUS "Configured to compile including full debug information in the executables")
SET(CMAKE_BUILD_TYPE Debug CACHE STRING
"Choose the type of build, options are: Debug Release RelWithDebInfo" FORCE)
ELSE(WANT_FULLDBG)
MESSAGE(STATUS "Configured to compile including debug information in the executables")
SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
"Choose the type of build, options are: Debug Release RelWithDebInfo" FORCE)
ENDIF(WANT_FULLDBG)
ELSE(WANT_DEBUG)
MESSAGE(STATUS "Configured to compile for release without debug information")
SET(CMAKE_BUILD_TYPE Release CACHE STRING
"Choose the type of build, options are: Debug Release RelWithDebInfo" FORCE)
ENDIF(WANT_DEBUG)
MARK_AS_ADVANCED(CMAKE_BUILD_TYPE)

# Warn the user if important libraries are missing
INCLUDE(UserWarnings)

# Recurse into the "src" subdirectory. This does not actually
# cause another cmake executable to run. The same process will walk through
# the project's entire directory structure.
# Output directory will be "RGbuild/"
ADD_SUBDIRECTORY(src RGbuild)

# Build and install the translations directory
ADD_SUBDIRECTORY(po RGbuild/po)

# Build and install the documentation directory
ADD_SUBDIRECTORY(docs RGbuild/docs)

# Install data files
ADD_SUBDIRECTORY(data RGbuild/data)

# install some documents...
# INSTALL( FILES AUTHORS COPYING README TRANSLATORS INSTALL rosegarden.lsm
# DESTINATION share/doc/rosegarden-${VERSION} )

# create and install the version file
FILE(WRITE version.txt "${VERSION}\n")
INSTALL( FILES version.txt
DESTINATION ${KDE3DATADIR}/rosegarden )

# uninstall custom target
CONFIGURE_FILE(
"${CMAKE_SOURCE_DIR}/cmake_admin/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)

ADD_CUSTOM_TARGET(uninstall
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")

# Custom target trying to clean the CMake generated files
ADD_CUSTOM_TARGET ( distclean
COMMAND rm -f {,src/,po/,docs/,data/}CMakeCache.txt
COMMAND rm -f {,src/,po/,docs/,data/}cmake_install.cmake
COMMAND rm -f {,src/,po/,docs/,data/}cmake_uninstall.cmake
COMMAND rm -f {,src/,po/,docs/,data/}CPackConfig.cmake
COMMAND rm -f {,src/,po/,docs/,data/}CPackSourceConfig.cmake
COMMAND rm -f {,src/,po/,docs/,data/}install_manifest.txt
COMMAND rm -f {,src/,po/,docs/,data/}progress.make
COMMAND rm -f {,src/,po/,docs/,data/}rosegarden.spec
COMMAND rm -f {,src/,po/,docs/,data/}Makefile
COMMAND rm -rf {,src/,po/,docs/,data/}CMakeFiles
COMMAND rm -rf {,src/,po/,docs/,data/}_CPack_Packages
COMMAND rm -rf RGbuild/*
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
ADD_DEPENDENCIES(distclean clean)

# configure the RPM spec
CONFIGURE_FILE(
"${CMAKE_SOURCE_DIR}/rosegarden.spec.in"
"${CMAKE_SOURCE_DIR}/rosegarden.spec"
IMMEDIATE @ONLY)

# tarball target
ADD_CUSTOM_TARGET ( tarball
COMMAND mkdir -p rosegarden-${VERSION}
COMMAND cp -r cmake_admin rosegarden-${VERSION}
COMMAND cp -r data rosegarden-${VERSION}
COMMAND cp -r docs rosegarden-${VERSION}
COMMAND cp -r po rosegarden-${VERSION}
COMMAND cp -r src rosegarden-${VERSION}
COMMAND cp CMakeLists.txt AUTHORS COPYING Doxyfile INSTALL README rosegarden.* TRANSLATORS rosegarden-${VERSION}
COMMAND tar -cj --exclude .svn --exclude gettext-0.10.35-kde -f rosegarden-${VERSION}.tar.bz2 rosegarden-${VERSION}
COMMAND rm -rf rosegarden-${VERSION}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)

+ 217
- 0
ConfigureChecks.cmake View File

@@ -0,0 +1,217 @@
#################################################
#
# (C) 2011 Timothy Pearson
# kb9vqf (AT) pearsoncomputing.net
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################

if( BUILD_TRANSLATIONS AND NOT DEFINED MSGFMT_EXECUTABLE )
find_program( MSGFMT_EXECUTABLE msgfmt )
if( NOT MSGFMT_EXECUTABLE )
tde_message_fatal( "msgfmt program is required, but was not found on your system" )
endif( )
endif( )

# Initialize some variables
SET(HAVE_XFT FALSE)
SET(HAVE_ALSA FALSE)
SET(HAVE_JACK FALSE)
SET(HAVE_DSSI FALSE)
SET(HAVE_LIBLO FALSE)
SET(HAVE_LIBLRDF FALSE)
SET(HAVE_LADSPA FALSE)
SET(HAVE_LIRC FALSE)
SET(HAVE_FFTW3F FALSE)

# Check for Xft
PKG_CHECK_MODULES(XFT xft>=2.1.0)
IF(XFT_FOUND)
ADD_DEFINITIONS(-DHAVE_XFT)
SET(HAVE_XFT TRUE)
SET(XFT_LIBS ${XFT_LIBRARIES})
#MESSAGE("XFT_LIBS: ${XFT_LIBS}")
LIST(APPEND XFT_LIB_DIR ${XFT_LIBRARY_DIRS} ${XFT_LIBDIR})
#MESSAGE("XFT_LIB_DIR: ${XFT_LIB_DIR}")
LIST(APPEND XFT_INC_DIR ${XFT_INCLUDE_DIRS} ${XFT_INCLUDEDIR})
#MESSAGE("XFT_INC_DIR: ${XFT_INC_DIR}")
ENDIF(XFT_FOUND)

IF(WANT_SOUND)

# Check for ALSA 1.0
PKG_CHECK_MODULES(ALSA REQUIRED alsa>=1.0)
IF(ALSA_FOUND)
SET(HAVE_ALSA TRUE)
ADD_DEFINITIONS(-DHAVE_ALSA)
SET(ALSA_LIBS ${ALSA_LIBRARIES})
#MESSAGE("ALSA_LIBS: ${ALSA_LIBS}")
LIST(APPEND ALSA_LIB_DIR ${ALSA_LIBRARY_DIRS} ${ALSA_LIBDIR} )
#MESSAGE("ALSA_LIB_DIR: ${ALSA_LIB_DIR}")
LIST(APPEND ALSA_INC_DIR ${ALSA_INCLUDE_DIRS} ${ALSA_INCLUDEDIR})
#MESSAGE("ALSA_INC_DIR: ${ALSA_INC_DIR}")
ELSE(ALSA_FOUND)
MESSAGE(FATAL_ERROR "Please install the required package. Aborting")
ENDIF(ALSA_FOUND)

IF(WANT_JACK)
PKG_CHECK_MODULES(JACK jack>=0.77)
IF(JACK_FOUND)
ADD_DEFINITIONS(-DHAVE_LIBJACK)
SET(HAVE_JACK TRUE)
SET(JACK_LIBS ${JACK_LIBRARIES})
#MESSAGE("JACK_LIBS: ${JACK_LIBS}")
LIST(APPEND JACK_LIB_DIR ${JACK_LIBDIR} ${JACK_LIBRARY_DIRS})
#MESSAGE("JACK_LIB_DIR: ${JACK_LIB_DIR}")
LIST(APPEND JACK_INC_DIR ${JACK_INCLUDEDIR} ${JACK_INCLUDE_DIRS})
#MESSAGE("JACK_INC_DIR: ${JACK_INC_DIR}")
ENDIF(JACK_FOUND)
ENDIF(WANT_JACK)

IF(WANT_DSSI)
PKG_CHECK_MODULES(DSSI dssi>=0.4)
IF(DSSI_FOUND)
ADD_DEFINITIONS(-DHAVE_DSSI)
SET(HAVE_DSSI TRUE)
LIST(APPEND DSSI_INC_DIR ${DSSI_INCLUDE_DIRS} ${DSSI_INCLUDEDIR})
#MESSAGE("DSSI_INC_DIR: ${DSSI_INC_DIR}")
ENDIF(DSSI_FOUND)
ENDIF(WANT_DSSI)

PKG_CHECK_MODULES(LIBLO liblo>=0.7)
IF(LIBLO_FOUND)
ADD_DEFINITIONS(-DHAVE_LIBLO)
SET(HAVE_LIBLO TRUE)
SET(LIBLO_LIBS ${LIBLO_LIBRARIES})
#MESSAGE("LIBLO_LIBS: ${LIBLO_LIBS}")
LIST(APPEND LIBLO_LIB_DIR ${LIBLO_LIBDIR} ${LIBLO_LIBRARY_DIRS})
#MESSAGE("LIBLO_LIB_DIR: ${LIBLO_LIB_DIR}")
LIST(APPEND LIBLO_INC_DIR ${LIBLO_INCLUDEDIR} ${LIBLO_INCLUDE_DIRS})
#MESSAGE("LIBLO_INC_DIR: ${LIBLO_INC_DIR}")
ENDIF(LIBLO_FOUND)

PKG_CHECK_MODULES(LRDF lrdf>=0.3)
IF(LRDF_FOUND)
SET(HAVE_LIBLRDF TRUE)
ADD_DEFINITIONS(-DHAVE_LIBLRDF)
SET(LRDF_LIBS ${LRDF_LIBRARIES})
#MESSAGE("LRDF_LIBS: ${LRDF_LIBS}")
LIST(APPEND LRDF_LIB_DIR ${LRDF_LIBDIR} ${LRDF_LIBRARY_DIRS})
#MESSAGE("LRDF_LIB_DIR: ${LRDF_LIB_DIR}")
LIST(APPEND LRDF_INC_DIR ${LRDF_INCLUDEDIR} ${LRDF_INCLUDE_DIRS})
#MESSAGE("LRDF_INC_DIR: ${LRDF_INC_DIR}")
ENDIF(LRDF_FOUND)

FIND_PACKAGE(LADSPA QUIET)
IF(LADSPA_FOUND)
SET(HAVE_LADSPA TRUE)
ADD_DEFINITIONS(-DHAVE_LADSPA)
SET(LADSPA_INC_DIR ${LADSPA_INCLUDE_DIR})
MESSAGE(STATUS "Found LADSPA (${LADSPA_INC_DIR})")
ENDIF(LADSPA_FOUND)

ENDIF(WANT_SOUND)

PKG_CHECK_MODULES(FFTW3F REQUIRED fftw3f>=3.0.0)
IF(FFTW3F_FOUND)
ADD_DEFINITIONS(-DHAVE_FFTW3F)
SET(HAVE_FFTW3F TRUE)
SET(FFTW3F_LIBS ${FFTW3F_LIBRARIES})
#MESSAGE("FFTW3F_LIBS: ${FFTW3F_LIBS}")
LIST(APPEND FFTW3F_LIB_DIR ${FFTW3F_LIBDIR} ${FFTW3F_LIBRARY_DIRS})
#MESSAGE("FFTW3F_LIB_DIR: ${FFTW3F_LIB_DIR}")
LIST(APPEND FFTW3F_INC_DIR ${FFTW3F_INCLUDEDIR} ${FFTW3F_INCLUDE_DIRS})
#MESSAGE("FFTW3F_INC_DIR: ${FFTW3F_INC_DIR}")
ELSE(FFTW3F_FOUND)
MESSAGE(FATAL_ERROR "Please install the required package. Aborting")
ENDIF(FFTW3F_FOUND)

IF(WANT_LIRC)
FIND_PACKAGE(LIRC QUIET)
IF(LIRC_FOUND)
SET(HAVE_LIRC TRUE)
ADD_DEFINITIONS(-DHAVE_LIRC)
MESSAGE(STATUS "Found LIRC (${LIRC_LIBRARY})")
SET(LIRC_LIBS ${LIRC_LIBRARY})
SET(LIRC_INC_DIR ${LIRC_INCLUDE_DIR})
SET(LIRC_LIB_DIR ${LIRC_LIBRARY_DIR})
#MESSAGE("LIRC_LIBS: ${LIRC_LIBS}")
#MESSAGE("LIRC_LIB_DIR: ${LIRC_LIB_DIR}")
#MESSAGE("LIRC_INC_DIR: ${LIRC_INC_DIR}")
ENDIF(LIRC_FOUND)
ENDIF(WANT_LIRC)

FIND_PACKAGE(KDECONFIG)
IF(KDECONFIG_EXECUTABLE)
MESSAGE(STATUS "Program kde-config found (${KDECONFIG_EXECUTABLE})")
#MESSAGE("KDE3PREFIX: ${KDE3PREFIX}")
ENDIF(KDECONFIG_EXECUTABLE)

FIND_PACKAGE(MEINPROC REQUIRED)
IF(MEINPROC_FOUND)
MESSAGE(STATUS "Program meinproc found (${MEINPROC_EXECUTABLE})")
ENDIF(MEINPROC_FOUND)

# Check GCC for PCH support
SET(USE_PCH FALSE)
IF(WANT_PCH)
FIND_PACKAGE(PCHSupport)
IF(PCHSupport_FOUND)
SET(USE_PCH TRUE)
ADD_DEFINITIONS(-DUSE_PCH)
MESSAGE(STATUS "Enabling precompiled headers for GCC ${gcc_compiler_version}")
ENDIF(PCHSupport_FOUND)
ENDIF(WANT_PCH)

# Check PTHREAD_MUTEX_RECURSIVE
INCLUDE(CheckCSourceCompiles)
CHECK_C_SOURCE_COMPILES(
"#include <pthread.h>
int main(int argc, char **argv) {
pthread_mutexattr_t attr;
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
return 0;
}" PTHREAD_HAS_MUTEX_RECURSIVE)
IF(PTHREAD_HAS_MUTEX_RECURSIVE)
ADD_DEFINITIONS(-DHAVE_PTHREAD_MUTEX_RECURSIVE)
ENDIF(PTHREAD_HAS_MUTEX_RECURSIVE)
# End of PTHREAD_MUTEX_RECURSIVE Test

SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -w -fexceptions -DNDEBUG -include tqt.h")
SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -Wall -fexceptions -DDEBUG -include tqt.h")
SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g3 -Wall -fexceptions -DDEBUG -include tqt.h")

MESSAGE(STATUS "Rosegarden ${VERSION} will be built for install into ${CMAKE_INSTALL_PREFIX}")

IF(WANT_DEBUG)
IF(WANT_FULLDBG)
MESSAGE(STATUS "Configured to compile including full debug information in the executables")
SET(CMAKE_BUILD_TYPE Debug CACHE STRING
"Choose the type of build, options are: Debug Release RelWithDebInfo" FORCE)
ELSE(WANT_FULLDBG)
MESSAGE(STATUS "Configured to compile including debug information in the executables")
SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
"Choose the type of build, options are: Debug Release RelWithDebInfo" FORCE)
ENDIF(WANT_FULLDBG)
ELSE(WANT_DEBUG)
MESSAGE(STATUS "Configured to compile for release without debug information")
SET(CMAKE_BUILD_TYPE Release CACHE STRING
"Choose the type of build, options are: Debug Release RelWithDebInfo" FORCE)
ENDIF(WANT_DEBUG)
MARK_AS_ADVANCED(CMAKE_BUILD_TYPE)

check_type_size( "int" SIZEOF_INT BUILTIN_TYPES_ONLY )
check_type_size( "long" SIZEOF_LONG BUILTIN_TYPES_ONLY )

check_include_file( stdint.h HAVE_STDINT_H )
check_include_file( systems.h HAVE_SYSTEMS_H )
check_include_file( linux/inotify.h HAVE_INOTIFY )

check_function_exists( statvfs HAVE_STATVFS )

# common required stuff
find_package( TQt )
find_package( TDE )

+ 5
- 0
config.h.cmake View File

@@ -0,0 +1,5 @@
#cmakedefine SIZEOF_INT @SIZEOF_INT@
#cmakedefine SIZEOF_LONG @SIZEOF_LONG@
#cmakedefine HAVE_STDINT_H 1
#cmakedefine HAVE_SYSTEMS_H 1
#cmakedefine HAVE_STATVFS 1

+ 8
- 8
data/CMakeLists.txt View File

@@ -1,9 +1,9 @@
# Data directory

SET(DATADIR ${KDE3DATADIR}/rosegarden)
SET(ICONDIR ${KDE3ICONDIR})
SET(MIMEDIR ${KDE3MIMEDIR}/audio)
SET(MENUDIR ${KDE3MENUDIR})
SET(DATADIR ${DATA_INSTALL_DIR}/rosegarden)
SET(ICONDIR ${ICON_INSTALL_DIR})
SET(MIMEDIR ${MIME_INSTALL_DIR}/audio)
SET(MENUDIR ${XDG_MENU_INSTALL_DIR})

# Guitar chord files
FILE(GLOB CHORD_FILES chords/*.xml)
@@ -80,7 +80,7 @@ INSTALL(FILES ${PIXMAP_FILES} DESTINATION ${DATADIR}/pixmaps/toolbar)
FILE(GLOB PIXMAP_FILES pixmaps/transport/*.xpm pixmaps/transport/*.png)
INSTALL(FILES ${PIXMAP_FILES} DESTINATION ${DATADIR}/pixmaps/transport)

# Splash
# Splash
INSTALL(FILES pixmaps/splash.png DESTINATION ${DATADIR}/pixmaps)

# Examples
@@ -114,12 +114,12 @@ SET(EXAMPLE_FILES
examples/vivaldi-cs3mv2.rg
examples/vivaldi_op44_11_1.rg )

INSTALL(FILES ${EXAMPLE_FILES} DESTINATION ${DATADIR}/examples)
INSTALL(FILES ${EXAMPLE_FILES} DESTINATION ${DATADIR}/examples)
INSTALL(FILES examples/autoload.rg DESTINATION ${DATADIR})

# Library
# Library
FILE(GLOB RGD_FILES library/*.rgd)
INSTALL(FILES ${RGD_FILES} DESTINATION ${DATADIR}/library)

# KDE LIRC Profile
INSTALL(FILES profile/rosegarden.profile.xml DESTINATION ${KDE3DATADIR}/profiles)
INSTALL(FILES profile/rosegarden.profile.xml DESTINATION ${DATA_INSTALL_DIR}/profiles)

+ 12
- 0
doc/CMakeLists.txt View File

@@ -0,0 +1,12 @@
#################################################
#
# (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################

tde_auto_add_subdirectories()

docs/de/.gitignore → doc/de/.gitignore View File


+ 12
- 0
doc/en/CMakeLists.txt View File

@@ -0,0 +1,12 @@
#################################################
#
# (C) 2011 Timothy Pearson
# kb9vqf (AT) pearsoncomputing.net
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################

tde_create_handbook( DESTINATION rosegarden )

docs/en/headers-and-unicode-lyrics.png → doc/en/headers-and-unicode-lyrics.png View File


docs/en/index.docbook → doc/en/index.docbook View File


docs/en/rg-audiofilemanager.png → doc/en/rg-audiofilemanager.png View File


docs/en/rg-audiomixer.png → doc/en/rg-audiomixer.png View File


docs/en/rg-bankeditor.png → doc/en/rg-bankeditor.png View File


docs/en/rg-button-bar-time.png → doc/en/rg-button-bar-time.png View File


docs/en/rg-button-from-end.png → doc/en/rg-button-from-end.png View File


docs/en/rg-clefdialog.png → doc/en/rg-clefdialog.png View File


docs/en/rg-coda.png → doc/en/rg-coda.png View File


docs/en/rg-colours.png → doc/en/rg-colours.png View File


docs/en/rg-cursors.png → doc/en/rg-cursors.png View File


docs/en/rg-devicemanager.png → doc/en/rg-devicemanager.png View File


docs/en/rg-eraser.png → doc/en/rg-eraser.png View File


docs/en/rg-eventfilter.png → doc/en/rg-eventfilter.png View File


docs/en/rg-eventlisteditor.png → doc/en/rg-eventlisteditor.png View File


docs/en/rg-gridquantizer.png → doc/en/rg-gridquantizer.png View File


docs/en/rg-guitarchorddialog.png → doc/en/rg-guitarchorddialog.png View File


docs/en/rg-guitarchordeditordialog.png → doc/en/rg-guitarchordeditordialog.png View File


docs/en/rg-ipb-audio.png → doc/en/rg-ipb-audio.png View File


docs/en/rg-ipb-midi.png → doc/en/rg-ipb-midi.png View File


docs/en/rg-ipb-synth.png → doc/en/rg-ipb-synth.png View File


docs/en/rg-keysigdialog.png → doc/en/rg-keysigdialog.png View File


docs/en/rg-loadpreset.png → doc/en/rg-loadpreset.png View File


docs/en/rg-mainwindow.png → doc/en/rg-mainwindow.png View File


docs/en/rg-markerloop.png → doc/en/rg-markerloop.png View File


docs/en/rg-matrixview.png → doc/en/rg-matrixview.png View File


docs/en/rg-metronome.png → doc/en/rg-metronome.png View File


docs/en/rg-midifilter.png → doc/en/rg-midifilter.png View File


docs/en/rg-midimixer.png → doc/en/rg-midimixer.png View File


docs/en/rg-move.png → doc/en/rg-move.png View File


docs/en/rg-notation-toolbars.png → doc/en/rg-notation-toolbars.png View File


docs/en/rg-notationquantizer.png → doc/en/rg-notationquantizer.png View File


docs/en/rg-notationtools.png → doc/en/rg-notationtools.png View File


docs/en/rg-notationview-multipage.png → doc/en/rg-notationview-multipage.png View File


docs/en/rg-notationview.png → doc/en/rg-notationview.png View File


docs/en/rg-pastedialog.png → doc/en/rg-pastedialog.png View File


docs/en/rg-pencil.png → doc/en/rg-pencil.png View File


docs/en/rg-percussionmatrix.png → doc/en/rg-percussionmatrix.png View File


docs/en/rg-plugin-dialog.png → doc/en/rg-plugin-dialog.png View File


docs/en/rg-pluginbuttons.png → doc/en/rg-pluginbuttons.png View File


docs/en/rg-plugineditorbutton.png → doc/en/rg-plugineditorbutton.png View File


docs/en/rg-quickmarker.png → doc/en/rg-quickmarker.png View File


docs/en/rg-rawnoteruler.png → doc/en/rg-rawnoteruler.png View File


docs/en/rg-resize.png → doc/en/rg-resize.png View File


docs/en/rg-segmentparameterbox.png → doc/en/rg-segmentparameterbox.png View File


docs/en/rg-segno.png → doc/en/rg-segno.png View File


docs/en/rg-select.png → doc/en/rg-select.png View File


docs/en/rg-split.png → doc/en/rg-split.png View File


docs/en/rg-synthpluginbuttons.png → doc/en/rg-synthpluginbuttons.png View File


docs/en/rg-tempodialog.png → doc/en/rg-tempodialog.png View File


docs/en/rg-temporuler.png → doc/en/rg-temporuler.png View File


docs/en/rg-text-cursor.png → doc/en/rg-text-cursor.png View File


docs/en/rg-textdialog.png → doc/en/rg-textdialog.png View File


docs/en/rg-timesigdialog.png → doc/en/rg-timesigdialog.png View File


docs/en/rg-trackbutton-instrumentmenu.png → doc/en/rg-trackbutton-instrumentmenu.png View File


docs/en/rg-trackbutton-instruments.png → doc/en/rg-trackbutton-instruments.png View File


docs/en/rg-trackbutton-labels.png → doc/en/rg-trackbutton-labels.png View File


docs/en/rg-trackbuttons.png → doc/en/rg-trackbuttons.png View File


docs/en/rg-trackeditor.png → doc/en/rg-trackeditor.png View File


docs/en/rg-trackparameterbox.png → doc/en/rg-trackparameterbox.png View File


docs/en/rg-transport.png → doc/en/rg-transport.png View File


docs/en/rg-triggersegment.png → doc/en/rg-triggersegment.png View File


docs/en/rg-tupletdialog.png → doc/en/rg-tupletdialog.png View File


docs/en/rg-useornament.png → doc/en/rg-useornament.png View File


docs/en/tips → doc/en/tips View File


docs/en/transpose-by-interval.png → doc/en/transpose-by-interval.png View File


+ 12
- 0
doc/es/CMakeLists.txt View File

@@ -0,0 +1,12 @@
#################################################
#
# (C) 2011 Timothy Pearson
# kb9vqf (AT) pearsoncomputing.net
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################

tde_create_handbook( DESTINATION rosegarden )

docs/es/index.docbook → doc/es/index.docbook View File


+ 12
- 0
doc/ja/CMakeLists.txt View File

@@ -0,0 +1,12 @@
#################################################
#
# (C) 2011 Timothy Pearson
# kb9vqf (AT) pearsoncomputing.net
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################

tde_create_handbook( DESTINATION rosegarden )

docs/ja/index.docbook → doc/ja/index.docbook View File


+ 12
- 0
doc/sv/CMakeLists.txt View File

@@ -0,0 +1,12 @@
#################################################
#
# (C) 2011 Timothy Pearson
# kb9vqf (AT) pearsoncomputing.net
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################

tde_create_handbook( DESTINATION rosegarden )

docs/sv/index.docbook → doc/sv/index.docbook View File


docs/sv/rg-audiofilemanager.png → doc/sv/rg-audiofilemanager.png View File


docs/sv/rg-audiomixer.png → doc/sv/rg-audiomixer.png View File


docs/sv/rg-bankeditor.png → doc/sv/rg-bankeditor.png View File


docs/sv/rg-clefdialog.png → doc/sv/rg-clefdialog.png View File


docs/sv/rg-colours.png → doc/sv/rg-colours.png View File


docs/sv/rg-devicemanager.png → doc/sv/rg-devicemanager.png View File


docs/sv/rg-eventlisteditor.png → doc/sv/rg-eventlisteditor.png View File


docs/sv/rg-gridquantizer.png → doc/sv/rg-gridquantizer.png View File


docs/sv/rg-ipb-audio.png → doc/sv/rg-ipb-audio.png View File


docs/sv/rg-ipb-midi.png → doc/sv/rg-ipb-midi.png View File


docs/sv/rg-ipb-synth.png → doc/sv/rg-ipb-synth.png View File


docs/sv/rg-keysigdialog.png → doc/sv/rg-keysigdialog.png View File


docs/sv/rg-mainwindow.png → doc/sv/rg-mainwindow.png View File


docs/sv/rg-matrixview.png → doc/sv/rg-matrixview.png View File


docs/sv/rg-metronome.png → doc/sv/rg-metronome.png View File


docs/sv/rg-midifilter.png → doc/sv/rg-midifilter.png View File


docs/sv/rg-midimixer.png → doc/sv/rg-midimixer.png View File


docs/sv/rg-notationquantizer.png → doc/sv/rg-notationquantizer.png View File


docs/sv/rg-notationview-multipage.png → doc/sv/rg-notationview-multipage.png View File


docs/sv/rg-notationview.png → doc/sv/rg-notationview.png View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save