﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
9374	[PATCH] New build script for Windows	Lawrence Rust <lvr@…>		"Following the move to git and other changes the current Perl based packager for Windows no longer builds a top of tree or latest fixes branch.  In addition the stability of the product is questionable with a number of runtime errors being detected by Qt that are not otherwise observed on other platforms.

This script and associated patches add the following features:[[BR]]
- Cross compile on Linux or build native on Windows XP or later.[[BR]]
- Windows platform prerequisites are just Msys which is a simple download and install.[[BR]]
- Linux prerequisites are just the mingw cross compiler.[[BR]]
- Easily switch between debug and release builds.[[BR]]
- Easily switch between master and fixes branches.[[BR]]
- Patches are held in a separate folder, not embedded in the script, allowing easy customisation.[[BR]]
- Easy adaptation to updated libraries and patches.[[BR]]

The attached archive contains the bash build script and a mythpatches folder. The  folder is arranged by library/component.  The following patches are required to Mythtv;[[BR]]
- mythtv-0.24/10-d3d9.diff: Fix direct3d9 gui/video rendering. Ticket #9241.
- mythtv-0.24/20-videofiles-win32.diff: Fix playback of video files with a : in the path[[BR]]
- mythplugins-0.24/10-win32xbuild.diff: Patch to ./configure required to cross compile.[[BR]]
- mythplugins-0.24/20-mythmusic-cdio.diff: Play/rip music CD's on Windows.

The remaining patches are to external libraries and are required for the build."	Patch - Feature	closed	minor	unknown	Ports - Windows	Unspecified	medium	Won't Fix	Build script packager windows		0
