Ticket #4397: win32-packager.27.patch

File win32-packager.27.patch, 3.8 KB (added by Buzz <davidbuzz@…>, 11 years ago)

latest patch for win32-packager

  • win32-packager.pl

     
    4747                          # (included below). This is the last version that is
    4848                          # Qt 3 based. Qt 4 merges began immediately after.
    4949#my $SVNRELEASE = '17190'; # Recent 0-21-fixes
    50 my $SVNRELEASE = '17189'; # Recent trunk
     50my $SVNRELEASE = '17447'; # Recent trunk
    5151#my $SVNRELEASE = 'HEAD'; # If you are game, go forth and test the latest!
    5252
    5353
     
    727727set PATH=%QTDIR%\bin;%MINGW%\bin;%PATH%
    728728set QMAKESPEC=win32-g++
    729729cd %QTDIR%
    730 goto SMALL
     730rem goto SMALL
    731731
    732732rem This would do a full build:
    733733'.$dosmsys.'bin\yes | configure -plugin-sql-mysql -no-sql-sqlite -debug-and-release -fast -no-sql-odbc -no-qdbus
     
    10361036echo copying main QT dlls to build folder...
    10371037# mythtv probably needs the qt3 dlls at runtime:
    10381038cp '.$unixmsys.'qt-3.3.x-p8/lib/*.dll '.$unixmythtv.'build/bin
    1039 # mythtv probably needs the qt4 dlls at runtime:
    1040 cp '.$unixmsys.'qt-win-opensource-4.3.4/lib/*.dll '.$unixmythtv.'build/bin
     1039# mythtv needs the qt4 dlls at runtime:
     1040cp '.$unixmsys.'qt-win-opensource-src-4.3.4/lib/*.dll '.$unixmythtv.'build/bin
    10411041# qt mysql connection dll has to exist in a subfolder called sqldrivers:
    10421042echo Creating build-folder Directories...
    10431043# Assumptions
     
    10511051mkdir '.$unixmythtv.'/build/bin/sqldrivers
    10521052echo Copying QT plugin required dlls....
    10531053cp '.$unixmsys.'qt-3.3.x-p8/plugins/sqldrivers/libqsqlmysql.dll '.$unixmythtv.'build/bin/sqldrivers
    1054 cp '.$unixmsys.'qt-win-opensource-4.3.4/plugins/sqldrivers/qsqlmysql4.dll '.$unixmythtv.'build/bin/sqldrivers
     1054cp '.$unixmsys.'qt-win-opensource-src-4.3.4/plugins/sqldrivers/qsqlmysql4.dll '.$unixmythtv.'build/bin/sqldrivers
    10551055echo Copying ming and msys dlls to build folder.....
    10561056# pthread dlls and mingwm10.dll are copied from here:
    10571057cp /mingw/bin/*.dll '.$unixmythtv.'build/bin
     
    10591059cp /bin/msys-1.0.dll '.$unixmythtv.'build/bin
    10601060echo copying lib files...
    10611061mv '.$unixmythtv.'build/lib/*.dll '.$unixmythtv.'build/bin/
     1062mv '.$unixmythtv.'build/lib/mythtv/filters/*.dll '.$unixmythtv.'build/bin/
     1063
     1064# because the install process failes to copy the .mak file (needed by the plugins), we copy it manually.
     1065cp '.$unixmythtv.'mythtv/libs/libmyth/mythconfig.mak '.$unixmythtv.'build//include/mythtv/
     1066
    10621067touch '.$unixmythtv.'/build/package_flag
    10631068cp '.$unixmythtv.'gdb_*.bat '.$unixmythtv.'build/bin
    10641069cp '.$unixmythtv.'mythtv/contrib/Win32/debug/*.cmd '.$unixmythtv.'build/bin
     
    10661071],comment => 'write a script to install mythtv to build folder'],
    10671072
    10681073
    1069 # Create file to install myththemes
     1074# Create file to install mythplugins
    10701075[ always => [], write => [$mythtv.'setup_plugins.sh',
    10711076'#!/bin/bash
    10721077source '.$unixmythtv.'qt'.$qtver.'_env.sh
     
    12501255comment => 'hack mythconfig.mak'],
    12511256
    12521257## make
    1253 [ newer => [$mythtv.'mythplugins/mythmovies/mythmovies/libmythmovies.dll',
     1258[ newer => [$mythtv.'mythplugins/mythmovies/mythmovies/mythmovies.dll',
    12541259            $mythtv.'mythtv/last_build.txt'],
    12551260  shell => ['source '.$unixmythtv.'qt'.$qtver.'_env.sh',
    12561261            'cd '.$unixmythtv.'mythplugins', $parallelMake],
     
    12621267comment => 'make cleanup.pro'],
    12631268
    12641269## make install
    1265 [ newer => [$mythtv.'build/lib/mythtv/plugins/libmythmovies.dll',
    1266             $mythtv.'mythplugins/mythmovies/mythmovies/libmythmovies.dll'],
     1270[ newer => [$mythtv.'build/lib/mythtv/plugins/mythmovies.dll',
     1271            $mythtv.'mythplugins/mythmovies/mythmovies/mythmovies.dll'],
    12671272  shell => ['source '.$unixmythtv.'qt'.$qtver.'_env.sh',
    12681273            'cd '.$unixmythtv.'mythplugins','make install'],
    12691274comment => 'PLUGINS! make install' ],