building from source requirement, scummvm Re: Diablo extras repository proposal
Graham Cobb wrote: A week is a long time for someone funded to work on this full time. It is nothing at all for people working on this in their spare time! Exactly :-) In my case, a big problem is dependencies which were previously uploaded into Extras without sources. 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). 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) 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. 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. 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. Frantisek ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: building from source requirement, scummvm Re: Diablo extras repository proposal
On Thu, Jun 26, 2008 at 3:49 PM, Frantisek Dufka [EMAIL PROTECTED] wrote: 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). [snip] 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'm hoping to switch the direction of mud-builder[1] a little bit, since the auto-building aspects are no longer so important. Instead, it'll help with the creation of source packages for Maemo and uploading them to the autobuilder. It'll do this - as it does currently - from upstream tarballs, Debian packages etc, with the possibility of Maemo-specific patches. I started a thread about it on mud-builder-users, FWIW: https://garage.maemo.org/pipermail/mud-builder-users/2008-June/000255.html Input from existing mud users, and developers looking to move to source-packages welcome. Cheers, Andrew [1] http://mud-builder.garage.maemo.org/ -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: building from source requirement, scummvm Re: Diablo extras repository proposal
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 ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers