Changeset 37449 for main


Ignore:
Timestamp:
2023-03-10T20:11:22+13:00 (13 months ago)
Author:
anupama
Message:

Merged mojave-compile.xml and the new monterey-compile.xml (both MacOS) with compile.xml for GS3.

File:
1 edited

Legend:

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

    r37345 r37449  
    9999
    100100        <!-- <rsr file="${basedir}/compiled/build.xml" pattern="CFLAGS=&amp;quot;" replacement="CFLAGS=&amp;quot;-fPIC "/> -->
    101 
     101        <rsr file="${basedir}/compiled/build.xml" pattern="CFLAGS=&amp;quot;" replacement="CFLAGS=&amp;quot;-Wno-error=implicit-function-declaration "/>
     102       
    102103        <!-- run greenstone3's ant install and ant dist-tidy -->
    103104        <ant dir="compiled" inheritAll="false">
     
    266267        <else><if><bool><equals arg1="${rk.os}" arg2="mac"/></bool>
    267268            <!-- grab imagemagick binaries -->
    268 
    269             <delete dir="compiled/gs2build/bin/darwin/imagemagick"/>
    270 
    271             <!--<exec executable="svn">
    272             <arg line="${global-svn-args}"/>
    273                <arg value="export"/>
    274                <arg value="${svn.root}/gs2-extensions/imagemagick/trunk/imagemagick-darwin-10.5.tar.gz"/>
    275                <arg value="compiled/ext/imagemagick-darwin-10.5.tar.gz"/>
    276             </exec>
    277 
    278             <exec executable="tar" dir="compiled/ext">
    279                <arg value="xvzf"/>
    280                <arg value="imagemagick-darwin-10.5.tar.gz"/>
    281             </exec>
    282             <delete file="compiled/ext/imagemagick-darwin-10.5.tar.gz"/>
    283             <move todir="compiled/gs2build/bin/darwin/imagemagick">
    284                <fileset dir="compiled/ext/imagemagick/darwin"/>
    285             </move>
    286             <delete dir="compiled/ext/imagemagick"/>-->
    287 
     269           
     270            <delete dir="compiled/gs2build/bin/darwin/imagemagick"/>
     271            <!-- before mojave -->
     272            <!--<property name="darwin-imagick-tarball" value="imagemagick-darwin-10.5.tar.gz"/>-->
     273            <!-- mojave onwards -->
     274            <property name="darwin-imagick-tarball" value="imagemagick-darwin-10.11.tar.gz"/>
     275            <exec executable="svn">
     276              <arg line="${global-svn-args}"/>
     277              <arg value="export"/>
     278              <arg value="${svn.root}/gs2-extensions/imagemagick/trunk/${darwin-imagick-tarball}"/>
     279              <arg value="compiled/ext/${darwin-imagick-tarball}"/>
     280            </exec>
     281           
     282            <exec executable="tar" dir="compiled/ext">
     283              <arg value="xvzf"/>
     284              <arg value="${darwin-imagick-tarball}"/>
     285            </exec>
     286            <delete file="compiled/ext/${darwin-imagick-tarball}"/>
     287            <move todir="compiled/gs2build/bin/darwin/imagemagick">
     288              <fileset dir="compiled/ext/imagemagick/darwin"/>
     289            </move>
     290            <delete dir="compiled/ext/imagemagick"/>
     291           
     292
     293            <!--
    288294            <delete dir="compiled/gs2build/bin/darwin/imagemagick"/>
    289295            <exec executable="svn">
    290296              <arg line="${global-svn-args}"/>
    291                 <arg value="export"/>
    292                 <arg value="${svn.root}/main/${branch.path}/binaries/mac/intel/imagemagick"/>
    293                 <arg value="compiled/gs2build/bin/darwin/imagemagick"/>
    294             </exec>
     297              <arg value="export"/>
     298              <arg value="${svn.root}/main/${branch.path}/binaries/mac/intel/imagemagick"/>
     299              <arg value="compiled/gs2build/bin/darwin/imagemagick"/>
     300            </exec>-->
    295301
    296302            <if><bool><not><equals arg1="${forward.install.flax}" arg2="true"/></not></bool>
     
    316322                <env key="GSDLOS" value="windows"/>
    317323                <env key="PERL_PERTURB_KEYS" value="0"/>
     324                <env key="PERL_HASH_SEED" value="0"/>
    318325                <env key="PATH" path="${basedir}/compiled/gs2build/bin/windows/perl/bin;${basedir}/compiled/gs2build/bin/windows;${basedir}/compiled/gs2build/bin/script;${env.PATH}"/>
    319326            </exec>
     
    327334                <env key="GSDLOS" value="windows"/>
    328335                <env key="PERL_PERTURB_KEYS" value="0"/>
     336                <env key="PERL_HASH_SEED" value="0"/>
    329337                <env key="PATH" path="${basedir}/compiled/gs2build/bin/windows/perl/bin;${basedir}/compiled/gs2build/bin/windows;${basedir}/compiled/gs2build/bin/script;${env.PATH}"/>
    330338            </exec>
Note: See TracChangeset for help on using the changeset viewer.