VirtualBox

Changeset 42730 in vbox for trunk


Ignore:
Timestamp:
Aug 9, 2012 7:59:32 PM (12 years ago)
Author:
vboxsync
Message:

Mac OS X: Don't create two cyclic symlinks in the Resources of the VirtualBox.app.

Location:
trunk/src/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r42526 r42730  
    987987VirtualBoxVM.app_SOURCES = \
    988988        src/platform/darwin/VM-PkgInfo=>PkgInfo \
    989         $(VirtualBoxVM.app_0_OUTDIR)/VM-Info.plist=>Info.plist
     989        $(VirtualBoxVM.app_0_OUTDIR)/VM-Info.plist=>Info.plist \
     990       $(foreach mysrc,$(VirtualBox.app_SOURCES),$(if-expr $(pos =>Resources/,$(mysrc)) > 0,$(mysrc),))
    990991VirtualBoxVM.app_SYMLINKS = \
    991         MacOS=>../../../MacOS/ \
    992         Resources=>../../../Resources/
     992        MacOS=>../../../MacOS/
    993993
    994994$$(VirtualBoxVM.app_0_OUTDIR)/VM-Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/VM-Info.plist $(VBOX_VERSION_MK) | $$(@D)/
     
    10161016vmstarter.app_SOURCES = \
    10171017        src/platform/darwin/vmstarter-PkgInfo=>PkgInfo \
    1018         $(vmstarter.app_0_OUTDIR)/vmstarter-Info.plist=>Info.plist
     1018        $(vmstarter.app_0_OUTDIR)/vmstarter-Info.plist=>Info.plist \
     1019       $(foreach mysrc,$(VirtualBox.app_SOURCES),$(if-expr $(pos =>Resources/,$(mysrc)) > 0,$(mysrc),))
    10191020vmstarter.app_SYMLINKS = \
    1020     MacOS=>../../../MacOS \
    1021     Resources=>../../../Resources
     1021        MacOS=>../../../MacOS \
    10221022
    10231023$$(vmstarter.app_0_OUTDIR)/vmstarter-Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/vmstarter-Info.plist $(VBOX_VERSION_MK) | $$(@D)/
  • trunk/src/VBox/Installer/darwin/Makefile.kmk

    r42575 r42730  
    654654        MacOS/VBoxDD2GC.gc
    655655
    656 VBOX_DI_VBAPP_MISC_FILES = \
    657         Resources/VirtualBoxVM.app/Contents/Info.plist \
    658         Resources/VirtualBoxVM.app/Contents/PkgInfo \
    659         Resources/vmstarter.app/Contents/Info.plist \
    660         Resources/vmstarter.app/Contents/PkgInfo \
    661         Info.plist \
    662         PkgInfo \
     656VBOX_DI_VBAPP_DUPLICATED_RESOURCE_FILES = \
    663657        Resources/virtualbox.icns \
    664658        Resources/virtualbox.png \
     
    670664        Resources/virtualbox-vmdk.icns \
    671665        Resources/virtualbox-vhd.icns \
    672         Resources/virtualbox-hdd.icns \
     666        Resources/virtualbox-hdd.icns
     667
     668VBOX_DI_VBAPP_MISC_FILES = \
     669        Info.plist \
     670        PkgInfo \
     671       $(VBOX_DI_VBAPP_DUPLICATED_RESOURCE_FILES) \
    673672        MacOS/components/VBoxXPCOMBase.xpt \
    674         MacOS/components/VirtualBox_XPCOM.xpt
     673        MacOS/components/VirtualBox_XPCOM.xpt \
     674        Resources/VirtualBoxVM.app/Contents/Info.plist \
     675        Resources/VirtualBoxVM.app/Contents/PkgInfo \
     676       $(addprefix Resources/VirtualBoxVM.app/Contents/,$(VBOX_DI_VBAPP_DUPLICATED_RESOURCE_FILES)) \
     677        Resources/vmstarter.app/Contents/Info.plist \
     678        Resources/vmstarter.app/Contents/PkgInfo \
     679       $(addprefix Resources/vmstarter.app/Contents/,$(VBOX_DI_VBAPP_DUPLICATED_RESOURCE_FILES))
    675680ifdef VBOX_WITH_DOCS_PACKING
    676681VBOX_DI_VBAPP_MISC_FILES += \
     
    697702VBOX_DI_VBAPP_SYMLINKS = \
    698703        Resources/VirtualBoxVM.app/Contents/MacOS=>../../../MacOS/ \
    699         Resources/VirtualBoxVM.app/Contents/Resources=>../../../Resources/ \
    700704        Resources/vmstarter.app/Contents/MacOS=>../../../MacOS/ \
    701         Resources/vmstarter.app/Contents/Resources=>../../../Resources/ \
    702705        $(foreach qtmod, $(VBOX_QT4_MOD_NAMES), Frameworks/$(qtmod).framework/$(qtmod)=>Versions/4/$(qtmod))
    703706ifdef VBOX_WITH_COCOA_QT
  • trunk/src/VBox/Installer/darwin/VirtualBox/Info.plist

    r31655 r42730  
    2020        <key>IFPkgFormatVersion</key>                   <real>0.10000000149011612</real>
    2121        <key>IFPkgFlagOverwritePermissions</key>        <false/>
     22        <key>IFPkgFlagFollowLinks</key>                 <false/>
    2223</dict>
    2324</plist>
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette