| Summary: | ebuild for app-games/angband 3.0.2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | B. K. Oxley (binkley) <binkley> |
| Component: | New packages | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | binkley, ernstp, rr9 |
| Priority: | High | ||
| Version: | 1.4_rc2 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
ebuild for angband 3.0.2 including gtk support
fixes gtk build angband-3.0.3.ebuild |
||
|
Description
B. K. Oxley (binkley)
2002-12-30 16:00:31 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.
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.
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.
What's happened to this ebuild? It's still not in the rsync tree! 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 I guess that means the Gentoo team is looking for (game) developers? If yes, then I would be willing. we have a bunch, just most are currently on vacation ;) 3.0.3 is in now |