| Summary: | Dopewars gtk2 and sdl use flags doesn't work | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Simon Vermeersch <Titeuf> |
| Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED INVALID | ||
| Severity: | minor | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Simon Vermeersch
2004-12-15 07:53:53 UTC
USE="-gtk +gtk" means the following: Do not use optional GTK support, but when I have a choice, use GTK2. What you want is USE="+gtk +gtk2" which means: Enable optional gtk support and prefer gtk2 over gtk1. I understand why that you mean, but if I do emerge -pv dopewars, it shows me that dopewars supports the gtk2 USE flag, but it doesn't have any effects when it's enabled or not. Shouldn't it be removed from the IUSE line in the ebuild ? if use gtk ; then
myservconf="--enable-gui-server `use_enable gtk2 glib2`"
That says that if you have gtk in your USE, to --enable-gui-server and if you have gtk2 in your USE, to --enable-glib2, which in turns enables a gtk2 front-end.
The ebuild is correct. The dopewars ebuild *does* support the gtk use flag and uses it correctly. You *must* have the gtk USE flag for the gtk2 USE flag to be effective, as in all other ebuilds that have optional GTK support.
|