Re: Can I install both GTK+2 and GTK+3?




        Hello people,

        Apologies if this is the wrong place to post my questions, but they
        involve Ubuntu 13.04 and GTK+ as well.  A few weeks ago I finished
        porting my program for the speech-impaired to Ubuntu 12.04 LTS. 
        This is intended for the OLPC project and also runs on Fedora.  Now
        that my program runs on 12.04 I figure it should work on 13.04 LTS
        without any mods.  

        In previous versions of Ubuntu, upgrading to the next LTS was 
        nothing more than a few mouse clicks but not now.  Does anybody on
        this gtk list who uses Ubuntu have any idea where I am messing
        up?  My other question involves porting my speech program to
        laptop.org.  Several other hackers have helped with the gtk code;
        it is mostly 3.x.  The nutshell is: should I just hand my 
        program to the sugar-devel folk and be willing to help with 
        what it needs {espeak, [g]vim, and whatever else} or what?

        thanks for any help,

        gary



On Fri, May 17, 2013 at 03:50:57AM +0100, Emmanuele Bassi wrote:
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 <pdbuchan 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

-- 
 Gary Kline  kline thought org  http://www.thought.org  Public Service Unix
              Twenty-six years of service to the Unix community.



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