[Gtk-sharp-list] How to check for gtk#

Charles Iliya Krempeaux charles@reptile.ca
12 Mar 2003 08:59:44 -0800


Hello,

On Wed, 2003-03-12 at 05:59, Mike Kestner wrote:
> On Wed, 2003-03-12 at 03:26, Martin Baulig wrote:
> 
> > well, that's what I was originally using, but then I was told that gapi-codegen.exe is not
> > installed if someone just installs the RPM instead of manually compiling the source.  Is
> > this incorrect ?
> 
> That's true.  The gapi stuff depends on perl modules and will end up in
> a gtk-sharp-gapi rpm, if I ever finish packaging its dependencies. If we
> are going to go with a pkgconfig solution, we will probably want to
> install a gtk-sharp-gapi.pc and a gtk-sharp.pc file.

I'll make one for gapi too.... but the way I have it set up, I have
alot of other .pc files.  I have:

    * art-sharp.pc
    * atk-sharp.pc
    * gconf-sharp.pc
    * gda-sharp.pc
    * gdk-sharp.pc
    * glade-sharp.pc
    * glib-sharp.pc
    * gnome-sharp.pc
    * gnomedb-sharp.pc
    * gst-sharp.pc
    * gtk-sharp.pc
    * pango-sharp.pc
    * rsvg-sharp.pc

The rationale for this is for people can use which ever they want to 
compiling their programs.  I.e., if I want make a GNOME program,
all I have to do is:

    mcs MyGnomeProgram.cs `pkg-config --libs gnome-sharp`

(And this won't bind to Rsvg, GnomeDB, Gst, or anything else
they aren't going to use.)

(If we had only one gtk-sharp.pc, then it would have to bind every .dll
in the Gtk# family.)

I'd actually like to see more of a split.  For example, I'd like to
make what "pkg-config --libs gnome-sharp" (and others) return simpler.
And have stuff like:

    pkg-config --libs gnomecanvas-sharp

    pkg-config --libs gobject-sharp

    pkg-config --libs gmodule-sharp

Etc.  (That way people aren't binding to a bunch of extra things.)


See ya

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

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