Re: Portability and distribution with Gtk+ 1.3



On Tue, 17 Apr 2001, Arnaud Charlet wrote:

> > By having them as dynamic loaded modules, the actual app doesn't need to
> > know about the extra libraries, and extra modules could be added to the
> > system later without needing to recompile the apps to take advantage of
> > them.  This also reduces the number of shared libraries that need to be
> > loaded at startup, which reduces app start time.
> 
> Yes, but how do you install such an application on systems that do not have
> the png loader installed ? If there a way to change dynamically the prefix
> where such libraries will be found (e.g an environment variables) ? This
> seems highly desirable if not already provided.

Looks like you can use a GDK_PIXBUF_MODULEDIR environment variable to tell
an app where the pixbuf loaders are.  There are probably similar env vars
for pango and IM modules.

Yes, this is more complex than gtk 1.2 was, but that is because gtk 2.0
offers a lot more functionality than 1.2.

James.

-- 
Email: james daa com au
WWW:   http://www.daa.com.au/~james/






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