Changeset 34522 in vbox
- Timestamp:
- Nov 30, 2010 2:49:21 PM (14 years ago)
- Location:
- trunk/src/VBox/Installer/linux
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/Makefile.kmk
r34456 r34522 75 75 linux-misc_SOURCES = \ 76 76 $(PATH_ROOT)/src/VBox/Frontends/VirtualBox/images/$(if $(VBOX_OSE),OSE,NonOSE)/VirtualBox_32px.png=>VBox.png \ 77 $(PATH_ROOT)/src/VBox/Installer/linux/virtualbox.xml \ 77 78 $(if $(VBOX_OSE),,$(VBOX_BRAND_LICENSE_TXT)=>LICENSE) \ 78 79 $(if $(VBOX_WITH_QTGUI),$(PATH_linux-misc)/virtualbox.desktop,) … … 87 88 endif 88 89 90 INSTALLS += linux-icons 91 linux-icons_INST = bin/icons 92 linux-icons_MODE = a+r,u+w 93 linux-icons_SOURCES = $(VBOX_MIME_ICONS) 89 94 90 95 … … 160 165 VBOX_LNX_NO_STRIP += \ 161 166 virtualbox.desktop \ 167 virtualbox.xml \ 162 168 $(VBOX_LICENSE_FILES) \ 163 169 $(if $(VBOX_WITH_QT4_SUN),$(notdir $(wildcard $(PATH_BIN)/lib*VBox*)),) \ 164 170 $(if $(VBOX_WITH_QT4_SUN),accessible/libqtaccessiblewidgets.so,) \ 165 $(foreach f,$(VBOX_APPROVED_GUI_LANGUAGES),nls/VirtualBox_$(f).qm nls/qt_$(f).qm) 171 $(foreach f,$(VBOX_APPROVED_GUI_LANGUAGES),nls/VirtualBox_$(f).qm nls/qt_$(f).qm) \ 172 icons 166 173 endif 167 174 … … 254 261 VBoxEFI64.fd 255 262 endif 263 264 VBOX_MIME_ICONS = \ 265 $(addprefix $(PATH_ROOT)/src/VBox/Resources/other/,\ 266 $(foreach f,ova ovf vbox vbox-extpack, \ 267 $(foreach s,16 20 24 32 48 64 72 96 128 256,\ 268 virtualbox-$(f)-$(s)px.png=>$(s)x$(s)/virtualbox-$(f).png))) 256 269 257 270 # -
trunk/src/VBox/Installer/linux/install.sh
r34456 r34522 386 386 ln -sf $INSTALLATION_DIR/VBox.png /usr/share/pixmaps/VBox.png 387 387 ln -sf $INSTALLATION_DIR/virtualbox.desktop /usr/share/applications/virtualbox.desktop 388 ln -sf $INSTALLATION_DIR/virtualbox.xml /usr/share/mime/packages/virtualbox.xml 388 389 ln -sf $INSTALLATION_DIR/rdesktop-vrdp /usr/bin/rdesktop-vrdp 389 390 ln -sf $INSTALLATION_DIR/src/vboxhost /usr/src/vboxhost-_VERSION_ … … 394 395 ln -sf VBoxSDL /usr/bin/vboxsdl > /dev/null 2>&1 395 396 ln -sf VBoxHeadless /usr/bin/vboxheadless > /dev/null 2>&1 397 398 # Icons 399 cur=`pwd` 400 cd $INSTALLATION_DIR/icons 401 for i in *; do 402 cd $i 403 if [ -d /usr/share/icons/hicolor/$i ]; then 404 for j in *; do 405 if [ -d /usr/share/icons/hicolor/$i/mimetypes ]; then 406 ln -s $INSTALLATION_DIR/icons/$i/$j /usr/share/icons/hicolor/$i/mimetypes/$j 407 echo /usr/share/icons/hicolor/$i/mimetypes/$j >> $CONFIG_DIR/$CONFIG_FILES 408 fi 409 done 410 fi 411 cd - 412 done 413 cd $cur 414 415 # Update the MIME database 416 update-mime-database /usr/share/mime 2>/dev/null 396 417 397 418 # If Python is available, install Python bindings -
trunk/src/VBox/Installer/linux/uninstall.sh
r33231 r34522 96 96 /usr/share/pixmaps/VBox.png \ 97 97 /usr/share/applications/virtualbox.desktop \ 98 /usr/share/mime/packages/virtualbox.xml \ 98 99 /usr/bin/rdesktop-vrdp \ 99 100 /usr/bin/virtualbox \ … … 158 159 log "Successfully $INSTALL_VER$INSTALL_REV removed VirtualBox." 159 160 fi 161 update-mime-database /usr/share/mime >/dev/null 2>&1 -
trunk/src/VBox/Installer/linux/virtualbox.desktop
r28865 r34522 5 5 GenericName=Virtual Machine 6 6 Type=Application 7 Exec=VirtualBox 7 Exec=VirtualBox "%U" 8 8 TryExec=VirtualBox 9 MimeType=application/x-virtualbox-vbox;application/x-virtualbox-vbox-extpack;application/x-virtualbox-ovf;application/x-virtualbox-ova 9 10 DocPath=file://$VBOX_DOC_PATH/UserManual.pdf 10 11 Icon=VBox
Note:
See TracChangeset
for help on using the changeset viewer.