From a4a9caf83acdc7163d3549371c1b6a29b6f062f4 Mon Sep 17 00:00:00 2001 From: "Tim E. Real" Date: Sat, 30 Oct 2010 19:40:55 +0000 Subject: Removal of autotools stuff. --- muse2/Makefile.am | 35 --- muse2/README.CVS | 3 - muse2/autogen.sh | 147 ---------- muse2/common.am | 47 --- muse2/configure.ac | 817 ----------------------------------------------------- muse2/grid.med | 467 ------------------------------ muse2/test.med | 449 ----------------------------- muse2/testproj.med | 333 ---------------------- 8 files changed, 2298 deletions(-) delete mode 100644 muse2/Makefile.am delete mode 100644 muse2/README.CVS delete mode 100755 muse2/autogen.sh delete mode 100644 muse2/common.am delete mode 100644 muse2/configure.ac delete mode 100644 muse2/grid.med delete mode 100644 muse2/test.med delete mode 100644 muse2/testproj.med (limited to 'muse2') diff --git a/muse2/Makefile.am b/muse2/Makefile.am deleted file mode 100644 index 1de212fc..00000000 --- a/muse2/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -include $(top_srcdir)/common.am - -ACLOCAL_AMFLAGS = -I m4 - -SUBDIRS = m4 al synti muse lib share demos doc plugins grepmidi xpm packaging utils - -DISTCLEANFILES = stamp-doxygen - -MAINTAINERCLEANFILES = depcomp config.guess \ - install-sh config.sub missing mkinstalldirs INSTALL COPYING - -BUILT_SOURCES += all-pic.h - -if PCH -BUILT_SOURCES += all.h.gch all-pic.h.gch - -all.h.gch: all.h - $(CXX) $(AM_CXXFLAGS) all.h -o all.h.gch -all-pic.h.gch: all-pic.h - $(CXX) $(AM_CXXFLAGS) -fPIC all-pic.h -o all-pic.h.gch -endif - -all-pic.h: all.h - cp all.h all-pic.h - -EXTRA_DIST = common.am README.de README.softsynth \ - SECURITY autogen.sh README.translate README.shortcuts \ - README.instruments NEWS README.CVS muse.prj \ - README.ladspaguis all.h - -dox: stamp-doxygen - -stamp-doxygen: $(shell find -name "*.cpp" -or -name "*.h") - $(DOXYGEN) Doxyfile - touch stamp-doxygen diff --git a/muse2/README.CVS b/muse2/README.CVS deleted file mode 100644 index 43d973c5..00000000 --- a/muse2/README.CVS +++ /dev/null @@ -1,3 +0,0 @@ - -To compile a cvs tree, inspect ./autogen.sh and then run it - diff --git a/muse2/autogen.sh b/muse2/autogen.sh deleted file mode 100755 index 63ec8590..00000000 --- a/muse2/autogen.sh +++ /dev/null @@ -1,147 +0,0 @@ -#!/bin/sh - -AUTOMAKE_REQ=1.7 -AUTOCONF_REQ=2.54 -LIBTOOL_REQ=2.2.10 -PKG_CONFIG_REQ=0.1 - -lessthan () { - ver1="$1" - ver2="$2" - - major1=$( echo $ver1 | sed "s/^\([0-9]*\)\..*/\1/"); - minor1=$( echo $ver1 | sed "s/^[^\.]*\.\([0-9]*\).*/\1/" ); - major2=$( echo $ver2 | sed "s/^\([0-9]*\)\..*/\1/"); - minor2=$( echo $ver2 | sed "s/^[^\.]*\.\([0-9]*\).*/\1/" ); - test "$major1" -lt "$major2" || test "$minor1" -lt "$minor2"; -} - -morethan () { - ver1="$1" - ver2="$2" - - major1=$( echo $ver1 | sed "s/^\([0-9]*\)\..*/\1/"); - minor1=$( echo $ver1 | sed "s/^[^\.]*\.\([0-9]*\).*/\1/" ); - major2=$( echo $ver2 | sed "s/^\([0-9]*\)\..*/\1/"); - minor2=$( echo $ver2 | sed "s/^[^\.]*\.\([0-9]*\).*/\1/" ); - test "$major2" -lt "$major1" || test "$minor2" -lt "$minor1"; -} - -echo -n "automake version: " -amver=$( automake --version | head -1 | sed "s/.* //" ); -echo -n "$amver" - -lessthan $amver $AUTOMAKE_REQ -if test $? = 0; then - echo " (not ok)" - echo " -#################################################################### -######################### WARNING ################################ -#################################################################### - - You need automake >= ${AUTOMAKE_REQ}! - - -" - sleep 1; -else - echo " (ok)" -fi - -echo -n "autoconf version: " -acver=$( autoconf --version | head -1 | sed "s/.* //" ); -echo -n "$acver" -lessthan $acver $AUTOCONF_REQ -if test $? = 0; then - echo " (not ok)" - echo " -#################################################################### -######################### WARNING ################################ -#################################################################### - - You need autoconf >= ${AUTOCONF_REQ}! - - -" - sleep 1; -else - echo " (ok)" -fi - -if [ ! -f `which libtool` ] ; then - echo "No libtool installed" - exit 1 -fi -echo -n "libtool version: " -ltver=$( libtool --version | cut -d ' ' -f 4 | head -1 ); -echo -n "$ltver" -#lessthan $ltver $LIBTOOL_REQ -#if test $? = 0; then -# echo " (not ok)" -# echo " -##################################################################### -########################## WARNING ################################ -##################################################################### -# -# You need libtool < ${LIBTOOL_REQ}! -# -# -#" -#else - echo " (ok)" - sleep 1; -# fi - - -echo -n "pkg-config: " -pkg_config="$( which pkg-config )" -if test -z "$pkg_config"; then - echo "(not found)" - echo " -#################################################################### -######################### WARNING ################################ -#################################################################### - - You need pkg-config! - - -" -else - echo "$pkg_config" - echo -n "pkg-config version: " - pcver=$( pkg-config --version ) - echo -n "$pcver" - lessthan $pcver $PKG_CONFIG_REQ - if test $? = 0; then - echo " (not ok)" - echo " -#################################################################### -######################### WARNING ################################ -#################################################################### - - You need pkg-config >= ${PKG_CONFIG_REQ}! - - -" - else - echo " (ok)" - sleep 1; - fi -fi - -### && libtoolize -f - -echo -n "generating build system.." -libtoolize -f \ - && echo -n "." && aclocal -I m4 \ - && echo -n "." && autoheader \ - && echo -n "." && automake -a --include-deps \ - && echo -n "." && autoconf && echo "done" \ - && echo " - - You may now run configure - - Eg: ./configure --enable-maintainer-mode \\ - --disable-doxy-treeview --enable-optimize -" - diff --git a/muse2/common.am b/muse2/common.am deleted file mode 100644 index 919f8593..00000000 --- a/muse2/common.am +++ /dev/null @@ -1,47 +0,0 @@ -AM_CXXFLAGS = $(MUSECXXFLAGS) -I.. -I$(top_srcdir)/synti -I$(top_srcdir)/muse/widgets -AM_CXXFLAGS += -DQT_SHARED -DQT_THREAD_SUPPORT -DQT_PLUGIN $(QTDIR_INC) -DQT3_SUPPORT -AM_CPPFLAGS = -MOC = $(QTDIR_BIN)/moc -#UIC = $(QTDIR_BIN)/uic3 -UIC = /usr/bin/uic3 - -UIFILES = $(wildcard *.ui) - -MOCFILES = $(shell for h in $(filter %.h,$(SOURCES)); do \ - if grep -q Q_OBJECT $$h; then \ - echo $$h | sed "s/\(.*\)\.h/moc_\1.cpp/"; \ - fi; \ - done) - -BUILT_SOURCES = $(MOCFILES) $(UIFILES:%.ui=%.h) - -MOSTLYCLEANFILES = $(MOCFILES) $(UIFILES:%.ui=%.h) - -de: - @for base in $(MOCFILES); do echo -e "\t$${base}.cpp $${base}.h \\"; done - -nde: - @for base in $(MOCFILES); do echo -e "\tmoc_$${base}.cpp \\"; done - -SUFFIXES = .ui .h.gch - -.ui.o: %.h - $(UIC) -L $(top_srcdir)/muse/widgets -o $*.cpp -impl $*.h $*.ui - $(MOC) $*.h >> $*.cpp - $(CXXCOMPILE) -c $*.cpp -o $*.o - $(RM) $*.cpp moc_$*.cpp moc_$*.o - -.ui.lo: %.h - $(UIC) -L $(top_srcdir)/muse/widgets -o $*.cpp -impl $*.h $*.ui - $(MOC) $*.h >> $*.cpp - $(LTCXXCOMPILE) -c $*.cpp -o $*.lo - $(RM) $*.cpp moc_$*.cpp moc_$*.lo moc_$*.o - - -moc_%.cpp: %.h - $(MOC) $< -o $@ - -%.h: %.ui - $(UIC) -o $@ $< -# $(UIC) -L $(top_srcdir)/muse/widgets -o $@ $< - diff --git a/muse2/configure.ac b/muse2/configure.ac deleted file mode 100644 index 7fa05361..00000000 --- a/muse2/configure.ac +++ /dev/null @@ -1,817 +0,0 @@ -dnl -------------------------------------------------- -dnl configure.ac for the MusE -dnl -------------------------------------------------- - -AC_INIT(MusE, 1.1) -AC_CONFIG_SRCDIR(muse/app.cpp) -AM_INIT_AUTOMAKE(1.1) -AM_CONFIG_HEADER(config.h) -### AM_MAINTAINER_MODE -AM_ACLOCAL_INCLUDE(m4) - -dnl ***** Check for programs ***** -AC_PROG_CXX -AC_PROG_LIBTOOL -AC_PROG_LN_S - -############### -### DocBook ### -############### -PGAC_PROG_JADE -if test -n "$JADE"; then - PGAC_CHECK_DOCBOOK(4.1) - if test "$pgac_cv_check_docbook" = "yes"; then - PGAC_PATH_DOCBOOK_STYLESHEETS - if test -n "$DOCBOOKSTYLE"; then - DOCBOOKTARGETS="book1.html" - else - AC_MSG_WARN([DocBook stylesheets not found or not usable - documentation will not be built]) - fi - else - AC_MSG_WARN([DocBook 4.1 DTD not found or not usable - documentation will not be built]) - fi -else - AC_MSG_WARN([jade not found - documentation will not be built]) -fi -AC_SUBST(DOCBOOKTARGETS) - -############### -### doxygen ### -############### -AC_ARG_VAR(DOXYGEN, Doxygen) -AC_PATH_PROG(DOXYGEN, doxygen, no) - -################ -### graphviz ### -################ -AC_ARG_VAR(DOT, The "dot" program from graphviz) -AC_PATH_PROG(DOT, dot, no) -if test "$DOT" != "no"; then - HAVEDOT=YES - DOTPATH=$( dirname "$DOT" ) -else - HAVEDOT=NO -fi -AC_SUBST(HAVEDOT) -AC_SUBST(DOTPATH) - -############ -### perl ### -############ -AC_ARG_VAR(PERL, Perl) -AC_PATH_PROG(PERL, perl, no) -if test "$PERL" == "no"; then - AC_MSG_WARN([you don't have perl installed! wierdo! (and doxygen might not like this)]) -fi - -dnl ***** Check for libraries ***** - -######### -### X ### -######### -AC_PATH_XTRA -if test "$X_DISPLAY_MISSING" != ""; then - AC_MSG_ERROR([X required]) -fi - - - -########## -### QT ### -########## -#CONFIGURE_QT(3.2.0, , AC_MSG_ERROR([need qt >= 3.2.0])) -#if test "$muse_qttest" = "yes"; then -# AC_LANG_PUSH([C++]) -# muse_save_CFLAGS="$CFLAGS" -# CFLAGS="$CFLAGS $QT_CFLAGS" -# muse_save_CXXFLAGS="$CXXFLAGS" -# CXXFLAGS="$CXXFLAGS $QT_CFLAGS" -# muse_save_LDFLAGS="$LDFLAGS" -# LDFLAGS="$LDFLAGS $QT_LIBS" -# AC_CHECK_LIB(qt-mt, qt_selection_property, [ -# true -# ],[ -# AC_MSG_ERROR([ -# -# MusE requires thread enabled QT (qt-mt) >= 3.2.0 -# -# You can either compile your own version of QT (making sure you enable -# threading!) or install the appropriate package for your distribution. -#]) -# ]) -# CFLAGS="$muse_save_CFLAGS" -# CXXFLAGS="$muse_save_CXXFLAGS" -# LDFLAGS="$muse_save_LDFLAGS" -# unset muse_save_CFLAGS -# unset muse_save_CXXFLAGS -# unset muse_save_LDFLAGS -# AC_LANG_POP([C++]) -#fi - -QTDIR=/usr/share/qt4 - -AC_MSG_RESULT($QTDIR) -AC_PATH_XTRA -QT_LIBS="-Wl,-rpath,$QTDIR/lib -L$QTDIR/lib -lQtGui -lQtOpenGL -lQtCore -lQt3Support $X_LIBS -lX11 -lXext -lXmu -lXt -lXi $X_EXTRA_LIBS -lGLU -lGL -lpthread" -QTDIR_INC="-I$QTDIR/include -I$QTDIR/include/QtGui -I$QTDIR/include/QtCore -I$QTDIR/include/Qt3Support $X_CFLAGS -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED" -QTDIR_BIN="$QTDIR/bin" - - -############ -### ALSA ### -############ -AM_PATH_ALSA(0.9.0, - true, - AC_MSG_ERROR([latest alsa (0.9.x) is required]) -) - -################# -### fluidsynth ### -################# -LIBFLUIDSYNTH= -muse_enable_fluidlib="yes" -synth_fluidsynth="fluidsynth" -synth_fluid="fluid" -AC_ARG_ENABLE(fluidsynth,[ --disable-fluidsynth disable fluidsynth softsynth plugin],[ - case "$enableval" in - "yes") - synth_fluidsynth="fluidsynth" - synth_fluid="fluid" - ;; - "no") - muse_enable_fluidlib="no" - synth_fluidsynth="" - synth_fluid="" - ;; - *) - AC_MSG_ERROR([must use --enable-fluidsynth(=yes/no) or --disable-fluidsynth]) - ;; - esac -]) - -AM_CONDITIONAL(ENABLEFLUIDSYNTH, test "$muse_enable_fluidlib" = "yes") -PKG_CHECK_MODULES(Fluidsynth, fluidsynth, - [FLUIDSYNTHDIRS="fluid fluidsynth"; AC_DEFINE(ENABLEFLUIDSYNTH, 1, [Compile fluidsynth])], - [AC_MSG_WARN([libfluidsynth not found; disabling fluidsynth plugins]) ; - muse_enable_fluidlib="no"] - ) -AC_SUBST(FLUIDSYNTHDIRS) -AC_SUBST(synth_fluidsynth) -AC_SUBST(synth_fluid) -if test "$muse_enable_fluidlib" = "no"; then - synth_fluidsynth="" - synth_fluid="" -fi - - -############### -### sndfile ### -############### -PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.0, - true, - AC_MSG_ERROR([need libsndfile >= 1.0.0]) -) - -############### -### libsamplerate ### -############### -PKG_CHECK_MODULES(SAMPLERATE, samplerate >= 0.1.0, - true, - AC_MSG_ERROR([need libsamplerate]) -) - -############### -### libuuid ### -############### -AC_CHECK_HEADER(uuid/uuid.h, UUID_FOUND="yes", UUID_FOUND="no") -if test x$UUID_FOUND = xno; then - AC_MSG_ERROR([Header file uuid.h, from the uuid-dev (sometimes in e2fsprogs) package, is required]) -fi - -AC_CHECK_LIB(uuid, uuid_generate, UUID_FOUND="yes", UUID_FOUND="no") -if test x$UUID_FOUND = xno; then - AC_MSG_ERROR([libuuid (sometimes in e2fsprogs package) is required]) -fi -UUID_LIBS="-luuid" -AC_SUBST(UUID_CFLAGS) -AC_SUBST(UUID_LIBS) - -## PKG_CHECK_MODULES(UUID, uuid >= 1.0, -## true, -## AC_MSG_ERROR([need libuuid >= 1.0 from e2fsprogs package]) -## ) - -############ -### JACK ### -############ - -PKG_CHECK_MODULES(JACK, - jack >= 0.98.0, - true, - AC_MSG_ERROR([need JACK >= 0.98.0]) - ) - -############## -### LASH ### -############## -muse_enable_lash="no" -AC_ARG_ENABLE(lash, - [ --enable-lash enable LASH support],[ - case "$enableval" in - "yes") - muse_enable_lash="yes" - ;; - "no") - muse_enable_lash="no" - ;; - *) - AC_MSG_ERROR([must use --enable-lash(=yes/no) or --disable-lash]) - ;; - esac -]) - -if test "$muse_enable_lash" = "yes"; then - PKG_CHECK_MODULES(LASH, lash-1.0 >= 0.2, LASH_FOUND="yes", LASH_FOUND="no") - AC_SUBST(LASH_CFLAGS) - AC_SUBST(LASH_LIBS) - - if test "$LASH_FOUND" = "yes"; then - AC_DEFINE(HAVE_LASH, 1, [whether or not we are supporting lash]) - LASH_VERSION=$( pkg-config --modversion lash-1.0 ) - AC_DEFINE_UNQUOTED(LASH_VERSION, "$LASH_VERSION", [The version of lash we're compiling against]) - fi -else - AC_MSG_WARN([LASH support is disabled]) - LASH_FOUND="no" -fi -AM_CONDITIONAL(HAVE_LASH, test "$LASH_FOUND" = "yes") - - -dnl ***** Check for header files ***** - -dnl ***** Check for options ***** - -################# -### givertcap ### -################# - -GIVERTCAP= -report_rtcap="no" -AC_ARG_ENABLE(rtcap, - [ --enable-rtcap (deprecated) use Tommi Ilmonen's "givertcap" to give - realtime capabilities],[ - case "$enableval" in - "yes") - AC_DEFINE(RTCAP, 1, [Use givertcap]) - MUSECXXFLAGS="$MUSECXXFLAGS -DRTCAP" - GIVERTCAP="givertcap" - - AC_CHECK_HEADER(sys/capability.h, - report_rtcap="yes", - AC_MSG_ERROR([Missing sys/capability.h])) - ;; - "no") - ;; - *) - AC_MSG_ERROR([must use --enable-rtcap(=yes/no) or --disable-rtcap]) - esac -]) -AM_CONDITIONAL(RTCAP, test "$report_rtcap" = "yes") -AC_SUBST(GIVERTCAP) - - -#################### -### suid-install ### -#################### - -SUIDINSTALL="no" -AC_ARG_ENABLE(suid-install, - [ --enable-suid-install (deprecated) install MusE setuid root (with kernel 2.6, use realtime-lsm instead)],[ - case "$enableval" in - "yes") - SUIDINSTALL="yes" - ;; - "no") - ;; - *) - AC_MSG_ERROR([must use --enable-suid-install(=yes/no) or --disable-suid-install]) - ;; - esac -]) -AC_SUBST(SUIDINSTALL) - -################## -### suid-build ### -################## -SUIDBUILD="no" -AC_ARG_ENABLE(suid-build, - [ --enable-suid-build (deprecated) build MusE setuid root(with kernel 2.6, use realtime-lsm instead)],[ - case "$enableval" in - "yes") - SUIDBUILD="yes" - ;; - "no") - SUIDBUILD="no" - ;; - *) - AC_MSG_ERROR([must use --enable-suid-build(=yes/no) or --disable-suid-build]) - ;; - esac -]) -AC_SUBST(SUIDBUILD) - - -######################## -### doxygen-treeview ### -######################## -DOXYGEN_TREEVIEW="YES" -report_doxy_treeview="yes"; -AC_ARG_ENABLE(doxy-treeview, - [ --disable-doxy-treeview stop Doxygen from generating java-ified - treeview menus in its HTML output],[ - case "$enableval" in - "yes") - ;; - "no") - DOXYGEN_TREEVIEW="NO" - report_doxy_treeview="no"; - ;; - *) - AC_MSG_ERROR([must use --enable-doxy-treeview(=yes/no) or --disable-doxy-treeview]) - ;; - esac -]) -AC_SUBST(DOXYGEN_TREEVIEW) - -################ -### patchbay ### -################ -###PATCHBAY="no" -###AC_SUBST(PATCHBAY) -###AM_CONDITIONAL(PATCHBAY, test "$PATCHBAY" == "yes") - -## -DQT_NO_CAST_ASCII -MUSECXXFLAGS="-g -fno-exceptions -Wall -W -D_GNU_SOURCE -D_REENTRANT \ - -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT \ - -I\$(top_srcdir) -I\$(top_srcdir)/muse/widgets \$(QT_CFLAGS)" - -#MUSEOPTCXXFLAGS="-O6 -fomit-frame-pointer -ffast-math -fstrength-reduce \ -#-funroll-loops" -#MUSEOPTCXXFLAGS="-O2" -MUSEOPTCXXFLAGS="-O3 -fomit-frame-pointer -ffast-math -fstrength-reduce -funroll-loops" - -# -fmove-all-movables - -################ -### optimize ### -################ -report_optimise="no" -AC_ARG_ENABLE(optimize, - [ --enable-optimize ask the compiler for its best optimizations (possibly only i386)],[ - case "$enableval" in - "yes") - report_optimise="yes" - CXXFLAGS="$( echo "$CXXFLAGS" | sed "s/-O.[ ]*//" )" - MUSECXXFLAGS="$MUSECXXFLAGS $MUSEOPTCXXFLAGS" - ;; - "no") - ;; - *) - AC_MSG_ERROR([must use --enable-optimize(=yes/no) or --disable-optimize]) - ;; - esac - ]) - -############# -### debug ### -############# -report_debug="no" -AC_ARG_ENABLE(debug, - [ --enable-debug disable optimizations],[ - case "$enableval" in - "yes") - report_debug="yes" - CXXFLAGS="" - ;; - "no") - ;; - *) - AC_MSG_ERROR([must use --enable-debug(=yes/no) or --disable-debug]) - ;; - esac - ]) - -########################### -### PCH ### -### precompiled headers ### -########################### - -AC_ARG_ENABLE(pch, - [ --enable-pch enable precompiled headers (gcc 3.4 required)],[ - case "$enableval" in - "yes") - MUSECXXFLAGS="$MUSECXXFLAGS -Winvalid-pch" - PCH="yes" - AC_SUBST(PCH) - AC_DEFINE(PCH, 1, [whether or not we use precompiled headers]) - ;; - "no") - ;; - *) - AC_MSG_ERROR([must use --enable-pch(=yes/no) or --disable-pch]) - ;; - esac - ]) -AM_CONDITIONAL(PCH, test "$PCH" = "yes") - -############ -### arch ### -############ - -report_march="none" -AC_ARG_ENABLE(arch, -[ --enable-arch=ARCH use -march=ARCH and -mtune=ARCH argument to CXX - choose from any supported gcc architecture such as: - 386, 486, 586, 686, pentium, pentiumpro, k6, athlon...],[ - case "$enableval" in - "no") - ;; - *) - report_march="$enableval" - MUSECXXFLAGS="$MUSECXXFLAGS -mtune=$enableval -march=$enableval" - ;; - esac - ]) - -########################### -### SSE ### -### SSE optimizations ### -########################### - -report_sse="no" -AC_ARG_ENABLE(sse, - [ --enable-sse enable SSE optimizations],[ - case "$enableval" in - "yes") - ## MUSECXXFLAGS="$MUSECXXFLAGS -Winvalid-pch" - report_sse="yes" - USE_SSE="yes" - AC_SUBST(USE_SSE) - AC_DEFINE(USE_SSE, 1, [whether or not to enable SSE]) - ;; - "no") - ;; - *) - AC_MSG_ERROR([must use --enable-sse(=yes/no) or --disable-sse]) - ;; - esac - ]) -AM_CONDITIONAL(USE_SSE, test "$USE_SSE" = "yes") - -########## -# PYTHON # -########## -# python detection borrowed from libvirt (http://libvirt.org) -AC_ARG_WITH([python], -[ --enable-python Build python bindings (on)],[],[enable_python=yes]) - -PYTHON_VERSION= -PYTHON_INCLUDES= -if test "$enable_python" != "no" ; then - if test -x "$enable_python/bin/python" - then - AC_MSG_NOTICE(Found python in $enable_python/bin/python) - PYTHON="$enable_python/bin/python" - enable_python=yes - else - if test -x "$enable_python" - then - AC_MSG_NOTICE(Found python in $enable_python) - PYTHON="$enable_python" - enable_python=yes - else - if test -x "$PYTHON" - then - AC_MSG_NOTICE(Found python in environment PYTHON=$PYTHON) - enable_python=yes - fi - fi - fi - - if test "$enable_python" == "yes" ; then - AM_PATH_PYTHON(,, [:]) - - if test "$PYTHON" != : ; then - PYTHON_CONFIG="$PYTHON-config" - - if test -x "$PYTHON_CONFIG" - then - PYTHON_INCLUDES=`$PYTHON_CONFIG --includes` - PYTHON_LIB=`$PYTHON_CONFIG --libs` - else - if test -r $PYTHON_EXEC_PREFIX/include/python$PYTHON_VERSION/Python.h - then - PYTHON_INCLUDES=-I$PYTHON_EXEC_PREFIX/include/python$PYTHON_VERSION - else - if test -r $prefix/include/python$PYTHON_VERSION/Python.h - then - PYTHON_INCLUDES=-I$prefix/include/python$PYTHON_VERSION - else - if test -r /usr/include/python$PYTHON_VERSION/Python.h - then - PYTHON_INCLUDES=-I/usr/include/python$PYTHON_VERSION - else - AC_MSG_NOTICE([Could not find python$PYTHON_VERSION/Python.h, disabling bindings]) - enable_python=no - fi - fi - fi - fi - else - AC_MSG_NOTICE([Could not find python interpreter, disabling bindings]) - enable_python=no - fi - else - AC_MSG_NOTICE([Could not find python in $enable_python, disabling bindings]) - enable_python=no - fi -fi -AM_CONDITIONAL(ENABLE_PYTHON, test "$enable_python" = "yes") -AC_SUBST([PYTHON_VERSION]) -AC_SUBST([PYTHON_INCLUDES]) -AC_SUBST([PYTHON_LIB]) - -#AC_ARG_ENABLE(python, -#enable_python="yes" -# [ --disable-python disable python bindings for MusE],[ -# case "$enableval" in -# "no") -# enable_python="no" -# ;; -# *) -# AC_MSG_ERROR([must use --enable-python(=yes/no) or --disable-python]) -# ;; -# esac -# ]) -# -#if test "$enable_python" = "yes"; then -# AM_PATH_PYTHON -# PYTHON_INCLUDE_DIR="" -# if test -n "$PYTHON_INCLUDES" ; then -# PYTHON_INCLUDE_DIR=$PYTHON_INCLUDES -# python_bindings="yes" -# else -# python_bindings="no - devel pkg not found" -# fi -#fi -#AM_CONDITIONAL(ENABLE_PYTHON, test "$python_bindings" = "yes") - -################### -### vst plugins ### -################### - -vst_possible=no -VST="no" -AC_ARG_ENABLE(vst,[ --enable-vst (deprecated, use dssi) build VST/win support. (disabled by default) ], - [ if test x$enable_vst = xyes ; then - vst_requested=yes; - fi - ] -) - -if test x$vst_requested = xyes ; then - PKG_CHECK_MODULES(FST,libfst, [ vst_possible=yes ], [ vst_possible=no ]) -fi - -if test x$vst_possible = xyes -a x$vst_requested = xyes ; then - AC_MSG_CHECKING([support for VST/win plugins]) - VST_CFLAGS="$FST_CFLAGS" - VST_LIBS="$FST_LIBS" - VST="yes" - AC_DEFINE(VST_SUPPORT, 1, [support for VST/win plugins]) -fi - -AM_CONDITIONAL(VST_SUPPORT, test x$vst_possible = xyes -a x$vst_requested = xyes) - - -################### -### OSC support ### -################### - -osc_requested=no -LO_LIB_FOUND="no" -OSC="no" -AC_ARG_ENABLE(osc,[ --enable-osc build OSC support. (disabled by default) - --enable-dssi is also recommended! ], - [ if test x$enable_osc = xyes ; then - osc_requested=yes; - fi - ] -) - -if test x$osc_requested = xyes ; then - AC_MSG_CHECKING([support for OSC]) -## AC_CHECK_LIB(lo, lo_send, LO_LIB_FOUND="yes", LO_LIB_FOUND="no") -## PKG_CHECK_MODULES(LO, lo >= 0.2, LO_LIB_FOUND="yes", LO_LIB_FOUND="no") - PKG_CHECK_MODULES(LO,liblo, [ LO_LIB_FOUND=yes ], [ LO_LIB_FOUND=no ]) - if test x$LO_LIB_FOUND = xno; then - AC_MSG_ERROR([Library liblo from The Lightweight OSC Implementation is required]) - fi -fi - -if test x$LO_LIB_FOUND = xyes ; then - LO_CFLAGS="$LO_CFLAGS" - ##LO_LIBS="$LO_LIBS" - LO_LIBS="-llo" - OSC="yes" - AC_SUBST(LO_CFLAGS) - AC_SUBST(LO_LIBS) - AC_DEFINE(OSC_SUPPORT, 1, [support for OSC]) -fi - -AM_CONDITIONAL(OSC_SUPPORT, test x$LO_LIB_FOUND = xyes) - -## LO_LIBS="-llo" -## AC_SUBST(LO_CFLAGS) -## AC_SUBST(LO_LIBS) - -## PKG_CHECK_MODULES(LO, lo >= 0.23, -## true, -## AC_MSG_ERROR([need liblo >= 0.23 ]) -## ) - - - -################### -### dssi plugins ### -################### - -dssi_requested=no -## LO_LIB_FOUND="no" -DSSI_H_FOUND="no" -DSSI="no" -AC_ARG_ENABLE(dssi,[ --enable-dssi build DSSI + DSSI-Vst support. (disabled by default) - --enable-osc is also recommended! ], - [ if test x$enable_dssi = xyes ; then - dssi_requested=yes; - fi - ] -) - - -if test x$dssi_requested = xyes ; then - AC_MSG_CHECKING([support for DSSI + DSSI-Vst plugins]) - ## AC_CHECK_LIB(lo, lo_send, LO_LIB_FOUND="yes", LO_LIB_FOUND="no") - ## PKG_CHECK_MODULES(LO, lo >= 0.2, LO_LIB_FOUND="yes", LO_LIB_FOUND="no") -## PKG_CHECK_MODULES(LO,liblo, [ LO_LIB_FOUND=yes ], [ LO_LIB_FOUND=no ]) -## if test x$LO_LIB_FOUND = xno; then -## AC_MSG_ERROR([Library liblo from The Lightweight OSC Implementation is required]) -## fi - - AC_CHECK_HEADER(dssi.h, DSSI_FOUND="yes", DSSI_FOUND="no") - ## PKG_CHECK_MODULES(DSSI [ DSSI_FOUND=yes ], [ DSSI_FOUND=no ]) - if test x$DSSI_FOUND = xno; then - AC_MSG_ERROR([Header file dssi.h from DSSI (Disposable Soft Synth Interface) is required]) - fi -fi - -## if test x$LO_LIB_FOUND = xyes -a x$DSSI_FOUND = xyes ; then -if test x$DSSI_FOUND = xyes ; then -## LO_CFLAGS="$LO_CFLAGS" - ##LO_LIBS="$LO_LIBS" -## LO_LIBS="-llo" - DSSI="yes" -## AC_SUBST(LO_CFLAGS) -## AC_SUBST(LO_LIBS) - AC_DEFINE(DSSI_SUPPORT, 1, [support for DSSI + DSSI-Vst plugins]) -fi - -## AM_CONDITIONAL(DSSI_SUPPORT, test x$LO_LIB_FOUND = xyes -a x$DSSI_FOUND = xyes) -AM_CONDITIONAL(DSSI_SUPPORT, test x$DSSI_FOUND = xyes) - -## LO_LIBS="-llo" -## AC_SUBST(LO_CFLAGS) -## AC_SUBST(LO_LIBS) - -## PKG_CHECK_MODULES(LO, lo >= 0.23, -## true, -## AC_MSG_ERROR([need liblo >= 0.23 ]) -## ) - - - - -###################################### - - -AC_DEFINE(HAVE_AUDIO, 1, [Make audio-specific code]) -AM_CONDITIONAL(HAVE_AUDIO, test "yes" = "yes") -AC_SUBST(MUSECXXFLAGS) -AC_SUBST(QTDIR_INC) -AC_SUBST(QT_LIBS) -AC_SUBST(QTDIR_BIN) - -if test -n "$GIVERTCAP"; then - SUIDINSTALL="no" - SUIDBUILD="no" - fi - - -AC_OUTPUT([ -Makefile -m4/Makefile -al/Makefile -doc/Makefile -xpm/Makefile -demos/Makefile -grepmidi/Makefile -packaging/Makefile -muse/Makefile -muse/widgets/Makefile -muse/master/Makefile -muse/midiedit/Makefile -muse/arranger/Makefile -muse/liste/Makefile -muse/driver/Makefile -muse/waveedit/Makefile -muse/ctrl/Makefile -muse/instruments/Makefile -muse/mixer/Makefile -muse/cliplist/Makefile -muse/marker/Makefile -muse/mplugins/Makefile -muse/remote/Makefile -share/Makefile -share/drummaps/Makefile -share/html/Makefile -share/locale/Makefile -share/wallpapers/Makefile -share/instruments/Makefile -share/plugins/Makefile -share/templates/Makefile -share/pybridge/Makefile -share/scripts/Makefile -synti/Makefile -synti/libsynti/Makefile -synti/fluidsynth/Makefile -synti/fluid/Makefile -synti/organ/Makefile -synti/s1/Makefile -synti/vam/Makefile -synti/deicsonze/Makefile -synti/simpledrums/Makefile -lib/Makefile -lib/synthi/Makefile -lib/plugins/Makefile -plugins/Makefile -plugins/freeverb/Makefile -plugins/pandelay/Makefile -plugins/doublechorus/Makefile -Doxyfile -utils/Makefile -]) - -######## Show a configuration report ######## -if test -n "$JADE"; then - jade_report="$JADE"; -else - jade_report="not present" -fi -AC_MSG_NOTICE([ - QTDIR $QTDIR - QTDIR_INC $QTDIR_INC - QTDIR_BIN $QTDIR_BIN - QT_LIBS $QT_LIBS - - MusE configured - - LASH support: $LASH_FOUND - OSC support: $OSC - DSSI support: $DSSI - FluidSynth: $muse_enable_fluidlib - - jade: $jade_report - doxygen: $DOXYGEN - graphviz: $DOT - perl: $PERL - treeviews in doxygen - html output: $report_doxy_treeview - - C++ compiler: $CXX - optimizing: $report_optimise - debug: $report_debug - optimise for arch: $report_march - SSE optimizations $report_sse - python bindings: $enable_python - - installation prefix: $prefix - - Deprecated: - --------------------------------------------------- - using rtcap: $report_rtcap - setuid root install: $SUIDINSTALL - setuid root build: $SUIDBUILD - VST/win support: $VST - -]) - diff --git a/muse2/grid.med b/muse2/grid.med deleted file mode 100644 index 8beb9b13..00000000 --- a/muse2/grid.med +++ /dev/null @@ -1,467 +0,0 @@ - - - - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 1 - 00:00:00:00:00 - 1 - 0 - 0 - 0 - 0 - 0 - - - - 1 - 440 526 - -
7 6 5 4 3 2 1 0
-
- 0 - 266 - 1 -
- - - 2 - 63 - 127 - 63 - 70 - 9 - 0 - 0 - 0 - 4 - 4 - 0 - 0 - 1 - 0 - - 0 - 28 - 31 - 33 - 29 - - generic midi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 96 - 96 - 600 - 400 - 50 - 300 - 0 - - - 96 - 96 - 80 - 50 - 0 - 0 - 600 - 400 - 0 - - - 0 - - - - 600 - 400 - -
- - - 1 - 0 - 0 - 0 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 1 - - Out 1 - 0 - 0 - 0 - 0 - 2 - 20 - 0 - 0 - 0 - 1 - - - - - - - - - Track 1 - 0 - 0 - 0 - 0 - 0 - 20 - 0 - 0 - 0 - 4294967295 - 65535 - 0 - 1 - 0 - 0 - 0 - 100 - 100 - 1 - - - Track 2 - 0 - 0 - 0 - 0 - 0 - 20 - 0 - 0 - 0 - 4294967295 - 65535 - 0 - 1 - 0 - 0 - 0 - 100 - 100 - 1 - - - Track 3 - 0 - 0 - 0 - 0 - 0 - 20 - 0 - 0 - 0 - 4294967295 - 65535 - 0 - 1 - 0 - 0 - 0 - 100 - 100 - 1 - - - Track 4 - 0 - 0 - 0 - 0 - 0 - 20 - 0 - 0 - 0 - 4294967295 - 65535 - 0 - 1 - 0 - 0 - 0 - 100 - 100 - 1 - - - Track 5 - 0 - 0 - 0 - 0 - 0 - 20 - 0 - 0 - 9 - 4294967295 - 65535 - 0 - 1 - 0 - 0 - 0 - 100 - 100 - 1 - - - Track 6 - 0 - 0 - 0 - 0 - 2 - 20 - 0 - 0 - 0 - 1 - - - - - - - - - Out 2 - 0 - 0 - 0 - 0 - 2 - 20 - 0 - 0 - 0 - 1 - - - - - - - - - Out 3 - 0 - 0 - 0 - 0 - 2 - 20 - 0 - 0 - 0 - 1 - - - - - - - - - Input 1 - 0 - 1 - 0 - 0 - 2 - 20 - 0 - 1 - 0 - 0 - 1 - - - - - - - - - Track 6 - Out 1 - - - Input 1 - Out 1 - - - - 0 - 500000 - - - - - 0 - 4 - 4 - - - - - - - -
diff --git a/muse2/test.med b/muse2/test.med deleted file mode 100644 index 74d2f7b5..00000000 --- a/muse2/test.med +++ /dev/null @@ -1,449 +0,0 @@ - - - - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 1 - 00:00:00:00:00 - 1 - 1 - 1 - 0 - 0 - 0 - 0 - - - 0 - 0 - - 1 - 440 526 - -
7 6 5 4 3 2 1 0
-
- 0 - 266 - 1 -
- - - 2 - 63 - 127 - 63 - 70 - 9 - 0 - 0 - 0 - 4 - 4 - 0 - 0 - 1 - 0 - 0.5 - - 0 - 28 - 31 - 33 - 29 - - generell midi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 96 - 96 - 600 - 400 - 50 - 300 - 0 - - - 96 - 96 - 80 - 50 - 0 - 0 - 600 - 400 - 0 - - - 0 - - - - 600 - 400 - -
- - - 1 - 15360 - 24576 - 15360 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 24576 - 1 - - Out 1 - 0 - 0 - 0 - 0 - 2 - 20 - 0 - 0 - 0 - 1 - - 0 1.02164, - - - 0 0, - - - - - - Track 1 - 0 - 0 - 0 - 0 - 0 - 20 - 0 - 1 - 0 - 0 - 0 - 1 - 0 - 0 - 0 - 100 - 100 - 1 - - Track 1 - - 0 - 0 - - - Track 1 - - 1 - 0 - - - - Track 2 - 0 - 0 - 0 - 0 - 0 - 20 - 0 - 0 - 0 - 0 - 1 - 0 - 0 - 0 - 100 - 100 - 1 - - Track 1 - - 0 - 0 - - - Track 2 - - 0 - 0 - - - - Track 3 - 0 - 0 - 0 - 0 - 0 - 20 - 0 - 0 - 0 - 0 - 1 - 0 - 0 - 0 - 100 - 100 - 1 - - Track 3 - - 0 - 0 - - - - Track 4 - 0 - 0 - 0 - 0 - 0 - 20 - 0 - 0 - 0 - 0 - 1 - 0 - 0 - 0 - 100 - 100 - 1 - - Track 1 - - 0 - 0 - - - - Track 5 - 0 - 0 - 0 - 0 - 0 - 20 - 0 - 0 - 0 - 0 - 1 - 0 - 0 - 0 - 100 - 100 - 1 - - Track 1 - - 0 - 0 - - - - Track 6 - 0 - 0 - 0 - 0 - 0 - 20 - 0 - 0 - 0 - 0 - 1 - 0 - 0 - 0 - 100 - 100 - 1 - - - - - - - - - - - - 0 - 500000 - - - - - 0 - 4 - 4 - - - - - - - -
diff --git a/muse2/testproj.med b/muse2/testproj.med deleted file mode 100644 index b981080e..00000000 --- a/muse2/testproj.med +++ /dev/null @@ -1,333 +0,0 @@ - - - - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 1 - 00:00:00:00:00 - 1 - 1 - 1 - 0 - 0 - 0 - 0 - - - 0 - 0 - - 1 - 440 697 - -
7 6 5 4 3 2 1 0
-
- 0 - 266 - 1 -
- - - 2 - 63 - 127 - 63 - 70 - 9 - 0 - 0 - 0 - 4 - 4 - 0 - 0 - 1 - 0 - - 0 - 28 - 31 - 33 - 29 - - generell midi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 96 - 96 - 600 - 400 - 50 - 300 - 0 - - - 96 - 384 - 80 - 50 - 0 - 0 - 933 - 622 - 0 - - - 0 - - - - 600 - 400 - -
- - - 1 - 0 - 6144 - 0 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 6144 - 1 - - Out 1 - 0 - 0 - 0 - 0 - 2 - 20 - 0 - 0 - 0 - 1 - - - - - - - - - Track 1 - 0 - 0 - 0 - 0 - 0 - 20 - 0 - 1 - 0 - 0 - 0 - 1 - 0 - 0 - 0 - 100 - 100 - 1 - - Track 1 - - 1 - 0 - - - - - - - - - - - - - 0 - 500000 - - - - - 0 - 4 - 4 - - - - - - - 1:0 - - - - - - - 96 - 384 - - 510 - 0 - 0 - 1 - 80 - 50 - 0 - 0 - 0 - 346 - 390 - 286 - - -
-- cgit v1.2.3