Summary: | ivtv-0.8.1 fails to install ivtv-fb | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeffrey Gardner (RETIRED) <je_fro> |
Component: | New packages | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
New ebuild that also installs the ivtv-fb framebuffer module
ivtv 0.8.1 ebuild that correctly checks kernel for FB support before building (or not building) ivtv-fb ivtv ebuild that checks fbcon use flag and CONFIG_FB option in kernel |
Description
Jeffrey Gardner (RETIRED)
![]() Omitting the FB test and adding ivtv-fb directly to MODULE_NAMES (at the beginning) works fine though... also happens in ivtv-0.8.0, which is the stable version at the moment. Created attachment 102978 [details]
New ebuild that also installs the ivtv-fb framebuffer module
This new ebuild solves this bug. Someone from gentoo who knows what's wrong with the "linux_chkconfig_present FB" construction may want to change the original 0.8.0 ebuild instead, but otherwise this ebuild is the way to go...
Created attachment 103000 [details]
ivtv 0.8.1 ebuild that correctly checks kernel for FB support before building (or not building) ivtv-fb
problem was that MODULE_NAMES was being defined outside the pkg_chk function, so adding to it wasn't taking. I modified it to print out an info or warn message about building/not building the module.
Fixed in CVS, -r1 ebuild. You'll have to use 'fbcon' to install the module. Created attachment 103003 [details]
ivtv ebuild that checks fbcon use flag and CONFIG_FB option in kernel
I just added fbcon to the previous ebuild I modified. It seems to work for all three test cases:
fbcon enabled, CONFIG_FB set (ivtv-fb builds)
fbcon enabled, CONFIG_FB not set (emerge spits out an error, terminates)
fbcon disabled, CONFIG_FB not set (ivtv-fb does not build, no errors, but a warning saying that ivtv-fb will not build)
|