summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2008-08-10 14:44:22 +0000
committerMarkus Ullmann <jokey@gentoo.org>2008-08-10 14:44:22 +0000
commit9f1a6c09031282f240b5fa77537325ec20bbae26 (patch)
treee2e8ae9891107451c07f469d3c89ac2cc0bd3857 /x11-drivers
parentAdd version bump and some improvements from SpanKY wrt bug #233683 (diff)
downloadgentoo-2-9f1a6c09031282f240b5fa77537325ec20bbae26.tar.gz
gentoo-2-9f1a6c09031282f240b5fa77537325ec20bbae26.tar.bz2
gentoo-2-9f1a6c09031282f240b5fa77537325ec20bbae26.zip
Add version bump wrt bug #233683
(Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo i686)
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-input-virtualbox/ChangeLog9
-rw-r--r--x11-drivers/xf86-input-virtualbox/files/xf86-input-virtualbox-1.6.4-fix-missing-makefiles.patch66
-rw-r--r--x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-1.6.4.ebuild65
3 files changed, 139 insertions, 1 deletions
diff --git a/x11-drivers/xf86-input-virtualbox/ChangeLog b/x11-drivers/xf86-input-virtualbox/ChangeLog
index 2d9037b33bf9..ba87679588b0 100644
--- a/x11-drivers/xf86-input-virtualbox/ChangeLog
+++ b/x11-drivers/xf86-input-virtualbox/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-drivers/xf86-input-virtualbox
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v 1.1 2008/03/18 22:04:03 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/ChangeLog,v 1.2 2008/08/10 14:44:21 jokey Exp $
+
+*xf86-input-virtualbox-1.6.4 (10 Aug 2008)
+
+ 10 Aug 2008; Markus Ullmann <jokey@gentoo.org>
+ +files/xf86-input-virtualbox-1.6.4-fix-missing-makefiles.patch,
+ +xf86-input-virtualbox-1.6.4.ebuild:
+ Add version bump wrt bug #233683
*xf86-input-virtualbox-1.5.6 (18 Mar 2008)
diff --git a/x11-drivers/xf86-input-virtualbox/files/xf86-input-virtualbox-1.6.4-fix-missing-makefiles.patch b/x11-drivers/xf86-input-virtualbox/files/xf86-input-virtualbox-1.6.4-fix-missing-makefiles.patch
new file mode 100644
index 000000000000..e3d2805b63ae
--- /dev/null
+++ b/x11-drivers/xf86-input-virtualbox/files/xf86-input-virtualbox-1.6.4-fix-missing-makefiles.patch
@@ -0,0 +1,66 @@
+--- src/apps/Makefile.kmk 1970-01-01 01:00:00.000000000 +0100
++++ src/apps/Makefile.kmk 2008-08-02 16:06:11.358197514 +0200
+@@ -0,0 +1,28 @@
++# $Id: xf86-input-virtualbox-1.6.4-fix-missing-makefiles.patch,v 1.1 2008/08/10 14:44:22 jokey Exp $
++## @file
++# Sub-Makefile for the external apps.
++#
++
++#
++# Copyright (C) 2006-2007 Sun Microsystems, Inc.
++#
++# Sun Microsystems, Inc. confidential
++# All rights reserved
++#
++
++DEPTH = ../..
++include $(KBUILD_PATH)/subheader.kmk
++
++ifdef VBOX_WITH_KCHMVIEWER
++ ifneq ($(wildcard $(PATH_SUB_CURRENT)/kchmviewer-2.6),)
++ include $(PATH_SUB_CURRENT)/kchmviewer-2.6/Makefile.kmk
++ endif
++endif
++ifneq ($(wildcard $(PATH_SUB_CURRENT)/tunctl),)
++ ifeq ($(KBUILD_TARGET),linux)
++ include $(PATH_SUB_CURRENT)/tunctl/Makefile.kmk
++ endif
++endif
++
++include $(KBUILD_PATH)/subfooter.kmk
++
+--- src/apps/tunctl/Makefile.kmk 1970-01-01 01:00:00.000000000 +0100
++++ src/apps/tunctl/Makefile.kmk 2008-08-02 16:06:37.447936207 +0200
+@@ -0,0 +1,32 @@
++# $Id: xf86-input-virtualbox-1.6.4-fix-missing-makefiles.patch,v 1.1 2008/08/10 14:44:22 jokey Exp $
++## @file
++# Sub-Makefile for VBoxTunctl
++#
++# VBoxTunctl is identical to tunctl from Usermode Linux except for the name.
++#
++
++#
++# Copyright (C) 2006-2007 Sun Microsystems, Inc.
++#
++# 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
++# General Public License (GPL) as published by the Free Software
++# Foundation, in version 2 as it comes in the "COPYING" file of the
++# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
++# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
++#
++# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
++# Clara, CA 95054 USA or visit http://www.sun.com if you need
++# additional information or have any questions.
++#
++
++DEPTH = ../../..
++include $(KBUILD_PATH)/subheader.kmk
++
++PROGRAMS.linux += VBoxTunctl
++VBoxTunctl_TEMPLATE = VBOXR3EXE
++VBoxTunctl_SOURCES = tunctl.c
++
++include $(KBUILD_PATH)/subfooter.kmk
++
diff --git a/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-1.6.4.ebuild b/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-1.6.4.ebuild
new file mode 100644
index 000000000000..2f37f639d32e
--- /dev/null
+++ b/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-1.6.4.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-virtualbox/xf86-input-virtualbox-1.6.4.ebuild,v 1.1 2008/08/10 14:44:21 jokey Exp $
+
+inherit x-modular eutils
+
+MY_P=VirtualBox-${PV}-OSE
+DESCRIPTION="VirtualBox input driver"
+HOMEPAGE="http://www.virtualbox.org/"
+SRC_URI="http://www.virtualbox.org/download/${PV}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-base/xorg-server"
+DEPEND="${RDEPEND}
+ x11-proto/inputproto
+ x11-proto/randrproto
+ x11-proto/xproto"
+
+S=${WORKDIR}/${MY_P/-OSE/}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Fix missing makefiles
+ epatch "${FILESDIR}/${P}-fix-missing-makefiles.patch"
+}
+
+src_compile() {
+ # build the user-space tools, warnings are harmless
+ ./configure --nofatal \
+ --disable-xpcom \
+ --disable-sdl-ttf \
+ --disable-pulse \
+ --disable-alsa \
+ --build-headless || die "configure failed"
+ source ./env.sh
+
+ cd "${S}/src/VBox/Additions/linux/xmouse"
+ MAKE="kmk" emake || die "kmk failed"
+}
+
+src_install() {
+ cd "${S}/out/linux.${ARCH}/release/bin/additions"
+ insinto /usr/lib/xorg/modules/input
+
+ if has_version "<x11-base/xorg-server-1.4" ; then
+ newins vboxmouse_drv_71.so vboxmouse_drv.so
+ else
+ newins vboxmouse_drv_14.so vboxmouse_drv.so
+ fi
+}
+
+pkg_postinst() {
+ elog "You need to edit the file /etc/X11/xorg.conf and set:"
+ elog ""
+ elog " Driver \"vboxmouse\""
+ elog ""
+ elog "in the Core Pointer's InputDevice section (Section \"InputDevice\")"
+ elog ""
+}