Installing the Builder Wizard on Debian Squeeze




edit: better read jmpoure's comments first to save some trouble/time!

 

Hey everyone! I just finished installing Debian Squeeze and the Builder Wizard and wanted to share the proces. All of this is also nicely explained in the documentation at www.kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source/installing-required-libraries but for the people who like to copy/paste just read on. Note that I'm also a firsttime Debian user so it is NOT the perfect guide (yet!) If you have suggestions or improvements leave a comment.

 

 

 

First open your sources.list.

sudo nano /etc/apt/sources.list

Change lenny to squeeze for those up-to-date packages.

Also enable deb-src to be able to build-dep later on.

deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free

Add Debian Multimedia and KDE4 repos. At the moment frei0r is only available in unstable.

deb http://www.debian-multimedia.org squeeze main
deb http://www.debian-multimedia.org unstable main

deb http://kde4.debian.net/ lenny main

 

Save, exit and then -

sudo aptitude update

- get debian-multimedia-keyring and upgrade.

sudo aptitude install debian-multimedia-keyring

sudo aptitude dist-upgrade

You might need to reboot afterwards, I don't remember.

 

-

 

Next step, getting the required libraries & some codecs. You will probably need to agree to downgrade some packages because their dev packages require it.




sudo aptitude install libqt4-dev kdelibs5-dev libsdl1.2-dev libsdl-image1.2-dev libxml2 libxml2-dev recordmydesktop dvgrab libdv4 libdv4-dev x264 libx264-dev libtheora0 libtheora-dev libxvidcore4 libxvidcore4-dev libogg0 libogg-dev libvorbis0a libvorbis-dev libschroedinger-1.0-0 libschroedinger-dev libmp3lame0 libmp3lame-dev libfaac0 libfaac-dev libfaad0 libfaad-dev libgsm1 libgsm1-dev libamrnb3 libamrnb-dev libamrwb3 libamrwb-dev libsamplerate0 libsamplerate0-dev libjack-dev sox libsox1 libsox-dev ladspa-sdk swh-plugins libmad0-dev libgdk-pixbuf2 libgdk-pixbuf-dev libpango1.0-dev yasm libquicktime1 libquicktime-dev



 

Next packages are a little tricky, for package libx264 it might be worthwile to check if a newer version is available via 'aptitude search libx264'. Frei0r depends on libgavl1 package but this is still in Debian Sid (not Squeeze) at this time. If it isn't in Squeeze yet you'll have to install them from source from gmerlin.sourceforge.net/ and www.piksel.org/frei0r which isn't that much effort. But first let's just try this:

 

sudo aptitude install libx264-66 libgavl1 frei0r libfrei0r-dev

Optionally you can install dvdauthor and mkisofs to export to DVD or ISO image.

sudo aptitude install dvdauthor mkisofs

 

Now install the dependencies for the Builder Wizard!

 

sudo aptitude build-dep ffmpeg

sudo aptitude build-dep mlt

sudo aptitude build-dep mlt++

sudo aptitude build-dep kdenlive

sudo aptitude install kommander subversion g++ kdesudo konqueror

 

And then install & enjoy, something like this;

cd ~
mkdir src
mkdir kdenlive
cd kdenlive
wget http://www.kde-apps.org/CONTENT/content-files/85826-kdenlive_builder_wizard.kmdr.bz2
bzip2 -d 85826-kdenlive_builder_wizard.kmdr.bz2
chmod +x 85826-kdenlive_builder_wizard.kmdr
kmdr-executor 85826-kdenlive_builder_wizard.kmdr

 

IMHO, this is way too complicated:

  • I don't recommend adding the KDE4 repository. Follow the single page described in :
    http://www.kdenlive.org/user-manual/downloading-and-installing-kdenlive/...
  • Debian packages are pretty up-to-date. No need to recompile. But if you would like to recompile:
  • To install MLT and MLT++ build dependencies, type:
    apt-get build-dep mlt mlt++ kdenlive (in a single line).
    apt-get remove mlt mlt++ kdenlive (to keep only the required libs)
  • Then run the build wizard if you wish.