[Libreoffice-commits] .: Branch 'libreoffice-3-5' - solenv/bin

Thorsten Behrens thorsten at kemper.freedesktop.org
Fri Feb 17 00:47:31 PST 2012


 solenv/bin/modules/installer/simplepackage.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1aeccb314ebbc0ae2bba1c926f99ee7ec0f0aae0
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Thu Feb 16 23:15:26 2012 -0600

    use bzip2 compression for dmg
    
    On MacOSX the installable packages (dmg), can use diverse format and
    diverse compression method.
    Since 10.4 a new format is supported that use bzip2 as a compression
    back-end. The result if a reduction of ~30MB of the main dmg.
    
    Signed-off-by: Thorsten Behrens <tbehrens at suse.com>

diff --git a/solenv/bin/modules/installer/simplepackage.pm b/solenv/bin/modules/installer/simplepackage.pm
index 8c0e9ee..8bd8bda 100755
--- a/solenv/bin/modules/installer/simplepackage.pm
+++ b/solenv/bin/modules/installer/simplepackage.pm
@@ -535,7 +535,7 @@ sub create_package
             chdir $localfrom;
         }
 
-        $systemcall = "cd $localtempdir && hdiutil makehybrid -hfs -hfs-openfolder $folder $folder -hfs-volume-name \"$volume_name\" -ov -o $installdir/tmp && hdiutil convert -ov -format UDZO $installdir/tmp.dmg -o $archive && ";
+        $systemcall = "cd $localtempdir && hdiutil makehybrid -hfs -hfs-openfolder $folder $folder -hfs-volume-name \"$volume_name\" -ov -o $installdir/tmp && hdiutil convert -ov -format UDBZ $installdir/tmp.dmg -o $archive && ";
         if (( $ref ne "" ) && ( $$ref ne "" )) {
             $systemcall .= "hdiutil unflatten $archive && Rez -a $$ref -o $archive && hdiutil flatten $archive &&";
         }


More information about the Libreoffice-commits mailing list