Re: WAF (Was: build tools)

2007-12-03 Thread Ross Burton
On Mon, 2007-12-03 at 19:41 +0100, Daniel Svensson wrote: > On Dec 3, 2007 6:30 PM, Gustavo J. A. M. Carneiro <[EMAIL PROTECTED]> wrote: > > I honestly don't see the point of supporting runtime tests with cross > > compilation in the build tool. I mean, the most that the tool can do is > > give an

Re: WAF (Was: build tools)

2007-12-03 Thread Richard Hughes
On Mon, 2007-12-03 at 09:35 +, Gustavo J. A. M. Carneiro wrote: > Jaap, I am well aware of this, but I am not committing a WAF script to > each project repository is the best way to go. Each script is 100KB > semi-binary file. Every time I update WAF I would need to essentially > add 100KB to

Re: WAF (Was: build tools)

2007-12-03 Thread Mikkel Kamstrup Erlandsen
On 02/12/2007, Gustavo J. A. M. Carneiro <[EMAIL PROTECTED]> wrote: > > In case anyone is interested, feel free to try out a 100% WAF-ied > version of gnome-python: > > http://www.gnome.org/~gjc/gnome-python-2.21.0.tar.bz2 > > The WAF based tarball (including a self contained waf script, which is >

Re: WAF (Was: build tools)

2007-12-03 Thread Daniel Svensson
On Dec 3, 2007 6:30 PM, Gustavo J. A. M. Carneiro <[EMAIL PROTECTED]> wrote: > I honestly don't see the point of supporting runtime tests with cross > compilation in the build tool. I mean, the most that the tool can do is > give an error message saying the test cannot be run. How will that > hel

Re: WAF (Was: build tools)

2007-12-03 Thread Gustavo J. A. M. Carneiro
On Mon, 2007-12-03 at 16:15 +0100, Daniel Svensson wrote: > On Dec 3, 2007 4:03 PM, Daniel Svensson <[EMAIL PROTECTED]> wrote: > > On Dec 3, 2007 3:51 PM, Ross Burton <[EMAIL PROTECTED]> wrote: > > > autoconf has standard support for running tests on the local machine for > > > example to determin

Re: WAF (Was: build tools)

2007-12-03 Thread Daniel Svensson
On Dec 3, 2007 4:03 PM, Daniel Svensson <[EMAIL PROTECTED]> wrote: > On Dec 3, 2007 3:51 PM, Ross Burton <[EMAIL PROTECTED]> wrote: > > autoconf has standard support for running tests on the local machine for > > example to determine the word size, if the networking layer supports Ah, ofc runtime

Re: WAF (Was: build tools)

2007-12-03 Thread Daniel Svensson
On Dec 3, 2007 3:51 PM, Ross Burton <[EMAIL PROTECTED]> wrote: > autoconf has standard support for running tests on the local machine for > example to determine the word size, if the networking layer supports > abstract sockets, and so on. If the build is being cross-compiled these > tests fail st

Re: WAF (Was: build tools)

2007-12-03 Thread Ross Burton
On Mon, 2007-12-03 at 15:37 +0100, Daniel Svensson wrote: > I'm not sure what you mean by lack of crosscompiling support. > > Crosscompiling needs very little. > > 1. A compiler that runs on your host OS, and produces output for some > target OS/arch. > 2. A set of dependencies (if any) built for

Re: WAF (Was: build tools)

2007-12-03 Thread Daniel Svensson
On Dec 3, 2007 2:21 PM, Nicolas Trangez <[EMAIL PROTECTED]> wrote: > Need to write up on this, no time now though, sorry. One of the primary > reasons is the lack of crosscompiling support. I'm not sure what you mean by lack of crosscompiling support. Crosscompiling needs very little. 1. A compi

Re: WAF (Was: build tools)

2007-12-03 Thread Gustavo J. A. M. Carneiro
On Mon, 2007-12-03 at 11:43 +, Alberto Ruiz wrote: > > > 2007/12/2, Elijah Newren <[EMAIL PROTECTED]>: > On Dec 2, 2007 3:46 PM, Gustavo J. A. M. Carneiro > <[EMAIL PROTECTED]> wrote: > > In case anyone is interested, feel free to try out a 100% > WAF-ied >

Re: WAF (Was: build tools)

2007-12-03 Thread Daniel Svensson
On Dec 3, 2007 2:27 PM, Frederic Crozat <[EMAIL PROTECTED]> wrote: > It is going to be a pain for distributions to learn yet another build > systems, which might need patching to fix one or another bug. The Debian Developer(s) responsible for the XMMS2 packages haven't had much (if any) trubble wi

Re: WAF (Was: build tools)

2007-12-03 Thread Nicolas Trangez
On Mon, 2007-12-03 at 12:58 +, Alberto Ruiz wrote: > 2007/12/3, Nicolas Trangez <[EMAIL PROTECTED]>: > On Mon, 2007-12-03 at 11:43 +, Alberto Ruiz wrote: > > Does anyone has done this mkenum thing with waf already? > > > http://git.nicolast.be/?p=waf.git;a=

Re: WAF (Was: build tools)

2007-12-03 Thread Frederic Crozat
Le lundi 03 décembre 2007 à 12:58 +, Alberto Ruiz a écrit : > > Might need some more work. > > Anyway, I still need to write up on this, but I'm not > convinced waf is a > great solution for the overall GNOME project. > > Why not? It is going to be

Re: WAF (Was: build tools)

2007-12-03 Thread Alberto Ruiz
2007/12/3, Nicolas Trangez <[EMAIL PROTECTED]>: > > On Mon, 2007-12-03 at 11:43 +, Alberto Ruiz wrote: > > Does anyone has done this mkenum thing with waf already? > > > http://git.nicolast.be/?p=waf.git;a=commitdiff;h=e64ff5a6629bdf081c3a2d7ed5326a3fd88e5e28 Cool, do you want me to apply it

Re: WAF (Was: build tools)

2007-12-03 Thread Nicolas Trangez
On Mon, 2007-12-03 at 11:43 +, Alberto Ruiz wrote: > Does anyone has done this mkenum thing with waf already? http://git.nicolast.be/?p=waf.git;a=commitdiff;h=e64ff5a6629bdf081c3a2d7ed5326a3fd88e5e28 Might need some more work. Anyway, I still need to write up on this, but I'm not convinced w

Re: WAF (Was: build tools)

2007-12-03 Thread Emmanuele Bassi
On Mon, 2007-12-03 at 11:43 +, Alberto Ruiz wrote: > So far, libwnck looks pretty simple, except for the glib-mkenums which seems > to call a lot of shell commands. > > What's exactly glib-mkenum used for? autogenerates the enumeration types (GEnum and GFlags) from the headers, like glib

Re: WAF (Was: build tools)

2007-12-03 Thread Alberto Ruiz
2007/12/2, Elijah Newren <[EMAIL PROTECTED]>: > > On Dec 2, 2007 3:46 PM, Gustavo J. A. M. Carneiro <[EMAIL PROTECTED]> > wrote: > > In case anyone is interested, feel free to try out a 100% WAF-ied > > version of gnome-python: > > > > http://www.gnome.org/~gjc/gnome-python-2.21.0.tar.bz2 > > > > T

Re: WAF (Was: build tools)

2007-12-03 Thread Daniel Svensson
On Dec 3, 2007 10:35 AM, Gustavo J. A. M. Carneiro <[EMAIL PROTECTED]> wrote: > Jaap, I am well aware of this, but I am not committing a WAF script to > each project repository is the best way to go. Each script is 100KB > semi-binary file. Every time I update WAF I would need to essentially > add

Re: WAF (Was: build tools)

2007-12-03 Thread Gustavo J. A. M. Carneiro
On Mon, 2007-12-03 at 07:48 +0100, Jaap A. Haitsma wrote: > On Dec 2, 2007 11:46 PM, Gustavo J. A. M. Carneiro <[EMAIL PROTECTED]> wrote: > > In case anyone is interested, feel free to try out a 100% WAF-ied > > version of gnome-python: > > > > http://www.gnome.org/~gjc/gnome-python-2.21.0.tar.bz2

Re: WAF (Was: build tools)

2007-12-02 Thread Jaap A. Haitsma
On Dec 2, 2007 11:46 PM, Gustavo J. A. M. Carneiro <[EMAIL PROTECTED]> wrote: > In case anyone is interested, feel free to try out a 100% WAF-ied > version of gnome-python: > > http://www.gnome.org/~gjc/gnome-python-2.21.0.tar.bz2 > > The WAF based tarball (including a self contained waf script, wh

Re: WAF (Was: build tools)

2007-12-02 Thread Elijah Newren
On Dec 2, 2007 5:07 PM, Colin Walters <[EMAIL PROTECTED]> wrote: > On Sun, 2007-12-02 at 16:55 -0700, Elijah Newren wrote: > > Ooh, I'd love to see timing numbers. The size differences are pretty > > impressive; it would likely make a noticable impact on times for > > building releases for garnome

Re: WAF (Was: build tools)

2007-12-02 Thread Colin Walters
On Sun, 2007-12-02 at 16:55 -0700, Elijah Newren wrote: > Ooh, I'd love to see timing numbers. The size differences are pretty > impressive; it would likely make a noticable impact on times for > building releases for garnome users, release team members, and others. Time I don't think as intere

Re: WAF (Was: build tools)

2007-12-02 Thread Elijah Newren
On Dec 2, 2007 3:46 PM, Gustavo J. A. M. Carneiro <[EMAIL PROTECTED]> wrote: > In case anyone is interested, feel free to try out a 100% WAF-ied > version of gnome-python: > > http://www.gnome.org/~gjc/gnome-python-2.21.0.tar.bz2 > > The WAF based tarball (including a self contained waf script, whi

Re: WAF (Was: build tools)

2007-12-02 Thread Alberto Ruiz
2007/12/2, Gustavo J. A. M. Carneiro <[EMAIL PROTECTED]>: > > In case anyone is interested, feel free to try out a 100% WAF-ied > version of gnome-python: > > http://www.gnome.org/~gjc/gnome-python-2.21.0.tar.bz2 > > The WAF based tarball (including a self contained waf script, which is > all you n

WAF (Was: build tools)

2007-12-02 Thread Gustavo J. A. M. Carneiro
In case anyone is interested, feel free to try out a 100% WAF-ied version of gnome-python: http://www.gnome.org/~gjc/gnome-python-2.21.0.tar.bz2 The WAF based tarball (including a self contained waf script, which is all you need to build) is 249K, while an autotools version is 424K. I could redu