[Gtk-sharp-list] [Patch, etc] minimal pkgconfig support

Charles Iliya Krempeaux charles@reptile.ca
26 Mar 2003 10:23:12 -0800


Hello,

On Wed, 2003-03-26 at 05:27, Gonzalo Paniagua Javier wrote:
> El mi=E9, 26 de 03 de 2003 a las 06:53, Charles Iliya Krempeaux escribi=
=F3:
> > Hello,
> >=20
> > This Patch and tarball contains minimal support for pkgconfig.
> > Basically you can use it to check for the existence and version
> > of stuff.
> >=20
> > There was one naming convention I used, because of a bit of
> > naming conflict.  For each of the assemblies, there is a
> > pkgconfig file.  Specifically...
> >=20
> >     Art#     ->  art-sharp.pc
>=20
> Does that mean that we have to run pkg-config like:
>=20
> pkg-config --libs Art#
>=20
> ?
>=20
> If so, take a look at the bash man page (at least the COMMENTS
> section)... I would use art-sharp.

No... you run it like:

    pkg-config --libs art-sharp

As you and I both know, the "#" symbol is used to make comments
in most shells.  So, it would be awkward and non-intuitive to
call it the .pc file "Art#.pc".

For pkgconfig, if you name the .pc file...

    blah.pc

Then you call it with...

    pkg-config --libs blah

So, since the .pc file of Art# is called...

   art-sharp.pc

You thus call it with...

    pkg-config --libs art-sharp


See ya

--=20
     Charles Iliya Krempeaux, BSc
     charles@reptile.ca

________________________________________________________________________
 Reptile Consulting & Services    604-REPTILE    http://www.reptile.ca/