Showing posts with label CELT. Show all posts
Showing posts with label CELT. Show all posts

Thursday, October 29, 2009

libcelt-dev

Next I need to build libcelt-dev which is part of the celt source package.

Starting in the ~/build directory I need to make a new directory and change directories to it.
mkdir celt
cd celt

Next I need the source.
apt-get source celt

Which gives a celt-0.5.1 directory, a celt_0.5.1.orig.tar.gz file, a celt_0.5.1.diff.gz file and the celt_0.5.1-0ubuntu1.dsc file.

Move intot he celt-0.5.1 directory and run prevu.
cd celt-0.5.1
prevu

And again, you are greeted with success.
** Success!. You can find source packages and .debs at /var/cache/prevu/hardy-debs **


The reason I built FFADO and CELT is because I believe libffado-dev and libcelt-dev are needed to build JACK. I do have concerns that even though I install these libraries that prevu still will not recognize them because it is running in an chroot environment. We shall see.

But the attempt will have to wait until later tonight as Ubuntu Studio 9.10 "Karmic Koala" has been released and I want to download and seed the torrent.

Wednesday, October 28, 2009

libffado

I have found that in order to build the packages that I had originally intended, i.e. JACK and Ardour, than I would need to package several others during this process. Notably, I needed to build the FFADO driver (libffado).

To this end, I first created a created under my /home directory called /build. Not very imaginative I admit.
mkdir build

This will be the main directory where other directories will be stored for the various applications and their respective source packages to be stored.

Next, I moved into the build directory and created another directory for libffado. Move into the new directory also.
cd build
mkdir libffado
cd libffado

Then I downloaded the source package.
apt-get source libffado

Under the /libffado directory that I created this created a /libffado-2.0~rc1 directory, a libffado_2.0~rc1.orig.tar.gz archived package, a libffado_2.0~rc1-0ubuntu2.diff.gz archived package and a libffado_2.0~rc1-0ubuntu2.dsc file.

The directory is for the source files, the orig.tar.gz is the original tarball from upstream, the diff.gz is a tarball of the differences between the original and the Ubuntu built pacakge and the .dsc file is a description file.

Okay, now comes the really hard part; running prevu. First we need to change directory to the source code directory and then type:
cd libffado-2.0~rc1
prevu

That's it, watch it work. It might be a while though.

If everything works well you will be told that you have a .deb file located under the /var/cache/prevu/hardy-debs directory. Of course, this is for Hardy 8.04.

Next I will be moving onto libcelt-dev because JACK requires it as a build-depends. This will provide the capability for Hardy users to use netjack if they build the CELT codec, which is a low latency codec for sending audio over the net.

The decision to build libcelt-dev was slightly difficult for me because of my general ignorance of package building. It was either build CELT also or remove it as a build-depends but then I would have jacked with the changelog and then had to change the version number of JACK and I decided that it would be simpler (hopefully) just to build CELT before building JACK. I suppose we shall find out.