Hi Jussi, On Jan 8, 2008 8:31 PM, Jussi Hakala <[EMAIL PROTECTED]> wrote: > The files in you are using are heavily out of date. > > The sources.list that came with the rootstrap is too and probably has > been somewhat unofficial to begin with. > > Additionally, you're using a legacy version of Scratchbox and I'd > recommend upgrading unless you especially need to work with this > particular branch of Scratchbox. > > Anyway, to compile stuff using crocodile, login to Scratchbox, create a > new, suitable target with your combination of toolchain and devkits and > checkout crocodile [1]. > > Use debian repositories, grab the sources you want to build and create a > local source repository from them [2]. > > Tell crocodile to use your brand new source repository, throw in > precompiled packages (if need to) and start the build. Crocodile will > run few iteration rounds and give you the results [3]. > > Detailed explanation in crocodile/README. > > Regards, > > Jussi > > [1] > $ sb-conf st mytarget -c mycompiler -d cputransp:perl:debian-etch -t > mytransp > $ sb-conf in mytarget -c -d -e -F -G -S > $ sb-conf se mytarget > $ darcs get --set-scripts-executable http://scratchbox.org/repos/crocodile > > [2] > $ echo "deb-src http://ftp.fi.debian.org/debian/ etch main" > > /etc/apt/sources.list > $ fakeroot apt-get update > $ mkdir crocodile-sources > $ cd crocodile-sources > $ apt-get source -d mypkg1 mypkg2 ... mypkgN > $ dpkg-scansources . /dev/null | gzip -c > Sources.gz > > [3] > $ cd .. > $ cd crocodile > $ echo "deb-src file:/home/${USER}/crocodile-sources ./" > etc/sources.list > $ ./unplanned-build.sh --clean >
Thanx Jussi for the above explanation of crocodile based scripts. I was looking for such script which can build debian source packages, particularly maemo chinook repository source packages automatically. For my project, we are going to use same GTK+/X source packages combination as used in the maemo chinook release, so we are going to fetch these pacakges from http://repository.maemo.org chinook instead of debian-sarge, as maemo team has some patches on top the gtk+/X which are not yet upstream and particularly verified for various cross pacakges version dependencies, but we are not going to use hildon packages, as the device has TV/LCD Monitor for interaction not small 800x480 touchscreen. In Maemo project, we don't have such scripts which can auto-magically fetch this gtk+ and Xserver libraries plus their dependencies and build the debian packages for us, and ultimately rootstrap. Do you suggest crocodile is good fit for such tasks? OR do I have independently fetch each source pacakge and run dpkg-buildpacakge in the order of dependencies - this would be very hectic I would say. -- --Trilok Soni _______________________________________________ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users