comparison tool_dependencies.xml @ 6:035f845a6edc

Uploaded
author bgruening
date Thu, 23 May 2013 04:04:37 -0400
parents 42c29d1051e8
children 1624dcf79877
comparison
equal deleted inserted replaced
5:42c29d1051e8 6:035f845a6edc
1 <?xml version="1.0"?>
1 <tool_dependency> 2 <tool_dependency>
2 <package name="openbabel" version="2.3.2"> 3 <package name="openbabel" version="2.3.2">
3 <repository name="package_openbabel_2_3" owner="bgruening" prior_installation_required="True" /> 4 <repository changeset_revision="efffcee80e03" name="package_openbabel_2_3" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
4 </package> 5 </package>
5 <package name="graphicsmagick" version="1.3.18"> 6 <package name="graphicsmagick" version="1.3.18">
6 <repository name="package_graphicsmagick_1_3" owner="bgruening" prior_installation_required="True" /> 7 <repository changeset_revision="34f511310435" name="package_graphicsmagick_1_3" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
7 </package> 8 </package>
8 <package name="osra" version="2.0.0"> 9 <package name="osra" version="2.0.0">
9 <install version="1.0"> 10 <install version="1.0">
10 <actions> 11 <actions>
11 <!-- first action is always downloading --> 12
12 <action type="download_by_url">http://downloads.sourceforge.net/project/osra/osra/2.0.0/osra-2.0.0.tgz</action> 13 <action type="download_by_url">http://downloads.sourceforge.net/project/osra/osra/2.0.0/osra-2.0.0.tgz</action>
13 14
14 <!-- populate the environment variables from the dependend repos --> 15
15 <action type="set_environment_for_install"> 16 <action type="set_environment_for_install">
16 <repository name="package_openbabel_2_3" owner="bgruening"> 17 <repository changeset_revision="efffcee80e03" name="package_openbabel_2_3" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
17 <package name="openbabel" version="2.3.2" /> 18 <package name="openbabel" version="2.3.2" />
18 </repository> 19 </repository>
19 <repository name="package_graphicsmagick_1_3" owner="bgruening"> 20 <repository changeset_revision="34f511310435" name="package_graphicsmagick_1_3" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
20 <package name="graphicsmagick" version="1.3.18" /> 21 <package name="graphicsmagick" version="1.3.18" />
21 </repository> 22 </repository>
22 </action> 23 </action>
23 24
24 <!--compiling potrace-1.11 --> 25
25 <action type="shell_command">wget http://potrace.sourceforge.net/download/potrace-1.11.tar.gz</action> 26 <action type="shell_command">wget http://potrace.sourceforge.net/download/potrace-1.11.tar.gz</action>
26 <action type="shell_command">tar xfvz potrace-1.11.tar.gz &amp;&amp; cd potrace-1.11 &amp;&amp; ./configure --with-libpotrace --prefix=$INSTALL_DIR/potrace/build &amp;&amp; make &amp;&amp; make install</action> 27 <action type="shell_command">tar xfvz potrace-1.11.tar.gz &amp;&amp; cd potrace-1.11 &amp;&amp; ./configure --with-libpotrace --prefix=$INSTALL_DIR/potrace/build &amp;&amp; make &amp;&amp; make install</action>
27 28
28 <!--compiling gocr 0.50patched --> 29
29 <!-- not yet possible 30
30 <action type="shell_command">wget http://www-e.uni-magdeburg.de/jschulen/ocr/gocr-0.50.tar.gz</action>
31 <action type="shell_command">tar xfvz gocr-0.50.tar.gz &amp;&amp; cd gocr-0.50 &amp;&amp; ./configure --prefix=$INSTALL_DIR/gocr/build &amp;&amp; make libs &amp;&amp; make all install</action>
32 -->
33 <action type="shell_command">wget http://downloads.sourceforge.net/project/osra/gocr-patched/gocr-0.50pre-patched.tgz</action> 31 <action type="shell_command">wget http://downloads.sourceforge.net/project/osra/gocr-patched/gocr-0.50pre-patched.tgz</action>
34 <action type="shell_command">tar xfvz gocr-0.50pre-patched.tgz &amp;&amp; cd gocr-0.50pre-patched &amp;&amp; ./configure --prefix=$INSTALL_DIR/gocr/build &amp;&amp; make libs &amp;&amp; make all install</action> 32 <action type="shell_command">tar xfvz gocr-0.50pre-patched.tgz &amp;&amp; cd gocr-0.50pre-patched &amp;&amp; ./configure --prefix=$INSTALL_DIR/gocr/build &amp;&amp; make libs &amp;&amp; make all install</action>
35 33
36 34
37 <!--compiling tclap 1.2.1 --> 35
38 <action type="shell_command">wget http://downloads.sourceforge.net/project/tclap/tclap-1.2.1.tar.gz</action> 36 <action type="shell_command">wget http://downloads.sourceforge.net/project/tclap/tclap-1.2.1.tar.gz</action>
39 <action type="shell_command">tar xfvz tclap-1.2.1.tar.gz &amp;&amp; cd tclap-1.2.1 &amp;&amp; ./configure --prefix=$INSTALL_DIR/tclap/build &amp;&amp; make &amp;&amp; make install</action> 37 <action type="shell_command">tar xfvz tclap-1.2.1.tar.gz &amp;&amp; cd tclap-1.2.1 &amp;&amp; ./configure --prefix=$INSTALL_DIR/tclap/build &amp;&amp; make &amp;&amp; make install</action>
40 38
41 <!--compiling ocrad 0.21 --> 39
42 <action type="shell_command">wget http://mirror.checkdomain.de/gnu/ocrad/ocrad-0.21.tar.gz</action> 40 <action type="shell_command">wget http://mirror.checkdomain.de/gnu/ocrad/ocrad-0.21.tar.gz</action>
43 <action type="shell_command">tar xfvz ocrad-0.21.tar.gz &amp;&amp; cd ocrad-0.21 &amp;&amp; ./configure --prefix=$INSTALL_DIR/ocrad/build &amp;&amp; make &amp;&amp; make install</action> 41 <action type="shell_command">tar xfvz ocrad-0.21.tar.gz &amp;&amp; cd ocrad-0.21 &amp;&amp; ./configure --prefix=$INSTALL_DIR/ocrad/build &amp;&amp; make &amp;&amp; make install</action>
44 42
45 <!--compiling cuneiform 1.1.0 --> 43
46 <action type="shell_command">wget https://launchpad.net/cuneiform-linux/1.1/1.1/+download/cuneiform-linux-1.1.0.tar.bz2</action> 44 <action type="shell_command">wget https://launchpad.net/cuneiform-linux/1.1/1.1/+download/cuneiform-linux-1.1.0.tar.bz2</action>
47 <action type="shell_command">tar xfvj cuneiform-linux-1.1.0.tar.bz2 &amp;&amp; cd cuneiform-linux-1.1.0 &amp;&amp; mkdir build &amp;&amp; cd build &amp;&amp; cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/cuneiform/build/ &amp;&amp; make &amp;&amp; make install</action> 45 <action type="shell_command">tar xfvj cuneiform-linux-1.1.0.tar.bz2 &amp;&amp; cd cuneiform-linux-1.1.0 &amp;&amp; mkdir build &amp;&amp; cd build &amp;&amp; cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/cuneiform/build/ &amp;&amp; make &amp;&amp; make install</action>
48 46
49 <!--And finally OSRA 1.4.0--> 47
50 <!-- Extending the PATH is needed for OSRA --> 48
51 <action type="shell_command">export PATH=$PATH:$GRAPHICSMAGICK_ROOT_DIR/bin/ &amp;&amp; 49 <action type="shell_command">export PATH=$PATH:$GRAPHICSMAGICK_ROOT_DIR/bin/ &amp;&amp;
52 ./configure --with-tclap-include=$INSTALL_DIR/tclap/build/include/ --with-potrace-include=$INSTALL_DIR/potrace/build/include/ --with-potrace-lib=$INSTALL_DIR/potrace/build/lib/ --with-gocr-include=$INSTALL_DIR/gocr/build/include/gocr/ --with-gocr-lib=$INSTALL_DIR/gocr/build/lib/ --with-ocrad-include=$INSTALL_DIR/ocrad/build/include/ --with-ocrad-lib=$INSTALL_DIR/ocrad/build/lib/ --with-cuneiform-include=$INSTALL_DIR/cuneiform/build/install/include/ --with-cuneiform --with-cuneiform-lib=$INSTALL_DIR/cuneiform/build/install/lib/ --with-openbabel-include=$OPENBABEL_INCLUDE_DIR/openbabel-2.0/ --with-openbabel-lib=$OPENBABEL_LIB_DIR --with-graphicsmagick-lib=$GRAPHICSMAGICK_ROOT_DIR/lib/ --with-graphicsmagick-include=$GRAPHICSMAGICK_ROOT_DIR/include/GraphicsMagick/ --prefix=$INSTALL_DIR </action> 50 ./configure --with-tclap-include=$INSTALL_DIR/tclap/build/include/ --with-potrace-include=$INSTALL_DIR/potrace/build/include/ --with-potrace-lib=$INSTALL_DIR/potrace/build/lib/ --with-gocr-include=$INSTALL_DIR/gocr/build/include/gocr/ --with-gocr-lib=$INSTALL_DIR/gocr/build/lib/ --with-ocrad-include=$INSTALL_DIR/ocrad/build/include/ --with-ocrad-lib=$INSTALL_DIR/ocrad/build/lib/ --with-cuneiform-include=$INSTALL_DIR/cuneiform/build/install/include/ --with-cuneiform --with-cuneiform-lib=$INSTALL_DIR/cuneiform/build/install/lib/ --with-openbabel-include=$OPENBABEL_INCLUDE_DIR/openbabel-2.0/ --with-openbabel-lib=$OPENBABEL_LIB_DIR --with-graphicsmagick-lib=$GRAPHICSMAGICK_ROOT_DIR/lib/ --with-graphicsmagick-include=$GRAPHICSMAGICK_ROOT_DIR/include/GraphicsMagick/ --prefix=$INSTALL_DIR </action>
53 <action type="shell_command">make</action> 51 <action type="shell_command">make</action>
54 <action type="shell_command">make install</action> 52 <action type="shell_command">make install</action>
55 53
56 <action type="shell_command">rm $INSTALL_DIR/tclap/ -r</action> 54 <action type="shell_command">rm $INSTALL_DIR/tclap/ -r</action>
57 <!--<action type="shell_command">rm $INSTALL_DIR/openbabel/ -r</action>--> 55
58 <action type="shell_command">rm $INSTALL_DIR/gocr/ -r</action> 56 <action type="shell_command">rm $INSTALL_DIR/gocr/ -r</action>
59 <action type="shell_command">rm $INSTALL_DIR/ocrad/ -r</action> 57 <action type="shell_command">rm $INSTALL_DIR/ocrad/ -r</action>
60 <action type="shell_command">rm $INSTALL_DIR/cuneiform/ -r</action> 58 <action type="shell_command">rm $INSTALL_DIR/cuneiform/ -r</action>
61 59
62 <action type="set_environment"> 60 <action type="set_environment">
63 <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$GRAPHICSMAGICK_ROOT_DIR/lib/</environment_variable> 61 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$GRAPHICSMAGICK_ROOT_DIR/lib/</environment_variable>
64 <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/potrace/build/lib/</environment_variable> 62 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/potrace/build/lib/</environment_variable>
65 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable> 63 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
66 <!-- OSRA_DATA_FILES is only used by the galaxy wrapper and is not part of OSRA --> 64
67 <environment_variable name="OSRA_DATA_FILES" action="set_to">$INSTALL_DIR/share</environment_variable> 65 <environment_variable action="set_to" name="OSRA_DATA_FILES">$INSTALL_DIR/share</environment_variable>
68 </action> 66 </action>
69 </actions> 67 </actions>
70 </install> 68 </install>
71 <readme>We still have a handfull of requirements</readme> 69 <readme>We still have a handfull of requirements</readme>
72 </package> 70 </package>