* build OSX app bundle as .tar.gz not as .zip

This commit is contained in:
Reinhard Pointner 2011-11-15 12:29:29 +00:00
parent 1f6bef9027
commit e1ea983310
2 changed files with 9 additions and 9 deletions

View File

@ -19,7 +19,7 @@
<!-- define output paths -->
<property name="path.fatjar" location="${dir.dist}/${title}_${version}.jar" />
<property name="path.appbundle.zip" location="${dir.dist}/${title}_${version}.app.zip" />
<property name="path.appbundle.tar.gz" location="${dir.dist}/${title}_${version}.app.tar.gz" />
<property name="path.source.zip" location="${dir.dist}/filebot-${version}-src.zip" />
<property name="deploy.release" value="web.sourceforge.net:/home/frs/project/f/fi/filebot/filebot" />
@ -152,11 +152,11 @@
<fileset dir="${dir.lib}/native/mac-x86_64" includes="*.dylib" />
</copy>
<!-- application bundle folder as zip -->
<zip destfile="${path.appbundle.zip}">
<zipfileset dir="${dir.dist}" includes="${title}.app/**" excludes="**/JavaApplicationStub" />
<zipfileset dir="${dir.dist}" includes="${title}.app/**/JavaApplicationStub" filemode="755" /> <!-- application stub must be executable!! -->
</zip>
<!-- application bundle folder as .tar.gz -->
<tar destfile="${path.appbundle.tar.gz}" compression="gzip">
<tarfileset dir="${dir.dist}" includes="${title}.app/**" excludes="**/JavaApplicationStub" />
<tarfileset dir="${dir.dist}" includes="${title}.app/**/JavaApplicationStub" filemode="755" /> <!-- application stub must be executable!! -->
</tar>
</target>
@ -362,7 +362,7 @@
<!-- prepare release packages -->
<copy todir="${dir.dist}/release/${title}_${version}" file="${path.fatjar}" />
<copy todir="${dir.dist}/release/${title}_${version}" file="${path.appbundle.zip}" />
<copy todir="${dir.dist}/release/${title}_${version}" file="${path.appbundle.tar.gz}" />
<copy todir="${dir.dist}/release/${title}_${version}" file="${path.source.zip}" />
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/filebot_${version}_i386.deb" />
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/filebot_${version}_amd64.deb" />
@ -399,7 +399,7 @@
<!-- deploy osx app bundle -->
<sleep seconds="5" />
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true">
<fileset dir="${dir.dist}/release" includes="**/*.app.zip" />
<fileset dir="${dir.dist}/release" includes="**/*.app.tar.gz" />
</scp>
<!-- deploy webstart jars and jnlp descriptors -->

View File

@ -150,7 +150,7 @@
<li>This package does not include the <a href="http://mediainfo.sourceforge.net/en/Download" target="_blank">MediaInfo native libraries</a>. <small class="comment">32-bit JRE requires 32-bit native libs</small></li>
</ul>
</li>
<li>Mac OS X app bundle: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot.app'])" target="_blank" href="http://sourceforge.net/projects/filebot/files/filebot/FileBot_@{version}/FileBot_@{version}.app.zip/download">FileBot_@{version}.app</a> (<strong>15MB</strong>)</li>
<li>Mac OS X app bundle: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot.app'])" target="_blank" href="http://sourceforge.net/projects/filebot/files/filebot/FileBot_@{version}/FileBot_@{version}.app.tar.gz/download">FileBot_@{version}.app</a> (<strong>15MB</strong>)</li>
<li>Windows installer: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot_x86.msi'])" target="_blank" href="http://sourceforge.net/projects/filebot/files/filebot/FileBot_@{version}/FileBot_@{version}_x86.msi/download">FileBot_@{version}_x86.msi</a> or <a onclick="_gaq.push(['_trackPageview', '/download/FileBot_x64.msi'])" target="_blank" href="http://sourceforge.net/projects/filebot/files/filebot/FileBot_@{version}/FileBot_@{version}_x64.msi/download">FileBot_@{version}_x64.msi</a> (<strong>13.2MB</strong>)</li>
<li>Debian packages: <a onclick="_gaq.push(['_trackPageview', '/download/filebot_i386.deb'])" target="_blank" href="http://sourceforge.net/projects/filebot/files/filebot/FileBot_@{version}/filebot_@{version}_i386.deb/download">filebot_@{version}_i386.deb</a> or <a onclick="_gaq.push(['_trackPageview', '/download/filebot_amd64.deb'])" target="_blank" href="http://sourceforge.net/projects/filebot/files/filebot/FileBot_@{version}/filebot_@{version}_amd64.deb/download">filebot_@{version}_amd64.deb</a> (<strong>13.2MB</strong>)</li>
<li>Source Zip: <a onclick="_gaq.push(['_trackPageview', '/download/filebot-src.zip'])" target="_blank" href="http://sourceforge.net/projects/filebot/files/filebot/FileBot_@{version}/filebot-@{version}-src.zip/download">filebot-@{version}-src.zip</a> (<strong>450kB</strong>)</li>