Re: Can I install both GTK+2 and GTK+3?
On Fri, 17 May 2013 03:50:57 +0100 Emmanuele Bassi eba...@gmail.com 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. I wouldn't agree with that. gtk+-2 is still maintained (the latest maintenance release is 4 days old) and is a far more stable target. The introspection bindings for gtk+-3 break at regular intervals (I gave up on trying write minor tools using gjs/introspection about 2 years ago because of it), and the theming breaks with every release. Theming is not necessarily an issue for many programs, but introspection is. Possibly things might be settling down with gtk+3 now but I have not seen any announcement that these are considered stable now. Until there is more stability I doubt there is any prospect of the big non-gnome gtk+ applications I use (claws-mail, firefox and libreoffice) moving to gtk+-3. Chris ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Can I install both GTK+2 and GTK+3?
On Fri, May 17, 2013 at 11:40:10AM +0100, Emmanuele Bassi wrote: it's maintained only for critical bugs, or for platform support; no new feature, and no new API is *ever* going in to the gtk-2-24 branch. And that's what many 3rd party developers like. Absolutely no changes except critical bug and platform support fixes. All the small bugs and peculiarities are known, are not replaced with a different set of small bugs and peculiarities in the next release and we've learned how to work around them. Actually, I do target Gtk+3 with a program which has a number of its own widgets. And I'm constantly anxious and wondering whether it was a good decision... Yeti ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Can I install both GTK+2 and GTK+3?
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 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
Re: Can I install both GTK+2 and GTK+3?
On Fri, May 17, 2013 at 11:17 PM, Emmanuele Bassi eba...@gmail.com wrote: hi; On 17 May 2013 12:37, David Nečas y...@physics.muni.cz wrote: On Fri, May 17, 2013 at 11:40:10AM +0100, Emmanuele Bassi wrote: it's maintained only for critical bugs, or for platform support; no new feature, and no new API is *ever* going in to the gtk-2-24 branch. And that's what many 3rd party developers like. Absolutely no changes except critical bug and platform support fixes. yes, I suppose there is a part of ISVs that favour this approach. after all, there are still a ton of corporate Motif applications written in 1994 lying around that still need to be replaced by web apps. All the small bugs and peculiarities are known, are not replaced with a different set of small bugs and peculiarities in the next release and we've learned how to work around them. sure, let's work around bugs and peculiarities instead of, you know, fixing them. ;-) Right, but let's try to fix them without radically changing the set of particularities and introducing new bugs in the process ;-) Basically, we must care about not breaking applications which were written 3 or 4 years ago, those applications are just as important as applications which were written, or hacked on, in the current release cycle. The more we care about code which others have written in the past, and not breaking their code by our fixing of bugs the more we build trust. Anyway, I'm sure this trust is getting stronger the more that applications do port to GTK+3 and the more GTK+3 matures. I.e. it's hard to fix back-compat problems when nobody files bugs about them, the more applications which do port, the more bugs get filed, and the more awareness is raised in general. It's that awareness which helps us to pay attention to older applications, helps us to avoid breaking older applications (which are just as important as newer applications). Cheers, -Tristan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Can I install both GTK+2 and GTK+3?
hi; On 17 May 2013 16:54, Tristan Van Berkom t...@gnome.org wrote: sure, let's work around bugs and peculiarities instead of, you know, fixing them. ;-) Right, but let's try to fix them without radically changing the set of particularities and introducing new bugs in the process ;-) that only happens with proper regression testing and continuous integration — and, rejoice! it's been worked on right as we speak. ciao, Emmanuele. -- 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
Can I install both GTK+2 and GTK+3?
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 delicate. Dave ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
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 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
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 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 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 kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list