From 7c1f5fa819cf8b64827e15a670c2a658e2f2c4d0 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 15 Mar 2011 14:48:23 +0100 Subject: [PATCH 1/1] cleanup --- macos/build-dmg.sh | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/macos/build-dmg.sh b/macos/build-dmg.sh index 836e062..fffa0ea 100755 --- a/macos/build-dmg.sh +++ b/macos/build-dmg.sh @@ -3,9 +3,6 @@ # PURPOSE # package a combination of sfa+sface into a snow leopard dmg install disk # -# NOTES -# we leverage the first similar packaging initially made by Baris Metin -# # REQUIREMENTS # sface-skel-snow-leopard.dmg is the skeleton that has Qt and all the other third-party software # it is expected to be found in the local directory @@ -15,6 +12,22 @@ # in order to retrieve the corresponding code and to label the resulting package properly # alternatively, a build-dir and tags file can be used instead +# NOTES +# we initially leveraged the first similar packaging initially made by Baris Metin +# as of sface-0.1-9 we have bootstrapped our own skeleton images, +# i.e. you can use vn as a skeleton for vn+1 +# about that, the way the background image gets (or not) found +# on the final system is as follows +# before compressing the image, you should open the image through the finder +# and tweak it, as described in http://el-tramo.be/guides/fancy-dmg +# that's the raison d'ĂȘtre for the -i option +# basically: open two finder windows, one on the .backgrounf dir (use cmd-shift G) +# and one on the image itself; then using Finder->view->show view options +# drag the background image as appropriate +# the important point being that the filename for the background must +# exist - and so be the same - on the target system. +# that's why the image 'volname' is constant across versions + # the place to search for the skeleton SKEL_REPO=http://mirror.onelab.eu/third-party @@ -169,9 +182,6 @@ Also make sure to trash the current one before retrying" read _ fi - # this apparently requires xcode -# /Developer/Tools/SetFile -a V "$img_mnt"/$background_path - hdiutil detach "$img_mnt" rm -f $img_dmg echo "Compressing..." -- 2.43.0