[Lunar-commits] <moonbase> virtualbox: install desktop entry

Paul Bredbury brebs at lunar-linux.org
Wed Oct 7 23:52:08 CEST 2009


commit 637a55239d93410d2f150e68d1154bcb44053bb0
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Thu Oct 8 04:52:08 2009 +0700

    virtualbox: install desktop entry
    
    Error-handling was incomplete.
---
 x11-utils/virtualbox/BUILD   |   12 ++++++------
 x11-utils/virtualbox/DETAILS |    2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/x11-utils/virtualbox/BUILD b/x11-utils/virtualbox/BUILD
index 1300fdf..320e4b5 100644
--- a/x11-utils/virtualbox/BUILD
+++ b/x11-utils/virtualbox/BUILD
@@ -1,20 +1,20 @@
 (
 
-  #lets disable qt3
+  # Disable qt3
   sedit s at WITH_QT3=1 at WITH_QT3=0@ configure &&
 
   # We need the qt4 paths
   . /etc/profile.d/qt4.rc &&
 
   # Build VirtualBox
-  # Disable hardending so normal users can run it
+  # Disable hardening, so normal users can run it
   OPTS+=" --disable-hardening"   &&
   OPTS+=" --with-qt4-dir=$QTDIR" &&
   ./configure $OPTS             &&
   source ./env.sh               &&
   kmk                           &&
 
-  #Build source package for kernel module
+  # Build source package for kernel module
   pushd out/linux.x86/release/bin/ &&
   message "Building ${MODULE_COLOR}virtualbox-module-${VERSION_COLOR}${VERSION}${DEFAULT_COLOR}." &&
   message "This may take a while..." &&
@@ -40,9 +40,9 @@
   mkdir -p /etc/vbox &&
   echo "INSTALL_DIR=$MODULE_PREFIX" > /etc/vbox/vbox.cfg &&
 
-  #Install .desktop entry and icon
-  install /usr/lib/virtualbox/VirtualBox.desktop /usr/share/applications/
-  install /usr/lib/virtualbox/VBox.png /usr/share/icons/hicolor/32x32/apps/
+  # Install .desktop entry and icon
+  install -D -m644 /usr/lib/virtualbox/virtualbox.desktop /usr/share/applications/virtualbox.desktop &&
+  install -D -m644 /usr/lib/virtualbox/VBox.png /usr/share/icons/hicolor/32x32/apps/VBox.png &&
 
   # Create the vboxusers group
   groupadd -f vboxusers
diff --git a/x11-utils/virtualbox/DETAILS b/x11-utils/virtualbox/DETAILS
index 5f072da..380b9cf 100644
--- a/x11-utils/virtualbox/DETAILS
+++ b/x11-utils/virtualbox/DETAILS
@@ -8,7 +8,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/VirtualBox-$BASE_VERSION\_OSE
    MODULE_PREFIX=${VIRTUALBOX_PREFIX:-/usr/lib/virtualbox/}
         WEB_SITE=http://virtualbox.org
          ENTERED=20071004
-         UPDATED=20091006
+         UPDATED=20091007
            SHORT="Full virtualizer for x86 hardware"
 
 cat << EOF


More information about the Lunar-commits mailing list