Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174491 - updated ebuild: media-tv/linuxtv-dvb-firmware-2007.04.13
Summary: updated ebuild: media-tv/linuxtv-dvb-firmware-2007.04.13
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-13 17:18 UTC by Peter Gantner (a.k.a. nephros)
Modified: 2007-06-06 15:53 UTC (History)
1 user (show)

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


Attachments
media-tv/linuxtv-dvb-firmware-2007.04.13.ebuild (linuxtv-dvb-firmware-2007.04.13.ebuild,6.28 KB, text/plain)
2007-04-13 17:19 UTC, Peter Gantner (a.k.a. nephros)
Details
${FILESDIR}/get_dvb_firmware-2007.04.13 (get_dvb_firmware-2007.04.13,12.12 KB, text/plain)
2007-04-13 17:20 UTC, Peter Gantner (a.k.a. nephros)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Gantner (a.k.a. nephros) 2007-04-13 17:18:39 UTC
+++ This bug was initially created as a clone of Bug #168779 +++

The kernel-supplied get_dvb_firmware script has added some firmwares.
As I needed "tda10046lifeview" I updated the ebuild to handle that.

Unfortunately the firmware files provided by the tda10046 and tda10046lifeview keywords to get_dvb_firmware have the same name despite being quite different.

So I had to do the following changes: 
  *) split up the tda1004x USE flag (actually DVB_CARDS) into tda10045 tda10046 and tda10046lifeview
  *) add a check so tda10046 and tda10046lifeview can't both be in DVB_CARDS
  *) add the URL line for the source package
  *) add get_dvb_firmware script from vanilla 2.6.20.6 to $FILESDIR/
Comment 1 Peter Gantner (a.k.a. nephros) 2007-04-13 17:19:39 UTC
Created attachment 116181 [details]
media-tv/linuxtv-dvb-firmware-2007.04.13.ebuild
Comment 2 Peter Gantner (a.k.a. nephros) 2007-04-13 17:20:40 UTC
Created attachment 116182 [details]
${FILESDIR}/get_dvb_firmware-2007.04.13
Comment 3 Matthias Schwarzott gentoo-dev 2007-06-06 15:53:29 UTC
Thanks for your ebuild.

Finally commited it. I just added another check on a set tda1004x flag, printing a warning about the flag being splitted.
Other thing being not using tda10046lifeview when installing all firmwares (DVB_CARDS being empty).

Conclusion:
That file collision is ugly, we definitly should ask upstream if the driver could use different firmware filenames when it detects the different devices.
But inbetween we have to live with it.