Mercurial > repos > iuc > package_fiji_20141125
diff tool_dependencies.xml @ 1:7121a1ea4839 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/packages/package_fiji_20141125 commit 55da61c256450682512bc4cbc26471eb77b88bed
| author | iuc |
|---|---|
| date | Wed, 10 Jun 2015 09:08:22 -0400 |
| parents | 2957c52b8fe0 |
| children | 9dbe89105a25 |
line wrap: on
line diff
--- a/tool_dependencies.xml Tue Jun 09 12:20:31 2015 -0400 +++ b/tool_dependencies.xml Wed Jun 10 09:08:22 2015 -0400 @@ -13,9 +13,22 @@ <actions os="darwin" architecture="x86_64"> <action type="download_by_url">http://fiji.sc/downloads/Life-Line/fiji-macosx-20141125.dmg</action> <action type="shell_command"> - hdiutil attach fiji-macosx-20141125.dmg && - cp -R /Volumes/Fiji/Fiji.app/ $INSTALL_DIR && - hdiutil detach /Volumes/Fiji + hdiutil attach fiji-macosx-20141125.dmg && + cp -R /Volumes/Fiji/Fiji.app/ $INSTALL_DIR && + hdiutil detach /Volumes/Fiji + ## The ImageJ launcher contained in this version of Fiji will not + ## run on Yosemite due to some operating system change. The following + ## block will download the fixed ImageJ launcher for Yosemite. This is + ## kind of a stop-gap measure for this recipe only (notice the use of + ## wget, which is not an approved best practice). This problem affects + ## only those running Yosemite, and will be eliminated in the next + ## stable version of Fiji when it is released. + if [[ `sw_vers -productVersion | tr -d '.'` -ge 1010 ]]; then + wget http://jenkins.imagej.net/job/ImageJ-launcher/label=MacOSX/lastSuccessfulBuild/artifact/target/nar/imagej-launcher-3.3.1-SNAPSHOT-x86_64-MacOSX-gcc-executable/bin/x86_64-MacOSX-gcc/imagej-launcher && + xattr -c imagej-launcher && + chmod +x imagej-launcher && + mv imagej-launcher $INSTALL_DIR/Contents/MacOS/ImageJ-macosx + fi </action> </actions> <actions>
