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

Re: chonfigure and glib-config



Mohammed Elzubeir wrote:

> > Maybe for glib the package name is simply glib, I don't know, I don't have
> > pkg-config.
>
> http://packages.debian.org/unstable/devel/pkg-config.html
>  for Debian.

yes, I am planning its installation soon:)

> On my FreeBSD box, I don't have glib-config (I am running FreeBSD 4.4-STABLE
> -- so my src tree is all up-to-date). It renamed glib-config to
> glib-config-2.0 and that prints out a 'deprecated util' kind of message.

doesn't it prevent chonfigure to run properly?

> I installed pkg-config on arabeyes.org if you want to play with it.

I will if I didn't take time to install it first.

> > What we could do in the macros in that case is to test what a system uses. It
> > would be simpler to write a function dedicated to locating pkg-config or the
> > equivalent helper and reusing in the macros. I guess you read the glib.pl
> > macro, it is trivial...
>
> Well, glib-config traditionally is a tool for the autotools to use. Or at
> least that's how I think of it,

that's its stated purpose.

> as a subset to the autotools. Now, if
> glib-config is being dropped, there is no sense in supporting it.

backward compatibility. E.g. systems like mine, where it's not installed yet;)
Besides, I am not even sure pkg-config will end up in woody, as they didn't even put
it in the testing section.

> > - guess which source files are going to be automatically generated by swig or
> > idl tools
>
> This is Akka specific, right? I mean, in a stand-along 'chonfigure'
> distribution, these parts would not exist, right? Instead they would replaced
> by a framework for more generic purposes (or am I just not making sense?).

Actually, I developed chonfigure as an "incremental" work. Which means, every time
I needed a feature for some project, I added it, I didn't develop chonfigure as a
standalone project but as a tool for my needs, though now I believe it to have grown
interesting. In that sense, yes the need for these feature were triggered by
Akka. Now they are not specific to Akka, since like every feature I put in
chonfigure, they are general enough to be used in any project that will require an
idl or swig generator, and actually flexible enough to be trivially adapted to any
project where source files have to be automatically generated.

Salam,
Chahine