| Summary: | ivtv-0.4.0 missing amd64 keyword | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Rutger Hendriks <loial> |
| Component: | Current packages | Assignee: | AMD64 Testing Team <amd64-test> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | amd64-test |
| Priority: | High | ||
| Version: | 2005.0 | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | updated ebuild | ||
|
Description
Rutger Hendriks
2005-10-10 00:43:18 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
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* Created attachment 70271 [details]
updated ebuild
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.
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
Reassign to amd64-test@g.o Before you even added me to this bug, I had already fixed everything. It's just up to the amd64 people to add ~amd64. 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 :) 14 Oct 2005; Doug Goldstein <cardoe@gentoo.org> ivtv-0.4.0-r2.ebuild: Re-adding ~amd64 |