Re: GTK+-2.0.1 released



Drazen Kacar <dave willfork com> writes:

> Owen Taylor wrote:
> > Drazen Kacar <dave willfork com> writes:
> > > Owen Taylor wrote:
> 
> > > > And then the user should add:
> > > > 
> > > >  $(libdir)/gtk-2.0
> > > > 
> > > > to their GTK_PATH envvar if the installation prefix is different
> > > > from the GTK+ installation prefix.
> > > 
> > > On all operating systems?
> > 
> > Well, things are slightly little different on windows, but more
> > or less, yes.
> > 
> > Why?
> 
> It's a slight pain. If GTK is in /usr and the application goes into /opt,
> then the environment variable must be set. Installation script for a
> binary package with such application might have a hard time trying to
> ensure that. PAM (if available) can help somewhat, but even that
> configuration method won't work in all situations.
>
> It would be nice if GTK would search $(app_libdir)/gtk-2.0 if the OS
> can provide that information. And maybe some other directories in other
> cases.

And what if GTK+ goes in /opt/gtk, the app goes in /usr/local
and the module (gail, bse, or whatever) is in /opt/foo?

The whole idea of modules is that they are code that can be
loaded into any application. If they were part of the app,
they would be part of the app, or at least, should be installed
in the app's own libdir.

Regards,
                                        Owen



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