First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 67045
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: John Croisant <jacius@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
uqm-0.3-r2.ebuild New more flexible ebuild text/plain John Croisant 2004-10-10 21:44 0000 3.66 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 67045 depends on: Show dependency tree
Bug 67045 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-10 21:43 0000
I've modified the ebuild for uqm-3.0-r2 so that optional packages (3domusic,
voices, remixes) will not be downloaded unless the proper local USE flags are
used. The optional packages are quite large downloads, and are not required at
all to play, so users on slower connections might appreciate not having to
download them. Additionally the ebuild will install the third music remix
package (the previous ebuild only did the first two).

This might be considered hairy, because the optional URIs are present or
omitted in SOURCE_URI based on USE flags (specifically, the "music" "voice" and
"remix" flags). I haven't seen any other ebuilds that do this, but maybe I just
haven't looked long enough. Note that in order for the digests to be made for
ALL the files, these optional USE flags ("music voice remix") should be
specified when making the digest.

Additionally, if some flags were not specified, my ebuild is supposed to print
out a message in postinst that says which flags were not given, what they do,
and how to give them (and a warning about download sizes). I think the message
works correctly, but I'm uncertain of by bash scripting skills, so it would be
prudent for someone to check that over.

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From John Croisant 2004-10-10 21:44:46 0000 -------
Created an attachment (id=41501) [edit]
New more flexible ebuild

------- Comment #2 From John Croisant 2004-10-12 11:12:42 0000 -------
Oops, like a fool I forgot to check that my recent, minor changes actually
worked. Portage reports that there is an error in the ebuild. Just a heads-up
while I fix it.

------- Comment #3 From John Croisant 2004-10-12 12:09:18 0000 -------
Hrmmm, the ebuild seems to work right, with no errors, for any combination of
the USE flags I give it. The error I saw before was during an "emerge -Dup
world", but my box was somewhat broken at the time, and I haven't seen the
error again since then.

------- Comment #4 From Mr. Bones. 2005-02-08 23:35:15 0000 -------
patched the ebuild in portage.  No rev bump since it's such a big download. 
Remerge to get the new use flag support and additional remix.

First Last Prev Next    No search results available      Search page      Enter new bug