Changeset 36747 in vbox for trunk/src/VBox/Installer
- Timestamp:
- Apr 20, 2011 10:44:27 AM (14 years ago)
- Location:
- trunk/src/VBox/Installer
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/common/virtualbox.desktop.in
r36506 r36747 9 9 MimeType=application/x-virtualbox-vbox;application/x-virtualbox-vbox-extpack;application/x-virtualbox-ovf;application/x-virtualbox-ova; 10 10 DocPath=file://@VBOX_DOC_PATH@/UserManual.pdf 11 Icon= VBox11 Icon=virtualbox 12 12 Categories=Emulator;System;X-MandrivaLinux-System;Application; 13 13 Comment=Run several virtual systems on a single host computer -
trunk/src/VBox/Installer/linux/Makefile.kmk
r36688 r36747 97 97 linux-icons_INST = bin/icons 98 98 linux-icons_MODE = a+r,u+w 99 linux-icons_SOURCES = $(VBOX_MIME_ICONS) 99 linux-icons_SOURCES = $(VBOX_MIME_ICONS) $(VBOX_DESKTOP_ICONS) 100 100 101 101 … … 282 282 virtualbox-$(f)-$(s)px.png=>$(s)x$(s)/virtualbox-$(f).png))) 283 283 284 VBOX_DESKTOP_ICONS = \ 285 $(addprefix $(PATH_ROOT)/src/VBox/Resources/$(if $(VBOX_OSE),OSE,NonOSE)/,\ 286 $(foreach s,16 20 32 40 48 64 128,\ 287 virtualbox-$(s)px.png=>$(s)x$(s)/virtualbox.png)) 288 284 289 # 285 290 # All the bin files that goes into the archives. -
trunk/src/VBox/Installer/linux/debian/rules
r36714 r36747 211 211 cd $(archdir)/icons; for i in *; do \ 212 212 install -d -g 0 -o 0 $(prefix)/usr/share/icons/hicolor/$$i/mimetypes; \ 213 install -d -g 0 -o 0 $(prefix)/usr/share/icons/hicolor/$$i/apps; \ 214 mv $$i/virtualbox.png $(prefix)/usr/share/icons/hicolor/$$i/apps || true; \ 213 215 mv $$i/* $(prefix)/usr/share/icons/hicolor/$$i/mimetypes; \ 214 216 rmdir $$i; \ -
trunk/src/VBox/Installer/linux/install.sh
r36700 r36747 412 412 if [ -d /usr/share/icons/hicolor/$i ]; then 413 413 for j in *; do 414 if [ -d /usr/share/icons/hicolor/$i/mimetypes ]; then 415 ln -s $INSTALLATION_DIR/icons/$i/$j /usr/share/icons/hicolor/$i/mimetypes/$j 416 echo /usr/share/icons/hicolor/$i/mimetypes/$j >> $CONFIG_DIR/$CONFIG_FILES 414 if [ "$j" = "virtualbox.png" ]; then 415 dst=apps 416 else 417 dst=mimetypes 418 fi 419 if [ -d /usr/share/icons/hicolor/$i/$dst ]; then 420 ln -s $INSTALLATION_DIR/icons/$i/$j /usr/share/icons/hicolor/$i/$dst/$j 421 echo /usr/share/icons/hicolor/$i/$dst/$j >> $CONFIG_DIR/$CONFIG_FILES 417 422 fi 418 423 done -
trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
r36714 r36747 99 99 for i in *; do 100 100 install -d $RPM_BUILD_ROOT/usr/share/icons/hicolor/$i/mimetypes 101 mv $i/virtualbox.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/$i/apps || true 101 102 mv $i/* $RPM_BUILD_ROOT/usr/share/icons/hicolor/$i/mimetypes 102 103 rmdir $i
Note:
See TracChangeset
for help on using the changeset viewer.