Ticket #4397: win32-packager.27.patch
File win32-packager.27.patch, 3.8 KB (added by , 16 years ago) |
---|
-
win32-packager.pl
47 47 # (included below). This is the last version that is 48 48 # Qt 3 based. Qt 4 merges began immediately after. 49 49 #my $SVNRELEASE = '17190'; # Recent 0-21-fixes 50 my $SVNRELEASE = '17 189'; # Recent trunk50 my $SVNRELEASE = '17447'; # Recent trunk 51 51 #my $SVNRELEASE = 'HEAD'; # If you are game, go forth and test the latest! 52 52 53 53 … … 727 727 set PATH=%QTDIR%\bin;%MINGW%\bin;%PATH% 728 728 set QMAKESPEC=win32-g++ 729 729 cd %QTDIR% 730 goto SMALL730 rem goto SMALL 731 731 732 732 rem This would do a full build: 733 733 '.$dosmsys.'bin\yes | configure -plugin-sql-mysql -no-sql-sqlite -debug-and-release -fast -no-sql-odbc -no-qdbus … … 1036 1036 echo copying main QT dlls to build folder... 1037 1037 # mythtv probably needs the qt3 dlls at runtime: 1038 1038 cp '.$unixmsys.'qt-3.3.x-p8/lib/*.dll '.$unixmythtv.'build/bin 1039 # mythtv probablyneeds the qt4 dlls at runtime:1040 cp '.$unixmsys.'qt-win-opensource- 4.3.4/lib/*.dll '.$unixmythtv.'build/bin1039 # mythtv needs the qt4 dlls at runtime: 1040 cp '.$unixmsys.'qt-win-opensource-src-4.3.4/lib/*.dll '.$unixmythtv.'build/bin 1041 1041 # qt mysql connection dll has to exist in a subfolder called sqldrivers: 1042 1042 echo Creating build-folder Directories... 1043 1043 # Assumptions … … 1051 1051 mkdir '.$unixmythtv.'/build/bin/sqldrivers 1052 1052 echo Copying QT plugin required dlls.... 1053 1053 cp '.$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/sqldrivers1054 cp '.$unixmsys.'qt-win-opensource-src-4.3.4/plugins/sqldrivers/qsqlmysql4.dll '.$unixmythtv.'build/bin/sqldrivers 1055 1055 echo Copying ming and msys dlls to build folder..... 1056 1056 # pthread dlls and mingwm10.dll are copied from here: 1057 1057 cp /mingw/bin/*.dll '.$unixmythtv.'build/bin … … 1059 1059 cp /bin/msys-1.0.dll '.$unixmythtv.'build/bin 1060 1060 echo copying lib files... 1061 1061 mv '.$unixmythtv.'build/lib/*.dll '.$unixmythtv.'build/bin/ 1062 mv '.$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. 1065 cp '.$unixmythtv.'mythtv/libs/libmyth/mythconfig.mak '.$unixmythtv.'build//include/mythtv/ 1066 1062 1067 touch '.$unixmythtv.'/build/package_flag 1063 1068 cp '.$unixmythtv.'gdb_*.bat '.$unixmythtv.'build/bin 1064 1069 cp '.$unixmythtv.'mythtv/contrib/Win32/debug/*.cmd '.$unixmythtv.'build/bin … … 1066 1071 ],comment => 'write a script to install mythtv to build folder'], 1067 1072 1068 1073 1069 # Create file to install myth themes1074 # Create file to install mythplugins 1070 1075 [ always => [], write => [$mythtv.'setup_plugins.sh', 1071 1076 '#!/bin/bash 1072 1077 source '.$unixmythtv.'qt'.$qtver.'_env.sh … … 1250 1255 comment => 'hack mythconfig.mak'], 1251 1256 1252 1257 ## make 1253 [ newer => [$mythtv.'mythplugins/mythmovies/mythmovies/ libmythmovies.dll',1258 [ newer => [$mythtv.'mythplugins/mythmovies/mythmovies/mythmovies.dll', 1254 1259 $mythtv.'mythtv/last_build.txt'], 1255 1260 shell => ['source '.$unixmythtv.'qt'.$qtver.'_env.sh', 1256 1261 'cd '.$unixmythtv.'mythplugins', $parallelMake], … … 1262 1267 comment => 'make cleanup.pro'], 1263 1268 1264 1269 ## 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'], 1267 1272 shell => ['source '.$unixmythtv.'qt'.$qtver.'_env.sh', 1268 1273 'cd '.$unixmythtv.'mythplugins','make install'], 1269 1274 comment => 'PLUGINS! make install' ],