Changeset 37452 for main


Ignore:
Timestamp:
2023-03-10T21:15:43+13:00 (14 months ago)
Author:
anupama
Message:

Adding in global-svn-args tag in an svn checkout to match rest of recent changes that include this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/kits/rk2/ant-scripts/mojave-compile.xml

    r37388 r37452  
    475475        <!-- mac -->
    476476        <else><if><bool><equals arg1="${rk.os}" arg2="mac"/></bool>
    477             <!-- grab imagemagick and ghostscript binaries -->
    478             <delete dir="compiled/bin/darwin/imagemagick"/>
    479             <delete dir="compiled/bin/darwin/ghostscript"/>
    480 
    481             <if><bool><equals arg1="${post.2.83.version}" arg2="true"/></bool>
    482 
    483                     <!--<exec executable="svn">
    484             <arg line="${global-svn-args}"/>
    485                        <arg value="export"/>
    486                        <arg value="${svn.root}/gs2-extensions/imagemagick/trunk/imagemagick-darwin-10.5.tar.gz"/>
    487                        <arg value="compiled/ext/imagemagick-darwin-10.5.tar.gz"/>
    488                     </exec>
    489 
    490                     <exec executable="tar" dir="compiled/ext">
    491                        <arg value="xvzf"/>
    492                        <arg value="imagemagick-darwin-10.5.tar.gz"/>
    493                     </exec>
    494                     <delete file="compiled/ext/imagemagick-darwin-10.5.tar.gz"/>
    495                     <move todir="compiled/bin/darwin/imagemagick">
    496                        <fileset dir="compiled/ext/imagemagick/darwin"/>
    497                     </move>-->
    498 
    499             <!-- grab imagemagick binaries for El Capitan -->
    500             <!-- Grab the imagemagick compiled on an XWindows-less darwin 10.11 (El Capitan)
    501                  but where it was made backwards compatible with 10.8 (Mountain Lion) with mmacosx-version-min flag.
    502                  Upto and including the gs3.08 release this code still referred to imagemagick-darwin-10.5.tar.gz  -->
    503             <exec executable="svn">
    504               <arg value="export"/>
    505               <arg value="${svn.root}/gs2-extensions/imagemagick/trunk/imagemagick-darwin-10.11.tar.gz"/>
    506               <arg value="compiled/ext/imagemagick-darwin-10.11.tar.gz"/>
    507             </exec>
    508            
    509             <exec executable="tar" dir="compiled/ext">
    510               <arg value="xvzf"/>
    511               <arg value="imagemagick-darwin-10.11.tar.gz"/>
    512             </exec>
    513             <delete file="compiled/ext/imagemagick-darwin-10.11.tar.gz"/>
    514             <move todir="compiled/bin/darwin/imagemagick">
    515               <fileset dir="compiled/ext/imagemagick/darwin"/>
    516             </move>
    517 
    518             <!-- No more use for the decompressed ext/imagemagick folder, as it contains only setup scripts
     477          <!-- grab imagemagick and ghostscript binaries -->
     478          <delete dir="compiled/bin/darwin/imagemagick"/>
     479          <delete dir="compiled/bin/darwin/ghostscript"/>
     480         
     481          <if><bool><equals arg1="${post.2.83.version}" arg2="true"/></bool>
     482         
     483                  <!--<exec executable="svn">
     484              <arg line="${global-svn-args}"/>
     485                      <arg value="export"/>
     486                      <arg value="${svn.root}/gs2-extensions/imagemagick/trunk/imagemagick-darwin-10.5.tar.gz"/>
     487                      <arg value="compiled/ext/imagemagick-darwin-10.5.tar.gz"/>
     488                      </exec>
     489             
     490                      <exec executable="tar" dir="compiled/ext">
     491                      <arg value="xvzf"/>
     492                      <arg value="imagemagick-darwin-10.5.tar.gz"/>
     493                      </exec>
     494                      <delete file="compiled/ext/imagemagick-darwin-10.5.tar.gz"/>
     495                      <move todir="compiled/bin/darwin/imagemagick">
     496                      <fileset dir="compiled/ext/imagemagick/darwin"/>
     497                      </move>-->
     498         
     499
     500          <!-- Grab the imagemagick compiled on an XWindows-less darwin 10.11 (El Capitan)
     501               but where it was made backwards compatible with 10.8 (Mountain Lion) with mmacosx-version-min flag.
     502               Upto and including the gs3.08 release this code still referred to imagemagick-darwin-10.5.tar.gz  -->
     503          <exec executable="svn">
     504            <arg line="${global-svn-args}"/>
     505            <arg value="export"/>
     506            <arg value="${svn.root}/gs2-extensions/imagemagick/trunk/imagemagick-darwin-10.11.tar.gz"/>
     507            <arg value="compiled/ext/imagemagick-darwin-10.11.tar.gz"/>
     508          </exec>
     509         
     510          <exec executable="tar" dir="compiled/ext">
     511            <arg value="xvzf"/>
     512            <arg value="imagemagick-darwin-10.11.tar.gz"/>
     513          </exec>
     514          <delete file="compiled/ext/imagemagick-darwin-10.11.tar.gz"/>
     515          <move todir="compiled/bin/darwin/imagemagick">
     516            <fileset dir="compiled/ext/imagemagick/darwin"/>
     517          </move>
     518         
     519          <!-- No more use for the decompressed ext/imagemagick folder, as it contains only setup scripts
    519520                 that end up referring to the (empty) ext/imagemagick in the environment.
    520521                 On sourcing GS2's setup script, these env vars further conflict with cmdline wget on newer Macs,
    521522                 as DYLD_FALLBACK_LIBRARY_PATH (another env var hidden on Macs) ends up set. -->
    522             <delete dir="compiled/ext/imagemagick"/>  <!-- dir = The directory to delete, including all its files and subdirectories. -->
    523 
    524             <!--
    525                 <exec executable="svn">
    526                   <arg line="${global-svn-args}"/>
    527                   <arg value="export"/>
    528                   <arg value="${svn.root}/main/${branch.path}/binaries/mac/intel/imagemagick"/>
    529                   <arg value="compiled/bin/darwin/imagemagick"/>
    530                 </exec>
    531                 -->
    532                 <exec executable="svn">
    533                   <arg line="${global-svn-args}"/>
    534                     <arg value="export"/>
    535                     <arg value="${svn.root}/main/${branch.path}/binaries/mac/intel/ghostscript"/>
    536                     <arg value="compiled/bin/darwin/ghostscript"/>
    537                 </exec>
    538 
    539                 <else>             
    540                   <exec executable="svn">
    541                     <arg line="${global-svn-args}"/>
    542                         <arg value="export"/>
    543                         <arg value="${svn.root}/main/trunk/binaries/mac/intel/imagemagick"/>
    544                         <arg value="compiled/bin/darwin/imagemagick"/>
    545                     </exec>
    546                
    547                     <exec executable="svn">
    548                       <arg line="${global-svn-args}"/>
    549                         <arg value="export"/>
    550                         <arg value="${svn.root}/main/trunk/binaries/mac/intel/ghostscript"/>
    551                         <arg value="compiled/bin/darwin/ghostscript"/>
    552                     </exec>
    553                 </else>
    554             </if>
    555 
    556             <!-- delete unneeded files -->
    557             <delete><fileset dir="compiled" includes="win32.mak,win32cfg.h,Install.sh,Support.htm"/></delete>
     523          <delete dir="compiled/ext/imagemagick"/>  <!-- dir = The directory to delete, including all its files and subdirectories. -->
     524         
     525          <!--
     526              <exec executable="svn">
     527              <arg line="${global-svn-args}"/>
     528              <arg value="export"/>
     529              <arg value="${svn.root}/main/${branch.path}/binaries/mac/intel/imagemagick"/>
     530              <arg value="compiled/bin/darwin/imagemagick"/>
     531              </exec>
     532          -->
     533          <exec executable="svn">
     534            <arg line="${global-svn-args}"/>
     535            <arg value="export"/>
     536            <arg value="${svn.root}/main/${branch.path}/binaries/mac/intel/ghostscript"/>
     537            <arg value="compiled/bin/darwin/ghostscript"/>
     538          </exec>
     539         
     540          <else>               
     541            <exec executable="svn">
     542              <arg line="${global-svn-args}"/>
     543              <arg value="export"/>
     544              <arg value="${svn.root}/main/trunk/binaries/mac/intel/imagemagick"/>
     545              <arg value="compiled/bin/darwin/imagemagick"/>
     546            </exec>
     547           
     548            <exec executable="svn">
     549              <arg line="${global-svn-args}"/>
     550              <arg value="export"/>
     551              <arg value="${svn.root}/main/trunk/binaries/mac/intel/ghostscript"/>
     552              <arg value="compiled/bin/darwin/ghostscript"/>
     553            </exec>
     554          </else>
     555          </if>
     556         
     557          <!-- delete unneeded files -->
     558          <delete><fileset dir="compiled" includes="win32.mak,win32cfg.h,Install.sh,Support.htm"/></delete>
    558559<!--
    559560  Actually useful to keep these files around for a Pure Java install
Note: See TracChangeset for help on using the changeset viewer.