Available for testing: Kbtv -- KDE TV viewer for bktr

Danny Pansters danny at ricin.com
Thu Nov 3 09:16:16 PST 2005


(forgot to CC multimedia@, here goes)

On Wednesday 2 November 2005 10:25, you wrote:
> > FreeBSD 6.0-RC1 #1: Fri Oct 28 10:49:49 EEST 2005 and today ports.
> >
> > While make'ing the port:
> >
> > ===>  Installing for py24-kde-4.0.0_2
> > ===>   py24-kde-4.0.0_2 depends on executable: pyuic - found
> > ===>   py24-kde-4.0.0_2 depends on file: /usr/local/bin/python2.4 -
> > found ===>   py24-kde-4.0.0_2 depends on file: /usr/X11R6/bin/moc -
> > found ===>   Generating temporary packing list
> > ===>  Checking if x11-toolkits/py-kde already installed
> > ..........
> > cp -f contrib/kdepyuic /usr/local/bin/kdepyuic
> > ( install  -o root -g wheel -m
> > 555
> > /usr/ports/x11-toolkits/py-kde/work/PyKDE-snapshot20050829/contrib/kdepyu
> >ic var/ports/kbtv/bin &&  /usr/local/bin/python2.4 -c "import
> > pykdeconfig, dcopexport" &&  /usr/local/bin/python2.4 -O -c "import
> > pykdeconfig, dcopexport" ) Traceback (most recent call last): File
> > "<string>", line 1, in ? ImportError: No module named pykdeconfig ***
> > Error code 1
> >
> > Stop in /usr/ports/x11-toolkits/py-kde.
> > *** Error code 1
>
> After running make in /usr/ports/x11-toolkits/py-kde and I chose
> default options it installed OK.

This is, I believe, a common problem with some python ports that really need 
to be installed in PYTHON_SITELIBDIR. It's hard to make them respect 
nonstandard pefixes, unless you do something like putting a .pth file in 
PYTHON_SITELIBDIR that points to the actual location (and so provides a path 
for python). IMO that only makes things worse, because then the port installs 
something in a completely different place from the nonstandard prefix. 

> However:
>  > /var/ports/kbtv/bin/kbtv
>
> Traceback (most recent call last):
>   File "kbtv.py", line 428, in ?
>     btc = BTControl()
>   File "/var/ports/kbtv/share/apps/kbtv/btcontrol.py", line 115, in
> __init__ self.probeTuner()
>   File "/var/ports/kbtv/share/apps/kbtv/btcontrol.py", line 146, in
> probeTuner vsrc = int(__btcontrol_get__("videosource"))
> ValueError: invalid literal for int(): btcontrol: not found
>
>
> Note that I've build with PREFIX=/var/ports/kbtv

You're using a non-i386 box, right? This is due to a bug in btcontrol.c. I 
forgot to include <sys/param.h>. I just uploaded a new tarball alpha2 (note 
that the port changed as well).

Thanks very much for testing!



More information about the freebsd-multimedia mailing list