VirtualBox

Changeset 50142 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Jan 21, 2014 4:44:29 PM (11 years ago)
Author:
vboxsync
Message:

Installer/linux and FE/Qt: move SVG icon to Resources and add it to the Linux installer.

Location:
trunk/src/VBox/Installer/linux
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/Makefile.kmk

    r47894 r50142  
    322322        $(addprefix $(PATH_ROOT)/src/VBox/Resources/$(if $(VBOX_OSE),OSE,NonOSE)/,\
    323323            $(foreach s,16 20 32 40 48 64 128,\
    324                 virtualbox-$(s)px.png=>$(s)x$(s)/virtualbox.png))
     324                virtualbox-$(s)px.png=>$(s)x$(s)/virtualbox.png) \
     325                virtualbox.svg=>scalable/virtualbox.svg)
    325326
    326327#
  • trunk/src/VBox/Installer/linux/install.sh

    r49162 r50142  
    424424        if [ -d /usr/share/icons/hicolor/$i ]; then
    425425            for j in *; do
    426                 if [ "$j" = "virtualbox.png" ]; then
     426                if expr "$j" : "virtualbox\..*" > /dev/null; then
    427427                    dst=apps
    428428                else
  • trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec

    r49162 r50142  
    105105cd icons
    106106  for i in *; do
    107     if [ -f $i/virtualbox.png ]; then
     107    if [ -f $i/virtualbox.* ]; then
    108108      install -d $RPM_BUILD_ROOT/usr/share/icons/hicolor/$i/apps
    109       mv $i/virtualbox.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/$i/apps
     109      mv $i/virtualbox.* $RPM_BUILD_ROOT/usr/share/icons/hicolor/$i/apps
    110110    fi
    111111    install -d $RPM_BUILD_ROOT/usr/share/icons/hicolor/$i/mimetypes
  • trunk/src/VBox/Installer/linux/scripts/install.sh

    r46874 r50142  
    187187    for i in "${INSTALL_SOURCE}/icons/"*; do
    188188        folder=`expr "${i}/" : '.*/\([^/][^/]*/\)/*'`
    189         if test -f "${i}/virtualbox.png"; then
     189        if test -f "${i}/virtualbox."*; then
    190190            install -d -g 0 -o 0 "${PREFIX}/share/icons/hicolor/${folder}/apps"
    191             mv "${i}/virtualbox.png" "${PREFIX}/share/icons/hicolor/${folder}/apps"
     191            mv "${i}/virtualbox."* "${PREFIX}/share/icons/hicolor/${folder}/apps"
    192192        fi
    193193        install -d -g 0 -o 0 "${PREFIX}/share/icons/hicolor/${folder}/mimetypes"
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