Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27090 - misleading use of gtk2? () dependencies
Summary: misleading use of gtk2? () dependencies
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-developer
Classification: Unclassified
Component: Developers HOWTO (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-21 20:04 UTC by Spider (RETIRED)
Modified: 2003-08-25 02:20 UTC (History)
1 user (show)

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


Attachments
Patch that substitutes gtk2 with apache2 :) (gentoo-howto.diff-substitute_gtk2,1.53 KB, patch)
2003-08-22 03:05 UTC, Sven Vermeulen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Spider (RETIRED) gentoo-dev 2003-08-21 20:04:17 UTC
the current HOWTO declares this as an example:
    gtk2? ( >=x11-libs/gtk+-2 ) : ( =x11-libs/gtk+-1.2* )"

Which technically is well and good, but will be confusing for people who already
have trouble understanding the gtk2 flag.

perhaps a logic such as this instead:
   gtk? (
     gtk2? ( =x11-libs/gtk+-2 ) : ( =x11-libs/gtk+-1.2* ) )
Which would be a bit clearer in the actual meaning of the gtk2 flag.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2003-08-22 02:58:39 UTC
It's an example for ternary usage and such. I'll search for a better example.
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2003-08-22 03:05:18 UTC
Created attachment 16456 [details, diff]
Patch that substitutes gtk2 with apache2 :)

Also fixed some indentation troubles (tabs and spaces).
Comment 3 Spider (RETIRED) gentoo-dev 2003-08-22 04:02:59 UTC
Thanks, hopefully this clears out some of the mystique around the gtk2 USE flag :)
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2003-08-25 02:20:26 UTC
Committed