Re: Confirm Installed Run-Time Version
- From: jcupitt gmail com
- To: richard boaz <ivor boaz gmail com>
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: Confirm Installed Run-Time Version
- Date: Mon, 18 Jul 2011 22:05:41 +0100
On Monday, 18 July 2011, richard boaz <ivor boaz gmail com> 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,
There are projects which aim to provide cross- Linux binary packaging
systems, but I've not tried any of them.
] [Thread Prev