Bug 11506 - quake2-data-3.20.ebuild (New ebuild)
Bug#: 11506 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: thesnark@operamail.com
Component: Games
URL: 
Summary: quake2-data-3.20.ebuild (New ebuild)
Keywords:  EBUILD
Status Whiteboard: 
Opened: 2002-12-02 17:19 0000
Description:   Opened: 2002-12-02 17:19 0000
This ebuild will install the Quake 2 data files into
/usr/share/games/quake2-data.
I saw an excellent way way to grab the files off of the CD or user-specified
directory
in the app-games/unreal-tournament ebuild while browsing ebuilds.  This
provides a good
source-port independent place for data.  It is intended that Quake 2
source-port ebuild
authors sym-link to the files installed by this ebuild to avoid the binaries
and
port-specifics over-writing each-other.  Thanks to the author of the UT ebuild
for the idea.

  BTW, this ebuild installs the basic Quake 2 data files, including updated
ones from the
point-release.  The expansion packs should be easy to make ebuilds for based on
this.

- Daniel Mannarino

------- Comment #1 From Daniel Mannarino 2002-12-02 17:23:13 0000 -------
Created an attachment (id=6154) [details]
quake2-data-3.20.ebuild (New ebuild)

Here's the ebuild

------- Comment #2 From Daniel Mannarino 2002-12-02 17:25:16 0000 -------
Created an attachment (id=6155) [details]
Q2EULA (New License)

Use this license for the quake2-data ebuild (put in /usr/portage/licenses)

------- Comment #3 From José Costa 2002-12-31 13:13:05 0000 -------
that's the original 3.20 update from ID, IMHO it should be named
"quake2-3.20.ebuild" and the icculus port "quake2-icculus-0.15.ebuild".

there is an unofficial patched q2 3.21 for linux that corrects some bugs in the
q2build:

Source:
ftp://freeftp.barrysworld.com/pub/games/quake2/unofficial_patches/quake2-3.21-unofficial_server-source.zip

Binary:
ftp://freeftp.barrysworld.com/pub/games/quake2/unofficial_patches/linux/quake2-3.21-unofficial_server-linux.tar.gz

------- Comment #4 From José Costa 2003-01-02 18:27:14 0000 -------
q2 should be placed in /opt like Q3 and UT

------- Comment #5 From Daniel Mannarino 2003-01-03 17:58:34 0000 -------
  Regarding comment number 3, I agree that the current "quake2" ebuild in
Portage should be called "quake2-icculus-0.15" rather than just "quake2"
(or "quake2-relnev," as I suggested).  I am sorry, I do not understand the
rest of the comment.

  I don't see why the things installed by this ebuild should be installed in
/opt.  The only thing I can think of that this has in common with the Q3 and UT
ebuilds is that they are all either first-person-shooters or related to them
(this one is just the data from one).  Unless I am wrong (and I could very
well be), /opt is used for foreign-compiled binaries.  /opt would only be
appropriate for a binary-only Quake 2 version (of which there are a few,
including the official from id).  So, the official id Quake 2 binaries or
Quake Fusion belong in /opt, whereas QuakeForge 2 and the icculus Quake 2
belong in /usr/bin.  The FHS was IMHO a little vague about what /opt was for,
but this is how I got the impression Gentoo was doing it (and it seems good
to me).

- Daniel

------- Comment #6 From José Costa 2003-01-04 13:08:59 0000 -------
the q2 3.20 from ID is bugged.

here is the info: http://online.securityfocus.com/bid/4744/info/

------- Comment #7 From Daniel Mannarino 2003-01-06 22:37:56 0000 -------
   Thanks for the notice.  I checked though, and it appears as though the
icculus port (the only Quake 2 port in Portage so far) has this fixed.
   Also, this ebuild is only for the data, not for any programs.

Daniel Mannarino

------- Comment #8 From SpanKY 2003-06-28 22:27:35 0000 -------
i got tired of updating those cd scripts so i just threw em into the
games.eclass ;) 
http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/eclass/games.eclass.diff?r1=1.29&r2=1.30 

i added your ebuild with some more tweaks, thanks for your work :) 
http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-games/quake2-data/quake2-data-3.20.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup