Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130036 - ut2004 community bonus packs - replacement ebuilds
Summary: ut2004 community bonus packs - replacement ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://www.planetunreal.com/cbp/
Whiteboard:
Keywords: EBUILD
: 265185 288085 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-15 02:12 UTC by Paul Bredbury
Modified: 2009-10-07 18:05 UTC (History)
2 users (show)

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


Attachments
ut2004-bonuspack-cbp1-1.ebuild (ut2004-bonuspack-cbp1-1.ebuild,579 bytes, text/plain)
2006-04-15 02:14 UTC, Paul Bredbury
Details
ut2004-bonuspack-cbp2-1.ebuild (ut2004-bonuspack-cbp2-1.ebuild,866 bytes, text/plain)
2006-04-15 02:15 UTC, Paul Bredbury
Details
ut2004-bonuspack-cbp2-1.ebuild (ut2004-bonuspack-cbp2-1.ebuild,999 bytes, text/plain)
2006-06-30 22:59 UTC, Paul Bredbury
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Bredbury 2006-04-15 02:12:55 UTC
Hi, here are replacement ebuilds for ut2004-bonuspack-cbp1-1.ebuild and ut2004-bonuspack-cbp2-1.ebuild

They have the following improvements over the existing ebuilds:

* They are direct downloads, rather than the user having to manually download.
* They don't depend on a third-party repackager ( http://liflg.org/?catid=6&gameid=17 )
* File collisions in cbp2 are fixed.

The file lists have been md5sum-checked against the old ebuild versions, and the only differences are that the READMEs are missing from these new versions:

/usr/share/doc/ut2004-bonuspack-cbp1-1/README.cbp1_volume1.gz
/usr/share/doc/ut2004-bonuspack-cbp2-1/README.cbp2_volume1.gz
/usr/share/doc/ut2004-bonuspack-cbp2-1/README.cbp2_volume2.gz
Comment 1 Paul Bredbury 2006-04-15 02:14:33 UTC
Created attachment 84699 [details]
ut2004-bonuspack-cbp1-1.ebuild
Comment 2 Paul Bredbury 2006-04-15 02:15:10 UTC
Created attachment 84700 [details]
ut2004-bonuspack-cbp2-1.ebuild
Comment 3 Paul Bredbury 2006-06-30 22:59:28 UTC
Created attachment 90588 [details]
ut2004-bonuspack-cbp2-1.ebuild

Moved the "rm" commands to src_unpack where they belong. Added tidying of some badly-named readme's in the Help directory.
Comment 4 Tristan Heaven (RETIRED) gentoo-dev 2006-11-08 11:26:16 UTC
Collision fixed. I think this can be closed.
Comment 5 Paul Bredbury 2006-11-08 13:27:07 UTC
The main purpose for this bug report is not the file collision, but the *manual* file download. Manual file downloads suck, especially when there is an obvious direct download - which the ebuilds on this bug provide ;)

# grep RESTRICT /usr/portage/eclass/games-mods.eclass
RESTRICT="mirror strip"

That's yucky.
Comment 6 Tristan Heaven (RETIRED) gentoo-dev 2006-11-08 18:54:48 UTC
There's no fetch restriction now, they use liflg mirrors.
Comment 7 Paul Bredbury 2006-11-08 20:51:20 UTC
Oops, that's true. I was thinking there was still a RESTRICT="fetch" in there. OK.

Isn't there still a file collision between cbp2 and ut2004-bonuspack-mega on Textures/Ty_RocketTextures.utx? I delete it in the cbp2 ebuild.
Comment 8 Tristan Heaven (RETIRED) gentoo-dev 2006-11-08 21:05:20 UTC
> Isn't there still a file collision between cbp2 and ut2004-bonuspack-mega on
> Textures/Ty_RocketTextures.utx? I delete it in the cbp2 ebuild.


I think the eclass prevents it.
Comment 9 Paul Bredbury 2006-11-08 21:20:35 UTC
The eclass is trying to be too clever ;)

That strategy of first-installed-stays-installed falls over when the colliding file *changes*, so it's not a strategy that should be relied upon. The eclass does not know which file version is the correct one to use, if a file has changed.
Comment 10 Tristan Heaven (RETIRED) gentoo-dev 2006-11-08 22:01:16 UTC
Right, and all of the symlinks are removed on a second merge.
Comment 11 Tristan Heaven (RETIRED) gentoo-dev 2009-10-05 17:05:09 UTC
Using your suggested changes now. Thanks.
Comment 12 Tristan Heaven (RETIRED) gentoo-dev 2009-10-05 17:10:54 UTC
*** Bug 265185 has been marked as a duplicate of this bug. ***
Comment 13 Tristan Heaven (RETIRED) gentoo-dev 2009-10-07 18:05:04 UTC
*** Bug 288085 has been marked as a duplicate of this bug. ***