Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
wschweer committed May 26, 2012
1 parent d23e309 commit 412ca45
Show file tree
Hide file tree
Showing 2,433 changed files with 1,908,786 additions and 3 deletions.
519 changes: 519 additions & 0 deletions CMakeLists.txt

Large diffs are not rendered by default.

2,018 changes: 2,018 additions & 0 deletions ChangeLog

Large diffs are not rendered by default.

1,517 changes: 1,517 additions & 0 deletions Doxyfile.in

Large diffs are not rendered by default.

357 changes: 357 additions & 0 deletions LICENSE.GPL

Large diffs are not rendered by default.

124 changes: 124 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
#=============================================================================
# Mscore
# Linux Music Score Editor
# $Id:$
#
# Copyright (C) 2002-2007 by Werner Schweer and others
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2.
#
# This program 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 program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================

REVISION = `cat mscore/revision.h`
CPUS = `grep -c processor /proc/cpuinfo`

PREFIX = "/usr/local"
VERSION = "2.0b${REVISION}"
#VERSION = 2.0

ROOT=`pwd`

release:
mkdir build.release; \
cd build.release; \
cmake -DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
..; \
make lrelease; \
make -j ${CPUS}; \


debug:
mkdir build.debug; \
cd build.debug; \
cmake -DCMAKE_BUILD_TYPE=DEBUG \
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
..; \
make lrelease; \
make -j ${CPUS}; \


qt5:
if test ! -d qt5; \
then \
mkdir qt5; \
cd qt5; \
export PATH=/home/ws/qt/qt5/qtbase/bin:${PATH}; \
cmake -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_SCRIPTGEN=NO \
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
..; \
make -j ${CPUS}; \
else \
echo "build directory does already exist, please remove first with 'make clean'"; \
fi

#
# win32
# cross compile windows package
# NOTE: there are some hardcoded path in CMake - files
# will probably only work on my setup (ws)
#
win32:
if test ! -d win32build; \
then \
mkdir win32build; \
if test ! -d win32install; \
then \
mkdir win32install; \
fi; \
cd win32build; \
cmake -DCMAKE_TOOLCHAIN_FILE=../build/mingw32.cmake -DCMAKE_INSTALL_PREFIX=../win32install -DCMAKE_BUILD_TYPE=DEBUG ..; \
make lrelease; \
make -j ${CPUS}; \
make install; \
make package; \
else \
echo "build directory win32build does alread exist, please remove first"; \
fi

#
# clean out of source build
#

clean:
-rm -rf build.debug build.release
-rm -rf win32build win32install

revision:
@svnversion -n > mscore/mscore/revision.h

version: revision
@echo ${VERSION}

install: release revision
cd build.release; make install

#
# linux
# linux binary package build
#
unix:
if test ! -d linux; \
then \
mkdir linux; \
cd linux; \
cmake -DCMAKE_BUILD_TYPE=RELEASE ../mscore; \
make -j${CPUS} -f Makefile; \
make package; \
else \
echo "build directory linux does alread exist, please remove first"; \
fi

doxy:
doxygen -f build/Doxyfile.in


59 changes: 59 additions & 0 deletions Makefile.mingw
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
#=============================================================================
# Mscore
# Linux Music Score Editor
# $Id:$
#
# Copyright (C) 2002-2007 by Werner Schweer and others
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2.
#
# This program 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 program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================


REVISION = $(shell type mscore\mscore\revision.h)
VERSION = 2.0r${REVISION}
MINGW_DIR = C:\QtSDK\mingw
CPUS = 2

release:
if not exist win32build\nul mkdir win32build
if not exist win32install\nul mkdir win32install
cd win32build & cmake -G "MinGW Makefiles" -DCMAKE_TOOLCHAIN_FILE=../build/mingw32.mingw.cmake -DCMAKE_INSTALL_PREFIX=../win32install -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_MAKE_PROGRAM=${MINGW_DIR}\bin\mingw32-make.exe ..
cd win32build & $(MAKE) lrelease
cd win32build & $(MAKE) -j ${CPUS}

debug:
if not exist win32build\nul mkdir win32build
if not exist win32install\nul mkdir win32install
cd win32build & cmake -G "MinGW Makefiles" -DCMAKE_TOOLCHAIN_FILE=../build/mingw32.mingw.cmake -DCMAKE_INSTALL_PREFIX=../win32install -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_MAKE_PROGRAM=${MINGW_DIR}\bin\mingw32-make.exe ..
cd win32build & $(MAKE) lrelease
cd win32build & $(MAKE) -j ${CPUS}

install:
cd win32build & $(MAKE) install

package:
cd win32build & $(MAKE) package

revision:
FOR /F "tokens=1 delims=M" %%A IN ('svnversion -n') DO echo %%A > mscore/mscore/revision.h

version:
@echo ${VERSION}

#
# clean out of source build
#

clean:
-rmdir /S/Q win32build win32install

78 changes: 78 additions & 0 deletions Makefile.osx
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
#=============================================================================
# Mscore
# Linux Music Score Editor
# $Id:$
#
# Copyright (C) 2002-2007 by Werner Schweer and others
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2.
#
# This program 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 program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================

REVISION = `cat mscore/mscore/revision.h`
CPUS = `grep -c processor /proc/cpuinfo`

VERSION = "2.0b${REVISION}"

PREFIX=../applebuild

ROOT=`pwd`

release:
mkdir build.release; \
cd build.release; \
cmake -DCMAKE_INSTALL_PREFIX="${PREFIX}" -DCMAKE_BUILD_TYPE=RELEASE \
.. -G Xcode; \
xcodebuild -project mscore.xcodeproj -target lrelease; \
xcodebuild -project mscore.xcodeproj -configuration Release -target ALL_BUILD; \


debug: xcode
mkdir build.debug; \
cd build.debug; \
cmake -DCMAKE_INSTALL_PREFIX="${PREFIX}" -DCMAKE_BUILD_TYPE=DEBUG \
.. -G Xcode; \
xcodebuild -project mscore.xcodeproj -target lrelease; \
xcodebuild -project mscore.xcodeproj -configuration Debug -target ALL_BUILD; \

xcode:
mkdir build.xcode; \
cd build.xcode; \
cmake -DCMAKE_INSTALL_PREFIX=../build.xcode/mscore/Debug -DCMAKE_BUILD_TYPE=DEBUG \
.. -G Xcode; \
xcodebuild -project mscore.xcodeproj -target lrelease;

#
# clean out of source build
#

clean:
-rm -rf build.release build.debug build.xcode
-rm -rf applebuild

lupdate:
cd build.release;xcodebuild -project mscore.xcodeproj -target lupdate;

lrelease:
cd build.release;xcodebuild -project mscore.xcodeproj -target lrelease;

revision:
@svnversion -n | cut -c 1-4 > mscore/revision.h

version: revision
@echo ${VERSION}

install:
cd build.release;xcodebuild -project mscore.xcodeproj -configuration Release -target install;

package:
build/package_mac;
93 changes: 93 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
=================================================================
MuseScore Score Typesetter
=================================================================

Features:
- WYSIWYG design, notes are entered on a "virtual notepaper"
- TrueType font(s) for printing & display allows for high quality
scaling to all sizes
- easy & fast note entry
- many editing functions
- MusicXML import/export
- Midi (SMF) import/export
- MuseData import
- Midi input for note entry
- integrated sequencer and software synthesizer to
play the score
- print or create pdf files

Licence:
MuseScore is distributed under the GNU General Public License (GPL).
Please read the file LICENSE in this directory for more
details.

Requirements:
- qt4 gui lib version >= qt4.8.x

Note that many linux distributions split packages into a user
and developer package and that you need to install both.

- ALSA Version 1.0 or newer (audio/midi input/output)
- CMake >= 2.4.6
- libsndfile >= 1.0.19

- recommended: JACK audio server (audio output)

- recommended: portaudio 19
(required for windows version)

Credits:
MuseScore uses the "Emmentaler" font from the lilypond project.

Installation:
- unpack source distribution
tar xvofj mscore-x.x.x.tar.bz2

- make
cd mscore-x.x.x
make release

if something goes wrong, then remove the whole build subdirectory
with "make clean" and start new with "make release"

- install as root user
sudo make install

User Documentation:
Look at the handbook section at http://www.musescore.org

Program Documentation:
Type
cd build
make doxy

to generate the program documentation with DoxyGen.

Browse the documentation with your favourite html browser
at:
build/Doc/html/index.html


Test:
Type
cd build/mscore
mscore

to start mscore. On first invocation a demofile
(Modeste Moussorgsky: Pictures of an exhibition: Promenade)
is shown. You probably want to change that in the
"preferences" dialog.

=================================================================
Help needed
=================================================================

We need your help!

=================================================================
Contact
=================================================================

Werner Schweer; ws at wschweer.de
http://www.musescore.org/

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MuseScore2
==========
mscore
======

MuseScore is a free music notation software.
MuseScore free music notation software
Loading

0 comments on commit 412ca45

Please sign in to comment.