Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
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
Created an attachment (id=6154) [edit] quake2-data-3.20.ebuild (New ebuild) Here's the ebuild
Created an attachment (id=6155) [edit] Q2EULA (New License) Use this license for the quake2-data ebuild (put in /usr/portage/licenses)
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
q2 should be placed in /opt like Q3 and UT
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
the q2 3.20 from ID is bugged. here is the info: http://online.securityfocus.com/bid/4744/info/
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
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