[mythtv-commits] [MythTV/mythtv] 8899ca: Fixes and build script to cross compile mythtv for...

Aidan Brown noreply at github.com
Fri Sep 3 20:33:50 UTC 2021

  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 8899ca5fd6a1c66559e7defc62af6161789764da
  Author: Aidan Brown <arobro at hotmail.com>
  Date:   2021-09-03 (Fri, 03 Sep 2021)

  Changed paths:
    M mythtv/external/libmythdvdnav/dvdread/dvd_input.c
    M mythtv/libs/libmyth/libmyth.pro
    M mythtv/libs/libmythbase/compat.h
    M mythtv/libs/libmythbase/libmythbase.pro
    M mythtv/libs/libmythbase/mythcommandlineparser.cpp
    M mythtv/libs/libmythbase/mythmiscutil.cpp
    M mythtv/libs/libmythbase/mythmiscutil.h
    M mythtv/libs/libmythbase/mythsystemlegacy.cpp
    M mythtv/libs/libmythbase/mythsystemwindows.cpp
    M mythtv/libs/libmythmetadata/libmythmetadata.pro
    M mythtv/libs/libmythtv/captions/xine_demux_sputext.cpp
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/libs/libmythtv/libmythtv.pro
    M mythtv/libs/libmythtv/mythvideooutgpu.cpp
    M mythtv/libs/libmythui/libmythui.pro
    M mythtv/libs/libmythui/mythmainwindow.cpp
    M mythtv/libs/libmythui/platforms/mythdisplaywindows.cpp
    M mythtv/libs/libmythupnp/msocketdevice_win.cpp
    M mythtv/programs/mythbackend/encoderlink.cpp
    M mythtv/programs/mythbackend/main.cpp
    M mythtv/programs/mythbackend/services/channel.cpp
    M mythtv/programs/mythbackend/services/serviceUtil.cpp
    M mythtv/programs/programs-libs.pro
    M mythtv/programs/programs.pro
    M mythtv/settings.pro
    A platform/win32/w64-mingw32/Installer/1 Install Mythtv.cmd
    A platform/win32/w64-mingw32/Installer/2 Run MythFrontend & Backend.cmd
    A platform/win32/w64-mingw32/Installer/Run MythFrontend.cmd
    A platform/win32/w64-mingw32/Installer/Run MythTv Setup.cmd
    A platform/win32/w64-mingw32/MythBuild_MXE.sh
    A platform/win32/w64-mingw32/Patches/libexiv2.patch

  Log Message:
  Fixes and build script to cross compile mythtv for Windows (#382)

* Fixes and build script to cross compile mythtv using mingw

* Remove unused mythpainter header

The Windows build now supports opengl. The native directx video is no
longer working as the painter has refactored and the ffmpeg apis have

* Update mythtv/libs/libmythbase/mythcommandlineparser.cpp

Co-authored-by: Mark Spieth <mspieth at users.noreply.github.com>

* Remove unused stdlib header

* Add install prefix for mythplugins

Adding an install prefix to the windows build script for the

* define O_NONBLOCK

O_NONBLOCK is undefined for the mingw Windows build.

* Add TODO for Windows build

* Update SetPathname for Windows

SetPathname is working under Windows and does not need the conditional

* Custom usleep no longer required for Windows

The Windows build can compile without a custom usleep function.

* c++ defines not required on Windows build

The cplusplus defines are not required for the Windows build.

* Remove inline readdir_r for Windows

The inline readdir_r is causing compile errors and is no longer required
when using mingw.

* Add missing std::cerr for windows build

* Remove whitespace

* Update Wait for Windows build

The wait function now uses chrono instead of an integer.

* Fix MUI_PUBLIC define for Windows buid

Define MUI_API. This fixes the MUI_PUBLIC define in mythuiexp.h

* Fix threading model for Windows build

The threads can be disabled using disable-w32threads

* Add MUI_API define for windows build

Add MUI_API define for the mythplugins in the windows build.

* Fix whitespace

* Add missing std to endl function

* MUI_API define no longer required

The MUI_API define is no longer required for the windows build.
MythDialog has been updated and no longer uses this marking.

Co-authored-by: Mark Spieth <mspieth at users.noreply.github.com>

More information about the mythtv-commits mailing list