[Lunar-commits] <moonbase> VirtualBox: ver 4.0.4

Paul Bredbury brebs at lunar-linux.org
Fri Feb 18 11:24:25 CET 2011


commit b36d7d1d1824a8f23db5e1c3c667daf139fce8ee
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Fri Feb 18 17:24:25 2011 +0700

    VirtualBox: ver 4.0.4
---
 virtual/VirtualBox/BUILD      |   10 ++++++++--
 virtual/VirtualBox/DETAILS    |    6 +++---
 virtual/VirtualBox/VirtualBox |    2 +-
 3 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/virtual/VirtualBox/BUILD b/virtual/VirtualBox/BUILD
index 6d7caa3..31fa173 100644
--- a/virtual/VirtualBox/BUILD
+++ b/virtual/VirtualBox/BUILD
@@ -54,12 +54,18 @@
   echo "INSTALL_DIR=$MODULE_PREFIX" > /etc/vbox/vbox.cfg &&
 
   if in_depends $MODULE qt4 ; then
+    # File path for PDF
+    sedit "s:/opt/VirtualBox/:/usr/share/doc/VirtualBox/:" /usr/lib/virtualbox/virtualbox.desktop &&
     # Install .desktop entry and icon, then update the icon cache
-    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 &&
+    install -Dm 644 /usr/lib/virtualbox/virtualbox.desktop /usr/share/applications/virtualbox.desktop &&
+    install -Dm 644 /usr/lib/virtualbox/VBox.png /usr/share/icons/hicolor/32x32/apps/VBox.png &&
     gtk-update-icon-cache /usr/share/icons/hicolor
   fi &&
 
+  if in_depends $MODULE texlive ; then
+    install -Dm 644 /usr/lib/virtualbox/UserManual.pdf /usr/share/doc/VirtualBox/UserManual.pdf
+  fi &&
+
   # Create the vboxusers group
   groupadd -f vboxusers
 
diff --git a/virtual/VirtualBox/DETAILS b/virtual/VirtualBox/DETAILS
index 6843e63..777b5f1 100644
--- a/virtual/VirtualBox/DETAILS
+++ b/virtual/VirtualBox/DETAILS
@@ -1,16 +1,16 @@
           MODULE=VirtualBox
-         VERSION=4.0.2
+         VERSION=4.0.4
           SOURCE=$MODULE-$VERSION.tar.bz2
          SOURCE2=$MODULE-3.2.0-gcc-4.5-warning-workaround.patch.bz2
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-${VERSION}_OSE
       SOURCE_URL=http://download.virtualbox.org/virtualbox/$VERSION
      SOURCE2_URL=$PATCH_URL
-      SOURCE_VFY=sha1:82218448fd572ae706c4455fc9e7e0a970ea8bd1
+      SOURCE_VFY=sha1:4ca74dd7ac4314058df811d6e69f60d412456328
      SOURCE2_VFY=sha1:5eae1a7c82d8ebf8161da4ee724052125f2a6ffd
    MODULE_PREFIX=${VIRTUALBOX_PREFIX:-/usr/lib/virtualbox/}
         WEB_SITE=http://virtualbox.org
          ENTERED=20071004
-         UPDATED=20110116
+         UPDATED=20110217
            SHORT="Full virtualizer for x86 hardware"
 
 cat << EOF
diff --git a/virtual/VirtualBox/VirtualBox b/virtual/VirtualBox/VirtualBox
index 0c67ddd..3445963 100755
--- a/virtual/VirtualBox/VirtualBox
+++ b/virtual/VirtualBox/VirtualBox
@@ -3,7 +3,7 @@
 # innotek VirtualBox
 #
 #  Copyright (C) 2006-2007 innotek GmbH
-# 
+#
 #  This file is part of VirtualBox Open Source Edition (OSE), as
 #  available from http://www.virtualbox.org. This file is free software;
 #  you can redistribute it and/or modify it under the terms of the GNU


More information about the Lunar-commits mailing list