Wireshark-commits: [Wireshark-commits] master b789895: macOS: Use dmgbuild to build our .dmg.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 25 Sep 2019 21:31:28 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b789895c1bcb13a400ecbe7018d534f579b0faf1
Submitter: "Gerald Combs <gerald@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

b789895 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    macOS: Use dmgbuild to build our .dmg.
    
    Scripting the Finder in order to lay out our disk image assumes that we
    have access to the Finder. This might not be the case on our builder,
    and it arguably shoudn't be.
    
    Switch from using a Bash script + AppleScript to build and lay out our
    .dmg to using dmgbuild, which creates our .DS_Store directly using
    Python's ds_store module.
    
    Change-Id: I2e4a9dd89bc8297c9cbd9df7aa8d3a44447bde85
    Reviewed-on: https://code.wireshark.org/review/34623
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  96feb2a   Fix opening manual from staging directory
     add  b789895   macOS: Use dmgbuild to build our .dmg.


Summary of changes:
 .editorconfig                               |   2 +-
 CMakeLists.txt                              |  43 +++---
 packaging/macosx/arrange_dmg.applescript.in |  43 ------
 packaging/macosx/dmgbuild-settings.py.in    | 147 +++++++++++++++++++++
 packaging/macosx/osx-dmg.sh.in              | 196 ----------------------------
 5 files changed, 171 insertions(+), 260 deletions(-)
 delete mode 100644 packaging/macosx/arrange_dmg.applescript.in
 create mode 100644 packaging/macosx/dmgbuild-settings.py.in
 delete mode 100755 packaging/macosx/osx-dmg.sh.in