[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Standard build process



On 24/09/06, Reinhard Tartler <siretart@tauware.de> wrote:
Miriam Ruiz <little_miry@yahoo.es> writes:

>> Please read, comment and correct the document:
>> http://wiki.debian.org/Games/Development/BuildProcess
>
> It's a great idea. It would be nice to comment some things a bit more
> in detail though, as I've never used svn-buildpackage too much (and,
> if possible, it would be nice to support it but not to make it
> strictly neccesary), I get a bit confused with all those origURL tags,
> svn-bp properties and so.

This was my main concern during the discussions about the build
tools. Please don't make the usage of svn-buildpackage mandatory for the
pkg-games team.

Nothing in the proposed build process mandates the usage of
svn-buildpackage, but using it is easier.

Example: the short proposed sequence can be converted.

This:

$ svn co svn://svn.debian.org/svn/pkg-games/trunk/game
$ cd game
$ svn-buildpackage

becomes:

$ wget -c `svn pg svn-bp:origUrl svn://svn.debian.org/svn/pkg-games/trunk/game`
$ tar xvfz `basename $(svn pg svn-bp:origUrl $
svn://svn.debian.org/svn/pkg-games/trunk/game)`
$ cd game-*
$ svn export --force svn://svn.debian.org/svn/pkg-games/trunk/game .
$ dpkg-buildpackage

Note that nothing used here is specific to svn-buildpackage, and the
"svn export --force" stuff is mandatory from the fact that we are
storing just the debian specific part of the package in subversion (as
we have agreed as a result of the tools discution).

In spite of all that, using vn-buildpackage is easier.


Note, the initial tree buidling can be done via svn-buildpackage, and
everything can be continued from that place onwards:

$ svn co svn://svn.debian.org/svn/pkg-games/trunk/game
$ wget -c `svn pg svn-bp:origUrl game`
$ cd game
$ svn-buildpackage --svn-builder "echo done" --svn-override origDir=..
$ cd ../build-area/game-*
$ dpkg-buildpackage

--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein



Reply to: