diff tool_dependencies.xml @ 2:ee2eb3c816f9 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_cairo_1_12_14 commit dea7b185eeb3d94f02527d82d1e4e635daf338aa
author iuc
date Thu, 08 Oct 2015 10:22:01 -0400
parents 26d5e389e524
children 8181dc284f85
line wrap: on
line diff
--- a/tool_dependencies.xml	Sat Sep 26 05:55:11 2015 -0400
+++ b/tool_dependencies.xml	Thu Oct 08 10:22:01 2015 -0400
@@ -24,14 +24,17 @@
                       <package name="freetype" version="2.5.2" />
                     </repository>
                 </action>
+                <!-- edit configure and build/configure.ac.warnings to allow compiling cairo on gcc-4.9. Fixed in more recent versions of cairo -->
                 <action type="shell_command">
+                    sed -i.bak 's|MAYBE_WARN="$MAYBE_WARN -flto"|MAYBE_WARN="$MAYBE_WARN -flto -ffat-lto-objects -fuse-linker-plugin" |' configure build/configure.ac.warnings &amp;&amp; \
                     export LDFLAGS="-Wl,-rpath,$PIXMAN_LIB_PATH -Wl,-rpath,$LIBPNG_ROOT/lib -Wl,-rpath,$FREETYPE_LIB_PATH" &amp;&amp; \ 
                     ./configure --prefix=$INSTALL_DIR \
                         --with-x=no \
                         --enable-xcb-shm=no \
                         --enable-xlib-xcb=no \
                         --enable-xcb=no \
-                        --enable-xlib-xrender=no
+                        --enable-xlib-xrender=no \
+                        --enable-gtk-doc-html=no
                 </action>
                 <action type="make_install" />
                 <!-- Create an empty cairo-xlib.h file, because R's configure script explicitly includes it even if X is disabled. -->