#! /bin/sh /usr/share/dpatch/dpatch-run ## 11-install-manual.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Manual PDFs etc are not found in this checkout. This patch adds a ## DP: build option to disable manual file installation. @DPATCH@ diff -urNad beta1~/mscore/CMakeLists.txt beta1/mscore/CMakeLists.txt --- beta1~/mscore/CMakeLists.txt 2010-02-13 17:46:36.591442632 +0000 +++ beta1/mscore/CMakeLists.txt 2010-02-13 17:46:36.941460514 +0000 @@ -36,6 +36,8 @@ set(BUILD_AWL_PLUGIN FALSE) +set(INSTALL_MANUAL_FILES FALSE) # not found in this checkout + if (MINGW) set(GCC_VISIBILITY FALSE) # we use gcc 3.6 set(STATIC_SCRIPT_BINDINGS TRUE) diff -urNad beta1~/mscore/manual/CMakeLists.txt beta1/mscore/manual/CMakeLists.txt --- beta1~/mscore/manual/CMakeLists.txt 2010-02-13 17:06:16.000000000 +0000 +++ beta1/mscore/manual/CMakeLists.txt 2010-02-13 17:50:17.628942648 +0000 @@ -18,6 +18,7 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #============================================================================= +if(INSTALL_MANUAL_FILES) install(FILES MuseScore-en.pdf MuseScore-de.pdf @@ -32,3 +33,4 @@ MuseScore-pt-br.pdf DESTINATION ${Mscore_SHARE_NAME}${Mscore_INSTALL_NAME}man ) +endif(INSTALL_MANUAL_FILES) diff -urNad beta1~/mscore/mscore/mscore.cpp beta1/mscore/mscore/mscore.cpp --- beta1~/mscore/mscore/mscore.cpp 2010-02-13 17:08:36.000000000 +0000 +++ beta1/mscore/mscore/mscore.cpp 2010-02-13 17:49:17.368955209 +0000 @@ -819,8 +819,8 @@ QMenu* menuHelp = mb->addMenu(tr("&Help")); menuHelp->setObjectName("Help"); - menuHelp->addAction(getAction("local-help")); - menuHelp->addAction(tr("Online Handbook"), this, SLOT(helpBrowser1())); + // menuHelp->addAction(getAction("local-help")); + menuHelp->addAction(tr("Online Handbook"), this, SLOT(helpBrowser1()), Qt::Key_F1); menuHelp->addSeparator(); menuHelp->addAction(tr("&About"), this, SLOT(about())); menuHelp->addAction(tr("About&Qt"), this, SLOT(aboutQt()));