Changeset cbeed9092767db95a97ea79f6c8afbcf1dec2ea9

Show
Ignore:
Timestamp:
01/19/08 15:01:00 (6 months ago)
Author:
Felix Paul Kühne <fkuehne@videolan.org>
git-committer:
Felix Paul Kühne <fkuehne@videolan.org> 1200751260 +0000
git-parent:

[3c38ce8c59371afc6894df9fe3aa81cac2f16925]

git-author:
Felix Paul Kühne <fkuehne@videolan.org> 1200751260 +0000
Message:

osx: use dmg-creation code from the 0.8.6-bugfix branch to provide reliable NBs (to be reverted as soon as the existing script is fixed)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Makefile.am

    reb149ee rcbeed90  
    988988    ln -s /Applications $(top_builddir)/vlc-${VERSION}/Applications ; 
    989989 
    990 # Create disk image  
     990# Create disk image (temporarily taken from the 0.8.6-bugfix branch to provide reliable NBs) 
    991991    echo "Creating disk image" ; 
    992992    rm -f "$(top_builddir)/vlc-${VERSION}.dmg" ; 
    993     hdiutil create -verbose -srcfolder "$(top_builddir)/vlc-${VERSION}" \ 
    994       "$(top_builddir)/vlc-${VERSION}.dmg" -format UDRW \ 
    995       -scrub -imagekey zlib-level=9 -attach ; 
     993    hdiutil create -srcfolder "$(top_builddir)/vlc-${VERSION}" \ 
     994      "$(top_builddir)/vlc-${VERSION}.dmg" -format UDZO \ 
     995      -scrub -imagekey zlib-level=9 ; 
     996    echo "Disk image creation completed:" ; 
     997    ls -la "$(top_builddir)/vlc-${VERSION}.dmg" ; echo ; 
     998 
     999# Create disk image  
     1000#   echo "Creating disk image" ; 
     1001#   rm -f "$(top_builddir)/vlc-${VERSION}.dmg" ; 
     1002#   hdiutil create -verbose -srcfolder "$(top_builddir)/vlc-${VERSION}" \ 
     1003#     "$(top_builddir)/vlc-${VERSION}.dmg" -format UDRW \ 
     1004#     -scrub -imagekey zlib-level=9 -attach ; 
    9961005 
    9971006# Make sure the root window of the dmg will pop up when the dmg is mounted. 
    9981007# Note: We dont mount in /Volumes to be sure we won't collide with an other 
    9991008# finder mounted dmg with the same name. 
    1000   echo "Make sure the root window of the dmg will pop up when the dmg is mounted" ; 
     1009# echo "Make sure the root window of the dmg will pop up when the dmg is mounted" ; 
    10011010#   mkdir -p $(top_builddir)/vlcmnt ; 
    10021011#   hdiutil attach -nokernel -readwrite -noverify -noautoopen -private "$(top_builddir)/vlc-${VERSION}.dmg" -mountpoint "$(top_builddir)/vlcmnt/vlc-${VERSION}" ; 
    1003   bless --folder "$(top_builddir)/vlcmnt/vlc-${VERSION}/" --openfolder "$(top_builddir)/vlcmnt/vlc-${VERSION}" ; 
    1004   sleep 1 # Make sure operation completes 
     1012# bless --folder "$(top_builddir)/vlcmnt/vlc-${VERSION}/" --openfolder "$(top_builddir)/vlcmnt/vlc-${VERSION}" ; 
     1013# sleep 1 # Make sure operation completes 
    10051014#   cd "$(srcdir)" 
    10061015 
    10071016# Unmount the image now 
    1008   hdiutil detach "$(top_builddir)/vlcmnt/vlc-${VERSION}" ; 
    1009   rm -R $(top_builddir)/vlcmnt ; 
     1017# hdiutil detach "$(top_builddir)/vlcmnt/vlc-${VERSION}" ; 
     1018# rm -R $(top_builddir)/vlcmnt ; 
    10101019 
    10111020# Make sure the image is not writable