Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108692 - ivtv-0.4.0 missing amd64 keyword
Summary: ivtv-0.4.0 missing amd64 keyword
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: AMD64 Testing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-10 00:43 UTC by Rutger Hendriks
Modified: 2005-10-31 12:21 UTC (History)
1 user (show)

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


Attachments
updated ebuild (ivtv-0.4.0-r1.ebuild,3.87 KB, text/plain)
2005-10-10 01:46 UTC, Rutger Hendriks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rutger Hendriks 2005-10-10 00:43:18 UTC
Hi,

ivtv released 0.4.0 this weekend and it is in portage already, good job on that!
Unfortunately it does not have an ~amd64 keyword. I've been using ivtv for over
a year now on amd64 so I'd really like to have the keyword added.
Thanks
Comment 1 Rutger Hendriks 2005-10-10 01:03:15 UTC
Actually, I've noticed some irregularities in the ebuild, peraps they can be fixed:

1.
<snip>
>>> Install ivtv-0.4.0 into /var/tmp/portage/ivtv-0.4.0/image/ category media-tv
make -C ../driver ivtv-svnversion.h
make[1]: Entering directory `/var/tmp/portage/ivtv-0.4.0/work/ivtv-0.4.0/driver'
created ivtv-svnversion.h
make[1]: Leaving directory `/var/tmp/portage/ivtv-0.4.0/work/ivtv-0.4.0/driver'
cc -I../driver -D_GNU_SOURCE -O2 -Wall   -c -o ivtvctl.o ivtvctl.c
cc -lm -o ivtvctl ivtvctl.o
install -d /var/tmp/portage/ivtv-0.4.0/image///usr/include/linux
install -m 0644 ../driver/ivtv.h
/var/tmp/portage/ivtv-0.4.0/image///usr/include/linux
install -d /var/tmp/portage/ivtv-0.4.0/image///usr/local/bin
install -m 0755 ivtvctl ivtvfbctl ivtvplay cx25840ctl ivtv-detect ivtv-radio
ivtv-tune/ivtv-tune ivtv-mpegindex ivtv-encoder 
/var/tmp/portage/ivtv-0.4.0/image///usr/local/bin
 * Installing ivtv module
 * Installing msp3400 module
 * Installing saa7115 module
 * Installing tveeprom module
 * Installing saa7127 module
 * Installing cx25840 module
 * Installing tuner module
 * Installing wm8775 module
 * Installing tda9887 module
cp: cannot stat `/usr/local/portage/media-tv/ivtv/files/ivtv': No such file or
directory
install: cannot stat `/var/tmp/portage/ivtv-0.4.0/temp/ivtv': No such file or
directory



2. ivtv_init_mpeg.bin (needed for initialising XV) is not copied to /lib/modules:
# ls -la /lib/modules/
total 708
drwxr-xr-x  3 root root   4096 Oct 10 09:52 .
drwxr-xr-x  7 root root   8192 Oct  8 11:19 ..
drwxr-xr-x  6 root root   4096 Oct 10 09:52 2.6.12-gentoo-r9
-rw-r--r--  1 root root  14264 Oct 10 09:52 HcwMakoA.ROM
-rw-r--r--  1 root root 262144 Oct 10 09:52 ivtv-fw-dec.bin
-rw-r--r--  1 root root 262144 Oct 10 09:52 ivtv-fw-enc.bin
-rw-r--r--  1 root root 155648 Oct  7 12:16 ivtv_init_mpeg.bin


3.
The applications like ivtvctl, ivtvfbctl, ivtvplay, etc. are installed into
/usr/local/bin instead of /usr/bin. I guess the Makefile should be edited or
something.

Thanks
Comment 2 Rutger Hendriks 2005-10-10 01:05:32 UTC
Aargh, sorry about point one, that is not a problem, I forgot to copy that file
into my overlay dir...
*checks the time, ah...morning still :P*
Comment 3 Rutger Hendriks 2005-10-10 01:46:13 UTC
Created attachment 70271 [details]
updated ebuild
Comment 4 Rutger Hendriks 2005-10-10 01:46:47 UTC
I have created an updated ebuild. It addresses all things mentioned above.
Additionally it adds support for ivtv-fb. That was also missing from the
ivtv-0.4.0 ebuild
There is one warning produced while emerging this updated ebuild:

>>> Install ivtv-0.4.0 into /var/tmp/portage/ivtv-0.4.0/image/ category media-tv
make -C ../driver ivtv-svnversion.h
make[1]: Entering directory `/var/tmp/portage/ivtv-0.4.0/work/ivtv-0.4.0/driver'
created ivtv-svnversion.h
make[1]: Leaving directory `/var/tmp/portage/ivtv-0.4.0/work/ivtv-0.4.0/driver'
cc -I../driver -D_GNU_SOURCE -O2 -Wall   -c -o ivtvctl.o ivtvctl.c
cc -lm -o ivtvctl ivtvctl.o
install -d /var/tmp/portage/ivtv-0.4.0/image///usr/include/linux
install -m 0644 ../driver/ivtv.h
/var/tmp/portage/ivtv-0.4.0/image///usr/include/linux
install -d /var/tmp/portage/ivtv-0.4.0/image///usr/bin
install -m 0755 ivtvctl ivtvfbctl ivtvplay cx25840ctl ivtv-detect ivtv-radio
ivtv-tune/ivtv-tune ivtv-mpegindex ivtv-encoder 
/var/tmp/portage/ivtv-0.4.0/image///usr/bin
 * Installing ivtv module
 * Installing ivtv-fb module
 * Preparing file for modules.d ...
dodoc: FB_DOCS does not exist                                                  
                          [ ok ]
 * Installing msp3400 module


I do not know what this dodoc: FB_DOCS means, but it does not seem to interfere
with anything.
Comment 5 Rutger Hendriks 2005-10-11 03:21:14 UTC
Cardoe I added you here, since you seem to be maintaining the ivtv ebuilds.

I found ivtv-0.4.0-r1 in portage today. It fixes some of the issues I mentioned
in this bug report, but not all.
ivtv-fb is fixed
ivtv_init_mpeg.bin is fixed

I noticed the ivtv* applications still get installed in /usr/local/bin. The make
install command that is used does not work like this.
Perhaps you could add these 2 lines right after the other sed in src_unpack:
    sed -e "s:^PREFIX = /usr/local:PREFIX = /usr:" \
        -i ${S}/utils/Makefile || die "sed failed"


Oh, and please add ~amd64 :)

Thanks
Comment 6 Luis Medinas (RETIRED) gentoo-dev 2005-10-12 09:41:56 UTC
Reassign to amd64-test@g.o
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2005-10-12 12:52:50 UTC
Before you even added me to this bug, I had already fixed everything.

It's just up to the amd64 people to add ~amd64.
Comment 8 Rutger Hendriks 2005-10-12 16:02:59 UTC
I haven't tested your newest ebuild yet, will do tomorrow probably. Thanks!

Now all side-effects are eliminated, we can indeed get back to why this bug was
created in the first place :)
Comment 9 Simon Stelling (RETIRED) gentoo-dev 2005-10-31 12:21:52 UTC
  14 Oct 2005; Doug Goldstein <cardoe@gentoo.org> ivtv-0.4.0-r2.ebuild:
  Re-adding ~amd64