[mythtv] [PATCH] Win32 frontend support
Ian Caulfield
imc25 at cam.ac.uk
Mon Jan 19 15:11:13 EST 2004
This patch should allow mythfrontend to run under Windows using cygwin.
Please could people test this, both on Windows systems and to check that it
doesn't break the build on Linux machines.
The most significant change I've made is to move the definition of the
gContext variable into libmyth - this is necessary in order to allow
compilation under windows, and I don't think it should affect Linux users.
Please correct me if I'm wrong.
Current issues:
- no volume control
- surround sound may or may not work properly
- A/V sync currently doesn't work very well
- not sure the themes are all working properly
Rough installation instructions are below.
Thanks,
Ian
Requirements:
cygwin
qt3-win32 (available from http://kde-cygwin.sourceforge.net/qt3-win32/ )
mysql, freetype, lamemp3 etc
DirectX
First thing that needs doing is getting qt to compile. Sources are
available via sourceforge CVS - details are at
http://kde-cygwin.sourceforge.net/qt3-win32 . The attached file qt.diff
should fix a couple of bugs I found with this port. On the qt3-win32 page,
it's stated that gcc2 is required to build the qt library - however myth
won't work with this version. In order to get qt to compile on gcc3, a
patch to ld is needed, available here:
http://kde-cygwin.sourceforge.net/snapshots/ld-gcc3.2-const-var-patch.tar.b
z2 . Note that this patch is only available for gcc3.2, not gcc3.3.
When configuring qt, it is important to turn on sql support, multithreading
and jpeg support. The config command line I used is:
./configure -platform cygwin-g++ -plugin-imgfmt-mng -qt-imgfmt-jpeg -no-stl
-system-zlib -qt-gif -system-libpng -system-libjpeg -qt-libmng
-no-g++-exceptions -no-xft -no-xkb -disable-opengl -no-sm -no-xrender
-thread -qt-sql-mysql
When qt is built, the attached patch file win.diff should be applied to a
CVS checkout of mythtv. The audiooutputdx files should be placed in
libs/libmyth, and the videooutput_dx files in libs/libmythtv.
To enable the win32 support, the settings.pro file should be edited
appropriately.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win32.tar.gz
Type: application/x-gzip
Size: 27294 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040119/2668bcf6/win32.tar.bin
More information about the mythtv-dev
mailing list