Changeset 37388
- Timestamp:
- 2023-03-02T19:02:41+13:00 (3 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/kits/rk2/ant-scripts/mojave-compile.xml
r35605 r37388 6 6 <if><bool><equals arg1="${post.2.83.version}" arg2="true"/></bool> 7 7 <exec executable="svn"> 8 <arg value="checkout"/> 8 <arg line="${global-svn-args}"/> 9 <arg value="checkout"/> 9 10 <arg value="${svn.root}/main/${branch.path}/greenstone2"/> 10 11 <arg value="${basedir}/compiled"/> … … 12 13 <else> 13 14 <exec executable="svn"> 14 <arg value="checkout"/> 15 <arg line="${global-svn-args}"/> 16 <arg value="checkout"/> 15 17 <arg value="${svn.root}/main/${branch.path}/gsdl"/> 16 18 <arg value="${basedir}/compiled"/> … … 20 22 21 23 <exec executable="svn"> 24 <arg line="${global-svn-args}"/> 22 25 <arg value="checkout"/> 23 26 <arg value="${svn.root}/main/${branch.path}/gli"/> … … 59 62 <echo>EXPORTING GNOME LIB EXTENSION</echo> 60 63 <exec executable="svn"> 64 <arg line="${global-svn-args}"/> 61 65 <arg value="export"/> 62 66 <arg value="${svn.root}/gs2-extensions/gnome-lib/trunk/gnome-lib-minimal-${specific.os.type}${arch}${extension-x64}.tar.gz"/> … … 111 115 112 116 <unzip src="${basedir}/compiled/common-src/packages/windows/stlport/stlport.zip" dest="${basedir}/compiled/common-src/packages/windows/stlport"/> 113 <unzip src="${basedir}/compiled/common-src/indexers/packages/windows/iconv/iconv- PRE-VS14.zip" dest="${basedir}/compiled/common-src/indexers/packages/windows/iconv"/>117 <unzip src="${basedir}/compiled/common-src/indexers/packages/windows/iconv/iconv-VS14-PLUS.zip" dest="${basedir}/compiled/common-src/indexers/packages/windows/iconv"/> 114 118 <untar src="${basedir}/compiled/common-src/packages/sqlite/sqlite-autoconf-3070602.tar.gz" dest="${basedir}/compiled/common-src/packages/sqlite" compression="gzip"/> 115 119 … … 118 122 <if><bool><equals arg1="${post.2.83.version}" arg2="true"/></bool> 119 123 120 <exec executable="svn"> 124 <exec executable="svn"> 125 <arg line="${global-svn-args}"/> 121 126 <arg value="export"/> 122 127 <arg value="${svn.root}/main/${branch.path}/binaries/windows/bin"/> … … 128 133 <else> 129 134 <exec executable="svn"> 130 <arg value="export"/> 135 <arg line="${global-svn-args}"/> 136 <arg value="export"/> 131 137 <arg value="${svn.root}/main/trunk/binaries/windows/bin"/> 132 138 <arg value="${basedir}/compiled/bin/windows"/> … … 177 183 <!-- linux only --> 178 184 <else><if><bool><equals arg1="${rk.os}" arg2="linux"/></bool> 179 <!-- add static to configure.in --> 180 <rsr file="${basedir}/compiled/configure.in" pattern="^LDFLAGS=.*$" replacement="LDFLAGS=-static"/> 185 <if><bool><equals arg1="${x64}" arg2="false"/></bool> 186 <!-- add static to configure.in, but not for x64. Why?? --> 187 <echo>********* adding -static to compiled/configure.in</echo> 188 <rsr file="${basedir}/compiled/configure.in" pattern="^LDFLAGS=.*$" replacement="LDFLAGS=-static"/> 189 <!-- set environment in packages/configure --> 190 <rsr file="${basedir}/compiled/common-src/packages/configure" pattern="^ENVIRONMENT=.*$" replacement="ENVIRONMENT="LDFLAGS=-static""/> 191 <rsr file="${basedir}/compiled/build-src/packages/configure" pattern="^ENVIRONMENT=.*$" replacement="ENVIRONMENT="LDFLAGS=-static""/> 192 193 </if> 181 194 <exec dir="${basedir}/compiled" executable="autoconf" output="${basedir}/compiled/configure"> 182 195 <arg value="configure.in"/> 183 196 </exec> 184 197 185 <!-- set environment in packages/configure -->186 <rsr file="${basedir}/compiled/common-src/packages/configure" pattern="^ENVIRONMENT=.*$" replacement="ENVIRONMENT="LDFLAGS=-static""/>187 <rsr file="${basedir}/compiled/build-src/packages/configure" pattern="^ENVIRONMENT=.*$" replacement="ENVIRONMENT="LDFLAGS=-static""/>188 198 189 199 <!-- run configure --> … … 207 217 <rsr file="${basedir}/compiled/build-src/packages/rtftohtml/rtftohtml_src/Makefile" pattern="(-o rtftohtml.{2}EXEEXT.{1})" replacement="$1 -static"/> 208 218 209 <!-- mac only --> 219 <!-- this bit from the lin32 compile--> 220 <if><bool><equals arg1="${x64}" arg2="false"/></bool> 221 <echo>******** modifying wget Makefile for linux 32</echo> 222 <rsr file="${basedir}/compiled/build-src/packages/wget/wget-1.17.1-gs/src/Makefile" pattern="^LDFLAGS =(.*) -static(.*)$" replacement="LDFLAGS = $1 $2"/> 223 </if> 224 <!-- mac only --> 210 225 <else><if><bool><equals arg1="${rk.os}" arg2="mac"/></bool> 211 226 <!-- run configure --> … … 274 289 </if> 275 290 291 <!-- in mac and linux 64 bit versions, we copy IsisGdl from caveat-emptor. However, now that it compiles under 64 bit, I don't think we need to do that anymore.--> 292 276 293 <!-- Delete all but the lib folder and the setup.bash script of the gnome support library --> 277 294 <if><bool><and> … … 404 421 <if><bool><equals arg1="${post.2.83.version}" arg2="true"/></bool> 405 422 <!--<if><bool><equals arg1="${x64}" arg2="true"/></bool>--> 406 <exec executable="svn"> 423 <exec executable="svn"> 424 <arg line="${global-svn-args}"/> 407 425 <arg value="export"/> 408 426 <arg value="${svn.root}/gs2-extensions/imagemagick/trunk/imagemagick-linux${extension-x64}.tar.gz"/> … … 420 438 <!--<else> 421 439 <exec executable="svn"> 440 <arg line="${global-svn-args}"/> 422 441 <arg value="export"/> 423 442 <arg value="${svn.root}/main/${branch.path}/binaries/linux/imagemagick"/> … … 429 448 <delete dir="compiled/bin/linux/wv"/> 430 449 <exec executable="svn"> 450 <arg line="${global-svn-args}"/> 431 451 <arg value="export"/> 432 452 <arg value="${svn.root}/main/trunk/binaries/linux/imagemagick"/> … … 435 455 436 456 <exec executable="svn"> 457 <arg line="${global-svn-args}"/> 437 458 <arg value="export"/> 438 459 <arg value="${svn.root}/main/trunk/binaries/linux/wv"/> … … 461 482 462 483 <!--<exec executable="svn"> 484 <arg line="${global-svn-args}"/> 463 485 <arg value="export"/> 464 486 <arg value="${svn.root}/gs2-extensions/imagemagick/trunk/imagemagick-darwin-10.5.tar.gz"/> … … 502 524 <!-- 503 525 <exec executable="svn"> 526 <arg line="${global-svn-args}"/> 504 527 <arg value="export"/> 505 528 <arg value="${svn.root}/main/${branch.path}/binaries/mac/intel/imagemagick"/> … … 508 531 --> 509 532 <exec executable="svn"> 533 <arg line="${global-svn-args}"/> 510 534 <arg value="export"/> 511 535 <arg value="${svn.root}/main/${branch.path}/binaries/mac/intel/ghostscript"/> … … 514 538 515 539 <else> 516 <exec executable="svn"> 540 <exec executable="svn"> 541 <arg line="${global-svn-args}"/> 517 542 <arg value="export"/> 518 543 <arg value="${svn.root}/main/trunk/binaries/mac/intel/imagemagick"/> … … 521 546 522 547 <exec executable="svn"> 548 <arg line="${global-svn-args}"/> 523 549 <arg value="export"/> 524 550 <arg value="${svn.root}/main/trunk/binaries/mac/intel/ghostscript"/> … … 550 576 <env key="GSDLCOLLECTDIR" path="${basedir}/compiled/collect"/> 551 577 <env key="GSDLOS" value="windows"/> 578 <env key="PERL_PERTURB_KEYS" value="0"/> 579 <env key="PERL_HASH_SEED" value="0"/> 552 580 <env key="PATH" path="${basedir}/compiled/bin/windows/perl/bin:${basedir}/compiled/bin/windows:${basedir}/compiled/bin/script:${env.PATH}"/> 553 581 </exec> … … 555 583 <arg line="-S"/> 556 584 <arg line="bin/script/buildcol.pl demo"/> 585 <env key="PERL_PERTURB_KEYS" value="0"/> 586 <env key="PERL_HASH_SEED" value="0"/> 557 587 <env key="GSDLHOME" path="${basedir}/compiled"/> 558 588 <env key="GSDLCOLLECTDIR" path="${basedir}/compiled/collect"/> … … 602 632 <get src="${svn.root}/main/${branch.path}/binaries/windows/bin/gssetup.exe" dest="compiled/bin/windows/gssetup.exe"/>--> 603 633 <exec executable="svn"> 634 <arg line="${global-svn-args}"/> 604 635 <arg value="export"/> 605 636 <arg value="${svn.root}/main/${branch.path}/binaries/windows/bin/Setup.exe"/> … … 607 638 </exec> 608 639 <exec executable="svn"> 640 <arg line="${global-svn-args}"/> 609 641 <arg value="export"/> 610 642 <arg value="${svn.root}/main/${branch.path}/binaries/windows/bin/gssetup.exe"/> … … 615 647 <!--<get src="${svn.root}/main/trunk/binaries/windows/bin/Setup.exe" dest="compiled/bin/windows/Setup.exe"/> 616 648 <get src="${svn.root}/main/trunk/binaries/windows/bin/gssetup.exe" dest="compiled/bin/windows/gssetup.exe"/>--> 617 <exec executable="svn"> 649 <exec executable="svn"> 650 <arg line="${global-svn-args}"/> 618 651 <arg value="export"/> 619 652 <arg value="${svn.root}/main/trunk/binaries/windows/bin/Setup.exe"/> … … 621 654 </exec> 622 655 <exec executable="svn"> 656 <arg line="${global-svn-args}"/> 623 657 <arg value="export"/> 624 658 <arg value="${svn.root}/main/trunk/binaries/windows/bin/gssetup.exe"/>
Note:
See TracChangeset
for help on using the changeset viewer.