[mythtv] [RFC] New Win32 build script
lothar.subscribe at comcast.net
lothar.subscribe at comcast.net
Wed Dec 22 12:38:39 UTC 2010
>Date: Thu, 09 Dec 2010 15:53:12 +0100
>From: Lawrence Rust < lvr at softsystem.co.uk >
>Subject: [mythtv] [RFC] New Win32 build script
>To: mythtv-dev at mythtv.org
>Message-ID: <1291906392.1844.59.camel at gagarin>
>Content-Type: text/plain; charset="UTF-8"
>Since the change from svn to git, the existing Windows build script is
>broken. In this light and the fact that the mythfrontend produced by
>the current Perl script suffers from Qt compatibility issues with
>MythMusic then I decided to re-write it to support both native and
>hosted (cross compiled) builds. The result can be viewed here..
> http://www.softsystem.co.uk/download/mythtv/mythbuildw32
>There is an archive containing the script and its associated patches
>here:
> http://www.softsystem.co.uk/download/mythtv/mythbuildw32.zip
>The patches are in mythpatches and are organised in sub-directories, one
>per project. The mythplugins folder contains my previously announced
>patch for mythmusic to use libcdio to play & rip CD's. This patch is
>optional and can be deleted if desired.
>I would be most pleased if anyone can try this and let me know your
>experiences. If all goes well I'll submit it to Trac.
>Comments please...
>Cross compile on Linux
>----------------------
>- unzip -q -d mythbuildw32 mythbuildw32.zip
>- cd mythbuildw32
>- source ./mythbuildw32
>Now wait... By default, the script will checkout fixes/0.24 but this
>can be changed by setting BRANCH=[tag] before e.g.
>BRANCH=master source ./mythbuildw32
>The script creates a Windows installation in ./mythbuild/win32 and a zip
>installation archive in ./mythbuild/mythtv-w32.zip
>To run mythfrontend use wine e.g:
>export MYTHCONFDIR="H:/mythconf-wine"
>wine mythbuild/win32/mythfrontend.exe -w -geometry 1280x720
>Build on Windows
>----------------
>You'll need 2GB VM (physical preferably) and about 10GB disk.
>- Install the MinGW/Msys environment available here:
> http://sourceforge.net/projects/mingw/files/
>- Click: "Automated MinGW Installer" / "mingw-get-inst" ...
>- Download and run the installer. When prompted select:
>C++
>MSYS basic system
>MinGW Developer Toolkit
>- Copy mythbuildw32.zip to the Msys home folder e.g.
> C:\MinGW\msys\1.0\home\[username]
>- Right click the archive and select "Extract All..."
>- Start an Msys shell: Start/All Programs/MinGW/MinGW Shell
>- cd mythbuildw32
>- ./mythbuildw32
>The script creates a Windows installation in ./mythbuild/win32 and a zip
>installation archive in ./mythbuild/mythtv-w32.zip
>To run mythfrontend execute:
>. /mythbuild/win32/mythfrontend
>-- Lawrence Rust
First I wanted to say nice work with the Windows build script! I just built this under Windows 7 64-bit natively and everything I've tried so far (recording playback) works great. There were two things that I wanted to note though:
1) The Git tool installed to C:\Program Files (x86)\Git but the script was hard coded to look at C:\Program Files\Git. A quick update to the script fixed it (I don't know how to generate patches).
2) The mythfrontend application was found under C:\MinGW\msys\1.0\home\<user>\mythbuildw32\mythinstall\win32 not C:\MinGW\msys\1.0\home\<user>\mythbuild\win32\mythfrontend
Build time was overnight (I think 16+ hours) on my Intel C2D T5800 @ 2GHz laptop. I haven't tested it extensively yet but so far so good! Keep up the great work.
Kind regards,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20101222/b0361673/attachment.htm>
More information about the mythtv-dev
mailing list