Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 162279

Summary: games-fps/quake2-groundzero-data-1.0 (new ebuild)
Product: Gentoo Linux Reporter: Brandon Captain <caibbor>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: enhancement CC: nitro, yoshi3
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 435092    
Attachments: quake2-groundzero-data-1.0.ebuild
quake2-groundzero-data-1.0.ebuild
license.txt
Fixed ebuild with more appropriate DEPEND and a message on needing a client
fixed CDROM_ROOT issue - quoted variables
games-fps/quake2-groundzero-1.0.ebuild

Description Brandon Captain 2007-01-15 20:27:10 UTC
This ebuild installs the data files for the Quake 2 expansion "Ground Zero"

Reproducible: Always




I'm aware that the games-fps/quake2-data package in portage has a use flag to install this data, but it makes sense to me to have separate ebuilds for separate games. If this ebuild were to be put into portage, the existing games-fps/quake2-data package would have to be changed.
Comment 1 Brandon Captain 2007-01-15 20:27:28 UTC
Created attachment 107115 [details]
quake2-groundzero-data-1.0.ebuild
Comment 2 Brandon Captain 2007-01-18 00:15:24 UTC
Created attachment 107328 [details]
quake2-groundzero-data-1.0.ebuild

changed LICENSE variable.
Comment 3 Brandon Captain 2007-01-18 00:16:08 UTC
Created attachment 107329 [details]
license.txt

this is the license for this product.
Comment 4 Marcin Kowalski 2007-03-27 20:09:52 UTC
> doins ${CDROM_ROOT}Data/all/pak0.pak || die "Error installing pak0.pak"doins 

just to be on the safe side - add / before Data, because if you specify CD_ROOT without a trailing slash, it will fail the way it is now.

other than that - it works just fine.
Comment 5 Brandon Captain 2007-03-28 03:43:19 UTC
(In reply to comment #4)
> > doins ${CDROM_ROOT}Data/all/pak0.pak || die "Error installing pak0.pak"doins 
> 
> just to be on the safe side - add / before Data, because if you specify CD_ROOT
> without a trailing slash, it will fail the way it is now.
> 
> other than that - it works just fine.
> 

I agree. feel free to make the modification, I don't have the motivation at the moment.
Comment 6 Joshua Barney 2009-09-01 21:23:37 UTC
Created attachment 202904 [details]
Fixed ebuild with more appropriate DEPEND and a message on needing a client

Okay, this one has bugged me for a while. A missing "/" in "doins" causes the previous ebuilds to fail. This has now been fixed.

Also removed the RDEPEND on games-fps/quake2-icculus, as it's a broken and unmaintained client that doesn't even work right on most systems, especially amd64.

Since this expansion is useless without the original Quake 2 game, I've inserted a DEPEND for games-fps/quake2-data.

Added elog at the end to inform users they need the original game, and to inform users of the need for a client to play the game, and to list the current selection of working clients that have ebuilds in either the main tree or the Roslin overlay.
Comment 7 Jared B. 2010-07-11 06:59:03 UTC
Created attachment 238263 [details]
fixed CDROM_ROOT issue - quoted variables 

Updated ebuild with quoted variable paths to allow support for spaces.

By the way, I'd like to also request that this be added to portage.  Expansion
pack support in the main quake2-data is limited to just the Quake 4 DVD as far
as I'm aware; anyone with the original expansion pack CDs either must use this
ebuild or copy things over manually.  It'd be much more convenient to make this
available directly through portage.
Comment 8 Brandon Captain 2010-07-11 23:50:23 UTC
Quake 2 expansions (both reckoning and ground zero) do NOT need original quake2 data to run. they are complete data sets in themselves, they only need the exe/elf to play.

This ebuild does NOT depend on quake2-data in any way.
Comment 9 Jared B. 2012-09-15 04:17:15 UTC
Created attachment 323838 [details]
games-fps/quake2-groundzero-1.0.ebuild

Couple updates:

1. cdrom eclass now explicitly included, as required

2. renamed ebuild to simply quake2-groundzero in order to stay consistent with other expansion pack ebuild names for other games.

Brandon,

I tried uninstalling quake2-data and planing Ground Zero, but it fails to launch.  The expansion pack might not actually require the original Quake II data files as you described, but this ebuild, as currently written, does, therefore I'm leaving the dependency in place for now.  I don't think this would be a big deal either way, though - I can't think there would be too many people that have the expansion packs and NOT have the original/main game as well.