Changeset 150 for diffs/smtube_1.7_GA.diff
- Timestamp:
- Nov 28, 2013, 12:52:06 PM (12 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
diffs/smtube_1.7_GA.diff
r144 r150 1 diff -Naur -x .svn vendor\current/build_os2.cmdtrunk/build_os2.cmd2 --- vendor\current/build_os2.cmd 1970-01-01 01:00:00.000000000 +01003 +++ trunk/build_os2.cmd 2013-06-05 16:22:26.000000000 +02004 @@ -0,0 +1,2 72@@1 diff -Naur -x '*.qm' -x geoip.dat -x conf.pri E:\trees\smtube\trunk\..\vendor\current/build_os2.cmd E:\trees\smtube\trunk/build_os2.cmd 2 --- E:\trees\smtube\trunk\..\vendor\current/build_os2.cmd 1970-01-01 01:00:00.000000000 +0100 3 +++ E:\trees\smtube\trunk/build_os2.cmd 2013-11-28 12:41:08.000000000 +0100 4 @@ -0,0 +1,288 @@ 5 5 +/* SMTube Build Script */ 6 6 +/* root done by Herwig Bauernfeind, enhanced by Silvan Scherrer */ … … 9 9 +/* version 0.1.0 from 23.05.2013 Silvan (first edition) */ 10 10 +/* version 0.1.1 from 05.06.2013 Silvan renamed readme files (happy birthday Justin) */ 11 +/* version 0.2.0 from 28.11.2013 Silvan added branding, added diff */ 11 12 + 12 13 +/* init the version string (don't forget to change) */ 13 +version = "0. 1.1"14 +version_date = " 05.06.2013"14 +version = "0.2.0" 15 +version_date = "28.11.2013" 15 16 +'@echo off' 16 17 + … … 25 26 +os2Dir = sourceDir || '\os2' 26 27 +srcDir = sourceDir || '\src' 28 +vendorDir = sourceDir || '\..\vendor\current' 29 +diffDir = sourceDir || '\..\' 27 30 +installDir = buildDir || '\install' 28 31 +installDirT= installDir || '\translations' … … 34 37 +/* get the SMTube version */ 35 38 +SMTube_version = '0.0.0' 39 +SMTube_build = '' 36 40 +call version 37 41 +internal_build = translate(SMTube_version, '_', '.') … … 40 44 +say title 41 45 +say 42 +say "Build directory :" buildDir46 +say "Build directory :" buildDir 43 47 +say "Source directory:" sourceDir 44 48 +say 45 +say "SMTube version:" SMTube_version 49 +say "SMTube version :" SMTube_version 50 +say " build :" SMTube_build 46 51 +say 47 52 + … … 52 57 + 53 58 +if command = "INSTALL" then do 54 + SMTube_build = option 59 + if option \== "" then do 60 + SMTube_build = option 61 + end 55 62 + select 56 63 + when SMTube_build \== "" then do … … 71 78 +end 72 79 + 80 +say "Executing command: "command option 81 + 73 82 +select 74 83 + when command = "MAKE" & option = "CLEAN" then do 75 + say "Executing command: "command option76 84 + 77 85 + say "cleaning the tree" … … 82 90 + end 83 91 + when command = "MAKE" then do 84 + say "Executing command: "command option85 92 + 86 93 + say "building svn_revision" … … 104 111 + 105 112 + when command = "INSTALL" then do 106 + say "Executing command: "command107 113 + 108 114 +/* first delete everything */ … … 150 156 + 151 157 + when command = "UNINSTALL" then do 152 + say "Executing command: "command153 158 + 154 159 + call deleteall 160 + 161 + end 162 + 163 + when command = "DIFF" then do 164 + 165 + address cmd 'diff -Naur ' || vendorDir || ' ' || sourceDir || ' -x *.qm -x geoip.dat -x conf.pri > ' || diffDir || 'smtube_' || SMTube_version || '_' || SMTube_build || '.diff' 155 166 + 156 167 + end … … 183 194 + 184 195 +qmake: 185 + address cmd 'qmake ' sourceDir ' 2>'qErrorFile' 1>'qOutFile196 + address cmd 'qmake ' sourceDir ' "APPLICATION_VERSION='SMTube_version'" 2>'qErrorFile' 1>'qOutFile 186 197 + qRC = RC 187 198 + if qRC <> 0 then do … … 247 258 + * reads the version.cpp and gets the SMTube version from there 248 259 + */ 249 +version: procedure expose SMTube_version srcDir260 +version: procedure expose SMTube_version SMTube_build srcDir 250 261 + 251 262 + SMTubeVer = ' ' … … 265 276 + end 266 277 + 278 + if SMTube_build == '' then do 279 + SMTube_build = 'GA' 280 + end 281 + 267 282 + return 268 283 + … … 272 287 + say " make debug" 273 288 + say " make clean" 274 + say " install version"289 + say " install build (build overwrites what this script finds)" 275 290 + say " uninstall" 291 + say " diff (creates a diff from vendor to trunk)" 276 292 +exit 255 277 diff -Naur -x .svn vendor\current/get_svn_revision.shtrunk/get_svn_revision.sh278 --- vendor\current/get_svn_revision.sh 2012-02-24 23:23:26.000000000 +0100279 +++ trunk/get_svn_revision.sh 2013-05-23 18:29:44.000000000 +0200293 diff -Naur -x '*.qm' -x geoip.dat -x conf.pri E:\trees\smtube\trunk\..\vendor\current/get_svn_revision.sh E:\trees\smtube\trunk/get_svn_revision.sh 294 --- E:\trees\smtube\trunk\..\vendor\current/get_svn_revision.sh 2012-02-24 23:23:26.000000000 +0100 295 +++ E:\trees\smtube\trunk/get_svn_revision.sh 2013-05-23 18:29:44.000000000 +0200 280 296 @@ -7,10 +7,14 @@ 281 297 test "$1" && extra="-$1" … … 293 309 OLD_REVISION=`cat src/svn_revision.h 2> /dev/null` 294 310 295 diff -Naur -x .svn vendor\current/os2/smtube_de.txttrunk/os2/smtube_de.txt296 --- vendor\current/os2/smtube_de.txt 1970-01-01 01:00:00.000000000 +0100297 +++ trunk/os2/smtube_de.txt 2013-05-27 16:30:32.000000000 +0200311 diff -Naur -x '*.qm' -x geoip.dat -x conf.pri E:\trees\smtube\trunk\..\vendor\current/os2/smtube_de.txt E:\trees\smtube\trunk/os2/smtube_de.txt 312 --- E:\trees\smtube\trunk\..\vendor\current/os2/smtube_de.txt 1970-01-01 01:00:00.000000000 +0100 313 +++ E:\trees\smtube\trunk/os2/smtube_de.txt 2013-05-27 16:30:32.000000000 +0200 298 314 @@ -0,0 +1,95 @@ 299 315 +SMTube _VERSION_ _BUILD_ README … … 392 408 + * erste Version 393 409 + 394 diff -Naur -x .svn vendor\current/os2/smtube_en.txttrunk/os2/smtube_en.txt395 --- vendor\current/os2/smtube_en.txt 1970-01-01 01:00:00.000000000 +0100396 +++ trunk/os2/smtube_en.txt 2013-05-27 16:30:54.000000000 +0200410 diff -Naur -x '*.qm' -x geoip.dat -x conf.pri E:\trees\smtube\trunk\..\vendor\current/os2/smtube_en.txt E:\trees\smtube\trunk/os2/smtube_en.txt 411 --- E:\trees\smtube\trunk\..\vendor\current/os2/smtube_en.txt 1970-01-01 01:00:00.000000000 +0100 412 +++ E:\trees\smtube\trunk/os2/smtube_en.txt 2013-05-27 16:30:54.000000000 +0200 397 413 @@ -0,0 +1,94 @@ 398 414 +SMTube _VERSION_ _BUILD_ README … … 490 506 +2013-05-23 491 507 + * first version 492 diff -Naur -x .svn vendor\current/os2/smtube_fr.txttrunk/os2/smtube_fr.txt493 --- vendor\current/os2/smtube_fr.txt 1970-01-01 01:00:00.000000000 +0100494 +++ trunk/os2/smtube_fr.txt 2013-05-28 12:53:00.000000000 +0200508 diff -Naur -x '*.qm' -x geoip.dat -x conf.pri E:\trees\smtube\trunk\..\vendor\current/os2/smtube_fr.txt E:\trees\smtube\trunk/os2/smtube_fr.txt 509 --- E:\trees\smtube\trunk\..\vendor\current/os2/smtube_fr.txt 1970-01-01 01:00:00.000000000 +0100 510 +++ E:\trees\smtube\trunk/os2/smtube_fr.txt 2013-05-28 12:53:00.000000000 +0200 495 511 @@ -0,0 +1,101 @@ 496 512 +SMTube _VERSION_ _BUILD_ LISEZMOI … … 597 613 +2013-05-23 598 614 + * Version initiale 599 diff -Naur -x .svn vendor\current/os2/smtube.icotrunk/os2/smtube.ico600 --- vendor\current/os2/smtube.ico 1970-01-01 01:00:00.000000000 +0100601 +++ trunk/os2/smtube.ico 2013-05-23 19:53:18.000000000 +0200615 diff -Naur -x '*.qm' -x geoip.dat -x conf.pri E:\trees\smtube\trunk\..\vendor\current/os2/smtube.ico E:\trees\smtube\trunk/os2/smtube.ico 616 --- E:\trees\smtube\trunk\..\vendor\current/os2/smtube.ico 1970-01-01 01:00:00.000000000 +0100 617 +++ E:\trees\smtube\trunk/os2/smtube.ico 2013-05-23 19:53:18.000000000 +0200 602 618 @@ -0,0 +1,62 @@ 603 619 +CI : … … 1117 1133 1118 1134 \ No newline at end of file 1119 diff -Naur -x .svn vendor\current/smtube.protrunk/smtube.pro1120 --- vendor\current/smtube.pro 1970-01-01 01:00:00.000000000 +01001121 +++ trunk/smtube.pro 2013-05-23 18:30:40.000000000 +02001135 diff -Naur -x '*.qm' -x geoip.dat -x conf.pri E:\trees\smtube\trunk\..\vendor\current/smtube.pro E:\trees\smtube\trunk/smtube.pro 1136 --- E:\trees\smtube\trunk\..\vendor\current/smtube.pro 1970-01-01 01:00:00.000000000 +0100 1137 +++ E:\trees\smtube\trunk/smtube.pro 2013-05-23 18:30:40.000000000 +0200 1122 1138 @@ -0,0 +1,5 @@ 1123 1139 +TEMPLATE = subdirs … … 1127 1143 +src.file=src/smtube.pro 1128 1144 \ No newline at end of file 1129 diff -Naur -x .svn vendor\current/src/main.cpptrunk/src/main.cpp1130 --- vendor\current/src/main.cpp 2013-01-12 01:03:30.000000000 +01001131 +++ trunk/src/main.cpp 2013-05-23 19:40:56.000000000 +02001145 diff -Naur -x '*.qm' -x geoip.dat -x conf.pri E:\trees\smtube\trunk\..\vendor\current/src/main.cpp E:\trees\smtube\trunk/src/main.cpp 1146 --- E:\trees\smtube\trunk\..\vendor\current/src/main.cpp 2013-01-12 01:03:30.000000000 +0100 1147 +++ E:\trees\smtube\trunk/src/main.cpp 2013-05-23 19:40:56.000000000 +0200 1132 1148 @@ -43,7 +43,7 @@ 1133 1149 } … … 1139 1155 #ifdef TRANSLATION_PATH 1140 1156 QString s = QString(TRANSLATION_PATH); 1141 diff -Naur -x .svn vendor\current/src/players.cpptrunk/src/players.cpp1142 --- vendor\current/src/players.cpp 2013-01-12 01:03:30.000000000 +01001143 +++ trunk/src/players.cpp 2013-05-23 18:40:32.000000000 +02001157 diff -Naur -x '*.qm' -x geoip.dat -x conf.pri E:\trees\smtube\trunk\..\vendor\current/src/players.cpp E:\trees\smtube\trunk/src/players.cpp 1158 --- E:\trees\smtube\trunk\..\vendor\current/src/players.cpp 2013-01-12 01:03:30.000000000 +0100 1159 +++ E:\trees\smtube\trunk/src/players.cpp 2013-05-23 18:40:32.000000000 +0200 1144 1160 @@ -25,11 +25,11 @@ 1145 1161 if (found) *found = true; … … 1156 1172 if (!fi.exists() || !fi.isExecutable() || fi.isDir()) { 1157 1173 qDebug("Player::exec: command: '%s' is not a valid executable", bin.toUtf8().constData()); 1158 diff -Naur -x .svn vendor\current/src/qtsingleapplication/qtlocalpeer.cpp trunk/src/qtsingleapplication/qtlocalpeer.cpp 1159 --- vendor\current/src/qtsingleapplication/qtlocalpeer.cpp 2012-03-05 14:25:32.000000000 +0100 1160 +++ trunk/src/qtsingleapplication/qtlocalpeer.cpp 2013-05-23 18:23:28.000000000 +0200 1161 @@ -48,7 +48,7 @@ 1162 typedef BOOL(WINAPI*PProcessIdToSessionId)(DWORD,DWORD*); 1163 static PProcessIdToSessionId pProcessIdToSessionId = 0; 1164 #endif 1165 -#if defined(Q_OS_UNIX) 1166 +#if defined(Q_OS_UNIX) || defined(Q_OS_OS2) 1167 #include <time.h> 1168 #include <unistd.h> 1169 #endif 1170 diff -Naur -x .svn vendor\current/src/smtube_os2.rc trunk/src/smtube_os2.rc 1171 --- vendor\current/src/smtube_os2.rc 1970-01-01 01:00:00.000000000 +0100 1172 +++ trunk/src/smtube_os2.rc 2013-05-23 19:46:54.000000000 +0200 1174 diff -Naur -x '*.qm' -x geoip.dat -x conf.pri E:\trees\smtube\trunk\..\vendor\current/src/smtube_os2.rc E:\trees\smtube\trunk/src/smtube_os2.rc 1175 --- E:\trees\smtube\trunk\..\vendor\current/src/smtube_os2.rc 1970-01-01 01:00:00.000000000 +0100 1176 +++ E:\trees\smtube\trunk/src/smtube_os2.rc 2013-05-23 19:46:54.000000000 +0200 1173 1177 @@ -0,0 +1 @@ 1174 1178 +ICON 1 DISCARDABLE "..\os2\smtube.ico" 1175 diff -Naur -x .svn vendor\current/src/smtube.protrunk/src/smtube.pro1176 --- vendor\current/src/smtube.pro 2013-05-03 23:03:38.000000000 +02001177 +++ trunk/src/smtube.pro 2013-05-23 19:47:44.000000000 +02001178 @@ -91,3 +91, 7@@1179 diff -Naur -x '*.qm' -x geoip.dat -x conf.pri E:\trees\smtube\trunk\..\vendor\current/src/smtube.pro E:\trees\smtube\trunk/src/smtube.pro 1180 --- E:\trees\smtube\trunk\..\vendor\current/src/smtube.pro 2013-05-03 23:03:38.000000000 +0200 1181 +++ E:\trees\smtube\trunk/src/smtube.pro 2013-11-28 11:55:12.000000000 +0100 1182 @@ -91,3 +91,11 @@ 1179 1183 win32 { 1180 1184 RC_FILE = smtube.rc … … 1183 1187 +os2 { 1184 1188 + RC_FILE = smtube_os2.rc 1189 + # define the vendor part 1190 + DEF_FILE_VENDOR = bww bitwise works GmbH 1191 + DEF_FILE_VERSION = $$APPLICATION_VERSION 1192 + DEF_FILE_DESCRIPTION = eCS (OS/2) port of SMTube 1185 1193 +}
Note:
See TracChangeset
for help on using the changeset viewer.