===== Get Dependencies ===== In order to successfully build Rosegarden, there are a number of programs and libraries you'll need. ==== .deb Based Distros ==== If you are using a distro with apt (Ubuntu, Debian...), you can try getting the build-dep's for Rosegarden. For build-dep's to work, you'll need to add the appropriate source repo URIs to your sources.list. The easiest way is to use synaptic. - Launch synaptic. Install it if you need to. - Go to Settings > Repositories - Click the Source Code checkbox. It will display a dash. - Close. Or, if you don't want to install synaptic, you can edit ''/etc/apt/sources.list'' directly. Look for ''deb-src'' lines that are commented out and uncomment them. Then do a "sudo apt update". At this point the instructions are slightly different for jack1 vs. jack2. If you are using jack2 (v1.9.x and up): $ sudo apt-get install libjack-jackd2-dev $ sudo apt-get build-dep rosegarden If you are using jack1, this should work: $ sudo apt-get build-dep rosegarden ...and you should be ready to build. ==== Other Distros ==== Nothing yet. Feel free to write something up and send it to us. ==== Dependencies ==== Here's a list of the various programs and libraries and the packages they are usually found in. In case the above advice doesn't get you what you need, try going through this list and installing these manually. ^ Command/Library ^ Min. Version ^ From (.deb-based) ^ From (.rpm-based) ^ From (Arch) ^ | gcc | 6.3.0 | gcc | gcc | | | g++ | 6.3.0 | g++ | gcc-c++ | | | cmake | 3.1 | cmake | cmake | | | GNU make | 4.1 | make | make | | | makedepend (?) | 1.0.1 | xutils-dev | imake | | | pkg-config (?) | 0.22 | pkg-config | pkgconf | | | qt5 (or qt6) | 5.10 | qtbase5-dev, qttools5-dev | qt5-qtbase-devel | | | qt6 | 6.0 | qt6-base-dev qt6-tools-dev qt6-5compat-dev | | | | alsa | 1.0 | libasound2-dev | alsa-lib-devel | | | jack | 0.109 | libjack-dev | jack-audio-connection-kit-devel | | | ladspa | 1.1 | ladspa-sdk | ladspa-devel | | | dssi | 0.9 | dssi-dev | dssi-devel | | | lo | 0.23 | liblo-dev (or liblo0-dev) | liblo-devel | | | lilv2 | | liblilv-dev | lilv-devel |extra/lilv | | lv2 | 1.18.0 | lv2-dev | | | | gtk2 (see below) | | libgtk2.0-dev | gtk2-devel |extra/gtk2 | | lirc | 0.8 | liblirc-dev | lirc-devel | | | liblrdf | | liblrdf-dev | liblrdf-devel | | | libfftw3 | | libfftw3-dev | fftw-devel | | | lilypond | 2.6.0 | | lilypond | | | libsamplerate | 0.1.4 | libsamplerate-dev | libsamplerate-devel | | | libsndfile | 1.0.16 | libsndfile1-dev | libsndfile-devel | | | perl | | | perl | | | bash | | | bash | | | GNU tar | | | tar | | | GNU gzip | | | gzip | | | libsm-dev | | libsm-dev | libSM-devel | | | zlib | | zlib1g-dev | zlib-devel(?) | | ==== gtk2 ==== gtk2 is optional and as of 25.12 requires explicitly asking for it via USE_GTK2 when running cmake. Plugins like the Calf plugins require gtk2, but since gtk2 is no longer supported as of 2020 a simpler workaround is to use the lv2-gtk-ui-bridge. See [[https://sourceforge.net/p/rosegarden/bugs/1749/#190b|this discussion on the bug tracker]].