[Gtkradiant] Re: Patch work for FreeBSD native build

Lyndon Griffin gtkradiant@zerowing.idsoftware.com
Thu, 19 Sep 2002 23:58:35 -0400


TTimo squawked:
> I just started looking at the patch.
> The first problem I have right now is the glib12-config
> my system is using glib-config and doesn't have a glib12-config

This can easily be addressed in the work I'm doing with scons.  Between 
scons and python, it is trivial to search for an executable in the search 
path, and only marginally more difficult to guess - I can setup the 
SConstruct to search for a few key executables and locations.  This piece I 
have prototyped with a shell script, which will locate the correct 
(glib|gtk|xml)-config executables, and furthermore pull version information 
from them to determine if the installed version meets the build 
requirements. 

If I get a solid hour or two this weekend, I will post an initial scons 
build system as an attachment to bug 531 
(http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=531), predicated on 
me doing the above work first.
If anyone's interested, I have a great deal of this work already done and 
available at http://bsd4us.org/GtkRadiant/SConstruct.html - note that this 
work is being done on the trunk only. 

As for the FreeBSD stuff, Timothee and I had a brief chat today about 
genericizing (is that a word?) all the #defines for Linux, MacOS X, FreeBSD, 
and potential future ports into something along the lines of #define __nix__ 
or something similar.  This should be a pretty quick hit, as I already have 
1.2 and 1.3 devel trees set up on both Linux and FreeBSD, and I've 
"prettied" the existing #define stuff as part of my FreeBSD changes.  I 
believe this proposed work dovetails nicely into this bug, though it may 
make more sense to do this in the trunk (and create a new bug er um 
enhancement). 

<:)  Lyndon
http://bsd4us.org/