[maemo-developers] building from source requirement, scummvm Re: Diablo extras repository proposal
From: Ed Bartosh eduard.bartosh at nokia.comDate: Thu Jun 26 23:40:06 EEST 2008
- Previous message: building from source requirement, scummvm Re: Diablo extras repository proposal
- Next message: Pushing -dev packages in diablo's extras.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 2008-06-26 at 16:49 +0200, ext Frantisek Dufka wrote: > In my case of scummvm I have following problems > > 1. dependencies > > scummvm depends also on mad, tremor, flac and mpeg2 which I compiled and > 'make install'-ed from tar.gz into my scratchbox environment. Most > possibly they are in debian but I need to hunt them. I avoided the > problem so far by linking them statically (they are quite small and I > prefer to not to have too many dependencies anyway). > I see at least 2 packages from your list in repository: http://repository.maemo.org/extras-devel/pool/chinook/free/libm/libmad/ http://repository.maemo.org/extras-devel/pool/chinook/free/f/flac/ > 2. specific library build options > > AFAIK flac must be built without ogg containter (not default) because of > tremor, tremor provides ogg too, but is incompatible with real ogg > > in reality this means for me that -lFLAC needs also -logg by default, > -logg and -livorbisdec together produce duplicate symbols, scummvm needs > both flac and tremor(a.k.a. ivorbisdec) > You should probably agree about this with mplayer maintainer. If I remember correctly flac and libmad are mplayer dependencies. Most probably I built them sometimes ago for mplayer. I'm helping Sergey with packaging. > Maybe it is solvable without building flac in special way (no ogg) but > so far I had no time to solve it. > > 3. internal compiler error > > scummvm is buildable with -Os (my preferred option) but one source in > kyrandia engine fails with ICE both with -O2 and -Os Only -O3 or no > optimization works. Currently I don't know how to tweak makefile for > this specific source. > I'd suggest to take packages from Debian: http://packages.debian.org/lenny/scummvm and tweak them a bit. > 4. how to make buildable source :-) > > I am sorry for being so ignorant but how exactly do I produce debian > source that can be uploaded? I am still packaging newbie. Any direct > links to howtos appreciated. > I'd go this way: wget http://ftp.de.debian.org/debian/pool/main/s/scummvm/scummvm_0.11.1-1.dsc http://ftp.de.debian.org/debian/pool/main/s/scummvm/scummvm_0.11.1.orig.tar.gz http://ftp.de.debian.org/debian/pool/main/s/scummvm/scummvm_0.11.1-1.diff.gz && dpkg-source -x scummvm_0.11.1-1.dsc && cd scummvm-0.11.1/ After making changes you should run dpkg-buildpackage -S You can find a lot of info about Debian packaging here: http://www.us.debian.org/devel/ > Overall I like the idea of autobuilding from source very much but sadly > it will take me a lot of time to make scummvm buildable. Also so far any > work on the actual code (scummvm or other) had higer priority and my > time is limited. You guys are forcing me to either change priorities or > sabotage you worthy goal, tough choice :-) > > If anyone could lend a hand, you can get 0.11.1 release tarball from > scummvm.org, search the README for Maemo and try. > I can help you, but you should try yourself first and ask questions :) Regards, --- Ed
- Previous message: building from source requirement, scummvm Re: Diablo extras repository proposal
- Next message: Pushing -dev packages in diablo's extras.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]