Thanks Emmanuele. Yes, providing a grace period for users is exactly what I had 
in mind. For example, since lots of people are less than enthused about Unity, 
there are quite a few Ubuntu 10.04 users still out there, and the Ubuntu 
repository only serves up GTK+2 for that. I suppose people might be able to 
build GTK+3, but that's likely a lot of work. So had in mind producing two 
binaries for the distribution tarball.




________________________________
 From: Emmanuele Bassi <eba...@gmail.com>
To: David Buchan <pdbuc...@yahoo.com> 
Cc: gtk-app-devel-list list <gtk-app-devel-list@gnome.org> 
Sent: Thursday, May 16, 2013 10:50 PM
Subject: Re: Can I install both GTK+2 and GTK+3?
 

hi;

yes, you most definitely can have gtk 2.x and gtk 3.x installed on the
same machine, without them interfering with each other. the shared
libraries and ancillary files are all parallel installable.

what you cannot do is using gtk 2.x *and* gtk 3.x at the same time, in
the same process.

if you want to write your application to support both gtk 2.x and 3.x,
you can do that only by compiling once against gtk 2.x and again
against gtk 3.x — i.e. you will need two binaries.

targeting gtk 2.x is not a good idea, though, unless you're migrating
from 2.x to 3.x and you want to have a "grace period" for your users
to switch. gtk 3.x is already 2.5 years old, and will be 3 years old
when 3.10 is released this September.

ciao,
Emmanuele.


On 17 May 2013 03:40, David Buchan <pdbuc...@yahoo.com> wrote:
> I am using Ubuntu 13.04.
>
>
> Rumour on the street (I *think* I read it somewhere) is that I can install 
> both libgtk2.0-dev and libgtk-3-dev. Is that true? Can they both be installed 
> without interfering with each other, and without breaking Unity?
>
> I'd like to be able to provide executables of my program for those with GTK+2 
> and those with GTK+3. Maybe I'm safer to use two separate machines to 
> compile. Unity seems .... mmmm .... delicate.
>
> Dave
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



-- 
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi/
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to