Call for testers: MythTV 0.21 port upgrade

Craig Butler craig001 at
Sat Nov 1 04:13:32 PDT 2008

On Fri, 2008-10-31 at 16:05 -0400, Greg Larkin wrote:
> Hash: SHA1
> Hello everyone,
> I've been working on PR 126343
> ( to get MythTV
> upgraded to 0.21 on FreeBSD.
> At the moment, I have a port that compiles cleanly, installs, starts up
> the frontend and deinstalls correctly on 7.0.  Of course, whether it
> will actually record TV, playback, etc. is another matter altogether. :)
> Is anyone out there willing to test out the port upgrade? I have a
> mini-ITX PC here that could be set up for testing, but I need to get a
> capture card first, unless MythTV will work with a USB capture dongle.
> In the mean time, I've placed the ports tree patch here:
> If you're game, download it, cd to the top of your ports tree and run:
> patch -E < /patch/download/dir/mythtv-0.21.diff
> You should then remove the *.orig files in the multimedia/mythtv/files
> directory.
> Bug reports, port improvements and all feedback are welcome.  I've also
> adopted the port and hope to incorporate any suggestions sent my way.
> Thank you,
> Greg
> - --
> Greg Larkin
>       - The Power To Serve
> - Ready. Set. Code.
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla -
> yMQrVcbvgkLUgS8zK7NBcWc=
> =6+da
> _______________________________________________
> freebsd-ports at mailing list
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at"


I can test out the mythfrontend for you, my backend is a Linux box
running mythbackend with a dual dvb recorders....  

I have applied your patch and tried a build -- it failed, I got a
different build error than Torfinn;

cd libmythfreesurround && make -f Makefile
cd libmythupnp && make -f Makefile
sh -c "echo 'const char *myth_source_version ='
'\"'`(svnversion /usr/ports/multimedia/mythtv/work/mythtv-0.21
2>/dev/null) || echo Unknown`'\";' >" ; sh -c "echo 'const
char *myth_source_path =' '\"'`echo ": " | sed
-e 's,.*/svn/,,' -e 's,/mythtv/version\.pro.*,,'`'\";' >>" ;
sh -c "echo 'const char *myth_binary_version =' '\""0.21.20080304-1"\";'
>>" ; sh -c "diff version.cpp > .vers.diff 2>&1 ; if
test -s .vers.diff ; then mv -f version.cpp ; fi ; rm
-f .vers.diff"
g++ -c -pipe -march=i586 -fomit-frame-pointer -O3 -g -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor
-D__STDC_CONSTANT_MACROS -I/usr/local/include/artsc -D_REENTRANT
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DPIC
-DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g
++ -I. -I../../../../../../../local/include
-I../../../../../../../local/include -I../libmyth -I../..
-I../../../../../../../local/include -I/usr/local/include -o version.o
rm -f
g++ -Wl,-rpath,/usr/local/lib  -Wl,-rpath,/usr/local/lib -pthread
-shared -Wl,-soname, -o
version.o  httprequest.o  upnp.o  ssdp.o  taskqueue.o  upnputil.o
upnpdevice.o  upnptasknotify.o  upnptasksearch.o  threadpool.o
httpserver.o  upnpcds.o  upnpcdsobjects.o  bufferedsocketdevice.o
eventing.o  upnpcmgr.o  upnpmsrr.o  upnptaskevent.o  ssdpcache.o
configuration.o  soapclient.o  mythxmlclient.o  darwin-sendfile.o
moc_ssdpcache.o  -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib
-lfreetype -lz -lmp3lame -lartsc -D_THREAD_SAFE -pthread -lgmodule-2.0
-lgthread-2.0 -lglib-2.0 -liconv -lXinerama -lXv -lXxf86vm -lXrandr
-lqt-mt -lXext -lX11 -lm 
ln -s
ln -s
ln -s
cd libmythui && make -f Makefile
cd libmyth && make -f Makefile
g++ -c -pipe -march=i586 -fomit-frame-pointer -O3 -g -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor
-D__STDC_CONSTANT_MACROS -I/usr/local/include/artsc -D_REENTRANT
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DPIC
-DLIBDIR=\"/usr/local/lib\" -DUSING_OSS -DUSE_ARTS -DUSING_X11
-DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I.
-I../../../../../../../local/include -I../libmythsamplerate
-I../libmythsoundtouch -I../libmythfreesurround -I../libavcodec
-I../libavutil -I../.. -I.. -I. -I../../../../../../../local/include
-I/usr/local/include -o audiooutputbase.o audiooutputbase.cpp
In file included from audiooutputdigitalencoder.h:5,
                 from audiooutputbase.cpp:19:
../../../../../../../local/include/libavcodec/avcodec.h:2353: warning:
'ImgReSampleContext' is deprecated (declared
at ../../../../../../../local/include/libavcodec/avcodec.h:2347)
../../../../../../../local/include/libavcodec/avcodec.h:2363: warning:
'ImgReSampleContext' is deprecated (declared
at ../../../../../../../local/include/libavcodec/avcodec.h:2347)
audiooutputbase.cpp: In member function 'virtual void
AudioOutputBase::Reconfigure(int, int, int, bool, void*)':
audiooutputbase.cpp:360: error: 'codec_id_string' was not declared in
this scope
*** Error code 1

Stop in /usr/ports/multimedia/mythtv/work/mythtv-0.21/libs/libmyth.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv/work/mythtv-0.21/libs.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv/work/mythtv-0.21.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv.

I am running 7.0-STABLE FreeBSD 7.0-STABLE /GENERIC  i386

Keep up the good work it will be nice to use 0.21 now as 0.20 is some
what dated...


Craig B

More information about the freebsd-ports mailing list