[COLUG] DReaM software build

Dave Maxwell dmaxwell at columbus.rr.com
Thu Dec 28 20:01:40 EST 2006


On Thu December 28 2006 2:47 pm, Mark Erbaugh wrote:
> > > I'm a new list member.  I am using Ubuntu 6.06 (Dapper). I'd like to
> > > talk to anyone who has compiled and run the DReaM software
> > > (http://drm.sourceforge.net) under Linux, or who would be willing to
> > > help me through the build. The instructions on Sourceforge use .RPM
> > > files and Ubuntu uses .DEB.
> >
> > If you're lucky, the packages you need are available in the Ubuntu
> > archives, most likely in the "universe" repository.
> >
> > Like any Linux, you can compile packages from source in Ubuntu; in that
> > case see the "Dream installation from a released tar-ball" and "Dream
> > installation from CVS code" instructions.
> >
> > If all else fails, you might be able to use "alien" to install rpms.  But
> > it looks to me like you really should compile instead.
>
> I have found several of the required packages in the Ubuntu
> repositories. The two that I wasn't able to find are FhG IIS Jouraline
> Decoder (libjournaline) and FAAD2.
>
> Mark
>
> _______________________________________________
> colug432 mailing list colug432 at colug.net
> http://www.colug.net/mailman/listinfo/colug432

I'm running Edgy here.

dmaxwell at amelia-bedelia:~$ apt-cache show libfaad2-dev
Package: libfaad2-dev
Priority: optional
Section: multiverse/libdevel
<snip>
 FAAD2 is the fastest ISO AAC audio decoder available. FAAD2 correctly
 decodes all MPEG-4 and MPEG-2 MAIN, LOW, LTP, LD and ER object type AAC
 files.
 .
<snip>

So you need the multiverse repo and (possibly) be running Edgy to directly 
install it.  libjournaline is tougher.  That appears to be super-specialized 
and not terribly common.  You'll have to download their source rpm and do the 
following:

mkdir libjournaline
mv libjournaline_0.20040318_2.src.rpm  libjournaline
rpm2cpio libjournaline_0.20040318_2.src.rpm | cpio - 
unzip WinFhGJourLib.zip
patch -p0 < journaline-lib.patch
cd WinFhGJourLib/journaline_20040318
make libfhgjournaline.so (the zlib dev package has to be installed for this to 
succeed)

save the following script as install_journaline to the 
WinFhGJourLib/journaline_20040318 directory created earlier:

#!/bin/bash

# installs journaline libs, headers, and docs



chmod 755 libfhgjournaline.so.*

mkdir /usr/lib/journaline
cp libfhgjournaline.so.* /usr/lib/journaline
ldconfig /usr/lib/journaline
mkdir /usr/include/journaline

for n in NML.h newssvcdec.h dabdatagroupdecoder.h; do
   cp $n /usr/include/journaline
done

mkdir /usr/share/doc/journaline
cp html/* /usr/share/doc/journaline
cp readme.txt /usr/share/doc/journaline
cp README /usr/share/doc/journaline

chmod 755 install_journaline

sudo checkinstall ./install_journaline (you may have install checkinstall if 
you don't have it already.  Checkinstall is your friend for package managing 
strange tarballs)

Give sane answers to the (not terribly hard) questions checkinstall asks. I 
suggest it look like this when you are done:

This package will be built according to these values:

0 -  Maintainer: [ you at yourbox.domain ]
1 -  Summary: [ NewsService Journaline(R) Decoder ]
2 -  Name:    [ libjournaline ]
3 -  Version: [ 20040318 ]
4 -  Release: [ 1 ]
5 -  License: [ proprietary ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ i386 ]
8 -  Source location: [ journaline_20040318 ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]

Depending on the version of checkinstall and its settings you may have to do 
dpkg -i libjournaline_20040318-1_i386.deb because checkinstall may or may not 
actually do the install before building the package.

The rest of the Dream build process may have to be tweaked around too if 
things didn't get put in the right place.  I pulled that install_journaline 
script out of my butt after studying the spec file.

This all might even work ;-).  If wiser Debian hands want to correct any of 
the stunts I've pulled, I won't take it personally.

Dave

-- 
God made the integers; all else is the work of Man.
		-- Kronecker


More information about the colug432 mailing list