Ignore:
Timestamp:
2013-09-19T22:24:35+12:00 (11 years ago)
Author:
ak19
Message:

Release-kit changes for Mac (Mountain) Lion which needs to check out its own specific version of the pre-compiled gnome-lib-minimal package.

File:
1 edited

Legend:

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

    r28282 r28301  
    4949        <if><bool><or><equals arg1="${rk.os}" arg2="mac"/><equals arg1="${rk.os}" arg2="linux"/></or></bool>
    5050            <!-- checkout the gnome support library extension-->
     51
     52            <!-- For Lions, need a specific gnome-lib-minimal tar file. The file name contains darwin12 for Lion, it contains the os.shell name (darwin/linux) for other cases.
     53            Mac OS X v10.7.4 onwards is Lion/Mountain Lion, different from Leopard/Snow Leopard. See http://en.wikipedia.org/wiki/Darwin_(operating_system) -->
     54            <condition property="specific.os.type" value="${os.shell}-Lion" else="${os.shell}">
     55                <matches pattern="^(10\.7\.[4-9]|10\.[8-9]|1[1-9]|[2-9])" string="${os.version}"/>
     56            </condition>
     57
    5158            <if><bool><or>
    5259                <equals arg1="${post.2.83.version}" arg2="true"/>
     
    5562                <exec executable="svn">
    5663                    <arg value="export"/>
    57                     <arg value="${svn.root}/gs2-extensions/gnome-lib/trunk/gnome-lib-minimal-${os.shell}${arch}${extension-x64}.tar.gz"/>
    58                     <arg value="${basedir}/compiled/ext/gnome-lib-${os.shell}.tar.gz"/>
     64                    <arg value="${svn.root}/gs2-extensions/gnome-lib/trunk/gnome-lib-minimal-${specific.os.type}${arch}${extension-x64}.tar.gz"/>
     65                    <arg value="${basedir}/compiled/ext/gnome-lib-${specific.os.type}.tar.gz"/>
    5966                </exec>
    6067
    6168                <exec executable="tar" dir="${basedir}/compiled/ext">
    6269                    <arg value="xvzf"/>
    63                     <arg value="gnome-lib-${os.shell}.tar.gz"/>
     70                    <arg value="gnome-lib-${specific.os.type}.tar.gz"/>
    6471                </exec>
    6572
Note: See TracChangeset for help on using the changeset viewer.