Opened 11 years ago

Closed 4 years ago

#11591 closed Patch - Bug Fix (Won't Fix)

mingw build fixes

Reported by: Mark Spieth Owned by:
Priority: minor Milestone: unknown
Component: Ports - Windows Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by Mark Spieth)

This patch set allows packaging/Win32 to build mythfrontend master on windows for windows with mingw. 32 bit XP has been tested.

Apply patches in any order.

Follow packaging/Win32/mythbuild.sh instructions on installing mingw.

Problems I have found building include

  • build hangs (ctrl-C aborts and restart
  • defunct processes (cant kill, use killdefunctor.pl in another term)

Helper scripts:

  • run.sh is a sample with env variables so that git can find a local repo to clone from (with any stg or other private patches)
  • killdefunctor.pl will kill any defunct processes which wont go away by themselves.

MYTHGIT env variable is the base of the repos and contains packahing and mythtv amongst others.

Any unavailable package versions please post and mythbuild.sh patch will be updated.

Attachments (7)

packaging.patches.20130611.mingw (6.9 KB) - added by Mark Spieth 11 years ago.
mythtv.patches.20130611.win32-path (1.3 KB) - added by Mark Spieth 11 years ago.
mythtv.patches.20130611.win32-tool-path (2.6 KB) - added by Mark Spieth 11 years ago.
run.sh (100 bytes) - added by Mark Spieth 11 years ago.
killdefunctor.pl (1.5 KB) - added by Mark Spieth 11 years ago.
packaging.patches.20130623.mingw (10.1 KB) - added by Mark Spieth 11 years ago.
mythtv.patches.20130623.mingw-fixes (5.8 KB) - added by Mark Spieth 11 years ago.

Download all attachments as: .zip

Change History (11)

Changed 11 years ago by Mark Spieth

Changed 11 years ago by Mark Spieth

Changed 11 years ago by Mark Spieth

Changed 11 years ago by Mark Spieth

Attachment: run.sh added

Changed 11 years ago by Mark Spieth

Attachment: killdefunctor.pl added

comment:1 Changed 11 years ago by Mark Spieth

Description: modified (diff)

Changed 11 years ago by Mark Spieth

Changed 11 years ago by Mark Spieth

comment:2 Changed 11 years ago by Mark Spieth

Update to patches for mingw32.

mythbuild.sh new opts -q (noask) and -Q (loop qt build until successful, due to VM alloc issues in mingw32)

Built on XP32 with 4G ram and WIN7-64 with 8G ram.

Does not build correctly with 2G ram. Not sure about which combos work.

before qt build, rename or ln -s in patches qt-everywhere-opensource-src-4.8.1 to qt-everywhere-opensource-src-4.8.4 after untarred in another window while the build is still running. Note ln -s on msys does a copy, it is not really linked.

As before, apply mingw patches manually on a unpatched tree.

Version 0, edited 11 years ago by Mark Spieth (next)

comment:3 Changed 8 years ago by Karl Egly

Component: MythTV - GeneralPorts - Windows

comment:4 Changed 4 years ago by Stuart Auchterlonie

Resolution: Won't Fix
Status: newclosed

Closing out old tickets. Windows port is unmaintained

Note: See TracTickets for help on using tickets.