
Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build Commits: 0bd556ab by Pier Angelo Vendrame at 2025-07-30T13:58:02+02:00 Bug 41527: Update libdmg-hfsplus and enable LZMA compression on dmgs. - - - - - 4 changed files: - projects/browser/ddmg.sh - projects/libdmg-hfsplus/config - tools/signing/ddmg.sh - tools/signing/gatekeeper-bundling.sh Changes: ===================================== projects/browser/ddmg.sh ===================================== @@ -37,7 +37,7 @@ hfsplus "$hfsfile" symlink /Applications /Applications # Show the volume icon hfsplus "$hfsfile" attr / C -dmg dmg "$hfsfile" [% c('dmg_out', { error_if_undef => 1 }) %] +dmg dmg --compression lzma --level 5 --run-sectors 2048 "$hfsfile" [% c('dmg_out', { error_if_undef => 1 }) %] popd rm -Rf "$dmg_tmpdir" ===================================== projects/libdmg-hfsplus/config ===================================== @@ -1,7 +1,7 @@ # vim: filetype=yaml sw=2 version: '[% c("abbrev") %]' git_url: https://github.com/mozilla/libdmg-hfsplus -git_hash: a0a959bd25370c1c0a00c9ec525e3e78285adbf9 +git_hash: d6287b5afc2406b398de42f74eba432f2123b937 filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.[% c("compress_tar") %]' container: use_container: 1 @@ -10,6 +10,7 @@ var: - build-essential - zlib1g-dev - libbz2-dev + - liblzma-dev input_files: - project: container-image - name: cmake ===================================== tools/signing/ddmg.sh ===================================== @@ -57,7 +57,7 @@ hfsplus "$hfsfile" symlink /Applications /Applications # Show the volume icon hfsplus "$hfsfile" attr / C -dmg dmg "$hfsfile" "$dest_file" +dmg dmg --compression lzma --level 5 --run-sectors 2048 "$hfsfile" "$dest_file" echo "Finished: " $(basename $dest_file) ===================================== tools/signing/gatekeeper-bundling.sh ===================================== @@ -39,7 +39,7 @@ test -f $faketime_path || \ exit_error "$faketime_path is missing" test -d $macos_stapled_dir || \ exit_error "The stapled macos zip files should be placed in directory $macos_stapled_dir" -libdmg_file="$script_dir/../../out/libdmg-hfsplus/libdmg-hfsplus-a0a959bd2537-f2819c.tar.zst" +libdmg_file="$script_dir/../../out/libdmg-hfsplus/libdmg-hfsplus-d6287b5afc24-6f206c.tar.zst" test -f "$libdmg_file" || \ exit_error "$libdmg_file is missing." \ "You can build it with:" \ View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/0b... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/0b... You're receiving this email because of your account on gitlab.torproject.org.
participants (1)
-
Pier Angelo Vendrame (@pierov)