Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
development_from_svn [2013/10/05 06:41] michael |
development_from_svn [2018/01/07 11:29] michael [Bootstrap and Configure] |
</code> | </code> |
| |
===== Bootstrap and Configure ===== | ===== Run CMake ===== |
| |
Once you've got the source to ''rosegarden-svn'' under the directory of your choice, move into it, and bootstrap the source: | Once you've got the source to ''rosegarden-svn'' under the directory of your choice, move into it, and create a build directory: |
| |
<code> | <code> |
cd rosegarden-svn | cd rosegarden-svn |
sh bootstrap.sh | mkdir build |
</code> | </code> |
| |
Now you need to configure the source. Lately, I have been running 64-bit distros, and on recent 64-bit versions of Ubuntu this step is a little more complicated than it used to be. The first thing you should try is this: | Now you need to run CMake: |
| |
<code> | <code> |
./configure | cmake .. -DCMAKE_INSTALL_PREFIX=[PREFIX] [-DCMAKE_BUILD_TYPE=Debug] |
</code> | </code> |
| |
If that fails with some error about Qt libraries, you will need to use: | **-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: |
| |
<code> | <code> |
./configure --with-qtlibdir=/usr/lib/x86_64-linux-gnu/ | make |
</code> | </code> |
| |
If //that// fails, you probably need to try replacing ''x86_64-linux-gnu'' with something else. Look in ''/usr/lib'' for clues, as every one of my Linux systems is 64-bit now. | 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 Run ===== | ===== Build and Run ===== |
| |
| |
Good luck! | Good luck! |
| |
| ===== Update ===== |
| |
| You 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: |
| |
| <code> |
| svn update |
| make && ./rosegarden |
| </code> |
| |
| Occasionally an update may break things. Let's just cross that bridge when we come to it. |
| |
| |
====== Other Distros ====== | ====== Other Distros ====== |