[maemo-developers] crocodile like build system for maemo chinook source pkgs

From: Trilok Soni soni.trilok at gmail.com
Date: Wed Jan 16 17:29:12 EET 2008
Hi Ed,

On Jan 16, 2008 5:10 PM, Ed Bartosh <eduard.bartosh at nokia.com> wrote:
>
> On Wed, 2008-01-16 at 12:24 +0530, ext Trilok Soni wrote:
> > Hi Ed,
> >
> > On Jan 14, 2008 10:33 PM, Ed Bartosh <eduard.bartosh at nokia.com> wrote:
> > >
> > > On Mon, 2008-01-14 at 21:07 +0530, ext Trilok Soni wrote:
> > > > Hi Ed,
> > > >
> > > > On Jan 14, 2008 7:11 PM, Trilok Soni <soni.trilok at gmail.com> wrote:
> > > > > Hi Ed,
> > > > >
> > > > >
> > > > > On Jan 10, 2008 2:24 PM, Ed Bartosh <eduard.bartosh at nokia.com> wrote:
> > > > > > On Wed, 2008-01-09 at 20:04 +0530, ext Trilok Soni wrote:
> > > > > > > Hi,
> > > > > > >
> > > > > > > As discussed on the following thread in the scratchbox-users ML, Jussi
> > > > > > > Hakala suggested
> > > > > > > that crocodile can be used to automatically build maemo GTK+/X etc
> > > > > > > debian source packages,
> > > > > > > but nokia has their own internal scripts to build those packages under
> > > > > > > scratchbox target. Can
> > > > > > > Nokia share those scripts like crocodile process?
> > > > > > >
> > > > > > For package building we're using sbdmock. You can find its packages and
> > > > > > sources here: http://www.bifh.org/wiki/sbdmock
> > > > > >
> > > > > > Feel free to ask questions if any.
> > > > > >
> > > > >
> > > > > Thanx for the information. I have download sbdmock package and when I
> > > > > had tried to install its sbdmock_0.4.0_all.deb package under my
> > > > > chinook sbox target, it asked me first to install python which I had
> > > > > done and then I had downloaded
> > > > > python-minideblib source from the link I have found from bifh.org as
> > > > > it is also one of the depdendancy.  But as there is not .deb package
> > > > > for python-minideblib I had tried to build this package using
> > > > > dpkg-buildpackage and now it is asking for python-central pacakge
> > > > > which is not available from repository.maemo.org / chinook. Could you
> > > > > tell me how to proceed on installation of this package under sbox
> > > > > target and resolve the depedancies?
> > > > >
> > > >
> > > > I have tried to satisfy sbdmock and minideblibs dependancies like python-central
> > > > python-setuptools under sbox target, but no success, and some of this tools
> > > > are not directly available from repository.maemo.org chinook. Please
> > > > help me on how-to
> > > > setup this sbdmock.
> > > >
> > > You shouldn't do that. sbdmock should be installed outside scratchbox.
> > > It runs scratchbox when needed.
> > >
> >
> > Thanx for this info. I have tried to do this outside of sbox, and it
> > works. Shall we
> > have sbdmock into svn repo of garage.maemo.org or somewhere else, where
> > we can submit the patches and track it.
> >
> Good idea, but it's better to ask author about it.
> You can find his contact info in the sources.

I will initiate this separately in another thread or directly
communicating with him offline may be.

>
> > As sbdmock is just builds one package at time, and needs that all
> > other dependencies
> > should be available before it builds.
> >
> Yes, they should be available, but it's not mandatory to have them
> installed. sbdmock is clever anough to get all build deps from
> repository.

Ok.

>
> > I hope that for creating gtk+/x based rootstrap from scratch with
> > different toolchain from
> > the chinook one, it should be possible to just use
> > maemo-sdk-chinook-arm-rootstrap as to
> > satisfy recursive header dependencies of packages.
> >
> It's even a more than needed. You don't need any gtk or x packages in
> the rootstrap. Only basic packages like libc, gcc, apt, dpkg are needed
> in there.

Ok this looks fine. Need to start compiling.


-- 
--Trilok Soni

More information about the maemo-developers mailing list