Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12956 - ebuild for app-games/angband 3.0.2
Summary: ebuild for app-games/angband 3.0.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-30 16:00 UTC by B. K. Oxley (binkley)
Modified: 2003-05-19 16:59 UTC (History)
3 users (show)

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


Attachments
ebuild for angband 3.0.2 including gtk support (angband-3.0.2-r1.ebuild,1.08 KB, text/plain)
2002-12-31 09:00 UTC, B. K. Oxley (binkley)
Details
fixes gtk build (angband-3.0.2.ebuild,1.10 KB, text/plain)
2002-12-31 09:48 UTC, B. K. Oxley (binkley)
Details
angband-3.0.3.ebuild (angband-3.0.3.ebuild,1.07 KB, text/plain)
2003-02-02 11:56 UTC, Robert Ruehlmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description B. K. Oxley (binkley) 2002-12-30 16:00:31 UTC
The fairly generic ebuild for angband 3.0.1 seems to work fine for me simply 
by renaming the file from angband-3.0.1.ebuild to angband-3.0.2.ebuild.  Cool 
beans!  I'm playing with it nicely, no issues.
Comment 1 B. K. Oxley (binkley) 2002-12-31 09:00:23 UTC
Created attachment 6866 [details]
ebuild for angband 3.0.2 including gtk support

My original ebuild simply copied the ebuild from angband 3.0.1.  This ebuild
includes --enable-gtk to ./configure when there is the gtk USE flag and updates
the requires appropriately.  Right now I'm trying to figure out why it installs
the docs but not the binaries or library.  Hrm.
Comment 2 B. K. Oxley (binkley) 2002-12-31 09:48:06 UTC
Created attachment 6867 [details]
fixes gtk build

I uncovered a hidden bug in the original angband-3.0.1.ebuild file: if you were
not USEing X, then --with-getgid=games got dropped from the ./configure flags. 
In turn, this screwed up installation since non-setgid installation on UNIX
assumes a per-user home directory type install.

Fixing this also fixes the install for USEing gtk which has the same bug. 
Contrast:

local myconf="--with-setgid=games"
use X || myconf="--without-x"

with:

local myconf="--with-setgid=games"
use X || myconf="${myconf} --without-x"

Of course... now this is broken for a *different* reason: GTK+ does not support
setuid/setgid games.  Remember this nightmare?	Grrr.  One thing at a time.
Comment 3 Robert Ruehlmann 2003-02-02 11:56:28 UTC
Created attachment 7848 [details]
angband-3.0.3.ebuild

This is an ebuild for the new Angband 3.0.3 release.

Changes to the Angband 3.0.1 ebuild:
- new URL for the project homepage
- remove the game generated lib/data/*.raw cache files when unmerging
- applied the --without-x patch by B. K. Oxley (binkley) that fixes the
problems when installing without X11 support
- replaced the hardcoded "/var/tmp/portage/" prefix for one of the preinst
actions with the proper ${D} variable as suggested by B. K. Oxley (binkley) for
the ZAngband ebuild

Please note that the GTK port is not enabled, since the "no setgid" policy
would prevent a proper installation.  This means GTK users get the normal X11
port for now.  I'm working on a non-setgid version without a shared scorefile,
so the native GTK version might actually become useful in the near future.
Comment 4 Ernst Sjöstrand 2003-03-01 00:47:55 UTC
What's happened to this ebuild? It's still not in the rsync tree! 
Comment 5 SpanKY gentoo-dev 2003-03-01 01:00:37 UTC
we're a little short on game developers (well, we dont really have any atm :D) 
 
give it a week or 2, i should be able to get it in 
Comment 6 Robert Ruehlmann 2003-03-01 06:09:32 UTC
I guess that means the Gentoo team is looking for (game) developers?  If yes, then I would be 
willing. 
Comment 7 SpanKY gentoo-dev 2003-03-01 12:39:36 UTC
we have a bunch, just most are currently on vacation ;)
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-05-19 16:59:55 UTC
3.0.3 is in now