Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Nov 2008 11:02:07 +0000
From:      Craig Butler <craig001@lerwick.hopto.org>
To:        glarkin@FreeBSD.org
Cc:        freebsd-multimedia@freebsd.org, grog@FreeBSD.org, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: Call for testers: MythTV 0.21 port upgrade
Message-ID:  <1225537327.6398.12.camel@main.lerwick.hopto.org>
In-Reply-To: <490B64FC.60608@FreeBSD.org>
References:  <490B64FC.60608@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 2008-10-31 at 16:05 -0400, Greg Larkin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello everyone,
> 
> I've been working on PR 126343
> (http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/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:
> 
> http://people.freebsd.org/~glarkin/diffs/mythtv-0.21.diff
> 
> 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
> 
> http://www.FreeBSD.org/       - The Power To Serve
> http://www.sourcehosting.net/ - Ready. Set. Code.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFJC2T80sRouByUApARAjdnAKCXu7H+DYfVQUvGC8SNcZaCJxxFxQCgqM/Q
> yMQrVcbvgkLUgS8zK7NBcWc=
> =6+da
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"


Greg,

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`'\";' > .vers.new" ; sh -c "echo 'const
char *myth_source_path =' '\"'`echo ":
http://svn.mythtv.org/svn/tags/release-0-21/mythtv/version.pro " | sed
-e 's,.*/svn/,,' -e 's,/mythtv/version\.pro.*,,'`'\";' >> .vers.new" ;
sh -c "echo 'const char *myth_binary_version =' '\""0.21.20080304-1"\";'
>> .vers.new" ; sh -c "diff .vers.new version.cpp > .vers.diff 2>&1 ; if
test -s .vers.diff ; then mv -f .vers.new version.cpp ; fi ; rm
-f .vers.new .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
-fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
-DLIBDIR=\"/usr/local/lib\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-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
version.cpp
rm -f libmythupnp-0.21.so.0.21.0 libmythupnp-0.21.so
libmythupnp-0.21.so.0 libmythupnp-0.21.so.0.21
g++ -Wl,-rpath,/usr/local/lib  -Wl,-rpath,/usr/local/lib -pthread
-shared -Wl,-soname,libmythupnp-0.21.so.0 -o libmythupnp-0.21.so.0.21.0
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 libmythupnp-0.21.so.0.21.0 libmythupnp-0.21.so
ln -s libmythupnp-0.21.so.0.21.0 libmythupnp-0.21.so.0
ln -s libmythupnp-0.21.so.0.21.0 libmythupnp-0.21.so.0.21
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
-fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
-DLIBDIR=\"/usr/local/lib\" -DUSING_OSS -DUSE_ARTS -DUSING_X11
-DUSING_XRANDR -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
-DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I.
-I../../../../../../../local/include
-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...

Regards

Craig B




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1225537327.6398.12.camel>