Changeset 10420 in vbox
- Timestamp:
- Jul 9, 2008 1:48:36 PM (17 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r10245 r10420 86 86 PROGRAMS = VirtualBox 87 87 ifeq ($(filter-out freebsd linux openbsd netbsd solaris,$(KBUILD_TARGET)),) # X11 88 DLLS = VBoxKeyboard 89 OTHERS = $(PATH_BIN)/vboxkeyboard .tar.gz88 DLLS = VBoxKeyboard3 89 OTHERS = $(PATH_BIN)/vboxkeyboard3.tar.gz 90 90 endif 91 91 INSTALLS = VirtualBox.nls … … 119 119 # VBoxKeyboard - keyboard library for X11. 120 120 # 121 VBoxKeyboard _TEMPLATE = VBOXR3122 VBoxKeyboard _SOURCES = \121 VBoxKeyboard3_TEMPLATE = VBOXR3 122 VBoxKeyboard3_SOURCES = \ 123 123 src/linux/keyboard-new.c 124 VBoxKeyboard _TARSOURCES = \125 $(VBoxKeyboard _SOURCES) \124 VBoxKeyboard3_TARSOURCES = \ 125 $(VBoxKeyboard3_SOURCES) \ 126 126 src/linux/COPYING.LIB \ 127 127 src/linux/keyboard.h \ … … 131 131 src/linux/keyboard-types.h \ 132 132 src/linux/Makefile 133 VBoxKeyboard _LIBS = X11134 VBoxKeyboard _LIBPATH = $(VBOX_LIBPATH_X11)135 136 137 # 138 # vboxkeyboard .tar.gz - the LGPLed keyboard library must always be133 VBoxKeyboard3_LIBS = X11 134 VBoxKeyboard3_LIBPATH = $(VBOX_LIBPATH_X11) 135 136 137 # 138 # vboxkeyboard3.tar.gz - the LGPLed keyboard library must always be 139 139 # redistributed with usable sources. 140 140 # 141 SOURCE_DIRECTORY = vboxkeyboard 141 SOURCE_DIRECTORY = vboxkeyboard3 142 142 DIRECTORY_PREFIX = src/linux/ 143 143 … … 146 146 $(LN_SYMLINK) $(abspath $(PATH_CURRENT))/$(DIRECTORY_PREFIX) $@ 147 147 148 $(PATH_BIN)/vboxkeyboard .tar.gz: $(VBoxKeyboard_TARSOURCES) $(PATH_TARGET)/$(SOURCE_DIRECTORY)148 $(PATH_BIN)/vboxkeyboard3.tar.gz: $(VBoxKeyboard3_TARSOURCES) $(PATH_TARGET)/$(SOURCE_DIRECTORY) 149 149 $(call MSG_TOOL,tar/gzip,,$@) 150 $(QUIET)cd $(PATH_TARGET) && tar -chf - $(addprefix $(SOURCE_DIRECTORY)/,$(subst $(DIRECTORY_PREFIX),,$(VBoxKeyboard _TARSOURCES))) | gzip - > $@150 $(QUIET)cd $(PATH_TARGET) && tar -chf - $(addprefix $(SOURCE_DIRECTORY)/,$(subst $(DIRECTORY_PREFIX),,$(VBoxKeyboard3_TARSOURCES))) | gzip - > $@ 151 151 152 152 … … 155 155 # 156 156 VirtualBox_TEMPLATE = VBOXQTGUIEXE 157 VirtualBox_NAME = VirtualBox3 157 158 VirtualBox_SDKS.win = WINPSDK DXSDK 158 159 #ifeq ($(filter-out freebsd linux netbsd openbsd os2 solaris,$(KBUILD_TARGET)),) - later … … 163 164 ifeq ($(KBUILD_TARGET),darwin) 164 165 # For the launch trick we need different inode numbers. 165 VirtualBox_INST = $(INST_BIN)VirtualBox $(INST_BIN)VirtualBoxVM166 VirtualBox_INST = $(INST_BIN)VirtualBox3 $(INST_BIN)VirtualBoxVM3 166 167 167 168 # For testing iChat Theater stuff change … … 392 393 VirtualBox_LIBS.os2 += $(PATH_DLL)/VBoxHlp$(VBOX_SUFF_DLL) 393 394 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11 394 VirtualBox_LIBS += $(PATH_DLL)/VBoxKeyboard $(VBOX_SUFF_DLL)395 VirtualBox_LIBS += $(PATH_DLL)/VBoxKeyboard3$(VBOX_SUFF_DLL) 395 396 endif 396 397 … … 417 418 $(VirtualBox_GENHDRS) \ 418 419 $(WRAPPERSFILE) \ 419 $(PATH_BIN)/vboxkeyboard .tar.gz420 $(PATH_BIN)/vboxkeyboard3.tar.gz 420 421 421 422 … … 476 477 # Translation installation 477 478 # 478 VirtualBox.nls_INST = $(INST_BIN)nls /479 VirtualBox.nls_INST = $(INST_BIN)nls3/ 479 480 VirtualBox.nls_SOURCES = $(patsubst %.ts,$(PATH_VirtualBox)/nls/%.qm,$(notdir $(VirtualBox_QT_TRANSLATIONS))) 480 481 VirtualBox.nls_SOURCES += $(patsubst %.ts,$(PATH_VirtualBox)/nls/%.qm,$(notdir $(VirtualBox_QT_TRANSLATIONS_QT))) … … 488 489 PROGRAMS.darwin += tstDarwinKeyboard 489 490 tstDarwinKeyboard_TEMPLATE = VBOXR3TSTEXE 491 tstDarwinKeyboard_NAME = tstDarwinKeyboard3 490 492 tstDarwinKeyboard_INCS = include 491 493 tstDarwinKeyboard_SOURCES = \ -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp
r9060 r10420 2627 2627 } 2628 2628 2629 extern const char *gVBoxLangSubDir = "/nls ";2629 extern const char *gVBoxLangSubDir = "/nls3"; 2630 2630 extern const char *gVBoxLangFileBase = "VirtualBox_"; 2631 2631 extern const char *gVBoxLangFileExt = ".qm"; -
trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk
r10346 r10420 349 349 PROGRAMS += VirtualBox4 350 350 ifeq ($(filter-out freebsd linux openbsd netbsd solaris,$(KBUILD_TARGET)),) # X11 351 DLLS += VBoxKeyboard 4351 DLLS += VBoxKeyboard 352 352 ## @todo convert to install target. 353 OTHERS += $(PATH_BIN)/vboxkeyboard 4.tar.gz354 CLEAN += $(PATH_BIN)/vboxkeyboard 4.tar.gz353 OTHERS += $(PATH_BIN)/vboxkeyboard.tar.gz 354 CLEAN += $(PATH_BIN)/vboxkeyboard.tar.gz 355 355 endif 356 356 INSTALLS += VirtualBox4.nls qt4-bin … … 360 360 # VBoxKeyboard - keyboard library for X11. 361 361 # 362 VBoxKeyboard 4_TEMPLATE = VBOXR3363 VBoxKeyboard 4_SOURCES = \362 VBoxKeyboard_TEMPLATE = VBOXR3 363 VBoxKeyboard_SOURCES = \ 364 364 src/linux/keyboard-new.c 365 VBoxKeyboard 4_LIBS = X11366 VBoxKeyboard 4_LIBPATH = $(VBOX_LIBPATH_X11)365 VBoxKeyboard_LIBS = X11 366 VBoxKeyboard_LIBPATH = $(VBOX_LIBPATH_X11) 367 367 368 368 … … 377 377 # 378 378 ## @todo this should be tar'ed down into the output directory and installed using an install target. 379 $(PATH_BIN)/vboxkeyboard 4.tar.gz: \380 $(VBoxKeyboard 4_SOURCES) \379 $(PATH_BIN)/vboxkeyboard.tar.gz: \ 380 $(VBoxKeyboard_SOURCES) \ 381 381 src/linux/COPYING.LIB \ 382 382 src/linux/keyboard.h \ … … 387 387 src/linux/Makefile 388 388 $(call MSG_TOOL,tar/gzip,,$@) 389 $(QUIET2)$(RM) -f $(PATH_TARGET)/vboxkeyboard 4$@390 $(QUIET)$(LN_SYMLINK) $(VBOX_VIRTUALBOX4_SRC)/src/linux/ $(PATH_TARGET)/vboxkeyboard 4389 $(QUIET2)$(RM) -f $(PATH_TARGET)/vboxkeyboard $@ 390 $(QUIET)$(LN_SYMLINK) $(VBOX_VIRTUALBOX4_SRC)/src/linux/ $(PATH_TARGET)/vboxkeyboard 391 391 $(QUIET)cd $(PATH_TARGET) \ 392 && tar -chvf - $(addprefix vboxkeyboard 4/,$(notdir $^)) \392 && tar -chvf - $(addprefix vboxkeyboard/,$(notdir $^)) \ 393 393 | gzip - > $@ 394 $(QUIET2)$(RM) -f $(PATH_TARGET)/vboxkeyboard 4394 $(QUIET2)$(RM) -f $(PATH_TARGET)/vboxkeyboard 395 395 396 396 … … 407 407 # 408 408 VirtualBox4_TEMPLATE = VBOXQT4GUIEXE 409 VirtualBox4_NAME = VirtualBox 409 410 VirtualBox4_SDKS.win = WINPSDK DXSDK 410 411 ifeq ($(filter-out freebsd linux netbsd openbsd os2,$(KBUILD_TARGET)),) # X11 + os2 ## @todo solaris … … 414 415 ifeq ($(KBUILD_TARGET),darwin) 415 416 # For the launch trick we need different inode numbers. 416 VirtualBox4_INST = $(INST_BIN)VirtualBox 4 $(INST_BIN)VirtualBoxVM4417 VirtualBox4_INST = $(INST_BIN)VirtualBox $(INST_BIN)VirtualBoxVM 417 418 418 419 # For testing iChat Theater stuff change the sdk path (HACK ALERT!) … … 495 496 $(PATH_SDK_DXSDK_LIB)/dxguid.lib 496 497 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11 497 VirtualBox4_LIBS += $(PATH_DLL)/VBoxKeyboard 4$(VBOX_SUFF_DLL)498 VirtualBox4_LIBS += $(PATH_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL) 498 499 endif 499 500 … … 839 840 # 840 841 ifndef USE_KBUILD_QT_UNIT ## @todo later 841 VirtualBox4.nls_INST = $(INST_BIN)nls 4/842 VirtualBox4.nls_INST = $(INST_BIN)nls/ 842 843 VirtualBox4.nls_SOURCES = $(patsubst %.ts,$(PATH_VirtualBox4)/nls/%.qm,$(notdir $(VirtualBox4_QT_TRANSLATIONS))) 843 844 VirtualBox4.nls_SOURCES += $(patsubst %.ts,$(PATH_VirtualBox4)/nls/%.qm,$(notdir $(VirtualBox4_QT_TRANSLATIONS_QT))) … … 851 852 ifdef VBOX_WITH_TESTCASES 852 853 PROGRAMS.darwin += tstDarwinKeyboard4 854 tstDarwinKeyboard4_NAME = tstDarwinKeyboard 853 855 tstDarwinKeyboard4_TEMPLATE = VBOXR3TSTEXE 854 856 tstDarwinKeyboard4_INCS = include -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp
r10167 r10420 2538 2538 } 2539 2539 2540 extern const char *gVBoxLangSubDir = "/nls 4";2540 extern const char *gVBoxLangSubDir = "/nls"; 2541 2541 extern const char *gVBoxLangFileBase = "VirtualBox_"; 2542 2542 extern const char *gVBoxLangFileExt = ".qm"; -
trunk/src/VBox/Main/MachineImpl.cpp
r10306 r10420 3424 3424 { 3425 3425 #ifdef RT_OS_DARWIN /* Avoid Lanuch Services confusing this with the selector by using a helper app. */ 3426 const char VirtualBox_exe[] = "../Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM ";3426 const char VirtualBox_exe[] = "../Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM3"; 3427 3427 #else 3428 const char VirtualBox_exe[] = "VirtualBox " HOSTSUFF_EXE;3428 const char VirtualBox_exe[] = "VirtualBox3" HOSTSUFF_EXE; 3429 3429 #endif 3430 3430 Assert (sz >= sizeof (VirtualBox_exe)); … … 3444 3444 { 3445 3445 #ifdef RT_OS_DARWIN /* Avoid Lanuch Services confusing this with the selector by using a helper app. */ 3446 const char VirtualBox_exe[] = "../Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM 4";3446 const char VirtualBox_exe[] = "../Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM"; 3447 3447 #else 3448 const char VirtualBox_exe[] = "VirtualBox 4" HOSTSUFF_EXE;3448 const char VirtualBox_exe[] = "VirtualBox" HOSTSUFF_EXE; 3449 3449 #endif 3450 3450 Assert (sz >= sizeof (VirtualBox_exe));
Note:
See TracChangeset
for help on using the changeset viewer.