From: Thierry Parmentelat Date: Tue, 15 Mar 2011 13:48:23 +0000 (+0100) Subject: cleanup X-Git-Tag: sface-0.1-9~3 X-Git-Url: http://git.onelab.eu/?p=sface.git;a=commitdiff_plain;h=7c1f5fa819cf8b64827e15a670c2a658e2f2c4d0;hp=01ce04953172f26b38955b74f5593509ce022752 cleanup --- 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..."