aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2011-06-19 22:39:50 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-06-19 22:39:50 -0500
commite6042e9eff303da188cddfb579dc3f4cff1773fb (patch)
tree389a641c62f4632d7062a263092df3417ca882ed
parent7140e0194dbfeb36d8ffcbd7f0edab2760ad73d4 (diff)
system/virtualbox-addons: Updated for version 4.0.8.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--system/virtualbox-addons/doinst.sh8
-rw-r--r--system/virtualbox-addons/kwin_blacklist_vbox.sh8
-rw-r--r--system/virtualbox-addons/kwinrc2
-rw-r--r--system/virtualbox-addons/virtualbox-addons.SlackBuild7
-rw-r--r--system/virtualbox-addons/virtualbox-addons.info6
5 files changed, 27 insertions, 4 deletions
diff --git a/system/virtualbox-addons/doinst.sh b/system/virtualbox-addons/doinst.sh
index 58fdc15a9ad30..e4d34e9ebd8d6 100644
--- a/system/virtualbox-addons/doinst.sh
+++ b/system/virtualbox-addons/doinst.sh
@@ -22,6 +22,14 @@ preserve_perms() {
config $NEW
}
+# Fix starting of kde within virtualbox
+cat << EOF >> usr/share/apps/kconf_update/kwin_blacklist.upd
+Id=Blacklist-virtualbox
+Options=overwrite
+File=kwinrc
+Script=kwin_blacklist_vbox.sh,sh
+EOF
+
preserve_perms etc/rc.d/rc.vboxadd.new
preserve_perms etc/rc.d/rc.vboxadd-service.new
diff --git a/system/virtualbox-addons/kwin_blacklist_vbox.sh b/system/virtualbox-addons/kwin_blacklist_vbox.sh
new file mode 100644
index 0000000000000..a1ee4ea5585ff
--- /dev/null
+++ b/system/virtualbox-addons/kwin_blacklist_vbox.sh
@@ -0,0 +1,8 @@
+while read line; do
+ echo $line
+done
+
+echo ""
+echo "[Compositing]"
+echo "OpenGLIsUnsafe=true"
+echo "" \ No newline at end of file
diff --git a/system/virtualbox-addons/kwinrc b/system/virtualbox-addons/kwinrc
new file mode 100644
index 0000000000000..6f70d2c9d3423
--- /dev/null
+++ b/system/virtualbox-addons/kwinrc
@@ -0,0 +1,2 @@
+[Compositing]
+OpenGLIsUnsafe=true
diff --git a/system/virtualbox-addons/virtualbox-addons.SlackBuild b/system/virtualbox-addons/virtualbox-addons.SlackBuild
index 6dbf9d155cd71..6d1aadccfe415 100644
--- a/system/virtualbox-addons/virtualbox-addons.SlackBuild
+++ b/system/virtualbox-addons/virtualbox-addons.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=virtualbox-addons
SRCNAM=VirtualBox
-VERSION=4.0.4
+VERSION=4.0.8
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -152,6 +152,11 @@ cd out/linux.$TARGET/release/bin/additions
$PKG/usr/lib$LIBDIRSUFFIX/xorg/modules/dri/vboxvideo_dri.so
cd -
+# kconf_update script to disable OpenGL within KDE
+mkdir -p $PKG/usr/share/apps/kconf_update $PKG/usr/share/config/
+install -m 644 $CWD/kwin_blacklist_vbox.sh $PKG/usr/share/apps/kconf_update/
+install -m 644 $CWD/kwinrc $PKG/usr/share/config/
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -f COPYING COPYING.CDDL $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
diff --git a/system/virtualbox-addons/virtualbox-addons.info b/system/virtualbox-addons/virtualbox-addons.info
index 402a284142246..0eb0971d805fd 100644
--- a/system/virtualbox-addons/virtualbox-addons.info
+++ b/system/virtualbox-addons/virtualbox-addons.info
@@ -1,8 +1,8 @@
PRGNAM="virtualbox-addons"
-VERSION="4.0.4"
+VERSION="4.0.8"
HOMEPAGE="http://www.virtualbox.org"
-DOWNLOAD="http://download.virtualbox.org/virtualbox/4.0.4/VirtualBox-4.0.4.tar.bz2"
-MD5SUM="b4770ca14d1a8cbad9b3eb0e0028ff4b"
+DOWNLOAD="http://download.virtualbox.org/virtualbox/4.0.8/VirtualBox-4.0.8.tar.bz2"
+MD5SUM="a3e81289f2357fcf4bbe3e77805f38b6"
DOWNLOAD_x86_64="UNTESTED"
MD5SUM_x86_64=""
MAINTAINER="Heinz Wiesinger"