[PyKDE] Re: [PATCH] some more build.py tweaks

Hans-Peter Jansen hpj at urpla.net
Thu Apr 24 22:44:01 BST 2003


On Thursday 24 April 2003 00:38, Jim Bublitz wrote:
> On 23-Apr-03 Hans-Peter Jansen wrote:
> > I know, you're busy with other things, but I couldn't stop myself
> > from tweaking build.py. Here is, what I've done so far as diffs
> > against PyKDE-3.5-2.
>
> Good timing - I'm going to start applying patches/fixes from the
> list tonight or tomorrow and put the next release out - hopefully
> early next week.

Nice, here comes the next iteration.

> > ChangeLog entry:
> > build.py: some new options allows 64 bit builds, split
> > concatenated files, threaded build.py execution, -d will
> > create the destination, if it doesn't exist (allows

-d doesn't work as expected. Please apply buildfix.diff, sorry.

> > RPM_BUILD_ROOT) and some cleanups.

To make this really work, I had to include a new replace tag in 
the unix:LIBS line of the sip files in order to include the build 
directory. Fortunately it wasn't a big deal with the right skel:
fixSipInclude.py -v sip/*.sip (simple search & replace)
But, then it's also necessary to apply PyKDE-build2.diff. With these
fixes in place, PyKDE will be able to build into an independant dir.

Today I tried to build PyKDE on a faster 2 way Athlon (1700) on top
of KDE 3.1.1. First, I had to comment out the sessionSaving method 
in kapplication.sip, are you sure, that this exists in 3.1.1? 
On that machine, I was catched by races in the Makefile in a parallel
make, because the kjs module needs to bind against khtml, which build
wasn't finished. As a band aid, I reordered the module build order 
with PyKDE-build3.diff. I you're going to accept this, I will add some
comments about this arkwardness. (15:42 for the full rpm build :-)

> Jim

Pete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildfix.diff
Type: text/x-diff
Size: 711 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20030424/d8646b19/buildfix.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PyKDE-build2.diff
Type: text/x-diff
Size: 488 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20030424/d8646b19/PyKDE-build2.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PyKDE-build3.diff
Type: text/x-diff
Size: 717 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20030424/d8646b19/PyKDE-build3.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixSipInclude.py
Type: text/x-python
Size: 2707 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20030424/d8646b19/fixSipInclude.py


More information about the PyQt mailing list