changeset 8:4b30bdaf4dbd default tip

trying png again
author pieter.lukasse@wur.nl
date Fri, 07 Nov 2014 16:08:22 +0100
parents 18d9308b6b66
children
files tool_dependencies.xml
diffstat 1 files changed, 53 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Fri Nov 07 13:48:02 2014 +0100
+++ b/tool_dependencies.xml	Fri Nov 07 16:08:22 2014 +0100
@@ -7,13 +7,65 @@
       <install version="1.0">
           <actions_group>
                 <actions>
+                	<package name="readline" version="6.2">
+                      <repository changeset_revision="052e8df231ac" name="package_readline_6_2" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
+                    </package>
+                    <package name="libpng" version="1.6.7">
+                      <repository changeset_revision="db14a391648d" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
+                    </package>
+                    <package name="cairo" version="1.12.14">
+                      <repository changeset_revision="b39299b4b6e1" name="package_cairo_1_12_14" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
+                    </package>
+                    <package name="pixman" version="0.32.4">
+                      <repository changeset_revision="3d44a209a6b9" name="package_pixman_0_32_4" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
+                    </package>
+                    <package name="freetype" version="2.5.2">
+                      <repository changeset_revision="58782940c411" name="package_freetype_2_5_2" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
+                    </package>
+                    <action type="download_by_url">http://cran.r-project.org/src/base/R-3/R-3.1.1.tar.gz</action>
+                    <action type="set_environment_for_install">
+                      <repository changeset_revision="052e8df231ac" name="package_readline_6_2" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
+                          <package name="readline" version="6.2" />
+                        </repository>
+                        <repository changeset_revision="db14a391648d" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
+                          <package name="libpng" version="1.6.7" />
+                        </repository>
+                        <repository changeset_revision="b39299b4b6e1" name="package_cairo_1_12_14" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
+                          <package name="cairo" version="1.12.14" />
+                        </repository>
+                        <repository changeset_revision="3d44a209a6b9" name="package_pixman_0_32_4" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
+                          <package name="pixman" version="0.32.4" />
+                        </repository>
+                        <repository changeset_revision="58782940c411" name="package_freetype_2_5_2" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
+                          <package name="freetype" version="2.5.2" />
+                        </repository>
+                    </action>
                     <action type="download_by_url">http://cran.r-project.org/src/base/R-3/R-3.1.1.tar.gz</action>
                     <action type="move_directory_files">
 	                  	<source_directory>.</source_directory>
 	                    <destination_directory>$INSTALL_DIR</destination_directory>
 	                </action>
                     <action type="shell_command">
-                        cd $INSTALL_DIR; $INSTALL_DIR/configure --libdir=$INSTALL_DIR/lib --prefix=$INSTALL_DIR
+                        cd $INSTALL_DIR; 
+                        export LDFLAGS="-L$PNG_LIBS -L$READLINE_LIB_PATH" &amp;&amp;
+                        export LDFLAGS="$LDFLAGS -Wl,-rpath,$READLINE_LIB_PATH" &amp;&amp;
+                        export LDFLAGS="$LDFLAGS -Wl,-rpath,$PIXMAN_LIB_PATH" &amp;&amp;
+                        export LDFLAGS="$LDFLAGS -Wl,-rpath,$PNG_LIB_PATH" &amp;&amp;
+                        export LDFLAGS="$LDFLAGS -Wl,-rpath,$FREETYPE_LIB_PATH" &amp;&amp;
+                        export CFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDE_PATH" &amp;&amp;
+                        export CXXFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDE_PATH" &amp;&amp;
+                        export CPPFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDE_PATH" &amp;&amp;
+                        $INSTALL_DIR/configure  --with-tcltk \
+			                                    --with-blas \
+			                                    --with-lapack \
+			                                    --with-readline \
+			                                    --with-cairo \
+			                                    --with-libpng \
+			                                    --without-x \
+			                                    --enable-R-shlib \
+			                                    --disable-R-framework \
+			                                    --libdir=$INSTALL_DIR/lib \
+			                                    --prefix=$INSTALL_DIR
                     </action>
                     <action type="shell_command">make -C $INSTALL_DIR</action>
                 </actions>