Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186171 - media-tv/ivtv-1.0.0 version bump
Summary: media-tv/ivtv-1.0.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Steve Dibb (RETIRED)
URL:
Whiteboard:
Keywords:
: 186230 186231 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-22 01:29 UTC by Gabriel Devenyi
Modified: 2007-08-15 15:34 UTC (History)
3 users (show)

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


Attachments
ebuild patch to 1.0.x (ivtv-0.10_to_1.0.patch,2.01 KB, patch)
2007-07-28 08:28 UTC, Sander Sweers
Details | Diff
ebuild patch to 1.0.x version 2 (ivtv-0.10_to_1.0_ver2.patch,5.54 KB, patch)
2007-07-28 12:36 UTC, Sander Sweers
Details | Diff
/tmp/ivtv.txt (ivtv.txt,9.22 KB, text/plain)
2007-08-15 13:07 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details
/tmp/emerge--info (emerge--info,4.83 KB, text/plain)
2007-08-15 13:08 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Devenyi 2007-07-22 01:29:00 UTC
For kernels > 2.6.22, the ivtv drivers are integrated into the kernel, however, there are still utilities, as well as ivtv-fb and the saa717x driver which are not yet included. Please add ivtv-1.0.0 as the default ivtv install, and suggest for kernel versions < 2.6.22 (checking the kernel version) that it be masked so that 0.10.5 is installed instead.

http://ivtvdriver.org/index.php/Main_Page
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2007-07-22 14:51:53 UTC
*** Bug 186230 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-07-22 17:36:27 UTC
*** Bug 186231 has been marked as a duplicate of this bug. ***
Comment 3 Sander Sweers 2007-07-28 08:28:31 UTC
Created attachment 126204 [details, diff]
ebuild patch to 1.0.x

Patch to the ebuild which changes:
*removed many CONFIG checks, only 2 now
*Removed check on kernel version before 2.6.22
*Removed ivtv module name
*Now only check if we have a non 2.6.22 kernel and then error

Greets
Sander
Comment 4 Sander Sweers 2007-07-28 08:35:54 UTC
I just had a thought.. Maybe the ebuild should only build the modules on request via a use flag? Many people will not need the saa717x and/or ivtv-fb module. But all will want the userland tools installed! Create a use flag for the saa717x module?
Comment 5 Sander Sweers 2007-07-28 12:36:55 UTC
Created attachment 126218 [details, diff]
ebuild patch to 1.0.x version 2

(In reply to comment #4)

For this patch all of the changes before plus:
* add use flag for saa717x module
* move the build of the 2 modules into their own if use ..
* add checks if a module build was requested if not only install userland
* Some cleanup of the text in the ebuild
Comment 6 Gabriel Devenyi 2007-07-28 15:34:04 UTC
Wouldn't just be simpler to post the ebuild? :)
Comment 7 Sander Sweers 2007-07-28 16:09:17 UTC
(In reply to comment #6)
> Wouldn't just be simpler to post the ebuild? :)

Simpler yes, but many times smaller than the complete ebuild ;-)
Comment 8 DEMAINE Benoît-Pierre, aka DoubleHP 2007-08-15 13:06:15 UTC
(In reply to comment #4)
> I just had a thought.. Maybe the ebuild should only build the modules on
> request via a use flag? Many people will not need the saa717x and/or ivtv-fb
> module. But all will want the userland tools installed! Create a use flag for
> the saa717x module?
> 

As for Lirc (and many other apps depending on kernel drivers like HAL), this will lead emerge to stop emerging in this case:

when an update (esync) include an update fo both kernel and ivtv, if kernel is emerged before ivtv, when ivtv is emerged the kernel is not build, and this will lead to failure in configure step (or worse, during pre-install() ).

This problem have been discussed in bug #172458 and already happen in many other cases that have been closed "CANTFIX" in most cases ... I think adding one more possible case for this to happen is not a good idea.

ATM, I am having troubles with:

root@moon_gen_2:~# USE="ivtv" emerge -DaNuv world

These are the packages that would be merged, in order:

Calculating world dependencies /
!!! Multiple versions within a single package slot have been
!!! pulled into the dependency graph:

('ebuild', '/', 'sys-kernel/linux-headers-2.6.19.2-r2', 'merge') pulled in by
  ('ebuild', '/', 'media-video/mplayer-1.0.20070814', 'merge')

('installed', '/', 'sys-kernel/linux-headers-2.6.22-r2', 'nomerge') pulled in by
  ('ebuild', '/', 'sys-apps/sysvinit-2.86-r9', 'merge')
  ('installed', '/', 'sys-apps/hal-0.5.9.1-r1', 'nomerge')
  ('ebuild', '/', 'sys-libs/glibc-2.6.1', 'merge')

Mplayer wants to downgrade Linux, but since my 'actual' 2.6.22-gentoo-r2 is deprecated, sys-kernel/gentoo-sources-2.6.22-r3 forces merge of newer kernel during actual merge.

How long before 2.6.22 get stable ?

Esynced this morning, I wonder how you can tell this bug is fixed as I encontour it more than 2 weeks after close ...
Comment 9 DEMAINE Benoît-Pierre, aka DoubleHP 2007-08-15 13:07:43 UTC
Created attachment 128161 [details]
/tmp/ivtv.txt

I call a bug fixed when the working ebuild is in portage, and replicated on ALL mirrors.
Comment 10 DEMAINE Benoît-Pierre, aka DoubleHP 2007-08-15 13:08:24 UTC
Created attachment 128162 [details]
/tmp/emerge--info

Please re-open. Good luck.
Comment 11 Steve Dibb (RETIRED) gentoo-dev 2007-08-15 14:02:10 UTC
Open a new bug next time, since this one is closed.

Also, don't use the IVTV use flag on MPlayer.  It will try to forcibly downgrade your linux-headers.
Comment 12 DEMAINE Benoît-Pierre, aka DoubleHP 2007-08-15 15:09:51 UTC
A new bug that will be marked dup of bugs #186230 and #186230 that are dup of this one for good reaons ?

No way; I am having bug #186230; and since it has been marked dup of this, I comment here, in "the main branch". I have been reproached too many time by Jakub to create dups, and here, it IS the case. I shall not create a new bug, but eventually ask 186230 to be reopened and unmarked dup. But if I do so, Jakub will tell me once more that they are dups, and I would agree.
Comment 13 Steve Dibb (RETIRED) gentoo-dev 2007-08-15 15:13:40 UTC
(In reply to comment #12)
> A new bug that will be marked dup of bugs #186230 and #186230 that are dup of
> this one for good reaons ?
> 
> No way; I am having bug #186230; and since it has been marked dup of this, I
> comment here, in "the main branch". I have been reproached too many time by
> Jakub to create dups, and here, it IS the case. I shall not create a new bug,
> but eventually ask 186230 to be reopened and unmarked dup. But if I do so,
> Jakub will tell me once more that they are dups, and I would agree.
> 

Personal issues with Jakub aside, bug 186230 is invalid.  IVTV works on on the kernels in the tree up to and including 2.6.22.

MythTV pulls in IVTV, because *some* combination of IVTV plus kernel is a stable path.  The IVTV ebuild does a proper job of checking to see which kernel you are using, and that's not the task of MythTV.

So, I don't see what the problem is, though I might be misunderstanding what you are asking for.
Comment 14 DEMAINE Benoît-Pierre, aka DoubleHP 2007-08-15 15:18:04 UTC
I am asking REOPEN because the ebuild that was in Porrtage this morning does not satisfy me: activating the ivtv USE flag prevents emerge to work properly.
Comment 15 Steve Dibb (RETIRED) gentoo-dev 2007-08-15 15:34:48 UTC
(In reply to comment #14)
> I am asking REOPEN because the ebuild that was in Porrtage this morning does
> not satisfy me: activating the ivtv USE flag prevents emerge to work properly.
> 

See comment #11.