Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10350 - New ebuild: app-games/quake3-alternatefire
Summary: New ebuild: app-games/quake3-alternatefire
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on: 10341 10347
Blocks:
  Show dependency tree
 
Reported: 2002-11-06 16:45 UTC by CJ Kucera
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments
quake3-alternatefire-2.0.ebuild (quake3-alternatefire-2.0.ebuild,3.08 KB, text/plain)
2002-11-06 16:46 UTC, CJ Kucera
Details
files.tbz2 (files.tbz2,2.27 KB, application/octet-stream)
2002-11-06 16:51 UTC, CJ Kucera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CJ Kucera 2002-11-06 16:45:33 UTC
Alternate Fire is a Quake 3 mod which adds a number of fun things to the game. 
This is an ebuild for it.  A few notes, however (4 and 5 are especially important):

1) The only way to get Alternate Fire is via one of those "download cluster"
services like FilePlanet.  IMO, this makes putting a full SRC_URI in the ebuild
problematic.  I'm guessing that the authors of AlternateFire probably wouldn't
mind if Gentoo was distributing it, but for now, I've turned fetch restriction
ON and provided the URL to where Alternate Fire should be downloaded by hand.

2) I couldn't find a license for the mod anywhere, so I just left the LICENSE as
"as-is," which is what the LICENSE was for the quake3 mod I modeled the ebuild
after.

3) I really haven't tested out the dedicated server stuff much, so there could
easily be some bugs in there.

4) One of the documentation files contains a space in the filename.  As it turns
out, this causes problems for "dodoc."  I've posted a patch to take care of
this; without the patch (and therefore an updated version of Portage), one of
the doc files will be missing (now *that's* tragic <g>).  This would probably
require an addition to the USE flags specifying that it needs at least Portage
<whatever>.  Here's the bug: http://bugs.gentoo.org/show_bug.cgi?id=10341

5) I came across a conundrum involving digest files and SRC_URI and fetch
restrictions.  You can read all about it here: 
http://bugs.gentoo.org/show_bug.cgi?id=10347  This ebuild currently assumes
you've got the patch I proposed in the bug applied.  So there's another block on
this bug.  It's not *that* big of a deal, but I feel that I've got a fairly
clean solution in the bug I just mentioned . . .

*Whew*

One of these days I'll submit a nice, simple, easy bug that doesn't require
thirteen addendums.  :)
Comment 1 CJ Kucera 2002-11-06 16:46:59 UTC
Created attachment 5431 [details]
quake3-alternatefire-2.0.ebuild

Here's the ebuild.  Enjoy!
Comment 2 CJ Kucera 2002-11-06 16:51:09 UTC
Created attachment 5432 [details]
files.tbz2

Here's the contents of the files directory, as a bz2-tarball.  There were quite
a few.	Included:
  * The digest
  * The Alternate File server sample configuration
  * The script to start the dedicated server
  * A script to start up a non-server
  * An entry into /etc/env.d which turns on CONFIG_PROTECT for the server
config.
  * An entry into /etc/init.d which will start the dedicated server (using the
script mentioned above)
Comment 3 CJ Kucera 2002-11-06 17:31:05 UTC
Hm, looking at other Quake3 Mod bugs in here, I noticed the bit about a Games
Eclass being written, and I notice now that I've got a
/usr/portage/eclass/games.eclass.  These Quake3 Mods don't really fit into that
form exactly, but I was planning on packaging up a number of other Quake 3 mods
as well, which are very similar to the one I've got here, so we should probably
create a quake3mod EClass, correct?
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-11-06 17:42:57 UTC
yeah, an eclass would be good, I should think.
Comment 6 SpanKY gentoo-dev 2002-11-29 16:39:08 UTC
as for the quake3mod eclass, i might incorporate it into the games.eclass, if you submit 
more mods and they all end up working the same ;)