Apache OpenOffice (AOO) Bugzilla – Issue 111952
vcl: Get ready for gtk3
Last modified: 2013-03-28 23:17:36 UTC
gtk3 is coming. Mostly appears to be gtk2 with all deprecated apis removed. Attaching initial port to get started
Created attachment 69724 [details] gtk3 changes
hanging onto this one
This is really nice. I think we'll want to be able to build gtk-2.0 and gtk-3.0 plugins in parallel. For once like the KDE3/4 conversion there will probably be a time of choice between the new/old Gnome version. And there are some old platforms to keep in mind where will still want to be able to built gtk-2.0 support. So I'd like to suggest making this change so that we there are e.g. separate directories for gtk2/3 in vcl (and where else this later on matters like fpicker) as well as have separate config options (like for KDE where there is ENABLE_KDE and ENABLE_KDE4).
It would be rather horrible to duplicate the dirs because as far as I can see so far gtk3 isn't really different to gtk2 except that what used to be deprecated is now totally gone and immediately after a dup they're going to fall out of sync and cause misery. Though I take the point we would ideally want to be able to build gtk2 and gtk3 versions side by side for a while. There is a (much unloved) makefile.mk in sal which builds two versions of a .so from the same source which might be an acceptable solution. What I'd like is to simply first get what version of gtk2 is the Hamburg baseline ? We could simply replace any calls deprecated since that baseline with their modern equivalents, e.g. some are deprecated right from 2.0.1.
What RelEng seems to use for building is gtk 2.4.1 (. As for the plugins going out of sync: true, but part of that would be on purpose wouldn't it ? I guess gtk-3 will continue developing and the gtk3 will need/want to, too. I ceratinly understand your point about duplication, but are you sure that that special makefile is going to be available when build-2.0 comes around (especially since you say it's "unloved").
committed to gtk3
This was never merged.
(In reply to comment #7) > This was never merged. The CWS looks with more stuff than the patch attached here: http://hg.services.openoffice.org/cws/gtk3/