1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
|
Description: Remove excluded paths from build
Author: mirabilos <tg@debian.org>
Forwarded: not-needed
Justification: Debian-specific exclusions from distfile
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -648,7 +648,7 @@ ADD_CUSTOM_TARGET(mops2 DEPENDS ${PCH})
##
subdirs(
mscore awl bww2mxml share midi audiofile fluid mstyle libmscore synthesizer
- effects thirdparty/rtf2html thirdparty/diff thirdparty/beatroot
+ effects thirdparty/rtf2html thirdparty/beatroot
thirdparty/xmlstream thirdparty/qzip thirdparty/kQOAuth
)
string(TOUPPER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE)
@@ -659,7 +659,6 @@ else(APPLE AND CMAKE_BUILD_TYPE MATCHES
add_subdirectory(mtest EXCLUDE_FROM_ALL)
endif(APPLE AND CMAKE_BUILD_TYPE MATCHES "DEBUG")
-add_subdirectory(rdoc EXCLUDE_FROM_ALL)
add_subdirectory(miditools EXCLUDE_FROM_ALL)
add_subdirectory(fonttools EXCLUDE_FROM_ALL)
add_subdirectory(manual)
--- a/mscore/CMakeLists.txt
+++ b/mscore/CMakeLists.txt
@@ -303,7 +303,6 @@ add_executable ( ${ExecutableName}
target_link_libraries(mscore
awl
mstyle
- diff_match_patch
bww
rtf2html
${QTSINGLEAPPLICATION_LIBRARIES}
--- a/mscore/file.cpp
+++ b/mscore/file.cpp
@@ -81,7 +81,6 @@
#include "omr/importpdf.h"
#endif
-#include "diff/diff_match_patch.h"
#include "libmscore/chordlist.h"
#include "libmscore/mscore.h"
#include "thirdparty/qzip/qzipreader_p.h"
--- a/mscore/mediadialog.cpp
+++ b/mscore/mediadialog.cpp
@@ -24,7 +24,9 @@
#include "libmscore/score.h"
#include "libmscore/audio.h"
#include "scoreview.h"
+#ifdef OMR
#include "omr/omr.h"
+#endif
#include "libmscore/tempo.h"
namespace Ms {
@@ -60,6 +62,7 @@ MediaDialog::MediaDialog(QWidget* /*pare
void MediaDialog::setScore(Score* s)
{
score = s;
+#ifdef OMR
Omr* omr = score->omr();
if (omr) {
scanFile->setText(omr->path());
@@ -67,7 +70,9 @@ void MediaDialog::setScore(Score* s)
removeScan->setEnabled(true);
scanFileButton->setEnabled(false);
}
- else {
+ else
+#endif
+ {
scanFile->setText(QString());
addScan->setEnabled(true);
removeScan->setEnabled(false);
@@ -94,6 +99,7 @@ void MediaDialog::setScore(Score* s)
void MediaDialog::addScanPressed()
{
+#ifdef OMR
QString path = scanFile->text();
if (score->omr() || path.isEmpty())
return;
@@ -105,6 +111,7 @@ void MediaDialog::addScanPressed()
}
score->setOmr(omr);
mscore->currentScoreView()->showOmr(true);
+#endif
}
//---------------------------------------------------------
--- a/mtest/CMakeLists.txt
+++ b/mtest/CMakeLists.txt
@@ -102,7 +102,6 @@ add_library(
${PROJECT_SOURCE_DIR}/mscore/stringutils.cpp
${PROJECT_SOURCE_DIR}/mscore/extension.cpp # required by zerberus tests
${OMR_SRC}
- omr
)
add_executable(
--- a/mtest/mscoreapi.h
+++ b/mtest/mscoreapi.h
@@ -4,8 +4,6 @@
#include "musescore.h"
#include "libmscore/score.h"
- #include "omr/omr.h"
- #include "omr/omrpage.h"
#include "libmscore/part.h"
#include "libmscore/staff.h"
#include "libmscore/page.h"
--- a/mtest/openscore.h
+++ b/mtest/openscore.h
@@ -4,8 +4,6 @@
#include "musescore.h"
#include "libmscore/score.h"
-#include "omr/omr.h"
-#include "omr/omrpage.h"
#include "libmscore/part.h"
#include "libmscore/staff.h"
#include "libmscore/page.h"
--- a/mtest/testutils.cpp
+++ b/mtest/testutils.cpp
@@ -17,7 +17,6 @@
#include "libmscore/note.h"
#include "libmscore/chord.h"
#include "libmscore/instrtemplate.h"
-#include "omr/omr.h"
#include "testutils.h"
#include "mscore/preferences.h"
#include "libmscore/page.h"
--- a/share/CMakeLists.txt
+++ b/share/CMakeLists.txt
@@ -18,7 +18,7 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================
-subdirs(templates wallpaper locale styles sound manual
+subdirs(templates wallpaper locale styles manual
workspaces instruments)
install (DIRECTORY
|