Ignore:
Timestamp:
2023-03-02T17:09:25+13:00 (14 months ago)
Author:
anupama
Message:

Changes to get release-kit building on mojave as at Mar 2023. Also added in the PERL_HASH_SEED to go with the PERL_PERTURB_KEYS that were already added in.

File:
1 edited

Legend:

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

    r35526 r37382  
    22<project name="rk3-compile">
    33
     4
    45    <target name="compile">
    5 
    66        <!-- checkout greenstone3 -->
    77        <exec executable="svn">
    8             <arg value="checkout"/>
    9             <arg value="${svn.root}/main/${branch.path}/greenstone3"/>
    10             <arg value="compiled"/>
    11             <arg value="-r"/><arg value="${branch.revision}"/>
     8          <arg line="${global-svn-args}"/>
     9          <arg value="checkout"/>
     10          <arg value="${svn.root}/main/${branch.path}/greenstone3"/>
     11          <arg value="compiled"/>
     12          <arg value="-r"/><arg value="${branch.revision}"/>
    1213        </exec>
    1314
     
    5152            <propertyset refid="forward.properties"/>
    5253            <property name="properties.accepted" value="true"/>
     54            <property name="global-svn-args" value="${global-svn-args}"/>
    5355        </ant>
    5456
     
    7678                <echo>EXPORTING GNOME LIB EXTENSION</echo>
    7779                <exec executable="svn">
     80                  <arg line="${global-svn-args}"/>
    7881                    <arg value="export"/>
    7982                    <arg value="${svn.root}/gs2-extensions/gnome-lib/trunk/gnome-lib-minimal-${specific.os.type}${arch}${extension-x64}.tar.gz"/>
     
    103106            <property name="properties.accepted" value="true"/>
    104107            <property name="properties.keep.src" value="${keep.src}"/>
     108            <property name="global-svn-args" value="${global-svn-args}"/>
    105109        </ant>
    106110
     
    164168           
    165169        <!-- insert ant -->
    166         <property name="insert.ant.version" value="1.8.2"/>
     170        <property name="insert.ant.version" value="1.9.13"/> <!-- value="1.8.2" -->
    167171        <mkdir dir="compiled/packages"/>
    168172        <!--<get src="http://www.greenstone.org/gs3files/apache-ant-${insert.ant.version}-bin.tar.gz" dest="compiled/packages/apache-ant-${insert.ant.version}-bin.tar.gz"/>-->
     
    186190            <!--<unzip src="${rk.home}/shared/windows/perl.zip" dest="compiled/gs2build/bin/windows"/>-->
    187191            <exec executable="svn" dir="compiled/gs2build/bin/windows">
     192              <arg line="${global-svn-args}"/>
    188193                <arg value="export"/>
    189194                <arg value="${svn.root}/main/trunk/release-kits/shared/windows/perl.zip"/>
     
    224229
    225230            <exec executable="svn">
    226                <arg value="export"/>
     231          <arg line="${global-svn-args}"/>
     232              <arg value="export"/>
    227233               <arg value="${svn.root}/gs2-extensions/imagemagick/trunk/imagemagick-linux${extension-x64}.tar.gz"/>
    228234               <arg value="compiled/ext/imagemagick-linux${extension-x64}.tar.gz"/>
     
    241247            <!--<delete dir="compiled/gs2build/bin/linux/imagemagick"/>
    242248            <exec executable="svn">
     249            <arg line="${global-svn-args}"/>
    243250                <arg value="export"/>
    244251                <arg value="${svn.root}/main/${branch.path}/binaries/linux/imagemagick"/>
     
    249256            <delete dir="compiled/gs2build/bin/linux/wv"/>
    250257            <exec executable="svn">
     258            <arg line="${global-svn-args}"/>
    251259                <arg value="export"/>
    252260                <arg value="${svn.root}/main/${branch.path}/binaries/linux/wv"/>
     
    259267            <delete dir="compiled/gs2build/bin/darwin/imagemagick"/>
    260268                <exec executable="svn">
     269              <arg line="${global-svn-args}"/>
    261270              <arg value="export"/>
    262271              <arg value="${svn.root}/gs2-extensions/imagemagick/trunk/imagemagick-darwin-10.11.tar.gz"/>
     
    273282            <delete dir="compiled/ext/imagemagick"/>
    274283
    275             <!--
     284            <!--<exec executable="svn">
     285            <arg line="${global-svn-args}"/>
     286               <arg value="export"/>
     287               <arg value="${svn.root}/gs2-extensions/imagemagick/trunk/imagemagick-darwin-10.5.tar.gz"/>
     288               <arg value="compiled/ext/imagemagick-darwin-10.5.tar.gz"/>
     289            </exec>
     290
     291            <exec executable="tar" dir="compiled/ext">
     292               <arg value="xvzf"/>
     293               <arg value="imagemagick-darwin-10.5.tar.gz"/>
     294            </exec>
     295            <delete file="compiled/ext/imagemagick-darwin-10.5.tar.gz"/>
     296            <move todir="compiled/gs2build/bin/darwin/imagemagick">
     297               <fileset dir="compiled/ext/imagemagick/darwin"/>
     298            </move>
     299            <delete dir="compiled/ext/imagemagick"/>-->
     300
     301        <!--
    276302            <delete dir="compiled/gs2build/bin/darwin/imagemagick"/>
    277303            <exec executable="svn">
     304              <arg line="${global-svn-args}"/>
    278305                <arg value="export"/>
    279306                <arg value="${svn.root}/main/${branch.path}/binaries/mac/intel/imagemagick"/>
     
    285312                <delete dir="compiled/gs2build/bin/darwin/ghostscript"/>
    286313                <exec executable="svn">
     314                  <arg line="${global-svn-args}"/>
    287315                    <arg value="export"/>
    288316                    <arg value="${svn.root}/main/${branch.path}/binaries/mac/intel/ghostscript"/>
     
    301329                <env key="GSDLCOLLECTDIR" path="${basedir}/compiled/web/sites/localsite/collect"/>
    302330                <env key="GSDLOS" value="windows"/>
     331                <env key="PERL_PERTURB_KEYS" value="0"/>
     332                <env key="PERL_HASH_SEED" value="0"/>
    303333                <env key="PATH" path="${basedir}/compiled/gs2build/bin/windows/perl/bin;${basedir}/compiled/gs2build/bin/windows;${basedir}/compiled/gs2build/bin/script;${env.PATH}"/>
    304334            </exec>
     
    311341                <env key="GSDLCOLLECTDIR" path="${basedir}/compiled/web/sites/localsite/collect"/>
    312342                <env key="GSDLOS" value="windows"/>
     343                <env key="PERL_PERTURB_KEYS" value="0"/>
     344                <env key="PERL_HASH_SEED" value="0"/>
    313345                <env key="PATH" path="${basedir}/compiled/gs2build/bin/windows/perl/bin;${basedir}/compiled/gs2build/bin/windows;${basedir}/compiled/gs2build/bin/script;${env.PATH}"/>
    314346            </exec>
Note: See TracChangeset for help on using the changeset viewer.