Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80820 - SWT requires GTK when STK supports Motif
Summary: SWT requires GTK when STK supports Motif
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-04 20:54 UTC by trejkaz
Modified: 2005-05-17 18:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description trejkaz 2005-02-04 20:54:46 UTC
The ebuilds for SWT 3.0 and 3.1 both include GTK as a hard dependency.  However, SWT runs much faster with Motif instead of the incredibly slow GTK, so ideally I'd like this ebuild to honor the "-gtk" in my USE flags.


Reproducible: Always
Steps to Reproduce:
Comment 1 Billy Biggs 2005-03-25 11:20:08 UTC
Are there specific instances where you find the GTK+ version of SWT slow?
Comment 2 trejkaz 2005-03-25 18:32:11 UTC
Not really, just all the time.
Comment 3 Billy Biggs 2005-03-25 18:36:37 UTC
What sort of hardware are you running on, and what version of GTK+ are you using?  Also, I'd be curious to know what X server version and X driver you're using.
Comment 4 trejkaz 2005-03-25 18:45:52 UTC
Athlon XP 2500+
512MB RAM
GTK+ 2.6.2
Xorg X11 6.8.2-r1
NVIDIA driver 66.29

That being said, I've witnessed this same problem with the relative speeds of Motif and GTK, on pretty much every Linux machine I've ever used.
Comment 5 Billy Biggs 2005-03-25 18:54:37 UTC
I can think of reasons why an SWT/Motif application would feel faster than an SWT/GTK+ application:  GTK+ has full i18n, antialiased fonts, complex themes, and much more featureful widgets.  However, on a machine as fast as yours I would not expect these to be so obtuse as to cause you to actually want to run the Motif version, or call it "the incredibly slow GTK".

Are you just basing this on experience with Eclipse, or also with other SWT applications?  Have you compared the Motif and GTK+ versions with a recent 3.1 release such as 3.1M5a (there are some significant improvements in 3.1).  Also, I am curious, what theme do you use for GTK+?

Thanks for taking the time to answer my questions, by the way.
Comment 6 Saleem Abdulrasool (RETIRED) gentoo-dev 2005-05-16 13:08:31 UTC
Motif support seems to be heading towards depreciation, and in light of such, there will not be support for it.  If there is a reason why it should be added to the tree, feel free to reopen the bug.
Comment 7 trejkaz 2005-05-16 14:50:16 UTC
So is the Motif option being replaced with something better?
Comment 8 Saleem Abdulrasool (RETIRED) gentoo-dev 2005-05-17 10:23:31 UTC
We will not be adding support for it in the tree.  Although you can always write
an ebuild and maintain it yourself in your overlay.
Comment 9 trejkaz 2005-05-17 18:25:49 UTC
OK.

So I assume SWT is going to be made a virtual so that I can do this somewhat easily.
Comment 10 trejkaz 2005-05-17 18:29:45 UTC
Actually what baffles me the most is...

I'm allowed to install net-p2p/azureus-bin without GTK, because that ebuild
actually honours my USE flags... and doing so makes it run a lot faster.

But I can't install net-p2p/azureus without GTK, since that one doesn't.

The way I see it, the two should at least be consistent.  Unless consistency is
against the Gentoo philosophy.