VirtualBox

Changeset 36747 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Apr 20, 2011 10:44:27 AM (14 years ago)
Author:
vboxsync
Message:

Linux installer: higher resolution icon for the start menu

Location:
trunk/src/VBox/Installer
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/common/virtualbox.desktop.in

    r36506 r36747  
    99MimeType=application/x-virtualbox-vbox;application/x-virtualbox-vbox-extpack;application/x-virtualbox-ovf;application/x-virtualbox-ova;
    1010DocPath=file://@VBOX_DOC_PATH@/UserManual.pdf
    11 Icon=VBox
     11Icon=virtualbox
    1212Categories=Emulator;System;X-MandrivaLinux-System;Application;
    1313Comment=Run several virtual systems on a single host computer
  • trunk/src/VBox/Installer/linux/Makefile.kmk

    r36688 r36747  
    9797linux-icons_INST = bin/icons
    9898linux-icons_MODE = a+r,u+w
    99 linux-icons_SOURCES = $(VBOX_MIME_ICONS)
     99linux-icons_SOURCES = $(VBOX_MIME_ICONS) $(VBOX_DESKTOP_ICONS)
    100100
    101101
     
    282282                    virtualbox-$(f)-$(s)px.png=>$(s)x$(s)/virtualbox-$(f).png)))
    283283
     284VBOX_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
    284289#
    285290# All the bin files that goes into the archives.
  • trunk/src/VBox/Installer/linux/debian/rules

    r36714 r36747  
    211211        cd $(archdir)/icons; for i in *; do \
    212212            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; \
    213215            mv $$i/* $(prefix)/usr/share/icons/hicolor/$$i/mimetypes; \
    214216            rmdir $$i; \
  • trunk/src/VBox/Installer/linux/install.sh

    r36700 r36747  
    412412        if [ -d /usr/share/icons/hicolor/$i ]; then
    413413            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
    417422                fi
    418423            done
  • trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec

    r36714 r36747  
    9999  for i in *; do
    100100    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
    101102    mv $i/* $RPM_BUILD_ROOT/usr/share/icons/hicolor/$i/mimetypes
    102103    rmdir $i
Note: See TracChangeset for help on using the changeset viewer.

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