* use best compression available for all package types

This commit is contained in:
Reinhard Pointner 2015-05-22 06:37:43 +00:00
parent 4a105ba11c
commit 6b98ab3463
2 changed files with 10 additions and 11 deletions

View File

@ -23,7 +23,7 @@
<!-- define output paths -->
<property name="path.fatjar" location="${dir.dist}/${title}_${version}.jar" />
<property name="path.appbundle.tar.gz" location="${dir.dist}/${title}_${version}.app.tar.gz" />
<property name="path.appbundle.tar" location="${dir.dist}/${title}_${version}.app.tar.bz2" />
<property name="path.source.zip" location="${dir.dist}/filebot-${version}-src.zip" />
<property name="basedir.release" location="${basedir}/release" />
@ -247,8 +247,8 @@
<option value="-Dapple.laf.useScreenMenuBar=true" />
</bundleapp>
<!-- application bundle folder as .tar.gz -->
<tar destfile="${path.appbundle.tar.gz}" compression="gzip" longfile="gnu">
<!-- application bundle folder as .tar -->
<tar destfile="${path.appbundle.tar}" compression="bzip2" longfile="gnu">
<tarfileset dir="${dir.dist}" includes="${title}.app/**" excludes="**/MacOS/**" />
<tarfileset dir="${dir.dist}" includes="${title}.app/**/**.dylib" />
@ -259,9 +259,7 @@
</tar>
<!-- print SHA256 since we manually need to update brew cask filebot -->
<checksum file="${path.appbundle.tar.gz}" algorithm="SHA-256" fileext=".sha256" />
<checksum file="${path.appbundle.tar.gz}" algorithm="SHA-256" property="appbundle.sha256" />
<echo taskname="SHA256" message="${appbundle.sha256}" />
<checksum file="${path.appbundle.tar}" algorithm="SHA-256" fileext=".sha256" />
</target>
@ -439,7 +437,7 @@
<!-- tar cvzf filebot-4.5.2-debsrc.tar.gz *.dsc *.changes *.tar.gz -->
<tar destfile="${path.debsrc}" compression="gzip">
<tarfileset dir="${dir.debsrc}/.." includes="*.dsc, *.changes, *.tar.gz" />
<tarfileset dir="${dir.debsrc}/.." includes="*.dsc, *.changes, *.tar.*" />
</tar>
<!-- store this build in releases -->
@ -461,12 +459,13 @@
</antcall>
</target>
<target name="deb-arch">
<!-- stage created .deb files in a temporary folder -->
<property name="deb.staging" location="${dir.dist}/deb" />
<mkdir dir="${deb.staging}" />
<deb debfilenameproperty="staging.file.deb" todir="${deb.staging}" package="filebot" version="${version}" architecture="${deb.arch}" section="misc" homepage="http://www.filebot.net/" priority="optional" postinst="${dir.installer}/deb/postinst.sh" prerm="${dir.installer}/deb/prerm.sh">
<maintainer name="Reinhard Pointner" email="rednoah@users.sourceforge.net" />
<maintainer name="Reinhard Pointner" email="maintainer@filebot.net" />
<description synopsis="The ultimate TV and Movie Renamer">FileBot is the ultimate tool for renaming your movies, tv shows or anime and even downloading subtitles. It's smart, streamlined for simplicity and just works. Putting the super-efficient UI aside, it's also got a full-featured command-line interface and scripting engine for all sorts of automation. Anything is possible.</description>
<tarfileset fullpath="usr/share/filebot/FileBot.jar" file="${path.fatjar}" />
<tarfileset prefix="usr/share/filebot" dir="${dir.lib}/native/linux-${arch}" includes="*.so" />
@ -487,7 +486,7 @@
<property name="ipkg.staging" location="${dir.dist}/deb-ipkg" />
<mkdir dir="${ipkg.staging}" />
<deb debfilenameproperty="staging.file.deb" todir="${ipkg.staging}" package="filebot" version="${version}" architecture="noarch" section="misc" homepage="http://www.filebot.net/" priority="optional" postinst="${dir.installer}/ipkg/postinst.sh" prerm="${dir.installer}/ipkg/prerm.sh">
<maintainer name="Reinhard Pointner" email="rednoah@users.sourceforge.net" />
<maintainer name="Reinhard Pointner" email="maintainer@filebot.net" />
<description synopsis="The ultimate TV and Movie Renamer">FileBot is the ultimate tool for renaming your movies, tv shows or anime and even downloading subtitles. It's smart, streamlined for simplicity and just works. Putting the super-efficient UI aside, it's also got a full-featured command-line interface and scripting engine for all sorts of automation. Anything is possible.</description>
<tarfileset fullpath="opt/share/filebot/FileBot.jar" file="${path.fatjar}" />
<tarfileset prefix="opt/share/filebot/bin" file="${dir.installer}/ipkg/filebot.sh" filemode="755" />
@ -752,7 +751,7 @@
<copy todir="${dir.release}" preservelastmodified="yes" verbose="yes">
<path path="${path.fatjar}" />
<fileset dir="${dir.dist}">
<include name="*.tar.gz" />
<include name="*.tar.*" />
<include name="*.deb" />
<include name="*.ipk" />
<include name="*.msi" />

View File

@ -1,4 +1,4 @@
tar-ignore = "NULL"
diff-ignore = "^NULL$"
extend-diff-ignore = "^NULL$"
compression = "gzip"
compression = "xz"