#! /bin/sh /usr/share/dpatch/dpatch-run ## 10-disable-awl.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Disable building awl plugin to ease shlib errors. @DPATCH@ diff -urNad trunk~/mscore/CMakeLists.txt trunk/mscore/CMakeLists.txt --- trunk~/mscore/CMakeLists.txt 2009-03-19 16:20:36.000000000 +0000 +++ trunk/mscore/CMakeLists.txt 2009-03-19 16:21:23.000000000 +0000 @@ -34,6 +34,8 @@ set(STATIC_SCRIPT_BINDINGS TRUE) +set(BUILD_AWL_PLUGIN FALSE) + if (MINGW) set(GCC_VISIBILITY FALSE) # we use gcc 3.6 set(STATIC_SCRIPT_BINDINGS TRUE) diff -urNad trunk~/mscore/awl/CMakeLists.txt trunk/mscore/awl/CMakeLists.txt --- trunk~/mscore/awl/CMakeLists.txt 2009-01-23 18:24:54.000000000 +0000 +++ trunk/mscore/awl/CMakeLists.txt 2009-03-19 16:20:36.000000000 +0000 @@ -83,6 +83,8 @@ colorlabel.h ) +if (BUILD_AWL_PLUGIN) + add_library ( awlplugin SHARED ${PROJECT_BINARY_DIR}/all.h @@ -107,4 +109,6 @@ install( TARGETS awlplugin DESTINATION ${QT_PLUGINS_DIR}/designer/ ) +endif (BUILD_AWL_PLUGIN) + endif (NOT MINGW AND NOT APPLE)