Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362799 - sys-devel/gcc: add local description for gtk+ USE flag
Summary: sys-devel/gcc: add local description for gtk+ USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://archives.gentoo.org/gentoo-dev...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-10 05:59 UTC by Peter Volkov (RETIRED)
Modified: 2011-12-02 23:11 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 Peter Volkov (RETIRED) gentoo-dev 2011-04-10 05:59:14 UTC
Please, add local USE flag description for gtk USE flag in gcc. This is really FAQ on forums, btw.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2011-04-10 07:27:10 UTC
Yeah, I'm a bit hazy on what it does myself.  It's only used with USE="gcj", where it sets --enable-java-awt=gtk.  The help for --enable-java-awt says: list of AWT peer implementations to be built.  AWT stands for Abstract Windowing Toolkit.  There appear to be options for xlib, gtk, qt, and X.

Java team, as I have no experience whatsoever with gcj, could you suggest an appropriate description for the flag?  And maybe we could change it to gcj-gtk or awt-gtk or something to prevent further confusion.
Comment 2 SpanKY gentoo-dev 2011-04-10 16:30:24 UTC
keeping USE=gtk makes sense.  no need to create a local flag once metadata.xml has been fleshed out.

if it's a FAQ on the forums, then presumably someone has been posting answers, so what are those ? :P
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2011-04-11 09:14:45 UTC
At http://readlist.com/lists/gentoo.org/gentoo-user/12/63184.html Ciaran wrote: 

It's for the Java gtk frontend.

But I'm not sure what does this mean. My guess is that this is for AWT, that is mentioned in FAQ: http://gcc.gnu.org/java/faq.html#2_4 .

http://en.wikipedia.org/wiki/Abstract_Window_Toolkit
Comment 4 Ralph Sennhauser (RETIRED) gentoo-dev 2011-10-05 06:57:04 UTC
A peer implementation refers to a set of native widgets (windows, menus, tables, etc.) usable withing Java applications via the java.awt API. Building a peer implementation means it can be used by setting the awt.toolkit property. Different peer implementations are a means to provide look and feels as well as portability of AWT.

So a possible local description could be:
"Build Java AWT gtk+ peers"

Adding use flags for other peers might make sense as well.
Comment 5 SpanKY gentoo-dev 2011-12-02 23:11:27 UTC
should be all set now in the tree; thanks for the report!

Commit message: Add USE=gtk description by Ralph Sennhauser
http://sources.gentoo.org/sys-devel/gcc/metadata.xml?r1=1.13&r2=1.14