Hi Richard,

On Monday, 18 July 2011, richard boaz <[email protected]> wrote:
> i'm trying to create an installer of my program for all variants LINUX, but 
> am having trouble with something i had hoped/though would be trivial.
> how does one confirm from the shell which version of the run-time GTK+ 
> libraries are installed?

I think you have two possible solutions.

The easiest is to make a useful and popular program and simply let
other people package it for you for the various distributions. I think
this is probably the only way to safely link to the users existing set
of packages without having to do a crazy amount of work.

Second best is to do what people do on OS X and Windows and bundle the
libs you use with your program, plus a wrapper script that makes your
program pick up your gtk rather than the host one (if any). This is
what firefox does, for example. You'll find this is a lot of work,
sadly.

There are projects which aim to provide cross- Linux binary packaging
systems, but I've not tried any of them.

John
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to