X-Git-Url: http://git.onelab.eu/?p=sface.git;a=blobdiff_plain;f=macos%2Fbuild-dmg.sh;h=fffa0ea3b3ab42c690976bca3f7db1d57454fddd;hp=836e0624c5d0dd493b329deccd1262fdf7e11774;hb=51c6beef7779eeb4a1e8565f8107b2899bf7a814;hpb=01ce04953172f26b38955b74f5593509ce022752 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..."