I upgraded ut2004 (and subsequently, ut2004-data) when the packages ut2004-3369-r4 and ut2004-data-3186-r2 packages stabilitzed. I noticed that even though the full game was already installed, including the data files off the CD/DVD, ut2004-data-3186-r2 wants to access the optical media and reinstall it. Is there any way possible, for example using a "nocd" use flag, that this ebuild could use the old data when upgrading? This would save a lot of time for the ebuild completion, and it seems like a trivial change to me, since the data files would be on the hard drive anyway when upgrading the package.
It's the CD/DVD reinstallation (i.e. ut2004-data) that's painful, due to the amount of data involved. It was required due to UT2004 files changing ownership between the ebuilds, to accommodate the Megapack (because files were changed). This has been partly discussed on the forums: http://forums.gentoo.org/viewtopic-t-453149.html Does any other ebuild in existence manage to reliably re-use its own installed files for a reinstallation of itself?
No, the ebuild cannot use already installed data, nor do we want it to. To do so would require listing out every single file from the data in the ebuild individually, otherwise we would be pulling in bonuspacks and other nonsense into the ut2004-data ebuild, causing collision-protect issues. Listen guys, not too long ago there was only a "ut2004" ebuild that did *everything* as our policy is to not split packages. Now, I went against that policy just so users wouldn't have to pull out their CD/DVD every time there was a new patch. I went and spent a lot of time breaking out the ebuilds into multiple packages, and Paul has done a lot of the more recent work. Basically, you need to live with it. I'm a ut2004 user, too. So just think that every time one of you has to pull out your CD set, that I had to do it *countless* times during testing.