Re: gnome_config



On Mon, 17 Apr 2000, James Henstridge wrote:
> On 16 Apr 2000, Havoc Pennington wrote:
> 
> > 
> > Rodrigo Moya <rmoya@tsai.es> writes:
> > > 
> > > is gnome_config going to be moved to glib as was said some weeks ago?
> > > 
> > 
> > I think that was gnome-config the library module script, not
> > gnome_config the config file parser. Based on past conversations,
> > moving gnome_config the config file parser to glib is highly unlikely.
> 
> If there is going to be something like the gnome-config script in glib, it
> would be nice if it handled dependencies between packages properly.
> Currently each of the *Conf.sh scripts contains all libraries and flags
> necessary to use the library.

That is not necessarly the case (libole2Conf.sh.in):


prefix=@prefix@
exec_prefix=@exec_prefix@

if test "@includedir@" != /usr/include ; then
  LIBOLE2_INCLUDEDIR="`glib-config --cflags` -I@includedir@"
else
  LIBOLE2_INCLUDEDIR=""
fi
LIBOLE2_LIBDIR="-L@libdir@"
LIBOLE2_LIBS="-lole2 `glib-config --libs` @LIBS@"
MODULE_VERSION="libole2-@VERSION@"

> 
> This means that if for instance the new version of glib requires an extra
> compilation flag (not very likely -- just chosen as an example), you have
> to update all the *Conf.sh files that include glib's cflags/libs.  It
> would be nice if installing the new version would not require changes to
> all these other files.
> 
> I wrote a (messy) gnome-config replacement a long time ago that handled
> dependencies.  I could try to find it again if anyone is interested.
> 
> > 
> > Havoc
> 
> James.
> 
> 
> -- 
> To unsubscribe: mail gnome-devel-list-request@gnome.org with "unsubscribe"
> as the Subject.
> 

-- 
Arturo Tena
arturo@directmail.org



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