diff options
author | Markus Ullmann <jokey@gentoo.org> | 2008-03-18 22:06:34 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2008-03-18 22:06:34 +0000 |
commit | 14bacd4344219c0a7b12b4043f27e879996fcfe2 (patch) | |
tree | 51140ced2728a67958bdc70e4b34cacabdab67c4 /x11-drivers/xf86-video-virtualbox | |
parent | Initial import from my dev overlay, thanks to all involved (see ChangeLog) (diff) | |
download | gentoo-2-14bacd4344219c0a7b12b4043f27e879996fcfe2.tar.gz gentoo-2-14bacd4344219c0a7b12b4043f27e879996fcfe2.tar.bz2 gentoo-2-14bacd4344219c0a7b12b4043f27e879996fcfe2.zip |
Initial import from my dev overlay, thanks to all involved (see ChangeLog)
(Portage version: 2.1.4.4)
Diffstat (limited to 'x11-drivers/xf86-video-virtualbox')
5 files changed, 144 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-virtualbox/ChangeLog b/x11-drivers/xf86-video-virtualbox/ChangeLog new file mode 100644 index 000000000000..0bdf332397ff --- /dev/null +++ b/x11-drivers/xf86-video-virtualbox/ChangeLog @@ -0,0 +1,37 @@ +# ChangeLog for x11-drivers/xf86-video-virtualbox +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.1 2008/03/18 22:06:33 jokey Exp $ + +*xf86-video-virtualbox-1.5.6 (18 Mar 2008) + + 18 Mar 2008; Markus Ullmann <jokey@gentoo.org> + +files/xf86-video-virtualbox-1.5.6-remove-alsa.patch, +metadata.xml, + +xf86-video-virtualbox-1.5.6.ebuild: + Initial import from my dev overlay, thanks to all involved (see ChangeLog) + + 06 Mar 2008; Davide Cendron (scen) <scen@gentoo.org> + xf86-video-virtualbox-1.5.4.ebuild, xf86-video-virtualbox-1.5.6.ebuild: + Revert previous (unnecessary) changes, fixed build and conditional install + + 28 Feb 2008; Davide Cendron (scen) <scen@gentoo.org> + xf86-video-virtualbox-1.5.4.ebuild, xf86-video-virtualbox-1.5.6.ebuild: + Fixed dependencies: dev and iasl are neeeded to build fine + + 26 Feb 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com> + xf86-video-virtualbox-1.5.6.ebuild: + fix wrong MY_P + + 21 Feb 2008; Alessio Cassibba <swapon@gmail.com> + +xf86-video-virtualbox-1.5.6.ebuild, + +files/xf86-video-virtualbox-1.5.6-remove-alsa.patch: + version bump + + 22 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com> + xf86-video-virtualbox-1.5.4.ebuild: + add pkg_postinst with a warning about the video driver configuration + + 21 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com> + +xf86-video-virtualbox-1.5.4.ebuild, + +files/xf86-video-virtualbox-1.5.4-remove-alsa.patch, +metadata.xml: + initial commit for xf86-video-virtualbox, VirtualBox guest video drivers + diff --git a/x11-drivers/xf86-video-virtualbox/Manifest b/x11-drivers/xf86-video-virtualbox/Manifest new file mode 100644 index 000000000000..985044779661 --- /dev/null +++ b/x11-drivers/xf86-video-virtualbox/Manifest @@ -0,0 +1,5 @@ +AUX xf86-video-virtualbox-1.5.6-remove-alsa.patch 761 RMD160 01a703389ac676662c16150855e7dc536d5b0845 SHA1 327818074e2dd85b1c55570fc67367165b525e79 SHA256 b23acb72dc347a98982bc882d646d9aa785ec46d34083448f1a3c9c77794d18f +DIST VirtualBox-1.5.6-1_OSE.tar.bz2 26720717 RMD160 b016986beeae6205f19f5f1a3c586d3c08511c2f SHA1 1cb11c012b9143e14f2eada645757cae8886d0d1 SHA256 fb4d98f932a89d914486101a22dfdda628dae34069dfae8b6cdece4fa10b9c24 +EBUILD xf86-video-virtualbox-1.5.6.ebuild 1522 RMD160 dc26ec216e89a1ea164a1cdde3211c1cf7f195d3 SHA1 d46634c0379df33916faa74b458f906d4215402e SHA256 4239ae3e8dcfe22194e98814a0eb10523fefbcfd242eecc35e543d076b4f56a4 +MISC ChangeLog 1507 RMD160 66c7285274288a53f755fa059342413bda36c56e SHA1 bab38d8e970e605fa110d91f420fcee0e5902003 SHA256 679a613e877f302b6fc6dc6d8791effa1ea271e7dc4ab0bc97ceacc888d92823 +MISC metadata.xml 344 RMD160 12935d5b21be85bc4222fd06371c93dcbf6f534e SHA1 68b99919921f246738cce4350b77d895e7c78106 SHA256 fff5aeb6f453d2e137765ca5016e81344cb0cd0cecd51d81bbb889cb1d7a5ba9 diff --git a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-1.5.6-remove-alsa.patch b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-1.5.6-remove-alsa.patch new file mode 100644 index 000000000000..44c5d7510dd7 --- /dev/null +++ b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-1.5.6-remove-alsa.patch @@ -0,0 +1,22 @@ +--- VirtualBox-1.5.6_OSE/Config.kmk.orig 2008-01-02 17:21:25.000000000 +0100 ++++ VirtualBox-1.5.6_OSE/Config.kmk 2008-01-02 17:24:20.000000000 +0100 +@@ -208,7 +208,7 @@ + # Enable the ISCSI feature. + VBOX_WITH_ISCSI = 1 + # Enable ALSA support for Linux +-VBOX_WITH_ALSA = 1 ++#VBOX_WITH_ALSA = 1 + # Enable Pulse support for Linux + VBOX_WITH_PULSE = 1 + # Disable WINMM support for Windows (not implemented) +--- VirtualBox-1.5.6_OSE/configure.orig 2008-01-02 17:21:37.000000000 +0100 ++++ VirtualBox-1.5.6_OSE/configure 2008-01-02 17:24:42.000000000 +0100 +@@ -1526,7 +1526,7 @@ + cnf_append "VBOX_WITH_VBOXDRV" "" + cnf_append "VBOX_WITH_LINUX_ADDITIONS_32BIT_R0" "" + fi +- check_alsa ++# check_alsa + if [ $WITH_PULSE -eq 1 ]; then + check_pulse + else diff --git a/x11-drivers/xf86-video-virtualbox/metadata.xml b/x11-drivers/xf86-video-virtualbox/metadata.xml new file mode 100644 index 000000000000..76eddd3fbb1b --- /dev/null +++ b/x11-drivers/xf86-video-virtualbox/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>jokey@gentoo.org</email> + <name>Markus Ullmann</name> +</maintainer> +<maintainer> + <email>swapon@gmail.com</email> + <name>Alessio Cassibba</name> +</maintainer> +</pkgmetadata> diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-1.5.6.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-1.5.6.ebuild new file mode 100644 index 000000000000..af840a108136 --- /dev/null +++ b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-1.5.6.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-1.5.6.ebuild,v 1.1 2008/03/18 22:06:33 jokey Exp $ + +inherit x-modular eutils + +MY_P=VirtualBox-${PV}-1_OSE +DESCRIPTION="VirtualBox video 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/fontsproto + x11-proto/randrproto + x11-proto/renderproto + x11-proto/xextproto + x11-proto/xineramaproto + x11-proto/xproto" + +S=${WORKDIR}/${MY_P/-1_/_} + +src_unpack() { + unpack ${A} + + # Disable (unused) alsa checks in {configure, Comfig.kmk} + epatch "${FILESDIR}/${P}-remove-alsa.patch" +} + +src_compile() { + # build the user-space tools, warnings are harmless + ./configure --nofatal \ + --disable-xpcom \ + --disable-sdl-ttf \ + --disable-pulse \ + --build-headless || die "configure failed" + source ./env.sh + + cd "${S}/src/VBox/Additions/linux/xgraphics" + + MAKE="kmk" emake || die "kmk failed" +} + +src_install() { + cd "${S}/out/linux.${ARCH}/release/bin/additions" + insinto /usr/lib/xorg/modules/drivers + + if has_version "<x11-base/xorg-server-1.4" ; then + newins vboxvideo_drv_13.so vboxvideo_drv.so + else + newins vboxvideo_drv_14.so vboxvideo_drv.so + fi +} + +pkg_postinst() { + elog "You need to edit the file /etc/X11/xorg.conf and set:" + elog "" + elog " Driver \"vboxvideo\"" + elog "" + elog "in the Graphics device section (Section \"Device\")" + elog "" +} |