greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 17644

Show
Ignore:
Timestamp:
2008-10-30 15:44:27 (2 months ago)
Author:
oranfry
Message:

added the imagemagick component

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • release-kits/lirk2/ant-scripts/create-components.xml

    r17450 r17644  
    44        <!-- create components from the distribution folder --> 
    55        <target name="create-components"> 
    6                 <antcall target="create-core-component" /> 
    7                 <antcall target="create-sourcecode-component" /> 
    8         </target> 
    9          
    10         <target name="create-core-component"> 
    11                 <antcall target="prepare-core-component" /> 
    12                 <antcall target="compress-core-component" /> 
     6                <antcall target="prepare-components" /> 
     7                <antcall target="compress-components" /> 
    138        </target> 
    149 
    15         <target name="create-sourcecode-component"> 
     10        <target name="prepare-components"> 
     11                <antcall target="prepare-core-component" /> 
    1612                <antcall target="prepare-sourcecode-component" /> 
     13                <antcall target="prepare-imagemagick-component" /> 
     14 
     15        </target> 
     16 
     17        <target name="compress-components"> 
     18                <antcall target="compress-core-component" /> 
    1719                <antcall target="compress-sourcecode-component" />       
     20                <antcall target="compress-imagemagick-component" /> 
    1821        </target> 
    1922         
     
    2730                                <include name="**/*"/> 
    2831 
    29                                 <!-- sourcecode --> 
     32                                <!-- sourcecode + imagemagick --> 
     33                                <exclude name="common-src"/> 
    3034                                <exclude name="common-src/**/*"/> 
     35                                 
     36                                <exclude name="runtime-src"/> 
    3137                                <exclude name="runtime-src/**/*"/> 
     38                                 
     39                                <exclude name="build-src"/> 
    3240                                <exclude name="build-src/**/*"/> 
     41                                 
     42                                <exclude name="bin/linux/imagemagick"/> 
     43                                <exclude name="bin/linux/imagemagick/**/*"/> 
    3344 
    3445                        </fileset> 
     
    6172        </target> 
    6273         
     74        <target name="prepare-imagemagick-component"> 
     75 
     76                <delete dir="components/tmp/imagemagick"/> 
     77                <mkdir dir="components/tmp/imagemagick"/> 
     78 
     79                <copy todir="components/tmp/imagemagick" overwrite="true"> 
     80                        <fileset dir="distributions/web/bin/linux"> 
     81                                <include name="imagemagick/**/*"/> 
     82                        </fileset> 
     83                </copy> 
     84                                 
     85                <zip destfile="components/imagemagick.comp" basedir="components/tmp/imagemagick" compress="false" includes="**/*"/> 
     86        </target> 
     87                 
     88        <target name="compress-imagemagick-component"> 
     89                <sevenzip task="encode" input="components/imagemagick.comp" output="components/imagemagick.lzma" dictionnary="26"/> 
     90        </target> 
     91         
    6392</project> 
  • release-kits/lirk2/ant-scripts/create-distribution.xml

    r17519 r17644  
    1010                <antcall target="drop-in-docs" /> 
    1111                <antcall target="insert-uninstaller"><param name="script-format" value="sh"/></antcall> <!-- from rk2-targets --> 
    12                 <antcall target="insert-export-to-cd-package"/> <!-- from rk2-targets --> 
     12                <antcall target="insert-export-to-cd-package"/>         <!-- from rk2-targets --> 
     13                <antcall target="export-imagemagick-linux-binaries" /> 
    1314                <antcall target="compile-gli" /> 
    1415                <antcall target="tweak-files" /> 
     
    2122                        <export srcurl="${svn.root}/gsdl/${branch.path}" destPath="distributions/web"/> 
    2223                        <export srcurl="${svn.root}/gli/${branch.path}" destPath="distributions/web/gli"/> 
     24                </svn> 
     25        </target> 
     26         
     27        <target name="export-imagemagick-linux-binaries"> 
     28                <delete dir="distributions/web/bin/linux/imagemagick"/> 
     29                <svn> 
     30                        <export srcurl="${svn.root}/other-projects/trunk/linux-binaries/imagemagick" destPath="distributions/web/bin/linux/imagemagick"/> 
    2331                </svn> 
    2432        </target>