Re: SCons'ified PyGTK
Gustavo J. A. M. Carneiro wrote: Behold! A SCons'ified PyGTK is now available: http://www.gnome.org/~gjc/pygtk-2.8.3.tar.gz http://www.gnome.org/~gjc/pygtk-scons.diff It needs scons 0.96.91, instead of make. I had to invest a lot of effort and time to make this happen, due to missing functionality in base scons. However, I tried to be careful to split out generic functionality into a separate 'scons tool' that could potentically be reused outside of PyGTK. I didn't test it on win32, but in theory it should work, with more or less adjustments. Features of this tool include 'dist' and 'distcheck' support, along with configure checks for pkg-config modules, python version, python headers, etc. It should be noted that the scons-based tarball is only 595K vs the 919K autotools tarball. The difference is 324K, while the scons-0.96.91.tar.gz full source takes 343K. Good stuff! Scons is an interesting build system but unforunately it lacks some standard autoconf/automake features. I've written my own extension for 'make dist' support but I look forward to taking a look at your 'scons tool'. ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: SCons'ified PyGTK
On Sat, 2006-01-07 at 07:22 +0100, Hongli Lai wrote: Gustavo J. A. M. Carneiro wrote: Behold! A SCons'ified PyGTK is now available: http://www.gnome.org/~gjc/pygtk-2.8.3.tar.gz http://www.gnome.org/~gjc/pygtk-scons.diff It needs scons 0.96.91, instead of make. I had to invest a lot of effort and time to make this happen, due to missing functionality in base scons. However, I tried to be careful to split out generic functionality into a separate 'scons tool' that could potentically be reused outside of PyGTK. I didn't test it on win32, but in theory it should work, with more or less adjustments. Features of this tool include 'dist' and 'distcheck' support, along with configure checks for pkg-config modules, python version, python headers, etc. It should be noted that the scons-based tarball is only 595K vs the 919K autotools tarball. The difference is 324K, while the scons-0.96.91.tar.gz full source takes 343K. Good stuff! Scons is an interesting build system but unforunately it lacks some standard autoconf/automake features. I've written my own extension for 'make dist' support but I look forward to taking a look at your 'scons tool'. Thanks. I have now added DESTDIR support, which was also missing. It monkey-patches the regular env.Install and env.InstallAs, so as to need changes in apps. This and future changes I make will be available in a mercurial tree published at http://telecom.inescporto.pt/~gjc/hg/pygtk-scons/ Next I'll try to make 'scons distcheck' verify that DESTDIR is respected for all installed files. Cheers. -- Gustavo J. A. M. Carneiro [EMAIL PROTECTED] [EMAIL PROTECTED] The universe is always one step beyond logic signature.asc Description: This is a digitally signed message part ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: SCons'ified PyGTK
Qui, 2005-12-29 às 18:35 +, Gustavo J. A. M. Carneiro escreveu: Behold! A SCons'ified PyGTK is now available: http://www.gnome.org/~gjc/pygtk-2.8.3.tar.gz http://www.gnome.org/~gjc/pygtk-scons.diff It needs scons 0.96.91, instead of make. I had to invest a lot of effort and time to make this happen, due to missing functionality in base scons. However, I tried to be careful to split out generic functionality into a separate 'scons tool' that could potentically be reused outside of PyGTK. I didn't test it on win32, but in theory it should work, with more or less adjustments. Features of this tool include 'dist' and 'distcheck' support, along with configure checks for pkg-config modules, python version, python headers, etc. It should be noted that the scons-based tarball is only 595K vs the 919K autotools tarball. The difference is 324K, while the scons-0.96.91.tar.gz full source takes 343K. Also some interesting timing statistics: pygtk build method time (real) === scons 1m8s ./configure make 1m28s ./autogen.sh make1m34s This is on a AMD64 3000+ system with 512 MiB of RAM. Regards, -- Gustavo J. A. M. Carneiro [EMAIL PROTECTED] [EMAIL PROTECTED] The universe is always one step beyond logic. signature.asc Description: Esta é uma parte de mensagem assinada digitalmente ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
SCons'ified PyGTK
Behold! A SCons'ified PyGTK is now available: http://www.gnome.org/~gjc/pygtk-2.8.3.tar.gz http://www.gnome.org/~gjc/pygtk-scons.diff It needs scons 0.96.91, instead of make. I had to invest a lot of effort and time to make this happen, due to missing functionality in base scons. However, I tried to be careful to split out generic functionality into a separate 'scons tool' that could potentically be reused outside of PyGTK. I didn't test it on win32, but in theory it should work, with more or less adjustments. Features of this tool include 'dist' and 'distcheck' support, along with configure checks for pkg-config modules, python version, python headers, etc. It should be noted that the scons-based tarball is only 595K vs the 919K autotools tarball. The difference is 324K, while the scons-0.96.91.tar.gz full source takes 343K. Some basic instructions: 1- to compile, type 'scons prefix=/foo/bar' 2- to run unit tests, type 'scons check' 3- to install, type 'scons install' 4- to uninstall, type 'scons -c install' 5- to make a new tarball, type 'scons dist' This is only an experiment; therefore, feedback is appreciated. Cheers. -- Gustavo J. A. M. Carneiro [EMAIL PROTECTED] [EMAIL PROTECTED] The universe is always one step beyond logic. signature.asc Description: Esta é uma parte de mensagem assinada digitalmente ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list