1. Introduction
Compiling Veejay is not hard; however, there are a number of caveats to be ware of. The following document is intended to guide you trough a number of steps needed to start compiling, and hopefully, running veejay on Ubuntu Ubuntu 10.04 LTS/Lucid Lynx. You will need to type in some commands in the terminal; The final steps in this document will assume that you can move around a bit on the commandline, too.
2. Versions
Software versions used in this document refer to Ubuntu 10.04 LTS/Lucid Lynx and veejay v1.5.9-4 retrieved from Git. Since both ubuntu and veejay are moving targets, we advice you to always try and use the latest versions available. When in trouble, just contact us.
3. Prerequisite
Veejay uses a set of packages called “libavutils”. The versions shipped by ubuntu may not be up-to-date. I’ve found the “MOTU Media” packages of excellent quality and use those instead.(https://launchpad.net/~motumedia/+archive/ppa)
You may add the MOTU repositories using the following command:
$ sudo apt-add-repository ppa:motumedia/ppa
To compile veejay ( and software in general ) you need a list of additional packages installed that do not ship with the default installation of Ubuntu. The following command installs those packages:
$ sudo apt-get install build-essential automake1.7 libtool bison flex cvs gawk libdirectfb-dev libmjpegtools-dev libsdl1.2-dev libgtk2.0-dev libasound2-dev libjack-dev libjack0.100.0-dev jackd libxml2-dev libxrandr-dev subversion libsamplerate0-dev libxv-dev libxt-dev libglitz-glx1-dev libglade2-dev ffmpeg libavcodec-dev libavformat-dev libswscale-dev libfreetype6-dev libdv4-dev libasound-dev libsdl1.2-dev libjack0.100.0-dev libquicktime-dev libxml2-dev libglade2-dev libgtk2.0-dev libmjpegtools-dev libavcodec-dev libjpeg62-dev libavformat-dev libswscale-dev libdv-dev xorg-dev libasound-dev libsamplerate-dev
4. Downloading veejay
The most recommended way is to use the Git repository. This will contain the latest version and bugfixes of the current code. An alternative is to use a snapshot release. Git can be installed from synaptic. When looking for help, always supply the used versions of the software, as a bug may have been fixed in a later version.
Look here for a description of how to download veejay using git.
5. Compiling
After downloading veejay you should have a directory tree that looks like this:
veejay-git/
`-- veejay-current
|-- sendVIMS
|-- veejay-client
|-- veejay-server
|-- veejay-themes
`-- veejay-utils
As you can see, veejay has been split up in a number of different “packages”. These packages have to be compiled separately, but in a specific order.
We’ll start by compiling veejay-server:
$cd veejay-server $export PKG_CONFIG_PATH=/usr/lib/pkgconfig $./autogen.sh $./configure --prefix=/usr $make -j2 $sudo make install
Next, veejay-client:
$cd ../veejay-client $export PKG_CONFIG_PATH=/usr/lib/pkgconfig $./autogen.sh $./configure --prefix=/usr $make -j2 $sudo make install
And some themes:
$cd ../veejay-themes $sudo ./INSTALL.sh
That particular installation of veejay did not run without some fonts installed for the OSD. I’m sure that’ll be fixed in the near future, but here’s how to fix that:
$mkdir ~/.veejay & mkdir ~/.veejay/fonts $cp /usr/share/fonts/truetype/freefont/FreeSans.ttf .veejay/fonts/
You may now start veejay:
$veejay -d
And reloaded:
$reloaded
That’s it, cheers!