Table of ContentsInstalling the latest Rosegarden source from SubversionOBSOLETE These instructions have been superseded by Building Rosegarden from Source. OBSOLETE These instructions show how to install a development version of Rosegarden to use along with the version installed through your distro. Many of these operations can be performed using graphical utilities, but it is much harder to describe point here click that across many different package managers and desktop environments, so these instructions assume you have some familiarity with the Linux command line. You will want to go into a terminal using xterm, Konsole, GNOME Terminal or the like to enter these commands. .deb-based Distros (Debian, Ubuntu, Mint and Derivatives)These instructions were tested with Ubuntu 12.04, but the same general process should work on all .deb-based distros, with some minor variations. Install Distro RosegardenFirst, install your distro's version of Rosegarden. It will be out of date, but this is a quick and easy way to pull in all the run-time dependencies that Rosegarden needs. sudo apt-get install rosegarden subversion Enable Source Repositories
Have a look to make sure you have source packages enabled in deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
If you changed sudo apt-get update Install Build Dependencies
Having done that, the next step is to use sudo apt-get build-dep rosegarden Create Build Directory (Folder)
Now you need to decide where you want to build Rosegarden. Michael always creates a mkdir ~/SVN Get the SourceWith that done you will want to change to your build directory. I assume ~/SVN; please adjust to suit your local situation, and check out the source: cd ~/SVN If you have a SourceForge account and think you might want to contribute patches, check out the source using your SourceForge ID: svn checkout --username=[YOUR USERID] https://svn.code.sf.net/p/rosegarden/code/trunk/rosegarden rosegarden-svn Otherwise, just check out a read-only copy: svn checkout svn://svn.code.sf.net/p/rosegarden/code/trunk/rosegarden rosegarden-svn Run CMake
Once you've got the source to cd rosegarden-svn mkdir build Now you need to run CMake: cmake .. -DCMAKE_INSTALL_PREFIX=[PREFIX] [-DCMAKE_BUILD_TYPE=Debug] -DCMAKE_INSTALL_PREFIX sets the installation prefix, such as /usr If you set the -DCMAKE_BUILD_TYPE=Debug then you will compile a debug build instead of the default release build. Finally, you are ready to compile: make Since you have a system version of Rosegarden installed, there is probably no need to install the one you just compiled. Run it out of the directory where you just compiled it. All the install target does is set up system icons and MIME types and so forth, and these change very infrequently. Build and RunNow that you've gotten the source bootstrapped and configured, the next step is to build and run. make && ./rosegarden
If all went well, your computer bogged down pretty hard for 10-15 minutes, and then your shiny new development version of Rosegarden started up. You can help us test bug fixes and new features ahead of releases, and we are happy to have the help! (In the future, you can run with If something went wrong, don't hesitate to send an email to Michael and ask for help. He will be glad to help you along, and will usually reply within three days. Good luck! UpdateYou will need to keep your development source refreshed, and compile it from time to time. If a developer fixes a bug or adds a feature, you will need to update in order to obtain the newest code: svn update make && ./rosegarden Occasionally an update may break things. Let's just cross that bridge when we come to it. Other DistrosNothing here yet. I've been using Ubuntu since 2005 or so, and I'm very satisfied with it. Other people can write the instructions for other distros. Sorry. (Note, due to high amounts of spamming, it is necessary to ask Michael for a wiki account. He will be happy to get one set up for you in a day or two.) |