Compare commits
346 Commits
Author | SHA1 | Date |
---|---|---|
|
aebe0fd0bf | 2 months ago |
|
444b9ac175 | 3 months ago |
|
78b8f50901 | 3 months ago |
|
2dd4d59787 | 3 months ago |
|
7393502aef | 4 months ago |
|
506417a882 | 4 months ago |
|
e9f7a36d8d | 4 months ago |
|
dc94564234 | 4 months ago |
|
eafe039ebb | 4 months ago |
|
f44cabe8c8 | 5 months ago |
|
06042c0471 | 5 months ago |
|
7f981e3ef1 | 6 months ago |
|
4511685ee8 | 7 months ago |
|
439182b724 | 8 months ago |
|
70cf423633 | 8 months ago |
|
f78bc47d03 | 8 months ago |
|
c7826af0df | 8 months ago |
|
c9877777d3 | 8 months ago |
|
13f091f000 | 8 months ago |
|
f29b11f1d6 | 8 months ago |
|
c4b8d4effd | 8 months ago |
|
1488d361d2 | 9 months ago |
|
64b9a975ac | 9 months ago |
|
922620095e | 9 months ago |
|
e56395ae19 | 1 year ago |
|
95c249ddf6 | 1 year ago |
|
48eed92ca8 | 1 year ago |
|
5eb170e8c5 | 1 year ago |
|
42e25148b6 | 1 year ago |
|
1e5e9153cd | 1 year ago |
|
edb78953b9 | 1 year ago |
|
a465baf08a | 1 year ago |
|
f2a469f153 | 1 year ago |
|
471a729c33 | 1 year ago |
|
ae61a047fb | 1 year ago |
|
e9f46130c2 | 2 years ago |
|
9b054308ce | 2 years ago |
|
217eb15dfe | 2 years ago |
|
0fc192d282 | 2 years ago |
|
fe842b62ac | 2 years ago |
|
86d6ccab8e | 2 years ago |
|
1ec7b1dadc | 2 years ago |
|
3d3dc041a5 | 2 years ago |
|
49df580e12 | 2 years ago |
|
2ec11ba03e | 2 years ago |
|
5f88991f1f | 2 years ago |
|
685724904f | 2 years ago |
|
c57b4dfc67 | 2 years ago |
|
439c716aab | 2 years ago |
|
a4bba7169c | 3 years ago |
|
83648e7c87 | 3 years ago |
|
04768b5081 | 3 years ago |
|
00c774a0b1 | 3 years ago |
|
e9246d5e43 | 3 years ago |
|
c1b7240b8f | 3 years ago |
|
6f8ca36b4b | 3 years ago |
|
d84799dd95 | 4 years ago |
|
9efd528ec7 | 4 years ago |
|
a690b16f6e | 4 years ago |
|
56820f7171 | 4 years ago |
|
994c15533a | 4 years ago |
|
6acb9db1af | 4 years ago |
|
17ca3b8050 | 4 years ago |
|
0e69dfe375 | 4 years ago |
|
fc17dba5a7 | 4 years ago |
|
17c9e65e6a | 4 years ago |
|
381d7bfa54 | 4 years ago |
|
72db33ebb8 | 4 years ago |
|
7b38dbb3d1 | 4 years ago |
|
afd4fc7695 | 5 years ago |
|
0747a90609 | 5 years ago |
|
d7286463ff | 5 years ago |
|
888a3436f4 | 5 years ago |
|
fd0c84f43c | 5 years ago |
|
512e8ee6bb | 5 years ago |
|
c84cd3c1c7 | 5 years ago |
|
3653198fab | 5 years ago |
|
3f45f3b6b9 | 5 years ago |
|
f2cdffacef | 5 years ago |
|
0009f18105 | 5 years ago |
|
60eb78116d | 5 years ago |
|
760649a1f1 | 5 years ago |
|
8cd408c8ab | 5 years ago |
|
dba83c7b09 | 5 years ago |
|
e8b200b360 | 5 years ago |
|
dc41a355d5 | 5 years ago |
|
9da92af802 | 5 years ago |
|
5676a065c9 | 5 years ago |
|
c8a7896741 | 5 years ago |
|
18f1a4426d | 5 years ago |
|
66ecb23d4e | 5 years ago |
|
ae06ef4639 | 5 years ago |
|
ee2e0a697f | 5 years ago |
|
3cc3afca9f | 5 years ago |
|
bfdae59efd | 5 years ago |
|
c7105b5434 | 5 years ago |
|
0b7537b3bc | 5 years ago |
|
0da1d813b4 | 5 years ago |
|
eb2d0cdb1c | 5 years ago |
|
3e25fc3aa9 | 5 years ago |
|
09d192da63 | 5 years ago |
|
cb43486dad | 5 years ago |
|
c927e622c9 | 5 years ago |
|
0d8fa36dad | 5 years ago |
|
7849e4bed8 | 5 years ago |
|
2d3f73b04e | 5 years ago |
|
9d82d67247 | 5 years ago |
|
9e938bb2cc | 5 years ago |
|
0b0b1a8c8d | 5 years ago |
|
37e41cc53f | 6 years ago |
|
ee65dc73da | 6 years ago |
|
1d66138193 | 6 years ago |
|
22f61a98fe | 6 years ago |
|
a708bc381c | 6 years ago |
|
3bec9c329f | 6 years ago |
|
c6273562cc | 6 years ago |
|
0f4824d550 | 6 years ago |
|
c42dedae33 | 6 years ago |
|
4bb05eb87f | 6 years ago |
|
25f4a36f22 | 6 years ago |
|
39bec3f936 | 6 years ago |
|
063b2f9818 | 6 years ago |
|
ba4b85521c | 6 years ago |
|
5d57692581 | 6 years ago |
|
c958301ac9 | 6 years ago |
|
8a66685f6c | 6 years ago |
|
ea669a249e | 6 years ago |
|
43c7a06342 | 6 years ago |
|
af7bfbe4bc | 7 years ago |
|
e40181790b | 7 years ago |
|
a9444bce1b | 7 years ago |
|
3d2479ae2e | 7 years ago |
|
75f082a360 | 7 years ago |
|
1ecdcdcc81 | 7 years ago |
|
fecb776e7c | 7 years ago |
|
cea604e003 | 7 years ago |
|
8dbc69988a | 7 years ago |
|
01a430e6be | 7 years ago |
|
363e0bb711 | 7 years ago |
|
a57408ff45 | 7 years ago |
|
89375659c2 | 7 years ago |
|
c8a19a9108 | 7 years ago |
|
d46c4ef52d | 7 years ago |
|
9c087636ab | 7 years ago |
|
041074009f | 7 years ago |
|
51fd10b1a0 | 7 years ago |
|
57ee73a425 | 7 years ago |
|
e1e9390377 | 7 years ago |
|
d8a9ad699f | 7 years ago |
|
8c0cfbf661 | 7 years ago |
|
95fa0b3590 | 7 years ago |
|
0c5fe1097e | 7 years ago |
|
77875ed8ff | 7 years ago |
|
bf76c1f3e5 | 8 years ago |
|
3d9dcbb783 | 8 years ago |
|
593939ec1e | 9 years ago |
|
3c529bdeff | 9 years ago |
|
8130ab04f8 | 9 years ago |
|
7abab1d73f | 9 years ago |
|
1f27184c22 | 9 years ago |
|
5505d802a3 | 9 years ago |
|
d8a51e1567 | 9 years ago |
|
da8b792e5d | 10 years ago |
|
30a1886f11 | 10 years ago |
|
a474a3ab05 | 10 years ago |
|
184c782d27 | 10 years ago |
|
09674ed199 | 11 years ago |
|
377e28a5fb | 11 years ago |
|
aef23e9226 | 11 years ago |
|
ba2e538db2 | 11 years ago |
|
549dd2e2fe | 11 years ago |
|
5ffa40262b | 11 years ago |
|
c6c046cc17 | 11 years ago |
|
885012f750 | 11 years ago |
|
f21acb5b07 | 11 years ago |
|
22358c2bad | 11 years ago |
|
9c5b029f48 | 11 years ago |
|
e14b6f4f49 | 11 years ago |
|
a843b65ad7 | 11 years ago |
|
5ff64aa7af | 11 years ago |
|
a43b95d58f | 11 years ago |
|
8b2b271025 | 11 years ago |
|
d85b4ec43d | 11 years ago |
|
5cd139a6b1 | 11 years ago |
|
e6e1e80b75 | 11 years ago |
|
2d135a617c | 11 years ago |
|
0a68eed5c4 | 11 years ago |
|
8488e6ad46 | 11 years ago |
|
0ab5fbc594 | 12 years ago |
|
ae53ad08db | 12 years ago |
|
c88738e010 | 12 years ago |
|
57738540d1 | 12 years ago |
|
e6fc7d0e7e | 12 years ago |
|
44d037a72c | 12 years ago |
|
a180c5a6a8 | 12 years ago |
|
d0864048f1 | 12 years ago |
|
8a5f09a03b | 12 years ago |
|
b657284428 | 12 years ago |
|
b0650ef26b | 12 years ago |
|
bafdcd3680 | 12 years ago |
|
f60b26c68a | 12 years ago |
|
a05eab9530 | 12 years ago |
|
3f758f38ad | 13 years ago |
|
32fc4ccb6f | 13 years ago |
|
ff3e928c55 | 13 years ago |
|
72661ffb44 | 13 years ago |
|
eed4bbab8b | 13 years ago |
|
839c7fc574 | 13 years ago |
|
e046563944 | 13 years ago |
|
4f3d7ccfbb | 13 years ago |
|
66cfe2d547 | 13 years ago |
|
23b3938d52 | 13 years ago |
|
a21d754de2 | 13 years ago |
|
5459fb4c7f | 13 years ago |
|
3f02581883 | 13 years ago |
|
2b56d6c1c1 | 13 years ago |
|
bd575e80a7 | 13 years ago |
|
77607a3818 | 13 years ago |
|
af2cf87ad7 | 13 years ago |
|
cd7745fcd0 | 13 years ago |
|
990bf92fa5 | 13 years ago |
|
fb3718a55f | 13 years ago |
|
acf699af82 | 13 years ago |
|
1d53865a04 | 13 years ago |
|
846a0a7e09 | 13 years ago |
|
4da01909a8 | 13 years ago |
|
efe74e7dc3 | 13 years ago |
|
8661ec0ede | 13 years ago |
|
3e8a0dbfbe | 13 years ago |
|
af0597d3de | 13 years ago |
|
20d323dbbf | 13 years ago |
|
d4c3b9d53d | 13 years ago |
|
7571c05285 | 13 years ago |
|
5e6e2fd835 | 13 years ago |
|
59ff04ffaf | 13 years ago |
|
c329cc4e7e | 13 years ago |
|
049e19e619 | 13 years ago |
|
3edbf7b350 | 13 years ago |
|
106687cbe8 | 13 years ago |
|
8c78497ddb | 13 years ago |
|
6e7786bdc3 | 13 years ago |
|
39331eb963 | 13 years ago |
|
d13d19bb0f | 13 years ago |
|
b066d1aa05 | 13 years ago |
|
c3f91a161c | 13 years ago |
|
5ed1c01d19 | 13 years ago |
|
af88555e73 | 13 years ago |
|
7142857b69 | 13 years ago |
|
83ab1fdadd | 13 years ago |
|
307fd320c2 | 13 years ago |
|
635f658a0c | 13 years ago |
|
b55c3fc106 | 13 years ago |
|
3537b8fe85 | 13 years ago |
|
dfeb585643 | 13 years ago |
|
f993a80693 | 13 years ago |
|
611f62f7bd | 13 years ago |
|
189d9ae40c | 13 years ago |
|
fcf6583f47 | 13 years ago |
|
87358cb814 | 13 years ago |
|
6913bdef6e | 13 years ago |
|
8297386eb5 | 13 years ago |
|
e2fcad4b1e | 13 years ago |
|
8edc3b2611 | 13 years ago |
|
38b292b841 | 13 years ago |
|
7415ff7f61 | 13 years ago |
|
775e84eae8 | 13 years ago |
|
b05a4d59ba | 13 years ago |
|
cc9be6e8b9 | 13 years ago |
|
0801c28ce2 | 13 years ago |
|
d1e77902f8 | 13 years ago |
|
975dabcfab | 13 years ago |
|
f6c298bae1 | 13 years ago |
|
15276f365c | 13 years ago |
|
4a9d4beee6 | 13 years ago |
|
83a1c06d55 | 13 years ago |
|
c713dc0283 | 13 years ago |
|
d59198d6e2 | 13 years ago |
|
6ef11b493b | 13 years ago |
|
13e4c2566d | 14 years ago |
|
82021d242c | 14 years ago |
|
a8aafac98d | 14 years ago |
|
e07474244f | 14 years ago |
|
145b100729 | 14 years ago |
|
92628d1ce7 | 14 years ago |
|
c5db5ce52b | 14 years ago |
|
7dd361378f | 14 years ago |
|
bb9d1c5032 | 14 years ago |
|
c97367ce4f | 14 years ago |
|
6c5563b774 | 14 years ago |
|
f7031167fe | 14 years ago |
|
4ba0aa45b4 | 14 years ago |
|
53d4a2df24 | 14 years ago |
|
81bd578a96 | 14 years ago |
|
4e4e8a099b | 14 years ago |
|
075fb732d3 | 14 years ago |
|
cf2188eb21 | 14 years ago |
|
7a2433159c | 14 years ago |
|
2b54e33458 | 14 years ago |
|
14cabadbdb | 14 years ago |
|
d300a95629 | 14 years ago |
|
6f4e01253c | 14 years ago |
|
513f5b8b70 | 14 years ago |
|
95c4fe4611 | 14 years ago |
|
d5264aa714 | 14 years ago |
|
93fa2e5cb6 | 14 years ago |
|
c18386d69b | 14 years ago |
|
97f1c43c86 | 14 years ago |
|
ef13416bfc | 14 years ago |
|
6ca08e7a88 | 14 years ago |
|
4faf11eccc | 14 years ago |
|
e6d6692eda | 14 years ago |
|
431c9828f4 | 14 years ago |
|
adf473ac78 | 14 years ago |
|
d5746c7ab6 | 14 years ago |
|
70c4c7ec40 | 14 years ago |
|
b4f6019135 | 14 years ago |
|
445b7d8bcb | 14 years ago |
|
f38a30443e | 14 years ago |
|
d3b27721e6 | 14 years ago |
|
290ba9d97c | 14 years ago |
|
16033cce50 | 14 years ago |
|
3580575bd2 | 14 years ago |
|
50fa73a8ca | 14 years ago |
|
6f6e37706e | 14 years ago |
|
4b3c5dd929 | 14 years ago |
|
d195ad0b88 | 14 years ago |
|
1461610fb3 | 14 years ago |
|
9b6d0553a0 | 14 years ago |
|
0710d08800 | 14 years ago |
|
b264127d14 | 14 years ago |
|
32e75dd020 | 14 years ago |
|
4bd9818cfe | 14 years ago |
|
3ae077f916 | 14 years ago |
|
f85b6587ef | 14 years ago |
|
633d1c5794 | 14 years ago |
|
b1db717c8a | 14 years ago |
|
8dd278da1c | 14 years ago |
|
beaaff7c63 | 14 years ago |
|
5a83875827 | 14 years ago |
|
d7dc7f3d53 | 14 years ago |
|
f1ffe9c794 | 14 years ago |
|
d96ea93629 | 14 years ago |
|
140d74c258 | 14 years ago |
|
32ebd53663 | 14 years ago |
|
b31534f87f | 14 years ago |
|
d23d7effa2 | 14 years ago |
@ -0,0 +1,66 @@
|
|||||||
|
#################################################
|
||||||
|
#
|
||||||
|
# (C) 2019 Slávek Banko
|
||||||
|
# slavek.banko (AT) axis.cz
|
||||||
|
#
|
||||||
|
# Improvements and feedback are welcome
|
||||||
|
#
|
||||||
|
# This file is released under GPL >= 2
|
||||||
|
#
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
|
||||||
|
##### set project version ########################
|
||||||
|
|
||||||
|
include( TDEVersion )
|
||||||
|
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
|
||||||
|
|
||||||
|
|
||||||
|
##### include our cmake modules #################
|
||||||
|
|
||||||
|
include( TDEL10n )
|
||||||
|
|
||||||
|
|
||||||
|
##### prepare strings from data files ###########
|
||||||
|
|
||||||
|
## style names
|
||||||
|
file( GLOB_RECURSE _style_files
|
||||||
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/data/styles/*.xml )
|
||||||
|
unset( _styles_l10n )
|
||||||
|
foreach( _style_file ${_style_files} )
|
||||||
|
get_filename_component( _style_name "${_style_file}" NAME_WE )
|
||||||
|
string( REPLACE "_" " " _style_name "${_style_name}" )
|
||||||
|
set( _styles_l10n "${_styles_l10n}i18n(\"${_style_name}\");\n" )
|
||||||
|
endforeach( )
|
||||||
|
file( WRITE "${CMAKE_CURRENT_SOURCE_DIR}/data/styles/.tde_l10n" "${_styles_l10n}" )
|
||||||
|
|
||||||
|
## font attributes
|
||||||
|
set( _fonts_attribs "data/fonts/mappings/*.xml" )
|
||||||
|
foreach( _fonts_attrib
|
||||||
|
"rosegarden-font-encoding,name"
|
||||||
|
"font-information,origin"
|
||||||
|
"font-information,copyright"
|
||||||
|
"font-information,mapped-by"
|
||||||
|
"font-information,type" )
|
||||||
|
|
||||||
|
set( _fonts_attribs "${_fonts_attribs}:${_fonts_attrib}" )
|
||||||
|
endforeach( )
|
||||||
|
|
||||||
|
|
||||||
|
##### create translation templates ##############
|
||||||
|
|
||||||
|
tde_l10n_create_template(
|
||||||
|
CATALOG "messages/rosegarden"
|
||||||
|
SOURCES
|
||||||
|
"src"
|
||||||
|
"doc/en/tips"
|
||||||
|
"data/styles/.tde_l10n"
|
||||||
|
ATTRIBUTES
|
||||||
|
${_fonts_attribs}
|
||||||
|
)
|
||||||
|
|
||||||
|
tde_l10n_create_template(
|
||||||
|
CATALOG "desktop_files/rosegarden-desktops"
|
||||||
|
SOURCES data/desktop/*.desktop
|
||||||
|
)
|
@ -1,399 +1,123 @@
|
|||||||
# Rosegarden
|
#################################################
|
||||||
# A MIDI and audio sequencer and musical notation editor.
|
|
||||||
#
|
#
|
||||||
# This program is Copyright 2000-2008
|
# (C) 2011 Timothy Pearson
|
||||||
# Guillaume Laurent <glaurent@telegraph-road.org>,
|
# kb9vqf (AT) pearsoncomputing.net
|
||||||
# Chris Cannam <cannam@all-day-breakfast.com>,
|
|
||||||
# Richard Bown <richard.bown@ferventsoftware.com>
|
|
||||||
#
|
#
|
||||||
# The moral rights of Guillaume Laurent, Chris Cannam, and Richard
|
# Improvements and feedback are welcome
|
||||||
# Bown to claim authorship of this work have been asserted.
|
|
||||||
#
|
#
|
||||||
# This file is Copyright 2006-2008
|
# This file is released under GPL >= 2
|
||||||
# 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
|
##### set project version ########################
|
||||||
# modify it under the terms of the GNU General Public License as
|
|
||||||
# published by the Free Software Foundation; either version 2 of the
|
include( TDEVersion )
|
||||||
# License, or (at your option) any later version. See the file
|
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
|
||||||
# COPYING included with this distribution for more information.
|
tde_set_project_version( )
|
||||||
|
|
||||||
# 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
|
##### general package setup #####################
|
||||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.2)
|
|
||||||
|
|
||||||
# Show full commands and messages. It generates a lot of console output.
|
project( rosegarden )
|
||||||
# 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
|
##### include essential cmake modules ###########
|
||||||
# files or headers (e.g. if you changed the some compiler switches)
|
|
||||||
SET(CMAKE_SKIP_RULE_DEPENDENCY OFF)
|
|
||||||
|
|
||||||
# Misc settings
|
include( CheckCXXSourceCompiles )
|
||||||
SET(CMAKE_COLOR_MAKEFILE ON)
|
include( CheckFunctionExists )
|
||||||
SET(CMAKE_INCLUDE_CURRENT_DIR ON)
|
include( CheckIncludeFileCXX )
|
||||||
SET(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
|
include( CheckLibraryExists )
|
||||||
|
include( CheckStructHasMember )
|
||||||
|
include( CheckSymbolExists )
|
||||||
|
include( CheckTypeSize )
|
||||||
|
include( FindPkgConfig )
|
||||||
|
include( FindThreads )
|
||||||
|
|
||||||
# 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
|
||||||
MARK_AS_ADVANCED(EXECUTABLE_OUTPUT_PATH
|
mark_as_advanced(EXECUTABLE_OUTPUT_PATH
|
||||||
LIBRARY_OUTPUT_PATH
|
LIBRARY_OUTPUT_PATH
|
||||||
CMAKE_BACKWARDS_COMPATIBILITY)
|
CMAKE_BACKWARDS_COMPATIBILITY)
|
||||||
|
|
||||||
# Rosegarden version string
|
# Rosegarden version string
|
||||||
SET (VERSION_MAJOR "1")
|
set (VERSION_MAJOR "1")
|
||||||
SET (VERSION_MINOR "7")
|
set (VERSION_MINOR "7")
|
||||||
SET (VERSION_PATCH "0")
|
set (VERSION_PATCH "0")
|
||||||
# comment out the next line for a public release
|
# comment out the next line for a public release
|
||||||
#SET (VERSION_SUFFIX "svn")
|
#set (VERSION_SUFFIX "svn")
|
||||||
SET (VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
set (PACKAGE_VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
||||||
IF(VERSION_SUFFIX)
|
if(VERSION_SUFFIX)
|
||||||
SET (VERSION "${VERSION}-${VERSION_SUFFIX}")
|
set (PACKAGE_VERSION "${PACKAGE_VERSION}-${VERSION_SUFFIX}")
|
||||||
ENDIF(VERSION_SUFFIX)
|
endif(VERSION_SUFFIX)
|
||||||
ADD_DEFINITIONS(-D'VERSION="${VERSION}"')
|
add_definitions(-D'VERSION="${PACKAGE_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_KDECORE_LIBS: ${QT_AND_KDECORE_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_KDECORE_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")
|
##### include our cmake modules #################
|
||||||
INSTALL( FILES version.txt
|
|
||||||
DESTINATION ${KDE3DATADIR}/rosegarden )
|
include( TDEMacros )
|
||||||
|
|
||||||
# uninstall custom target
|
|
||||||
CONFIGURE_FILE(
|
##### setup install paths #######################
|
||||||
"${CMAKE_SOURCE_DIR}/cmake_admin/cmake_uninstall.cmake.in"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
|
include( TDESetupPaths )
|
||||||
IMMEDIATE @ONLY)
|
tde_setup_paths( )
|
||||||
|
|
||||||
ADD_CUSTOM_TARGET(uninstall
|
|
||||||
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
|
##### user requested modules ####################
|
||||||
|
|
||||||
# Custom target trying to clean the CMake generated files
|
option( BUILD_ALL "Build all" OFF )
|
||||||
ADD_CUSTOM_TARGET ( distclean
|
option( BUILD_DOC "Build doc" ${BUILD_ALL} )
|
||||||
COMMAND rm -f {,src/,po/,docs/,data/}CMakeCache.txt
|
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
|
||||||
COMMAND rm -f {,src/,po/,docs/,data/}cmake_install.cmake
|
option( WANT_DEBUG "Include debug support" OFF )
|
||||||
COMMAND rm -f {,src/,po/,docs/,data/}cmake_uninstall.cmake
|
option( WANT_FULLDBG "Full debug support (BIG executables!)" OFF )
|
||||||
COMMAND rm -f {,src/,po/,docs/,data/}CPackConfig.cmake
|
option( WANT_SOUND "Include Sound support" ${BUILD_ALL} )
|
||||||
COMMAND rm -f {,src/,po/,docs/,data/}CPackSourceConfig.cmake
|
option( WANT_JACK "Include Jack (Jack Audio Connection Kit) support" ${BUILD_ALL} )
|
||||||
COMMAND rm -f {,src/,po/,docs/,data/}install_manifest.txt
|
option( WANT_DSSI "Include DSSI support" ${BUILD_ALL} )
|
||||||
COMMAND rm -f {,src/,po/,docs/,data/}progress.make
|
option( WANT_LIRC "Include LIRC (Linux Infrared Remote Control) support" OFF )
|
||||||
COMMAND rm -f {,src/,po/,docs/,data/}rosegarden.spec
|
option( WANT_PCH "Use precompiled headers" OFF )
|
||||||
COMMAND rm -f {,src/,po/,docs/,data/}Makefile
|
option( WANT_TEST "Perform unit tests" OFF )
|
||||||
COMMAND rm -rf {,src/,po/,docs/,data/}CMakeFiles
|
|
||||||
COMMAND rm -rf {,src/,po/,docs/,data/}_CPack_Packages
|
if(WANT_TEST)
|
||||||
COMMAND rm -rf RGbuild/*
|
enable_testing()
|
||||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
endif(WANT_TEST)
|
||||||
)
|
|
||||||
ADD_DEPENDENCIES(distclean clean)
|
if(NOT WANT_SOUND)
|
||||||
|
set(WANT_JACK OFF)
|
||||||
# configure the RPM spec
|
set(WANT_DSSI OFF)
|
||||||
CONFIGURE_FILE(
|
add_definitions(-DNO_SOUND)
|
||||||
"${CMAKE_SOURCE_DIR}/rosegarden.spec.in"
|
endif(NOT WANT_SOUND)
|
||||||
"${CMAKE_SOURCE_DIR}/rosegarden.spec"
|
|
||||||
IMMEDIATE @ONLY)
|
##### configure checks ##########################
|
||||||
|
|
||||||
# tarball target
|
include( ConfigureChecks.cmake )
|
||||||
ADD_CUSTOM_TARGET ( tarball
|
|
||||||
COMMAND mkdir -p rosegarden-${VERSION}
|
|
||||||
COMMAND cp -r cmake_admin rosegarden-${VERSION}
|
###### global compiler settings #################
|
||||||
COMMAND cp -r data rosegarden-${VERSION}
|
|
||||||
COMMAND cp -r docs rosegarden-${VERSION}
|
add_definitions(
|
||||||
COMMAND cp -r po rosegarden-${VERSION}
|
-DHAVE_CONFIG_H
|
||||||
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}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
|
||||||
|
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
|
||||||
|
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
|
||||||
|
|
||||||
|
|
||||||
|
##### source directories ########################
|
||||||
|
|
||||||
|
add_subdirectory( src )
|
||||||
|
add_subdirectory( data )
|
||||||
|
tde_conditional_add_project_docs( BUILD_DOC )
|
||||||
|
tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
|
||||||
|
|
||||||
|
|
||||||
|
##### write configure files #####################
|
||||||
|
|
||||||
|
configure_file( config.h.cmake config.h @ONLY )
|
||||||
|
|
||||||
|
# create and install the version file
|
||||||
|
file(WRITE "${CMAKE_BINARY_DIR}/version.txt" "${PACKAGE_VERSION}\n")
|
||||||
|
install( FILES "${CMAKE_BINARY_DIR}/version.txt" DESTINATION ${DATA_INSTALL_DIR}/rosegarden )
|
||||||
|
@ -0,0 +1,244 @@
|
|||||||
|
#################################################
|
||||||
|
#
|
||||||
|
# (C) 2011 Timothy Pearson
|
||||||
|
# kb9vqf (AT) pearsoncomputing.net
|
||||||
|
#
|
||||||
|
# Improvements and feedback are welcome
|
||||||
|
#
|
||||||
|
# This file is released under GPL >= 2
|
||||||
|
#
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
|
||||||
|
# required stuff
|
||||||
|
find_package( TQt )
|
||||||
|
find_package( TDE )
|
||||||
|
|
||||||
|
tde_setup_architecture_flags( )
|
||||||
|
|
||||||
|
include(TestBigEndian)
|
||||||
|
test_big_endian(WORDS_BIGENDIAN)
|
||||||
|
|
||||||
|
tde_setup_largefiles( )
|
||||||
|
|
||||||
|
|
||||||
|
##### check for gcc visibility support #########
|
||||||
|
|
||||||
|
if( WITH_GCC_VISIBILITY )
|
||||||
|
tde_setup_gcc_visibility( )
|
||||||
|
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)
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# - 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)
|
||||||
|
##################################################################
|
||||||
|
|
||||||
|
if(LADSPA_FOUND)
|
||||||
|
set(HAVE_LADSPA TRUE)
|
||||||
|
add_definitions(-DHAVE_LADSPA)
|
||||||
|
set(LADSPA_INC_DIR ${LADSPA_INCLUDE_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)
|
||||||
|
|
||||||
|
# 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")
|
||||||
|
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -Wall -fexceptions -DDEBUG")
|
||||||
|
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g3 -Wall -fexceptions -DDEBUG")
|
||||||
|
|
||||||
|
message(STATUS "Rosegarden ${PACKAGE_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 )
|
@ -1,4 +0,0 @@
|
|||||||
Please see the AUTHORS file for a list of translators.
|
|
||||||
|
|
||||||
If you'd like to translate Rosegarden into your language, contact us at
|
|
||||||
<rosegarden-devel@lists.sourceforge.net>
|
|
@ -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 kde-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 kde-config PATHS
|
|
||||||
$ENV{KDEDIR}/bin
|
|
||||||
/opt/trinity/bin
|
|
||||||
/opt/kde/bin
|
|
||||||
NO_DEFAULT_PATH
|
|
||||||
)
|
|
||||||
FIND_PROGRAM(KDECONFIG_EXECUTABLE kde-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 kdedir )
|
|
||||||
STRING(REGEX REPLACE "\n" "" KDE3PREFIX "${kdedir}")
|
|
||||||
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)
|
|
@ -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)
|
|
@ -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)
|
|
@ -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{KDEDIR}/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)
|
|
@ -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)
|
|
@ -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${QT_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)
|
|
@ -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:
|
|
@ -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("")
|
|
@ -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)
|
|
@ -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
|
@ -1,13 +1,16 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
|
Name=Rosegarden
|
||||||
|
|
||||||
|
GenericName=MIDI and Audio Sequencer and Editor
|
||||||
|
|
||||||
|
Comment=MIDI and audio sequencer and musical notation editor
|
||||||
|
|
||||||
Encoding=UTF-8
|
Encoding=UTF-8
|
||||||
Type=Application
|
Type=Application
|
||||||
Categories=AudioVideo;Audio;Midi;Sequencer;X-SuSE-Sequencer;X-Red-Hat-Base;
|
|
||||||
Exec=rosegarden
|
Exec=rosegarden
|
||||||
MimeType=audio/x-rosegarden;audio/x-rosegarden-device;audio/midi
|
Icon=rosegarden
|
||||||
X-KDE-NativeMimeType=audio/x-rosegarden
|
|
||||||
Icon=rosegarden.png
|
|
||||||
DocPath=rosegarden/index.html
|
|
||||||
Comment=MIDI and Audio Sequencer and Editor
|
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Name=Rosegarden
|
Categories=AudioVideo;Audio;Midi;Sequencer;X-SuSE-Sequencer;X-Red-Hat-Base;
|
||||||
Name[de]=Rosegarden
|
MimeType=audio/x-rosegarden;audio/x-rosegarden-device;audio/midi
|
||||||
|
X-DocPath=rosegarden/index.html
|
||||||
|
X-TDE-NativeMimeType=audio/x-rosegarden
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Comment=Rosegarden device file
|
Comment=Rosegarden device file
|
||||||
Comment[fr]=Fichier de description de peripherique Rosegarden
|
|
||||||
Hidden=false
|
Type=MimeType
|
||||||
Icon=midi
|
|
||||||
MimeType=audio/x-rosegarden-device
|
MimeType=audio/x-rosegarden-device
|
||||||
|
Icon=audio-midi
|
||||||
Patterns=*.rgd;*.RGD
|
Patterns=*.rgd;*.RGD
|
||||||
Type=MimeType
|
Hidden=false
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Comment=Rosegarden file
|
Comment=Rosegarden file
|
||||||
Comment[fr]=Fichier Rosegarden
|
|
||||||
Hidden=false
|
Type=MimeType
|
||||||
Icon=x-rosegarden.png
|
|
||||||
MimeType=audio/x-rosegarden
|
MimeType=audio/x-rosegarden
|
||||||
|
Icon=x-rosegarden
|
||||||
Patterns=*.rg;*.RG
|
Patterns=*.rg;*.RG
|
||||||
Type=MimeType
|
Hidden=false
|
||||||
X-KDE-AutoEmbed=false
|
X-TDE-AutoEmbed=false
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Comment=Rosegarden 2.1 file
|
Comment=Rosegarden 2.1 file
|
||||||
Comment[fr]=Fichier Rosegarden 2.1
|
|
||||||
Hidden=false
|
Type=MimeType
|
||||||
Icon=midi
|
|
||||||
MimeType=audio/x-rosegarden21
|
MimeType=audio/x-rosegarden21
|
||||||
|
Icon=audio-midi
|
||||||
Patterns=*.rose
|
Patterns=*.rose
|
||||||
Type=MimeType
|
Hidden=false
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Comment=Soundfont
|
Comment=Soundfont
|
||||||
Comment[fr]=Echantillons
|
|
||||||
Hidden=false
|
Type=MimeType
|
||||||
Icon=sound
|
|
||||||
MimeType=audio/x-soundfont
|
MimeType=audio/x-soundfont
|
||||||
|
Icon=audio-x-generic
|
||||||
Patterns=*.sf2;*.SF2
|
Patterns=*.sf2;*.SF2
|
||||||
Type=MimeType
|
Hidden=false
|
||||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 923 B |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 926 B After Width: | Height: | Size: 904 B |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 319 B |
Before Width: | Height: | Size: 553 B After Width: | Height: | Size: 552 B |
Before Width: | Height: | Size: 115 B After Width: | Height: | Size: 96 B |
Before Width: | Height: | Size: 106 B After Width: | Height: | Size: 87 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 570 B After Width: | Height: | Size: 401 B |
Before Width: | Height: | Size: 149 KiB After Width: | Height: | Size: 150 KiB |
Before Width: | Height: | Size: 308 KiB After Width: | Height: | Size: 308 KiB |
Before Width: | Height: | Size: 262 KiB After Width: | Height: | Size: 260 KiB |
Before Width: | Height: | Size: 322 KiB After Width: | Height: | Size: 320 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 967 B After Width: | Height: | Size: 767 B |
Before Width: | Height: | Size: 465 B After Width: | Height: | Size: 420 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 878 B After Width: | Height: | Size: 763 B |
Before Width: | Height: | Size: 961 B After Width: | Height: | Size: 948 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 947 B After Width: | Height: | Size: 867 B |
Before Width: | Height: | Size: 858 B After Width: | Height: | Size: 808 B |
Before Width: | Height: | Size: 737 B After Width: | Height: | Size: 725 B |
Before Width: | Height: | Size: 720 B After Width: | Height: | Size: 614 B |
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 143 B After Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 482 B After Width: | Height: | Size: 425 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 523 B After Width: | Height: | Size: 442 B |
Before Width: | Height: | Size: 852 B After Width: | Height: | Size: 821 B |
Before Width: | Height: | Size: 419 B After Width: | Height: | Size: 362 B |
Before Width: | Height: | Size: 1014 B After Width: | Height: | Size: 887 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 532 B After Width: | Height: | Size: 443 B |
Before Width: | Height: | Size: 388 B After Width: | Height: | Size: 354 B |
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 459 B |
Before Width: | Height: | Size: 992 B After Width: | Height: | Size: 803 B |
Before Width: | Height: | Size: 521 B After Width: | Height: | Size: 435 B |
Before Width: | Height: | Size: 677 B After Width: | Height: | Size: 594 B |
Before Width: | Height: | Size: 404 B After Width: | Height: | Size: 356 B |
Before Width: | Height: | Size: 282 B After Width: | Height: | Size: 273 B |
Before Width: | Height: | Size: 362 B After Width: | Height: | Size: 362 B |
Before Width: | Height: | Size: 340 B After Width: | Height: | Size: 322 B |
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 402 B After Width: | Height: | Size: 359 B |
Before Width: | Height: | Size: 286 B After Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 356 B |
Before Width: | Height: | Size: 524 B After Width: | Height: | Size: 485 B |
Before Width: | Height: | Size: 198 B After Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 467 B After Width: | Height: | Size: 429 B |
Before Width: | Height: | Size: 466 B After Width: | Height: | Size: 428 B |
Before Width: | Height: | Size: 335 B After Width: | Height: | Size: 293 B |
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 307 B |
Before Width: | Height: | Size: 170 B After Width: | Height: | Size: 162 B |
Before Width: | Height: | Size: 170 B After Width: | Height: | Size: 163 B |
Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 185 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 942 B |
Before Width: | Height: | Size: 130 B After Width: | Height: | Size: 111 B |
Before Width: | Height: | Size: 130 B After Width: | Height: | Size: 107 B |
Before Width: | Height: | Size: 821 B After Width: | Height: | Size: 630 B |
Before Width: | Height: | Size: 254 B After Width: | Height: | Size: 234 B |
Before Width: | Height: | Size: 261 B After Width: | Height: | Size: 229 B |
Before Width: | Height: | Size: 475 B After Width: | Height: | Size: 429 B |
Before Width: | Height: | Size: 322 B After Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 335 B After Width: | Height: | Size: 314 B |
Before Width: | Height: | Size: 423 B After Width: | Height: | Size: 422 B |
Before Width: | Height: | Size: 126 B After Width: | Height: | Size: 124 B |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 141 B After Width: | Height: | Size: 141 B |
After Width: | Height: | Size: 185 B |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 368 B |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 55 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 240 B |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 9.9 KiB |
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 5.8 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 957 B |
After Width: | Height: | Size: 104 KiB |
After Width: | Height: | Size: 9.7 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 194 B |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 7.7 KiB |
After Width: | Height: | Size: 266 B |
After Width: | Height: | Size: 125 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 549 B |
After Width: | Height: | Size: 9.2 KiB |
After Width: | Height: | Size: 170 B |
After Width: | Height: | Size: 5.4 KiB |
After Width: | Height: | Size: 462 B |
After Width: | Height: | Size: 204 B |
After Width: | Height: | Size: 147 B |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 455 B |
After Width: | Height: | Size: 9.5 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 8.6 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 8.0 KiB |
After Width: | Height: | Size: 8.9 KiB |
After Width: | Height: | Size: 11 KiB |
@ -0,0 +1,76 @@
|
|||||||
|
.\" This is free documentation; 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.
|
||||||
|
.\"
|
||||||
|
.\" The GNU General Public License's references to "object code"
|
||||||
|
.\" and "executables" are to be interpreted as the output of any
|
||||||
|
.\" document formatting or typesetting system, including
|
||||||
|
.\" intermediate and printed output.
|
||||||
|
.\"
|
||||||
|
.\" This manual is distributed in the hope that it will be useful,
|
||||||
|
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
.\" GNU General Public License for more details.
|
||||||
|
.\"
|
||||||
|
.\" You should have received a copy of the GNU General Public
|
||||||
|
.\" License along with this manual; if not, write to the Free
|
||||||
|
.\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
|
||||||
|
.\" USA.
|
||||||
|
.\"
|
||||||
|
.TH ROSEGARDEN-AUDIOFILE-IMPORTER 1 "19 March 2006"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
|
||||||
|
rosegarden-audiofile-importer - Helper application to convert and
|
||||||
|
import audio files for Rosegarden.
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
|
||||||
|
rosegarden-audiofile-importer -t [<version>]
|
||||||
|
rosegarden-audiofile-importer --conftest [<version>]
|
||||||
|
rosegarden-audiofile-importer -l [<version>]
|
||||||
|
rosegarden-audiofile-importer [-r <rate>] -w <inputfile>
|
||||||
|
rosegarden-audiofile-importer [-r <rate>] -c <inputfile> <outputfile>
|
||||||
|
|
||||||
|
|
||||||
|
.SH OPTIONS
|
||||||
|
|
||||||
|
.BR -t " " [<version>],
|
||||||
|
.BR --conftest " " [<version>]
|
||||||
|
|
||||||
|
Exit successfully if the importer is available and working [and is
|
||||||
|
of at least version <version>]. If some of the required helper
|
||||||
|
applications are missing, also print to stdout a line saying
|
||||||
|
"Required: application1, application2", listing the missing
|
||||||
|
programs.
|
||||||
|
|
||||||
|
.BR \-l " " [<version>]
|
||||||
|
|
||||||
|
List known file extensions (e.g. ogg wav flac). Return code is same
|
||||||
|
as for -t (so can combine two calls into one)
|
||||||
|
|
||||||
|
.BR \-r " " <rate>
|
||||||
|
|
||||||
|
Test whether any work is needed to convert the input, either because
|
||||||
|
it isn't in a Rosegarden-compatible format or because its samplerate
|
||||||
|
differs from <rate>. Exit successfully if no work is required; return
|
||||||
|
error code 2 if conversion required, 3 if resampling required, 4 if
|
||||||
|
both required, 1 for other error.
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
|
||||||
|
Helper application to convert and import audio files for Rosegarden.
|
||||||
|
|
||||||
|
Can take audio files of various kinds as input, always produces WAV
|
||||||
|
files that are compatible with Rosegarden as output.
|
||||||
|
|
||||||
|
Not actually specific to Rosegarden in any way, except that
|
||||||
|
Rosegarden needs to know it can rely on its presence and calling
|
||||||
|
interface.
|
||||||
|
|
||||||
|
.SH SEE ALSO
|
||||||
|
rosegarden(1), rosegarden-lilypondview(1), rosegarden-project-page(1)
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,57 @@
|
|||||||
|
.\" This is free documentation; 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.
|
||||||
|
.\"
|
||||||
|
.\" The GNU General Public License's references to "object code"
|
||||||
|
.\" and "executables" are to be interpreted as the output of any
|
||||||
|
.\" document formatting or typesetting system, including
|
||||||
|
.\" intermediate and printed output.
|
||||||
|
.\"
|
||||||
|
.\" This manual is distributed in the hope that it will be useful,
|
||||||
|
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
.\" GNU General Public License for more details.
|
||||||
|
.\"
|
||||||
|
.\" You should have received a copy of the GNU General Public
|
||||||
|
.\" License along with this manual; if not, write to the Free
|
||||||
|
.\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
|
||||||
|
.\" USA.
|
||||||
|
.\"
|
||||||
|
.TH ROSEGARDEN-LILIPONDVIEW 1 "10 February 2006"
|
||||||
|
i
|
||||||
|
.SH NAME
|
||||||
|
|
||||||
|
rosegardern-lilypondview - display a lilypond file in a postscript
|
||||||
|
viewer.
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
|
||||||
|
rosegarden-lilypondview [-g] [FILE].ly
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
|
||||||
|
This script takes a Lilypond file as input. It creates a temporary
|
||||||
|
sandbox, runs Lilypond against the input file, then opens a PostScript
|
||||||
|
viewer against the results in order to provide a graphical, printable
|
||||||
|
preview.
|
||||||
|
|
||||||
|
This script is used internally by Rosegarden, as the backend for the File ->
|
||||||
|
Export -> Preview Lilypond file feature.
|
||||||
|
|
||||||
|
.SH OPTIONS
|
||||||
|
.BR \-g " " Use graphical mode
|
||||||
|
|
||||||
|
.SH REQUIREMENTS
|
||||||
|
|
||||||
|
Working installation of Lilypond 2.0 or later KGhostView or KPDF or
|
||||||
|
XPDF or GhostView or GS XDialog or Konsole or RXVT or Xterm [for
|
||||||
|
graphical mode only]
|
||||||
|
|
||||||
|
.SH AUTHOR
|
||||||
|
Chris Cannam
|
||||||
|
|
||||||
|
.SH COPYRIGHT
|
||||||
|
2005-2006 Fervent Software.
|
||||||
|
|
||||||
|
|
@ -0,0 +1,76 @@
|
|||||||
|
.\" This is free documentation; 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.
|
||||||
|
.\"
|
||||||
|
.\" The GNU General Public License's references to "object code"
|
||||||
|
.\" and "executables" are to be interpreted as the output of any
|
||||||
|
.\" document formatting or typesetting system, including
|
||||||
|
.\" intermediate and printed output.
|
||||||
|
.\"
|
||||||
|
.\" This manual is distributed in the hope that it will be useful,
|
||||||
|
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
.\" GNU General Public License for more details.
|
||||||
|
.\"
|
||||||
|
.\" You should have received a copy of the GNU General Public
|
||||||
|
.\" License along with this manual; if not, write to the Free
|
||||||
|
.\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
|
||||||
|
.\" USA.
|
||||||
|
.\"
|
||||||
|
.TH ROSEGARDEN-PROJECT-PACKAGE 1 "10 February 2006"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
|
||||||
|
rosegarden-project-package - converts between Rosegarden (.rg) files
|
||||||
|
and Rosegarden Project (.rgp) files.
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
|
||||||
|
orosegarden-project-package [--quiet] [--pack] [--unpack] [--conftest] [FILE] [.rg|.rgp]
|
||||||
|
|
||||||
|
.SH OPTIONS
|
||||||
|
.BR \-\-quiet " " Be silent
|
||||||
|
.BR \-\-unpack " " Unpack .rgp file
|
||||||
|
.BR \-\-pack " " Pack .rg file plus associated external data files into .rgp file
|
||||||
|
.BR \-\-conftest " " Test environment for necessary installed components
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
|
||||||
|
This program converts between Rosegarden (.rg) files and Rosegarden
|
||||||
|
Project (.rgp) files. It is primarily intended to be used internally and
|
||||||
|
transparently by the Rosegarden application.
|
||||||
|
|
||||||
|
A Rosegarden file (.rg) is a single file (in gzipped XML format)
|
||||||
|
that defines a Rosegarden composition in terms of events, segments,
|
||||||
|
programs, plugin data, references to audio files, and so on. Some
|
||||||
|
of these types of information depend on the presence of external
|
||||||
|
files such as the audio files or plugin preset data, without which
|
||||||
|
the file cannot be used.
|
||||||
|
|
||||||
|
A Rosegarden Project (.rgp) file is a bundle of files, including the
|
||||||
|
Rosegarden file itself, as well as any audio file or other external
|
||||||
|
data it requires, in compressed form. A Rosegarden Project file is
|
||||||
|
intended to be portable and self-contained, but the Rosegarden
|
||||||
|
program itself does not (at the time of writing) understand these
|
||||||
|
files directly.
|
||||||
|
|
||||||
|
This program can take a Rosegarden file, examine it to find out
|
||||||
|
which other data files it uses, and pack it to create the
|
||||||
|
corresponding Rosegarden Project file. Conversely, it can also take
|
||||||
|
a Rosegarden Project file and unpack it as a project directory for
|
||||||
|
use with Rosegarden.
|
||||||
|
|
||||||
|
.SH REQUIREMENTS
|
||||||
|
|
||||||
|
Working installation of Lilypond 2.0 or later KGhostView or KPDF or
|
||||||
|
XPDF or GhostView or GS XDialog or Konsole or RXVT or Xterm [for
|
||||||
|
graphical mode only]
|
||||||
|
|
||||||
|
.SH AUTHOR
|
||||||
|
Chris Cannam
|
||||||
|
|
||||||
|
.SH COPYRIGHT
|
||||||
|
2005-2006 Fervent Software.
|
||||||
|
|
||||||
|
|
@ -0,0 +1,155 @@
|
|||||||
|
.TH ROSEGARDEN 1 "23 July 2006"
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
|
||||||
|
rosegarden, rosegarden-sequencer - MIDI and audio sequencer and
|
||||||
|
musical notation editor.
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
|
||||||
|
rosegarden [TQt-options] [TDE-options] [options] [File]
|
||||||
|
|
||||||
|
rosegardensequencer [TQt-options] [TDE-options] [playback_1 playback_2 capture_1 capture_2]
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
|
||||||
|
This manual page documents briefly the rosegarden and rosegardensequencer commands.
|
||||||
|
|
||||||
|
rosegarden is a MIDI and audio sequencer, notation editor, and general-purpose music composition and editing application for Unix and Linux. It is a TDE application, which means to build it you need the TDE libraries. However, once installed it can be run within the TDE environment or any other desktop or window manager environment.
|
||||||
|
|
||||||
|
rosegardensequencer is part of the rosegarden application, the part which knows about and audio MIDI devices, and about real time. rosegardensequencer is executed automatically when rosegarden starts, so you will probably never need to execute it directly. You may want to specify command line options, though, to change the JACK ports used for audio capture and playback. In order to do that, you can invoque rosegardensequencer directly before running rosegarden, or you can specify the sequencer command line arguments using the rosegarden configuration dialog, and restarting the application. This program follows the usual GNU command line syntax, with long options starting with two dashes ('-'). A summary of options is included below.
|
||||||
|
|
||||||
|
.SH OPTIONS
|
||||||
|
.BR \-\-author " "
|
||||||
|
Show author information.
|
||||||
|
|
||||||
|
.BR \-\-help " "
|
||||||
|
Show help about options.
|
||||||
|
|
||||||
|
.BR \-\-help-all
|
||||||
|
Show all options.
|
||||||
|
|
||||||
|
.BR \-\-help-tde
|
||||||
|
Show TDE specific options.
|
||||||
|
|
||||||
|
.BR \-\-help-tqt
|
||||||
|
Show TQt specific options.
|
||||||
|
|
||||||
|
.BR \-\-license
|
||||||
|
Show license information.
|
||||||
|
|
||||||
|
.BR \-v, \-\-version
|
||||||
|
Show version information.
|
||||||
|
|
||||||
|
|
||||||
|
.SH OPTIONS for rosegarden
|
||||||
|
|
||||||
|
.BR \-\-nosplash
|
||||||
|
Don\'t show splash screen.
|
||||||
|
|
||||||
|
|
||||||
|
.BR \-\-nosequencer
|
||||||
|
Don\'t use an external sequencer.
|
||||||
|
|
||||||
|
.BR \-\-nofork
|
||||||
|
Don\'t automatically run in the background.
|
||||||
|
|
||||||
|
.BR \ \--existingsequencer
|
||||||
|
Attach to a running sequencer process, if found.
|
||||||
|
|
||||||
|
.BR File
|
||||||
|
File to load at startup. Typically a rosegarden (.rg) file, but it can also be a rosegarden2.1 file or a MIDI file.
|
||||||
|
|
||||||
|
.SH OPTIONS
|
||||||
|
.BR \-g " " Use graphical mode>
|
||||||
|
|
||||||
|
.SH TQt OPTIONS
|
||||||
|
.BR \-\-bg, --background color
|
||||||
|
Sets the default background color and an application palette (light and dark shades are calculated).
|
||||||
|
|
||||||
|
.BR \-\-btn, --button color
|
||||||
|
Sets the default button color.
|
||||||
|
|
||||||
|
.BR \-\-cmap
|
||||||
|
Causes the application to install a private color map on an 8-bit display.
|
||||||
|
|
||||||
|
.BR \-\-display displayname
|
||||||
|
Use the X-server display 'displayname'.
|
||||||
|
|
||||||
|
.BR \-\-dograb
|
||||||
|
Running under a debugger can cause an implicit --nograb, use --dograb to override.
|
||||||
|
|
||||||
|
.BR \-\-fg, \-\-foreground color
|
||||||
|
Sets the default foreground color.
|
||||||
|
|
||||||
|
.BR \-\-fn, \-\-font fontname
|
||||||
|
Defines the application font.
|
||||||
|
|
||||||
|
.BR \-\-im XIMserver
|
||||||
|
Set XIM server.
|
||||||
|
|
||||||
|
.BR \-\-inputstyle inputstyle
|
||||||
|
Sets XIM (X Input Method) input style. Possible values are onthespot, overthespot, offthespot and root.
|
||||||
|
|
||||||
|
.BR \-\-name name
|
||||||
|
Sets the application name.
|
||||||
|
|
||||||
|
.BR \-\-ncols count
|
||||||
|
Limits the number of colors allocated in the color cube on an 8-bit display, if the application is using the QApplication::ManyColor color specification.
|
||||||
|
|
||||||
|
.BR \-\-nograb
|
||||||
|
Tells TQt to never grab the mouse or the keyboard.
|
||||||
|
|
||||||
|
.BR \-\-noxim
|
||||||
|
Disable XIM.
|
||||||
|
|
||||||
|
.BR \-\-reverse
|
||||||
|
Mirrors the whole layout of widgets.
|
||||||
|
|
||||||
|
.BR \-\-session sessionId
|
||||||
|
Restore the application for the given 'sessionId'.
|
||||||
|
|
||||||
|
.BR \-\-sync
|
||||||
|
Switches to synchronous mode for debugging.
|
||||||
|
|
||||||
|
.BR \-\-title title
|
||||||
|
Sets the application title (caption).
|
||||||
|
|
||||||
|
.BR \-\-visual TrueColor
|
||||||
|
Forces the application to use a TrueColor visual on an 8-bit display.
|
||||||
|
|
||||||
|
|
||||||
|
.SH TDE OPTIONS
|
||||||
|
.BR \-\-caption caption
|
||||||
|
Use 'caption' as name in the titlebar.
|
||||||
|
|
||||||
|
.BR \-\-config filename
|
||||||
|
Use alternative configuration file.
|
||||||
|
|
||||||
|
.BR \-\-dcopserver server
|
||||||
|
Use the DCOP Server specified by 'server'.
|
||||||
|
|
||||||
|
.BR \-\-geometry geometry
|
||||||
|
Sets the client geometry of the main widget.
|
||||||
|
|
||||||
|
.BR \-\-icon icon
|
||||||
|
Use 'icon' as the application icon.
|
||||||
|
|
||||||
|
.BR \-\-miniicon icon
|
||||||
|
Use 'icon' as the icon in the titlebar.
|
||||||
|
|
||||||
|
.BR \-\-nocrashhandler
|
||||||
|
Disable crash handler, to get core dumps.
|
||||||
|
|
||||||
|
.BR \-\-style style
|
||||||
|
Sets the application GUI style.
|
||||||
|
|
||||||
|
.BR \-\-waitforwm
|
||||||
|
Waits for a WM_NET compatible windowmanager.
|
||||||
|
|
||||||
|
.SH SEE ALSO
|
||||||
|
jackd(1), rosegarden-lilypondview(1), rosegarden-project-package(1), rosegarden-audiofile-importer(1)
|
||||||
|
|
||||||
|
|
||||||
|
.SH AUTHOR
|
||||||
|
This manual page was written by Enrique Robledo Arnuncio <era@debian.org> and later ammended by Mike O'Connor <stew@vireo.org> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front Cover Texts and no Back Cover Texts.
|
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 7.0 KiB |
After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 9.9 KiB |
After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 8.9 KiB |
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
ADD_DOCS(rosegarden en es ja sv)
|
|
||||||
|
|
||||||
INSTALL(FILES en/tips DESTINATION ${KDE3DATADIR}/rosegarden)
|
|
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 209 B |
Before Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 495 B |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 339 B |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 113 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 235 B |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 107 KiB |
Before Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 361 B |
Before Width: | Height: | Size: 155 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 643 B |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 198 B |
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 543 B |
Before Width: | Height: | Size: 258 B |
Before Width: | Height: | Size: 213 B |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 515 B |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 8.9 KiB |
@ -1,25 +0,0 @@
|
|||||||
|
|
||||||
# Automatic discovery of sources
|
|
||||||
FILE(GLOB PO_FILES *.po)
|
|
||||||
|
|
||||||
# DISABLED: explicit set of source files
|
|
||||||
# SET(PO_FILES
|
|
||||||
# ca.po
|
|
||||||
# cs.po
|
|
||||||
# cy.po
|
|
||||||
# de.po
|
|
||||||
# en_GB.po
|
|
||||||
# en.po
|
|
||||||
# es.po
|
|
||||||
# et.po
|
|
||||||
# fi.po
|
|
||||||
# fr.po
|
|
||||||
# it.po
|
|
||||||
# ja.po
|
|
||||||
# nl.po
|
|
||||||
# ru.po
|
|
||||||
# sv.po
|
|
||||||
# zh_CN.po
|
|
||||||
# )
|
|
||||||
|
|
||||||
ADD_TRANSLATIONS(rosegarden ${PO_FILES})
|
|
@ -1,101 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Based on KDE messages.sh by Thomas Nagy
|
|
||||||
# Inspired by Makefile.common from coolo
|
|
||||||
# This script is used to update the .po files.
|
|
||||||
|
|
||||||
# To update the translations, you will need a specific gettext
|
|
||||||
# patched for kde and a lot of patience, tenacity, luck, time ..
|
|
||||||
|
|
||||||
# I guess one should only update the .po files when all .cpp files
|
|
||||||
# are generated (after a make or scons)
|
|
||||||
|
|
||||||
if [ -z "$KDE_GETTEXT_BIN" ]; then
|
|
||||||
if [ -f ./xgettext ] && ./xgettext --help 2>&1 | grep -q extract; then
|
|
||||||
KDE_GETTEXT_BIN=.
|
|
||||||
elif [ -d /opt/gettext-kde/bin ]; then
|
|
||||||
KDE_GETTEXT_BIN=/opt/gettext-kde/bin
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if [ ! -d "$KDE_GETTEXT_BIN" ]; then
|
|
||||||
echo 1>&2
|
|
||||||
echo "WARNING: Environment variable KDE_GETTEXT_BIN must be set" 1>&2
|
|
||||||
echo "such that the KDE patched version of gettext is found in " 1>&2
|
|
||||||
echo "KDE_GETTEXT_BIN/." 1>&2
|
|
||||||
echo 1>&2
|
|
||||||
echo "Falling back to default gettext, but plural translations " 1>&2
|
|
||||||
echo "will probably be wrong." 1>&2
|
|
||||||
echo 1>&2
|
|
||||||
echo "See ftp://ftp.kde.org/devel/gettext-kde/ for the patched gettext." 1>&2
|
|
||||||
echo 1>&2
|
|
||||||
else
|
|
||||||
KDE_GETTEXT_PATH=${KDE_GETTEXT_BIN}/
|
|
||||||
fi
|
|
||||||
|
|
||||||
SRCDIR=../src # srcdir is the directory containing the source code
|
|
||||||
TIPSDIR=../docs/en # tipsdir is the directory containing the tips
|
|
||||||
DATADIR=../data # datadir is the directory containing fonts/mappings & styles
|
|
||||||
|
|
||||||
KDEDIR=`kde-config --prefix`
|
|
||||||
EXTRACTRC=extractrc # from kdesdk-scripts (on Debian Sarge)
|
|
||||||
KDEPOT=$KDEDIR/include/kde.pot
|
|
||||||
if [ ! -f "$KDEPOT" ] && [ -f /usr/include/kde/kde.pot ]; then
|
|
||||||
KDEPOT=/usr/include/kde/kde.pot
|
|
||||||
fi
|
|
||||||
XGETTEXT="${KDE_GETTEXT_PATH}xgettext -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale -x $KDEPOT "
|
|
||||||
|
|
||||||
## check that kde.pot is available
|
|
||||||
if ! test -e $KDEPOT; then
|
|
||||||
echo "$KDEPOT does not exist, there is something wrong with your installation!"
|
|
||||||
XGETTEXT="${KDE_GETTEXT_PATH}xgettext -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale "
|
|
||||||
fi
|
|
||||||
|
|
||||||
> rc.cpp
|
|
||||||
|
|
||||||
## extract the strings
|
|
||||||
echo "extracting the strings"
|
|
||||||
|
|
||||||
# process the .ui and .rc files
|
|
||||||
$EXTRACTRC `find $SRCDIR -iname *.rc` >> rc.cpp
|
|
||||||
$EXTRACTRC `find $SRCDIR -iname *.ui` >> rc.cpp
|
|
||||||
echo -e 'i18n("_: NAME OF TRANSLATORS\\n"\n"Your names")\ni18n("_: EMAIL OF TRANSLATORS\\n"\n"Your emails")' > $SRCDIR/_translatorinfo.cpp
|
|
||||||
|
|
||||||
# process the tips - $SRCDIR is supposed to be where the tips are living
|
|
||||||
pushd $TIPSDIR; preparetips >tips.cpp; popd
|
|
||||||
|
|
||||||
# process the fonts mapping attributes
|
|
||||||
FONTSDIR=$DATADIR/fonts/mappings
|
|
||||||
pushd $FONTSDIR
|
|
||||||
cat *.xml | perl -e 'while (<STDIN>) { if(/(encoding name|origin|copyright|mapped-by|type)\s*=\s*\"(.*)\"/) { print "i18n(\"$2\")\;\n";} }' > fonts.cpp
|
|
||||||
popd
|
|
||||||
|
|
||||||
# process the note head style names
|
|
||||||
STYLEDIR=$DATADIR/styles
|
|
||||||
pushd $STYLEDIR
|
|
||||||
ls *.xml | perl -e 'while (<STDIN>) { if(/(.*)\.xml/) { print "i18n(\"$1\")\;\n";} }' > styles.cpp
|
|
||||||
popd
|
|
||||||
|
|
||||||
# extract the strings
|
|
||||||
$XGETTEXT `find $SRCDIR \( -name "*.cpp" -o -name "*.h" \)` rc.cpp $TIPSDIR/tips.cpp $FONTSDIR/fonts.cpp $STYLEDIR/styles.cpp -o tmp.pot
|
|
||||||
|
|
||||||
# remove the intermediate files
|
|
||||||
rm -f $TIPSDIR/tips.cpp
|
|
||||||
rm -f $FONTSDIR/fonts.cpp
|
|
||||||
rm -f $STYLEDIR/styles.cpp
|
|
||||||
rm -f rc.cpp
|
|
||||||
rm -f $SRCDIR/_translatorinfo.cpp
|
|
||||||
|
|
||||||
## now merge the .po files ..
|
|
||||||
echo "merging the .po files"
|
|
||||||
|
|
||||||
for i in `ls *.po`; do
|
|
||||||
echo $i
|
|
||||||
msgmerge $i tmp.pot -o $i || exit 1
|
|
||||||
done
|
|
||||||
|
|
||||||
# replacing the old template by the new one
|
|
||||||
rm -f rosegarden.pot
|
|
||||||
mv tmp.pot rosegarden.pot
|
|
||||||
|
|
||||||
## finished
|
|
||||||
echo "Done"
|
|
@ -1,14 +0,0 @@
|
|||||||
Begin3
|
|
||||||
Title: Rosegarden-4
|
|
||||||
Version: 1.2.3
|
|
||||||
Entered-date:
|
|
||||||
Description: MIDI and audio sequencer and musical notation editor
|
|
||||||
Keywords: KDE Qt JACK ALSA
|
|
||||||
Author: Guillaume Laurent <glaurent@telegraph-road.org>, Chris Cannam <cannam@all-day-breakfast.com>, Richard Bown <bownie@bownie.com>
|
|
||||||
Maintained-by: Guillaume Laurent <glaurent@telegraph-road.org>, Chris Cannam <cannam@all-day-breakfast.com>, Richard Bown <bownie@bownie.com>
|
|
||||||
Home-page: http://www.rosegardenmusic.com/
|
|
||||||
Alternate-site:
|
|
||||||
Primary-site:
|
|
||||||
Platform: Linux
|
|
||||||
Copying-policy: GPL
|
|
||||||
End
|
|
@ -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: kdemultimedia-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.
|
|
@ -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: kdemultimedia-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.
|
|