Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129905 - 'ut2004-light' ebuild wanted or USE-flags for 'ut2004'
Summary: 'ut2004-light' ebuild wanted or USE-flags for 'ut2004'
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Other
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-14 00:56 UTC by Thomas van Kampen
Modified: 2006-04-17 08:31 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas van Kampen 2006-04-14 00:56:00 UTC
Not sure if this has been an issue before but I think it is. It seems that ut2004 _depends_ on ut2004-bonuspack-ece and ut2004-bonuspack-mega. I do not know why this is (please enlighten me) but I think this is absurd. That's like depending kwin on kdeartwork-kwin-styles so you can have all the extra's already.

As far as I know you don't need the ECE and Mega bonuspacks to run UT2004 so they shouldn't be dependencies. I have a few suggestions (that is if this isn't done for a particular reason which otherwise may break it all):

1. ut2004 is just ut2004 and some kind of ut2004-extra is a meta to pull in the bonus packs.
2. A new ut2004-light is introduced to feature only ut2004 (that would seem to be the wrong way around if you ask me).
3. New USE-flags like 'ece' and 'mega' are introduced for 'ut2004' for the bonuspacks.

Please tell me how you guys feel about this, but to me installing several 100's of MB's for bonuspack when I just want ut2004 seems to go a little too far.

Kind regards
Comment 1 Allen Brooker (AllenJB) 2006-04-14 01:09:56 UTC
The problem is due to file ownership. The magapack contains some of the same files as the original UT2004 and to be able to work reliably, these files should ONLY be installed and owned by the megapack ebuild.

This isn't that insane because most UT2004 servers run atleast the ece pack, if not the megapack anyway, so for a fully working game you can go online and play with straight away (without any horribly large downloads) the megapack and ece pack are pretty much essential.

If you do a bugzilla search (make sure to incldue the ALL keyword) you should find the original ebuild submission threads with further discussion on this issue.
Comment 2 Paul Bredbury 2006-04-14 01:54:42 UTC
For enlightenment, read the 15-Mar changelog entry for ut2004.

Such an ebuild should be called ut2004-crippled rather than ut2004-light :)
Comment 3 Thomas van Kampen 2006-04-14 04:20:40 UTC
Sorry I'm unable to find evidence of this discussion in other bugs. Perhaps I'm using wrong search words.

Paul Bredbury:
" 15 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org> ut2004-3369-r3.ebuild:
  Added ut2004-bonuspack-mega to RDEPEND since users are forced to download
  the entire thing due to ut2004-bonuspack-ece even if they have an ECE
  edition CD/DVD. This adds content everyone wants and also keeps people from
  having a very large download for no reason, so I hope there's no objections
  to it.
"

Well I basically just want to play UT2004 on the default maps initially. A normal course of action when I join a server with a different map the client downloads it. BUT, I almost only play on LAN or against bots. So if I have to download that ECE pack (which was already a dependency) and now the Mega pack I have to download a fair amount of data for _no reason_.

I'm not quite familair with the permission problem of that mega thing so I will look into it. But it seems to me that that should be fixed only in the mega pack. UT2004 has run fine before without the mega pack, right?

I don't think a lighter (basic) UT2004 install is crippled, I just find it to suit more needs that way.

Looking forward to more input.

Kind regards.
Comment 4 Paul Bredbury 2006-04-14 09:05:48 UTC
The problem is file ownership, as per these lines in the ut2004 ebuild:

# These files are owned by ut2004-bonuspack-mega
rm "${S}"/System/{Manifest.in{i,t},Packages.md5}

Portage doesn't give us a reliable way to suddenly switch ownership of the files to the upgraded ones in the Megapack, if and when the user chooses to install the Megapack. So we have to go with the Megapack as standard.

Another reason is that UT2004 is already a huge package. The Megapack is, relatively speaking, fairly small. Forget the "Editor's Choice Edition" bonuspack, that's been replaced completely by the Megapack now (both ebuilds use the Megapack file).
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-17 08:31:44 UTC
I did it for a reason when I did it.

For one, you cannot update ut2004 to the latest patched versions, then add the ECE bonus pack later, without re-running the patch, because it provides newer versions of some ECE files.  This is why ECE was added.  Now, since the ECE bonus pack is no longer available upstream, only as part of the Megapack, you already have to download the entire Megapack.  So why not install the Megapack if you've already downloaded it?  That's why Megapack was added.

Now, if you don't want the extra content, you can use package.provided just like anyone else.  I'm not changing the ebuilds as I would venture a guess that most people want the content, and adding the additional content after the fact is pretty much impossible thanks to portage limitations.  Also, when you play the game and it doesnloads maps, it downloads it for a single user.  These packages install the maps/extras globally.  Basically, portage has provisions already for being able to tell it to skip these packages and you're more than welcome to use it to keep the extras off your system.