aboutsummaryrefslogtreecommitdiff
path: root/system/virtualbox-addons
diff options
context:
space:
mode:
Diffstat (limited to 'system/virtualbox-addons')
-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 58fdc15a9ad3..e4d34e9ebd8d 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 000000000000..a1ee4ea5585f
--- /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 000000000000..6f70d2c9d342
--- /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 6dbf9d155cd7..6d1aadccfe41 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 402a28414224..0eb0971d805f 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"