Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Limiting GTK versions supported by SWT or SWT call for help

----- Original Message -----
> From: "Tom Schindl" <tom.schindl@xxxxxxxxxxxxxxx>
> To: cross-project-issues-dev@xxxxxxxxxxx
> Sent: Thursday, October 9, 2014 1:16:29 AM
> Subject: Re: [cross-project-issues-dev] Limiting GTK versions supported by SWT	or SWT call for help
> 
> hi,
> 
> dropping Gtk2 means:
> * swing embed is broken when the Gtk-Theme is used because it links
>   against Gtk2
> * javafx embed is broken because it links against Gtk2
> 
> So clearly openjdk/oraclejdk (even the latest builds) links against
> Gtk2, or am I wrong in this regard?

Hi Tom, 
My mail seems to be misunderstood. This is not a proposal to drop GTK 2.x support (2.10 - 2.24) in general but to limit this support to only newer 2.x versions (aka 2.18+). With 2.18 being released 5 years ago[1] and being in strict maintenance mode for smth like last 4 years this is safe requirement. It also DOES not require any change in Mars target environments [2] and will satisfy even Luna [3]. 
So to make it clear GTK 2.18 up to 2.24 will still be supported.
By bumping this minimum requirement we open the door for streamlining swt codebase as there are many changes that have happened (macros-> functions, struct access -> functions, etc.) which are the same for newer GTK 2.x (2.18-2.24) and GTK 3.x versions but we have different codepaths for older GTK 2.x versions (2.10-2.17).
So this proposal will not affect the Swing problems in anyway. 

[1] https://mail.gnome.org/archives/gtk-devel-list/2009-September/msg00054.html 
[2] https://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/eclipse/development/plans/eclipse_project_plan_4_5.xml#target_environments
[3] https://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/eclipse/development/plans/eclipse_project_plan_4_4.xml#target_environments

Alexander Kurtakov
Red Hat Eclipse team

> 
> I can also prove what Andrey said: We have turned of Gtk3 on *all* our
> linux desktops because there are too many problems with it.
> 
> Tom
> 
> On 08.10.14 16:18, Aleksandar Kurtakov wrote:
> > ----- Original Message -----
> >> From: "Andrey Loskutov" <loskutov@xxxxxx>
> >> To: "Cross project issues" <cross-project-issues-dev@xxxxxxxxxxx>,
> >> "Aleksandar Kurtakov" <akurtako@xxxxxxxxxx>
> >> Sent: Wednesday, October 8, 2014 5:11:53 PM
> >> Subject: Re: [cross-project-issues-dev] Limiting GTK versions supported by
> >> SWT	or SWT call for help
> >>
> >> BTW we at Advantest are still using RHEL 5.8, even because RHEL has crazy
> >> long support times :o)
> >>
> >> Limiting to GTK3 only and drop GTK2 ports for *new* Eclipse releases would
> >> be
> >> good idea but AFAK GTK3 SWT port is still problematic (I'm on *latest*
> >> Ubuntu and must turn it off).
> >>
> >> In general I would also prefer to have always *one* (smallest possible
> >> from
> >> latest GTK on major distros) SWT port for latest Eclipse release but that
> >> port must be 99% usable.
> >>
> >> I won't hijack the thread, but the best long term solution for SWT Linux
> >> ports and Eclipse UI toolkit in general would be to move away from SWT to
> >> Java FX or better Qt (I know Qt LGPL license is a showstopper, but this
> >> *is*
> >> technically viable alternative). Without the man power of IBM (which
> >> originally allowed SWT to be developped for so many different plattforms)
> >> SWT as we have it today has no feature.
> > 
> > Options are endless. But let's try to limit the discussion towards Mars and
> > Mars+1 for now. In this timeframe I don't think a new option will pop up
> > and I'm trying to solve our daily issues first so we can try to look a bit
> > further.
> > 
> > 
> > Alexander Kurtakov
> > Red Hat Eclipse team
> > 
> >>
> >>
> >> Am 8. Oktober 2014 16:44:30 OESZ, schrieb Aleksandar Kurtakov
> >> <akurtako@xxxxxxxxxx>:
> >>> ----- Original Message -----
> >>>> From: "Mat Booth" <mat.booth@xxxxxxxxxx>
> >>>> To: "Cross project issues" <cross-project-issues-dev@xxxxxxxxxxx>
> >>>> Sent: Wednesday, October 8, 2014 4:27:25 PM
> >>>> Subject: Re: [cross-project-issues-dev] Limiting GTK versions
> >>> supported by SWT	or SWT call for help
> >>>>
> >>>> ----- Original Message -----
> >>>>> From: "Igor Fedorenko" <igor@xxxxxxxxxxxxxx>
> >>>>> To: cross-project-issues-dev@xxxxxxxxxxx
> >>>>> Sent: Wednesday, 8 October, 2014 12:38:10 PM
> >>>>> Subject: Re: [cross-project-issues-dev] Limiting GTK versions
> >>> supported by
> >>>>> SWT	or SWT call for help
> >>>>>
> >>>>> What major distribution still stuck with GTK2? Aren't they all on
> >>> GTK3
> >>>>> already?
> >>>>>
> >>>>> --
> >>>>> Regards,
> >>>>> Igor
> >>>>>
> >>>>
> >>>> RHEL 6/CentOS 6 only has GTK 2.20, IIRC
> >>
> >>
> >> --
> >> Kind regards,
> >> Andrey Loskutov
> >>
> >> http://google.com/+AndreyLoskutov
> >>
> > _______________________________________________
> > cross-project-issues-dev mailing list
> > cross-project-issues-dev@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or unsubscribe
> > from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
> > 
> 
> _______________________________________________
> cross-project-issues-dev mailing list
> cross-project-issues-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
> 


Back to the top