VirtualBox

Changeset 54680 in vbox for trunk/src


Ignore:
Timestamp:
Mar 7, 2015 5:51:01 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98835
Message:

Installer/darwin: Corrected frameworks so they're signable on 10.10 with xcode 6.1.1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/Makefile.kmk

    r54678 r54680  
    498498        Frameworks/QtGui$(VBOX_QT4_INFIX).framework/Versions/4/Resources/qt_menu.nib/classes.nib \
    499499        Frameworks/QtGui$(VBOX_QT4_INFIX).framework/Versions/4/Resources/qt_menu.nib/info.nib \
    500         Frameworks/QtGui$(VBOX_QT4_INFIX).framework/Versions/4/Resources/qt_menu.nib/keyedobjects.nib
     500        Frameworks/QtGui$(VBOX_QT4_INFIX).framework/Versions/4/Resources/qt_menu.nib/keyedobjects.nib \
     501        $(foreach qtmod, $(VBOX_QT4_MOD_NAMES), Frameworks/$(qtmod).framework/Versions/4/Resources/Info.plist)
    501502
    502503VBOX_DI_VBAPP_SYMLINKS = \
    503504        Resources/VirtualBoxVM.app/Contents/MacOS=>../../../MacOS/ \
    504505        Resources/vmstarter.app/Contents/MacOS=>../../../MacOS/ \
    505         $(foreach qtmod, $(VBOX_QT4_MOD_NAMES), Frameworks/$(qtmod).framework/$(qtmod)=>Versions/4/$(qtmod)) \
    506         Frameworks/QtGui$(VBOX_QT4_INFIX).framework/Resources=>Versions/4/Resources/
     506        $(foreach qtmod, $(VBOX_QT4_MOD_NAMES) \
     507        ,Frameworks/$(qtmod).framework/Versions/Current=>4 )
     508ifndef VBOX_NOT_OSX_105
     509VBOX_DI_VBAPP_SYMLINKS += $(foreach qtmod, $(VBOX_QT4_MOD_NAMES) \
     510        ,Frameworks/$(qtmod).framework/$(qtmod)=>Versions/4/$(qtmod) \
     511         Frameworks/$(qtmod).framework/Resources=>Versions/4/Resources/ )
     512endif
    507513
    508514ifdef VBOX_WITH_PYTHON
     
    695701        $(foreach qtmod, $(VBOX_QT4_MOD_NAMES) \
    696702                ,$(NLTAB)$(call VBOX_SIGN_MACHO_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/Frameworks/$(qtmod).framework/Versions/4/$(qtmod),org.virtualbox.app.frameworks.$(qtmod)) )
     703        $(foreach qtmod, $(VBOX_QT4_MOD_NAMES) \
     704                ,$(NLTAB)$(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/Frameworks/$(qtmod).framework/Versions/4,org.virtualbox.app.frameworks.$(qtmod)) )
    697705        $(foreach dylib, \
    698706                $(VBOX_DI_VBAPP_DYLIBS) \
     
    721729                , $(NLTAB)$(call VBOX_SIGN_FILE_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/$(file),org.virtualbox.app.$(tolower $(subst $(SP),,$(subst /,.,$(file))))) )
    722730
     731        $(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/Resources/VirtualBoxVM.app,,)
     732        $(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/Resources/vmstarter.app,,)
     733        $(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_VBOX_APP_TMP),,--deep)
    723734 else
    724735        $(foreach other, $(VBOX_DI_VBAPP_OTHER_UNIVERSAL_BINS) $(VBOX_DI_VBAPP_OTHER_BINS) \
     
    727738                , $(NLTAB)$(call VBOX_SIGN_MACHO_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/$(bin),org.virtualbox.app.macos.$(notdir $(bin))) )
    728739 endif
    729  ifdef VBOX_NOT_OSX_105 # requires codesign+framworks from Lion or later. Snow Leopard codesign says object file format invalid or unsuitable.
    730         $(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/Resources/VirtualBoxVM.app,)
    731         $(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/Resources/vmstarter.app,)
    732         $(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_VBOX_APP_TMP),)
    733  endif
    734740endif
    735741        @# Set the correct owner and set the set-user-ID-on-execution bit on the relevant executables.
     
    740746                        $(VBOX_PATH_VBOX_APP_TMP)/Contents/MacOS/$(bin))
    741747endif
     748        exit 1
    742749        @# Do keyword replacement in the package info and description files.
    743750        $(SED) \
Note: See TracChangeset for help on using the changeset viewer.

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