Bug 224921 - No enable-smallgui option when emerging wesnoth
Bug#: 224921 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: whity@tgcm.eu
Component: Games
URL: 
Summary: No enable-smallgui option when emerging wesnoth
Keywords:  
Status Whiteboard: 
Opened: 2008-06-04 18:18 0000
Description:   Opened: 2008-06-04 18:18 0000
games-strategy/wesnoth has a compile time option, --enable-smallgui, which
allows to select the resolution 800x480. This resolution is otherwise not
available.

Currently, the gentoo ebuild has no way to activate this configure option.
There should be a use flag for this.

Reproducible: Always

Steps to Reproduce:
1. emerge games-strategy/wesnoth
2. launch the game
3. Try to set the resolution

Actual Results:  
Note that 800x480 is not available

Expected Results:  
800x480 should be available, if emerged with the correct use flags

I'll attach the modified ebuild that i have used to compile wesnoth, enabling
the 800x480 resolution. I used the "small-gui" use flag for this.

------- Comment #1 From Julien Blanc 2008-06-04 18:19:47 0000 -------
Created an attachment (id=155533) [details]
Proposed patch

This ebuilds allows enabling the 800x480 resolution via the small-gui use flag.

------- Comment #2 From Mr. Bones. 2008-06-04 19:44:26 0000 -------
Do you use the small gui?

------- Comment #3 From Julien Blanc 2008-06-04 20:05:39 0000 -------
I do. Actually, 800x480 is the resolution of the asus eee701. Small-gui is not
a standard option since it has been reported that some menus do not fit in this
resolution, but the game is completely playable at this resolution.

I think it ok to add it as an extra-option (thus, the use flag).

------- Comment #4 From Tristan Heaven 2008-06-17 15:55:19 0000 -------
*** Bug 227825 has been marked as a duplicate of this bug. ***

------- Comment #5 From Mr. Bones. 2008-09-03 03:25:29 0000 -------
in wesnoth-1.4.5.ebuild