Changeset 54680 in vbox
- Timestamp:
- Mar 7, 2015 5:51:01 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
Config.kmk (modified) (2 diffs)
-
Makefile.kmk (modified) (3 diffs)
-
src/VBox/Installer/darwin/Makefile.kmk (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r54679 r54680 2760 2760 --force \ 2761 2761 --file-list - \ 2762 $(3) \ 2762 2763 $(VBOX_CERTIFICATE_SUBJECT_NAME_ARGS) \ 2763 2764 $(1) $(if $(2),--identifier "$(2)",) … … 2839 2840 $(MKDIR) -p -- "$$($1.kext_0_OUTDIR)/Contents/MacOS/" 2840 2841 $(INSTALL) -m 644 $$($1_1_TARGET) $$($1.kext_0_OUTDIR)/Contents/MacOS/$1 2841 $(call VBOX_SIGN_BUNDLE_FN,$$($1.kext_0_OUTDIR),org.virtualbox.app.kext.$1 )2842 $(call VBOX_SIGN_BUNDLE_FN,$$($1.kext_0_OUTDIR),org.virtualbox.app.kext.$1,) 2842 2843 endef 2843 2844 else -
trunk/Makefile.kmk
r52855 r54680 143 143 # Install our Qt DLLs / Shared Objects / Frameworks. 144 144 # Note: The installer fixes the darwin .dylibs when hardening is enabled. 145 # Note: Contents/Info.plist is where it's in 4.7.x, not sure if the location is kosher... According to 146 # https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html 147 # the Info.plist file goes into Resources. 145 148 # 146 149 ifeq ($(KBUILD_TARGET),darwin) … … 149 152 qt4-bin_INST = $(INST_VIRTUALBOX)Contents/ 150 153 qt4-bin_SOURCES = $(foreach qtmod,$(VBOX_QT4_MOD_NAMES) \ 151 ,$(PATH_SDK_QT4_LIB)/$(qtmod).framework/Versions/4/$(qtmod)=>Frameworks/$(qtmod).framework/Versions/4/$(qtmod)) 154 ,$(PATH_SDK_QT4_LIB)/$(qtmod).framework/Versions/4/$(qtmod)=>Frameworks/$(qtmod).framework/Versions/4/$(qtmod) \ 155 $(PATH_SDK_QT4_LIB)/$(qtmod).framework/Contents/Info.plist=>Frameworks/$(qtmod).framework/Versions/4/Resources/Info.plist \ 156 ) 152 157 ifdef VBOX_WITH_COCOA_QT 153 158 qt4-bin_SOURCES += \ … … 161 166 endif 162 167 qt4-bin_SYMLINKS = $(foreach qtmod, $(VBOX_QT4_MOD_NAMES) \ 163 ,Frameworks/$(qtmod).framework/$(qtmod)=>Versions/4/$(qtmod)) 164 ifdef VBOX_WITH_COCOA_QT 165 qt4-bin_SYMLINKS += \ 166 Frameworks/QtGui$(VBOX_QT4_INFIX).framework/Resources=>Versions/4/Resources/ 167 endif 168 ,Frameworks/$(qtmod).framework/Versions/Current=>4 \ 169 Frameworks/$(qtmod).framework/$(qtmod)=>Versions/4/$(qtmod) \ 170 Frameworks/$(qtmod).framework/Resources=>Versions/4/Resources \) 168 171 else 169 172 if defined(VBOX_WITH_QT4_SUN) || defined(VBOX_WITH_QT4_PAYLOAD) -
trunk/src/VBox/Installer/darwin/Makefile.kmk
r54678 r54680 498 498 Frameworks/QtGui$(VBOX_QT4_INFIX).framework/Versions/4/Resources/qt_menu.nib/classes.nib \ 499 499 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) 501 502 502 503 VBOX_DI_VBAPP_SYMLINKS = \ 503 504 Resources/VirtualBoxVM.app/Contents/MacOS=>../../../MacOS/ \ 504 505 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 ) 508 ifndef VBOX_NOT_OSX_105 509 VBOX_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/ ) 512 endif 507 513 508 514 ifdef VBOX_WITH_PYTHON … … 695 701 $(foreach qtmod, $(VBOX_QT4_MOD_NAMES) \ 696 702 ,$(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)) ) 697 705 $(foreach dylib, \ 698 706 $(VBOX_DI_VBAPP_DYLIBS) \ … … 721 729 , $(NLTAB)$(call VBOX_SIGN_FILE_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/$(file),org.virtualbox.app.$(tolower $(subst $(SP),,$(subst /,.,$(file))))) ) 722 730 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) 723 734 else 724 735 $(foreach other, $(VBOX_DI_VBAPP_OTHER_UNIVERSAL_BINS) $(VBOX_DI_VBAPP_OTHER_BINS) \ … … 727 738 , $(NLTAB)$(call VBOX_SIGN_MACHO_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/$(bin),org.virtualbox.app.macos.$(notdir $(bin))) ) 728 739 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 endif734 740 endif 735 741 @# Set the correct owner and set the set-user-ID-on-execution bit on the relevant executables. … … 740 746 $(VBOX_PATH_VBOX_APP_TMP)/Contents/MacOS/$(bin)) 741 747 endif 748 exit 1 742 749 @# Do keyword replacement in the package info and description files. 743 750 $(SED) \
Note:
See TracChangeset
for help on using the changeset viewer.

