From b73643cfe8127ad163ae3cb83baa206b6a99a48e Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Thu, 30 Apr 2009 16:34:39 +0000 Subject: Remove old 2.0 Package-Manager: portage-2.2_rc31/cvs/Linux x86_64 --- app-emulation/virtualbox-guest-additions/ChangeLog | 9 +- .../virtualbox-guest-additions-2.0.2.ebuild | 137 ------------ .../virtualbox-guest-additions-2.0.4-r1.ebuild | 146 ------------- .../virtualbox-guest-additions-2.0.4.ebuild | 137 ------------ .../virtualbox-guest-additions-2.0.6.ebuild | 146 ------------- app-emulation/virtualbox-modules/ChangeLog | 7 +- .../virtualbox-modules-2.0.2.ebuild | 41 ---- .../virtualbox-modules-2.0.4.ebuild | 41 ---- .../virtualbox-modules-2.0.6.ebuild | 44 ---- app-emulation/virtualbox-ose-additions/ChangeLog | 8 +- .../virtualbox-ose-additions-2.0.2.ebuild | 41 ---- .../virtualbox-ose-additions-2.0.4.ebuild | 41 ---- .../virtualbox-ose-additions-2.0.6.ebuild | 41 ---- app-emulation/virtualbox-ose/ChangeLog | 7 +- .../virtualbox-ose/virtualbox-ose-2.0.2.ebuild | 232 -------------------- .../virtualbox-ose/virtualbox-ose-2.0.4-r1.ebuild | 235 --------------------- .../virtualbox-ose/virtualbox-ose-2.0.4.ebuild | 232 -------------------- .../virtualbox-ose/virtualbox-ose-2.0.6.ebuild | 232 -------------------- 18 files changed, 27 insertions(+), 1750 deletions(-) delete mode 100644 app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.2.ebuild delete mode 100644 app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.4-r1.ebuild delete mode 100644 app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.4.ebuild delete mode 100644 app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.6.ebuild delete mode 100644 app-emulation/virtualbox-modules/virtualbox-modules-2.0.2.ebuild delete mode 100644 app-emulation/virtualbox-modules/virtualbox-modules-2.0.4.ebuild delete mode 100644 app-emulation/virtualbox-modules/virtualbox-modules-2.0.6.ebuild delete mode 100644 app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.0.2.ebuild delete mode 100644 app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.0.4.ebuild delete mode 100644 app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.0.6.ebuild delete mode 100644 app-emulation/virtualbox-ose/virtualbox-ose-2.0.2.ebuild delete mode 100644 app-emulation/virtualbox-ose/virtualbox-ose-2.0.4-r1.ebuild delete mode 100644 app-emulation/virtualbox-ose/virtualbox-ose-2.0.4.ebuild delete mode 100644 app-emulation/virtualbox-ose/virtualbox-ose-2.0.6.ebuild (limited to 'app-emulation') diff --git a/app-emulation/virtualbox-guest-additions/ChangeLog b/app-emulation/virtualbox-guest-additions/ChangeLog index 2c18f2a70731..d659834079c8 100644 --- a/app-emulation/virtualbox-guest-additions/ChangeLog +++ b/app-emulation/virtualbox-guest-additions/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-emulation/virtualbox-guest-additions # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.11 2009/04/30 16:24:56 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.12 2009/04/30 16:33:26 patrick Exp $ + + 30 Apr 2009; Patrick Lauer + -virtualbox-guest-additions-2.0.2.ebuild, + -virtualbox-guest-additions-2.0.4.ebuild, + -virtualbox-guest-additions-2.0.4-r1.ebuild, + -virtualbox-guest-additions-2.0.6.ebuild: + Remove old 2.0 *virtualbox-guest-additions-2.2.2 (30 Apr 2009) diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.2.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.2.ebuild deleted file mode 100644 index 7577deeb532f..000000000000 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.2.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.2.ebuild,v 1.4 2008/10/27 22:45:52 mr_bones_ Exp $ - -inherit eutils linux-mod - -MY_P=VirtualBox-${PV}-OSE -DESCRIPTION="VirtualBox kernel modules and user-space tools for Linux guests" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="X" - -RDEPEND="x11-libs/libXt - amd64? ( app-emulation/emul-linux-x86-xlibs ) - X? ( ~x11-drivers/xf86-video-virtualbox-${PV} - ~x11-drivers/xf86-input-virtualbox-${PV} - x11-apps/xrandr - x11-apps/xrefresh )" -DEPEND="${RDEPEND} - >=dev-util/kbuild-0.1.4 - >=dev-lang/yasm-0.6.2 - sys-devel/bin86 - sys-devel/dev86 - sys-power/iasl - x11-proto/renderproto" - -BUILD_TARGETS="all" -BUILD_TARGET_ARCH="${ARCH}" -MODULE_NAMES="vboxadd(misc:${WORKDIR}/vboxadd:${WORKDIR}/vboxadd) - vboxvfs(misc:${WORKDIR}/vboxvfs:${WORKDIR}/vboxvfs)" - -S=${WORKDIR}/${MY_P/-OSE/} - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" -} - -src_unpack() { - unpack ${A} - - # Create and unpack a tarball with the sources of the Linux guest - # kernel modules, to include all the needed files - "${MY_P/-OSE/}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz" - unpack ./vbox-kmod.tar.gz - - # Remove shipped binaries (kBuild,yasm), see bug #232775 - cd "${S}" - rm -rf kBuild/bin tools - - # Disable things unused or splitted into separate ebuilds - cp "${FILESDIR}/${PN}-2-localconfig" LocalConfig.kmk -} - -src_compile() { - linux-mod_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 - - for each in src/VBox/{Runtime,Additions/common} \ - src/VBox/Additions/linux{sharefolders,daemon} ; do - MAKE="kmk" emake TOOL_YASM_AS=yasm \ - KBUILD_PATH="${S}/kBuild" \ - || die "kmk failed" - done -} - -src_install() { - linux-mod_src_install - - cd "${S}"/out/linux.${ARCH}/release/bin/additions - - # shared folders - insinto /sbin - newins mountvboxsf mount.vboxsf - fperms 4755 /sbin/mount.vboxsf - - # time synchronisation system service - insinto /usr/sbin - doins vboxadd-timesync - fperms 0755 /usr/sbin/vboxadd-timesync - - newinitd "${FILESDIR}"/${PN}.initd ${PN} - - # VBoxClient user service and xrandr wrapper - if use X; then - insinto /usr/bin - - doins VBoxClient - doins VBoxComtrol - fperms 4755 /usr/bin/VBoxClient - fperms 4755 /usr/bin/VBoxControl - - dodir /etc/X11/xinit/xinitrc.d/ - echo -e "#/bin/sh\n/usr/bin/VBoxClient" \ - >> "${D}/etc/X11/xinit/xinitrc.d/98VBoxClient" - fperms 0755 /etc/X11/xinit/xinitrc.d/98VBoxClient - - cd "${S}"/src/VBox/Additions/x11/installer - newins VBoxRandR.sh VBoxRandR - fperms 0755 /usr/bin/VBoxRandR - fi - - # udev rule for vboxdrv - dodir /etc/udev/rules.d - echo 'KERNEL=="vboxadd", NAME="vboxadd", OWNER="root", MODE="0660"' \ - >> "${D}/etc/udev/rules.d/60-virtualbox-guest-additions.rules" -} - -pkg_postinst() { - linux-mod_pkg_postinst - if ! useq X ; then - elog "use flag X is off, enable it to install the" - elog "X Window System input and video drivers" - fi - elog "Please add:" - elog "/etc/init.d/${PN}" - elog "to the default runlevel in order to load all" - elog "needed modules and services." - elog "" - elog "Warning:" - elog "this ebuild is only needed if you are running gentoo" - elog "inside a VirtualBox Virtual Machine, you don't need" - elog "it to run VirtualBox itself." - elog "" -} diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.4-r1.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.4-r1.ebuild deleted file mode 100644 index fcebc2b74fad..000000000000 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.4-r1.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.4-r1.ebuild,v 1.1 2008/12/18 12:14:53 flameeyes Exp $ - -inherit eutils linux-mod - -MY_P=VirtualBox-${PV}-OSE -DESCRIPTION="VirtualBox kernel modules and user-space tools for Linux guests" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="X" - -RDEPEND="x11-libs/libXt - amd64? ( app-emulation/emul-linux-x86-xlibs ) - X? ( ~x11-drivers/xf86-video-virtualbox-${PV} - ~x11-drivers/xf86-input-virtualbox-${PV} - x11-apps/xrandr - x11-apps/xrefresh - x11-libs/libXmu )" -DEPEND="${RDEPEND} - >=dev-util/kbuild-0.1.4 - >=dev-lang/yasm-0.6.2 - sys-devel/bin86 - sys-devel/dev86 - sys-power/iasl - x11-proto/renderproto" - -BUILD_TARGETS="all" -BUILD_TARGET_ARCH="${ARCH}" -MODULE_NAMES="vboxadd(misc:${WORKDIR}/vboxadd:${WORKDIR}/vboxadd) - vboxvfs(misc:${WORKDIR}/vboxvfs:${WORKDIR}/vboxvfs)" - -S=${WORKDIR}/${MY_P/-OSE/} - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" -} - -src_unpack() { - unpack ${A} - - # Create and unpack a tarball with the sources of the Linux guest - # kernel modules, to include all the needed files - "${MY_P/-OSE/}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz" - unpack ./vbox-kmod.tar.gz - - # Remove shipped binaries (kBuild,yasm), see bug #232775 - cd "${S}" - rm -rf kBuild/bin tools - - # Disable things unused or splitted into separate ebuilds - cp "${FILESDIR}/${PN}-2-localconfig" LocalConfig.kmk -} - -src_compile() { - linux-mod_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 - - for each in /src/VBox/{Runtime,Additions/common} \ - /src/VBox/Additions/linux/{sharedfolders,daemon} ; do - cd "${S}"${each} - MAKE="kmk" emake TOOL_YASM_AS=yasm \ - KBUILD_PATH="${S}/kBuild" \ - || die "kmk VBoxControl failed" - done - - if use X; then - cd "${S}"/src/VBox/Additions/x11/xclient - MAKE="kmk" emake TOOL_YASM_AS=yasm \ - KBUILD_PATH="${S}/kBuild" \ - || die "kmk VBoxClient failed" - fi -} - -src_install() { - linux-mod_src_install - - cd "${S}"/out/linux.${ARCH}/release/bin/additions - - # shared folders - insinto /sbin - newins mountvboxsf mount.vboxsf - fperms 4755 /sbin/mount.vboxsf - - # time synchronisation system service - insinto /usr/sbin - doins vboxadd-timesync - fperms 0755 /usr/sbin/vboxadd-timesync - - newinitd "${FILESDIR}"/${PN}.initd ${PN} - - insinto /usr/bin - doins VBoxControl - fperms 4755 /usr/bin/VBoxControl - - # VBoxClient user service and xrandr wrapper - if use X; then - doins VBoxClient - fperms 4755 /usr/bin/VBoxClient - - dodir /etc/X11/xinit/xinitrc.d/ - echo -e "#/bin/sh\n/usr/bin/VBoxClient" \ - >> "${D}/etc/X11/xinit/xinitrc.d/98VBoxClient" - fperms 0755 /etc/X11/xinit/xinitrc.d/98VBoxClient - - cd "${S}"/src/VBox/Additions/x11/installer - newins VBoxRandR.sh VBoxRandR - fperms 0755 /usr/bin/VBoxRandR - fi - - # udev rule for vboxdrv - dodir /etc/udev/rules.d - echo 'KERNEL=="vboxadd", NAME="vboxadd", OWNER="root", MODE="0660"' \ - >> "${D}/etc/udev/rules.d/60-virtualbox-guest-additions.rules" -} - -pkg_postinst() { - linux-mod_pkg_postinst - if ! useq X ; then - elog "use flag X is off, enable it to install the" - elog "X Window System input and video drivers" - fi - elog "Please add:" - elog "/etc/init.d/${PN}" - elog "to the default runlevel in order to load all" - elog "needed modules and services." - elog "" - elog "Warning:" - elog "this ebuild is only needed if you are running gentoo" - elog "inside a VirtualBox Virtual Machine, you don't need" - elog "it to run VirtualBox itself." - elog "" -} diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.4.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.4.ebuild deleted file mode 100644 index e68265b9f2d5..000000000000 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.4.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.4.ebuild,v 1.2 2008/10/27 22:45:52 mr_bones_ Exp $ - -inherit eutils linux-mod - -MY_P=VirtualBox-${PV}-OSE -DESCRIPTION="VirtualBox kernel modules and user-space tools for Linux guests" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="X" - -RDEPEND="x11-libs/libXt - amd64? ( app-emulation/emul-linux-x86-xlibs ) - X? ( ~x11-drivers/xf86-video-virtualbox-${PV} - ~x11-drivers/xf86-input-virtualbox-${PV} - x11-apps/xrandr - x11-apps/xrefresh )" -DEPEND="${RDEPEND} - >=dev-util/kbuild-0.1.4 - >=dev-lang/yasm-0.6.2 - sys-devel/bin86 - sys-devel/dev86 - sys-power/iasl - x11-proto/renderproto" - -BUILD_TARGETS="all" -BUILD_TARGET_ARCH="${ARCH}" -MODULE_NAMES="vboxadd(misc:${WORKDIR}/vboxadd:${WORKDIR}/vboxadd) - vboxvfs(misc:${WORKDIR}/vboxvfs:${WORKDIR}/vboxvfs)" - -S=${WORKDIR}/${MY_P/-OSE/} - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" -} - -src_unpack() { - unpack ${A} - - # Create and unpack a tarball with the sources of the Linux guest - # kernel modules, to include all the needed files - "${MY_P/-OSE/}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz" - unpack ./vbox-kmod.tar.gz - - # Remove shipped binaries (kBuild,yasm), see bug #232775 - cd "${S}" - rm -rf kBuild/bin tools - - # Disable things unused or splitted into separate ebuilds - cp "${FILESDIR}/${PN}-2-localconfig" LocalConfig.kmk -} - -src_compile() { - linux-mod_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 - - for each in src/VBox/{Runtime,Additions/common} \ - src/VBox/Additions/linux{sharefolders,daemon} ; do - MAKE="kmk" emake TOOL_YASM_AS=yasm \ - KBUILD_PATH="${S}/kBuild" \ - || die "kmk failed" - done -} - -src_install() { - linux-mod_src_install - - cd "${S}"/out/linux.${ARCH}/release/bin/additions - - # shared folders - insinto /sbin - newins mountvboxsf mount.vboxsf - fperms 4755 /sbin/mount.vboxsf - - # time synchronisation system service - insinto /usr/sbin - doins vboxadd-timesync - fperms 0755 /usr/sbin/vboxadd-timesync - - newinitd "${FILESDIR}"/${PN}.initd ${PN} - - # VBoxClient user service and xrandr wrapper - if use X; then - insinto /usr/bin - - doins VBoxClient - doins VBoxComtrol - fperms 4755 /usr/bin/VBoxClient - fperms 4755 /usr/bin/VBoxControl - - dodir /etc/X11/xinit/xinitrc.d/ - echo -e "#/bin/sh\n/usr/bin/VBoxClient" \ - >> "${D}/etc/X11/xinit/xinitrc.d/98VBoxClient" - fperms 0755 /etc/X11/xinit/xinitrc.d/98VBoxClient - - cd "${S}"/src/VBox/Additions/x11/installer - newins VBoxRandR.sh VBoxRandR - fperms 0755 /usr/bin/VBoxRandR - fi - - # udev rule for vboxdrv - dodir /etc/udev/rules.d - echo 'KERNEL=="vboxadd", NAME="vboxadd", OWNER="root", MODE="0660"' \ - >> "${D}/etc/udev/rules.d/60-virtualbox-guest-additions.rules" -} - -pkg_postinst() { - linux-mod_pkg_postinst - if ! useq X ; then - elog "use flag X is off, enable it to install the" - elog "X Window System input and video drivers" - fi - elog "Please add:" - elog "/etc/init.d/${PN}" - elog "to the default runlevel in order to load all" - elog "needed modules and services." - elog "" - elog "Warning:" - elog "this ebuild is only needed if you are running gentoo" - elog "inside a VirtualBox Virtual Machine, you don't need" - elog "it to run VirtualBox itself." - elog "" -} diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.6.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.6.ebuild deleted file mode 100644 index 26e6e2d1e669..000000000000 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.6.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-2.0.6.ebuild,v 1.1 2008/12/18 12:14:53 flameeyes Exp $ - -inherit eutils linux-mod - -MY_P=VirtualBox-${PV}-OSE -DESCRIPTION="VirtualBox kernel modules and user-space tools for Linux guests" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="X" - -RDEPEND="x11-libs/libXt - amd64? ( app-emulation/emul-linux-x86-xlibs ) - X? ( ~x11-drivers/xf86-video-virtualbox-${PV} - ~x11-drivers/xf86-input-virtualbox-${PV} - x11-apps/xrandr - x11-apps/xrefresh - x11-libs/libXmu )" -DEPEND="${RDEPEND} - >=dev-util/kbuild-0.1.4 - >=dev-lang/yasm-0.6.2 - sys-devel/bin86 - sys-devel/dev86 - sys-power/iasl - x11-proto/renderproto" - -BUILD_TARGETS="all" -BUILD_TARGET_ARCH="${ARCH}" -MODULE_NAMES="vboxadd(misc:${WORKDIR}/vboxadd:${WORKDIR}/vboxadd) - vboxvfs(misc:${WORKDIR}/vboxvfs:${WORKDIR}/vboxvfs)" - -S=${WORKDIR}/${MY_P/-OSE/} - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" -} - -src_unpack() { - unpack ${A} - - # Create and unpack a tarball with the sources of the Linux guest - # kernel modules, to include all the needed files - "${MY_P/-OSE/}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz" - unpack ./vbox-kmod.tar.gz - - # Remove shipped binaries (kBuild,yasm), see bug #232775 - cd "${S}" - rm -rf kBuild/bin tools - - # Disable things unused or splitted into separate ebuilds - cp "${FILESDIR}/${PN}-2-localconfig" LocalConfig.kmk -} - -src_compile() { - linux-mod_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 - - for each in /src/VBox/{Runtime,Additions/common} \ - /src/VBox/Additions/linux/{sharedfolders,daemon} ; do - cd "${S}"${each} - MAKE="kmk" emake TOOL_YASM_AS=yasm \ - KBUILD_PATH="${S}/kBuild" \ - || die "kmk VBoxControl failed" - done - - if use X; then - cd "${S}"/src/VBox/Additions/x11/xclient - MAKE="kmk" emake TOOL_YASM_AS=yasm \ - KBUILD_PATH="${S}/kBuild" \ - || die "kmk VBoxClient failed" - fi -} - -src_install() { - linux-mod_src_install - - cd "${S}"/out/linux.${ARCH}/release/bin/additions - - # shared folders - insinto /sbin - newins mountvboxsf mount.vboxsf - fperms 4755 /sbin/mount.vboxsf - - # time synchronisation system service - insinto /usr/sbin - doins vboxadd-timesync - fperms 0755 /usr/sbin/vboxadd-timesync - - newinitd "${FILESDIR}"/${PN}.initd ${PN} - - insinto /usr/bin - doins VBoxControl - fperms 4755 /usr/bin/VBoxControl - - # VBoxClient user service and xrandr wrapper - if use X; then - doins VBoxClient - fperms 4755 /usr/bin/VBoxClient - - dodir /etc/X11/xinit/xinitrc.d/ - echo -e "#/bin/sh\n/usr/bin/VBoxClient" \ - >> "${D}/etc/X11/xinit/xinitrc.d/98VBoxClient" - fperms 0755 /etc/X11/xinit/xinitrc.d/98VBoxClient - - cd "${S}"/src/VBox/Additions/x11/installer - newins VBoxRandR.sh VBoxRandR - fperms 0755 /usr/bin/VBoxRandR - fi - - # udev rule for vboxdrv - dodir /etc/udev/rules.d - echo 'KERNEL=="vboxadd", NAME="vboxadd", OWNER="root", MODE="0660"' \ - >> "${D}/etc/udev/rules.d/60-virtualbox-guest-additions.rules" -} - -pkg_postinst() { - linux-mod_pkg_postinst - if ! useq X ; then - elog "use flag X is off, enable it to install the" - elog "X Window System input and video drivers" - fi - elog "Please add:" - elog "/etc/init.d/${PN}" - elog "to the default runlevel in order to load all" - elog "needed modules and services." - elog "" - elog "Warning:" - elog "this ebuild is only needed if you are running gentoo" - elog "inside a VirtualBox Virtual Machine, you don't need" - elog "it to run VirtualBox itself." - elog "" -} diff --git a/app-emulation/virtualbox-modules/ChangeLog b/app-emulation/virtualbox-modules/ChangeLog index 34377d270dc0..feab24159a19 100644 --- a/app-emulation/virtualbox-modules/ChangeLog +++ b/app-emulation/virtualbox-modules/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/virtualbox-modules # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.35 2009/04/30 16:25:20 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.36 2009/04/30 16:33:50 patrick Exp $ + + 30 Apr 2009; Patrick Lauer + -virtualbox-modules-2.0.2.ebuild, -virtualbox-modules-2.0.4.ebuild, + -virtualbox-modules-2.0.6.ebuild: + Remove old 2.0 *virtualbox-modules-2.2.2 (30 Apr 2009) diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-2.0.2.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-2.0.2.ebuild deleted file mode 100644 index 2de66da73261..000000000000 --- a/app-emulation/virtualbox-modules/virtualbox-modules-2.0.2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-2.0.2.ebuild,v 1.1 2008/09/15 19:52:13 jokey Exp $ - -inherit eutils linux-mod - -MY_P=vbox-kernel-module-src-${PV} -DESCRIPTION="Kernel Modules for Virtualbox" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="http://gentoo.zerodev.it/files/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="!=app-emulation/virtualbox-ose-9999" - -S=${WORKDIR}/vboxdrv - -BUILD_TARGETS="all" -BUILD_TARGET_ARCH="${ARCH}" -MODULE_NAMES="vboxdrv(misc:${S})" - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" - enewgroup vboxusers -} - -src_install() { - linux-mod_src_install - - # udev rule for vboxdrv - dodir /etc/udev/rules.d - echo 'KERNEL=="vboxdrv", GROUP="vboxusers" MODE=660' >> "${D}/etc/udev/rules.d/60-virtualbox.rules" -} - -pkg_postinst() { - linux-mod_pkg_postinst -} diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-2.0.4.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-2.0.4.ebuild deleted file mode 100644 index 404e89da77c1..000000000000 --- a/app-emulation/virtualbox-modules/virtualbox-modules-2.0.4.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-2.0.4.ebuild,v 1.1 2008/10/27 17:12:53 jokey Exp $ - -inherit eutils linux-mod - -MY_P=vbox-kernel-module-src-${PV} -DESCRIPTION="Kernel Modules for Virtualbox" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="http://gentoo.zerodev.it/files/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="!=app-emulation/virtualbox-ose-9999" - -S=${WORKDIR}/vboxdrv - -BUILD_TARGETS="all" -BUILD_TARGET_ARCH="${ARCH}" -MODULE_NAMES="vboxdrv(misc:${S})" - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" - enewgroup vboxusers -} - -src_install() { - linux-mod_src_install - - # udev rule for vboxdrv - dodir /etc/udev/rules.d - echo 'KERNEL=="vboxdrv", GROUP="vboxusers" MODE=660' >> "${D}/etc/udev/rules.d/60-virtualbox.rules" -} - -pkg_postinst() { - linux-mod_pkg_postinst -} diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-2.0.6.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-2.0.6.ebuild deleted file mode 100644 index 7df2acbbe20a..000000000000 --- a/app-emulation/virtualbox-modules/virtualbox-modules-2.0.6.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-2.0.6.ebuild,v 1.1 2008/11/29 20:39:49 vapier Exp $ - -# XXX: the tarball here is just the kernel modules split out of the binary -# package that comes from virtualbox-bin - -inherit eutils linux-mod - -MY_P=vbox-kernel-module-src-${PV} -DESCRIPTION="Kernel Modules for Virtualbox" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="http://gentoo.zerodev.it/files/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="!=app-emulation/virtualbox-ose-9999" - -S=${WORKDIR}/vboxdrv - -BUILD_TARGETS="all" -BUILD_TARGET_ARCH="${ARCH}" -MODULE_NAMES="vboxdrv(misc:${S})" - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" - enewgroup vboxusers -} - -src_install() { - linux-mod_src_install - - # udev rule for vboxdrv - dodir /etc/udev/rules.d - echo 'KERNEL=="vboxdrv", GROUP="vboxusers" MODE=660' >> "${D}/etc/udev/rules.d/60-virtualbox.rules" -} - -pkg_postinst() { - linux-mod_pkg_postinst -} diff --git a/app-emulation/virtualbox-ose-additions/ChangeLog b/app-emulation/virtualbox-ose-additions/ChangeLog index 1b356510f8e9..e4b1e07eeefd 100644 --- a/app-emulation/virtualbox-ose-additions/ChangeLog +++ b/app-emulation/virtualbox-ose-additions/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-emulation/virtualbox-ose-additions # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose-additions/ChangeLog,v 1.12 2009/04/30 16:26:15 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose-additions/ChangeLog,v 1.13 2009/04/30 16:34:39 patrick Exp $ + + 30 Apr 2009; Patrick Lauer + -virtualbox-ose-additions-2.0.2.ebuild, + -virtualbox-ose-additions-2.0.4.ebuild, + -virtualbox-ose-additions-2.0.6.ebuild: + Remove old 2.0 *virtualbox-ose-additions-2.2.2 (30 Apr 2009) diff --git a/app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.0.2.ebuild b/app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.0.2.ebuild deleted file mode 100644 index 4387ab7c3e5b..000000000000 --- a/app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.0.2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.0.2.ebuild,v 1.1 2008/09/15 19:53:46 jokey Exp $ - -inherit eutils - -MY_PN=VBoxGuestAdditions -MY_P=${MY_PN}_${PV} - -DESCRIPTION="Guest additions for VirtualBox" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="${MY_P}.iso" - -LICENSE="PUEL" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="!app-emulation/virtualbox-bin - !=app-emulation/virtualbox-ose-9999" - -RESTRICT="fetch" - -pkg_nofetch() { - # Fetch restriction added due licensing and problems downloading with - # wget, see http://www.virtualbox.org/ticket/2148 - elog "Please download the package from:" - elog "" - elog "http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.iso" - elog "" - elog "and then put it in ${DISTDIR}" -} - -src_unpack() { - return 0 -} - -src_install() { - insinto /usr/share/${PN/-additions} - newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso -} diff --git a/app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.0.4.ebuild b/app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.0.4.ebuild deleted file mode 100644 index 4b28bbab999a..000000000000 --- a/app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.0.4.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.0.4.ebuild,v 1.1 2008/10/27 17:17:55 jokey Exp $ - -inherit eutils - -MY_PN=VBoxGuestAdditions -MY_P=${MY_PN}_${PV} - -DESCRIPTION="Guest additions for VirtualBox" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="${MY_P}.iso" - -LICENSE="PUEL" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="!app-emulation/virtualbox-bin - !=app-emulation/virtualbox-ose-9999" - -RESTRICT="fetch" - -pkg_nofetch() { - # Fetch restriction added due licensing and problems downloading with - # wget, see http://www.virtualbox.org/ticket/2148 - elog "Please download the package from:" - elog "" - elog "http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.iso" - elog "" - elog "and then put it in ${DISTDIR}" -} - -src_unpack() { - return 0 -} - -src_install() { - insinto /usr/share/${PN/-additions} - newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso -} diff --git a/app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.0.6.ebuild b/app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.0.6.ebuild deleted file mode 100644 index f3204427452e..000000000000 --- a/app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.0.6.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.0.6.ebuild,v 1.1 2008/12/18 12:45:25 flameeyes Exp $ - -inherit eutils - -MY_PN=VBoxGuestAdditions -MY_P=${MY_PN}_${PV} - -DESCRIPTION="Guest additions for VirtualBox" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="${MY_P}.iso" - -LICENSE="PUEL" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="!app-emulation/virtualbox-bin - !=app-emulation/virtualbox-ose-9999" - -RESTRICT="fetch" - -pkg_nofetch() { - # Fetch restriction added due licensing and problems downloading with - # wget, see http://www.virtualbox.org/ticket/2148 - elog "Please download the package from:" - elog "" - elog "http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.iso" - elog "" - elog "and then put it in ${DISTDIR}" -} - -src_unpack() { - return 0 -} - -src_install() { - insinto /usr/share/${PN/-additions} - newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso -} diff --git a/app-emulation/virtualbox-ose/ChangeLog b/app-emulation/virtualbox-ose/ChangeLog index 7c30a2d87a47..28f5bbd5e086 100644 --- a/app-emulation/virtualbox-ose/ChangeLog +++ b/app-emulation/virtualbox-ose/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/virtualbox-ose # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/ChangeLog,v 1.16 2009/04/30 16:25:46 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/ChangeLog,v 1.17 2009/04/30 16:34:14 patrick Exp $ + + 30 Apr 2009; Patrick Lauer + -virtualbox-ose-2.0.2.ebuild, -virtualbox-ose-2.0.4.ebuild, + -virtualbox-ose-2.0.4-r1.ebuild, -virtualbox-ose-2.0.6.ebuild: + Remove old 2.0 *virtualbox-ose-2.2.2 (30 Apr 2009) diff --git a/app-emulation/virtualbox-ose/virtualbox-ose-2.0.2.ebuild b/app-emulation/virtualbox-ose/virtualbox-ose-2.0.2.ebuild deleted file mode 100644 index 166eff08a2b5..000000000000 --- a/app-emulation/virtualbox-ose/virtualbox-ose-2.0.2.ebuild +++ /dev/null @@ -1,232 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.0.2.ebuild,v 1.4 2008/10/27 22:46:11 mr_bones_ Exp $ - -EAPI=1 - -inherit eutils fdo-mime flag-o-matic qt4 toolchain-funcs - -MY_P=VirtualBox-${PV}-OSE -DESCRIPTION="Softwarefamily of powerful x86 virtualization" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+additions alsa headless pulseaudio python +qt4 sdk" - -RDEPEND="!app-emulation/virtualbox-bin - ~app-emulation/virtualbox-modules-${PV} - dev-libs/libIDL - >=dev-libs/libxslt-1.1.19 - !headless? ( - qt4? ( || ( ( x11-libs/qt-gui x11-libs/qt-core ) =x11-libs/qt-4.3*:4 ) ) - x11-libs/libXcursor - media-libs/libsdl - x11-libs/libXt )" -DEPEND="${RDEPEND} - >=dev-util/kbuild-0.1.4 - >=dev-lang/yasm-0.6.2 - sys-devel/bin86 - sys-devel/dev86 - sys-power/iasl - media-libs/libpng - alsa? ( >=media-libs/alsa-lib-1.0.13 ) - pulseaudio? ( media-sound/pulseaudio ) - python? ( >=dev-lang/python-2.3 )" -# sys-apps/hal is required at runtime (bug #197541) -RDEPEND="${RDEPEND} - additions? ( ~app-emulation/virtualbox-ose-additions-${PV} ) - sys-apps/usermode-utilities - net-misc/bridge-utils - sys-apps/hal" - -S=${WORKDIR}/${MY_P/-OSE/} -MY_LIBDIR="$(get_libdir)" - -pkg_setup() { - # known problems with gcc 4.3 and the recompiler - # http://www.virtualbox.org/ticket/936 - if [[ "$(gcc-major-version)$(gcc-minor-version)" == "43" ]]; then - eerror "there are known problems with gcc 4.3 and the virtualbox" - eerror "recompiler stuff. Please use at least a version of gcc < 4.3" - die "gcc 4.3 cannot build the virtualbox recompiler" - fi - - if ! use headless; then - # The VBoxSDL frontend needs media-libs/libsdl compiled - # with USE flag X enabled (bug #177335) - if ! built_with_use media-libs/libsdl X; then - eerror "media-libs/libsdl was compiled without the \"X\" USE flag enabled." - eerror "Please re-emerge media-libs/libsdl with USE=\"X\"." - die "media-libs/libsdl should be compiled with the \"X\" USE flag." - fi - if ! use qt4; then - einfo "" - einfo "No USE=\"qt4\" selected, this build will not include" - einfo "any Qt frontend." - einfo "" - fi - else - if use qt4; then - einfo "" - einfo "You selected USE=\"headless qt4\", defaulting to" - einfo "USE=\"headless\", this build will not include any X11/Qt frontend." - einfo "" - fi - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # Remove shipped binaries (kBuild,yasm), see bug #232775 - rm -rf kBuild/bin tools - - # Disable things unused or splitted into separate ebuilds - cp "${FILESDIR}/${PN}-2-localconfig" LocalConfig.kmk - - # Set the right libdir - sed -i \ - -e "s/MY_LIBDIR/${MY_LIBDIR}/" LocalConfig.kmk \ - || die "LocalConfig.kmk sed failed" -} - -src_compile() { - - local myconf - # Don't build vboxdrv kernel module, disable deprecated qt3 support - myconf="--disable-kmods --disable-qt3" - - if ! use pulseaudio; then - myconf="${myconf} --disable-pulse" - fi - if ! use python; then - myconf="${myconf} --disable-python" - fi - if ! use alsa; then - myconf="${myconf} --disable-alsa" - fi - if ! use headless; then - if ! use qt4; then - myconf="${myconf} --disable-qt4" - fi - else - myconf="${myconf} --build-headless" - fi - - ./configure --with-gcc="$(tc-getCC)" --with-g++="$(tc-getCXX)" \ - ${myconf} || die "configure failed" - source ./env.sh - - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) - # and strip all flags - strip-flags - - MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \ - TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \ - TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \ - TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \ - TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \ - all || die "kmk failed" -} - -src_install() { - cd "${S}"/out/linux.${ARCH}/release/bin - - # Create configuration files - insinto /etc/vbox - newins "${FILESDIR}/${PN}-2-config" vbox.cfg - newins "${FILESDIR}/${PN}-interfaces" interfaces - - # Set the right libdir - sed -i \ - -e "s/MY_LIBDIR/${MY_LIBDIR}/" \ - "${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed" - - # Symlink binaries to the shipped wrapper - exeinto /usr/${MY_LIBDIR}/${PN} - newexe "${FILESDIR}/${PN}-2-wrapper" "VBox" || die - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBox - fperms 0750 /usr/${MY_LIBDIR}/${PN}/VBox - newexe "${S}"/src/VBox/Installer/linux/VBoxAddIF.sh "VBoxAddIF" || die - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBoxAddIF - fperms 0750 /usr/${MY_LIBDIR}/${PN}/VBoxAddIF - - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxManage - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxVRDP - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxHeadless - dosym /usr/${MY_LIBDIR}/${PN}/VBoxTunctl /usr/bin/VBoxTunctl - dosym /usr/${MY_LIBDIR}/${PN}/VBoxAddIF /usr/bin/VBoxAddIF - dosym /usr/${MY_LIBDIR}/${PN}/VBoxAddIF /usr/bin/VBoxDeleteIF - - # Install binaries and libraries - insinto /usr/${MY_LIBDIR}/${PN} - doins -r components - - if use sdk; then - doins -r sdk - fi - - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl} *so *r0 *gc ; do - doins $each - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/${each} - fperms 0750 /usr/${MY_LIBDIR}/${PN}/${each} - done - - if use amd64; then - doins VBoxREM2.rel - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBoxREM2.rel - fperms 0750 /usr/${MY_LIBDIR}/${PN}/VBoxREM2.rel - fi - - if ! use headless; then - for each in VBox{SDL,Headless} ; do - doins $each - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/${each} - fperms 4750 /usr/${MY_LIBDIR}/${PN}/${each} - pax-mark -m "${D}"/usr/${MY_LIBDIR}/${PN}/${each} - done - - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxSDL - - if use qt4; then - doins VirtualBox - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VirtualBox - fperms 4750 /usr/${MY_LIBDIR}/${PN}/VirtualBox - pax-mark -m "${D}"/usr/${MY_LIBDIR}/${PN}/VirtualBox - - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VirtualBox - fi - - newicon "${S}"/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_32px.png ${PN}.png - domenu "${FILESDIR}"/${PN}.desktop - else - doins VBoxHeadless - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBoxHeadless - fperms 4750 /usr/${MY_LIBDIR}/${PN}/VBoxHeadless - pax-mark -m "${D}"/usr/${MY_LIBDIR}/${PN}/VBoxHeadless - fi - - insinto /usr/share/${PN} - doins -r nls -} - -pkg_postinst() { - fdo-mime_desktop_database_update - elog "" - if ! use headless; then - elog "To launch VirtualBox just type: \"VirtualBox\"" - fi - elog "You must be in the vboxusers group to use VirtualBox." - elog "" - elog "The last user manual is available for download at:" - elog "http://www.virtualbox.org/download/UserManual.pdf" - elog "" -} - -pkg_postrm() { - fdo-mime_desktop_database_update -} diff --git a/app-emulation/virtualbox-ose/virtualbox-ose-2.0.4-r1.ebuild b/app-emulation/virtualbox-ose/virtualbox-ose-2.0.4-r1.ebuild deleted file mode 100644 index 6d9f1d214156..000000000000 --- a/app-emulation/virtualbox-ose/virtualbox-ose-2.0.4-r1.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.0.4-r1.ebuild,v 1.3 2009/03/03 07:11:05 patrick Exp $ - -EAPI=1 - -inherit eutils fdo-mime flag-o-matic pax-utils qt4 toolchain-funcs - -MY_P=VirtualBox-${PV}-OSE -DESCRIPTION="Softwarefamily of powerful x86 virtualization" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+additions alsa headless pulseaudio python +qt4 sdk" - -RDEPEND="!app-emulation/virtualbox-bin - ~app-emulation/virtualbox-modules-${PV} - dev-libs/libIDL - >=dev-libs/libxslt-1.1.19 - !headless? ( - qt4? ( || ( ( x11-libs/qt-gui x11-libs/qt-core ) =x11-libs/qt-4.3*:4 ) ) - x11-libs/libXcursor - media-libs/libsdl - x11-libs/libXt )" -DEPEND="${RDEPEND} - >=dev-util/kbuild-0.1.4 - >=dev-lang/yasm-0.6.2 - sys-devel/bin86 - sys-devel/dev86 - sys-power/iasl - media-libs/libpng - alsa? ( >=media-libs/alsa-lib-1.0.13 ) - pulseaudio? ( media-sound/pulseaudio ) - python? ( >=dev-lang/python-2.3 )" -# sys-apps/hal is required at runtime (bug #197541) -RDEPEND="${RDEPEND} - additions? ( ~app-emulation/virtualbox-ose-additions-${PV} ) - sys-apps/usermode-utilities - net-misc/bridge-utils - sys-apps/hal" - -S=${WORKDIR}/${MY_P/-OSE/} -MY_LIBDIR="$(get_libdir)" - -pkg_setup() { - # known problems with gcc 4.3 and the recompiler - # http://www.virtualbox.org/ticket/936 - if [[ "$(gcc-major-version)$(gcc-minor-version)" == "43" ]]; then - eerror "there are known problems with gcc 4.3 and the virtualbox" - eerror "recompiler stuff. Please use at least a version of gcc < 4.3" - die "gcc 4.3 cannot build the virtualbox recompiler" - fi - - if ! use headless; then - # The VBoxSDL frontend needs media-libs/libsdl compiled - # with USE flag X enabled (bug #177335) - if ! built_with_use media-libs/libsdl X; then - eerror "media-libs/libsdl was compiled without the \"X\" USE flag enabled." - eerror "Please re-emerge media-libs/libsdl with USE=\"X\"." - die "media-libs/libsdl should be compiled with the \"X\" USE flag." - fi - if ! use qt4; then - einfo "" - einfo "No USE=\"qt4\" selected, this build will not include" - einfo "any Qt frontend." - einfo "" - fi - else - if use qt4; then - einfo "" - einfo "You selected USE=\"headless qt4\", defaulting to" - einfo "USE=\"headless\", this build will not include any X11/Qt frontend." - einfo "" - fi - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # Remove shipped binaries (kBuild,yasm), see bug #232775 - rm -rf kBuild/bin tools - - # Disable things unused or splitted into separate ebuilds - cp "${FILESDIR}/${PN}-2-localconfig" LocalConfig.kmk - - # Set the right libdir - sed -i \ - -e "s/MY_LIBDIR/${MY_LIBDIR}/" LocalConfig.kmk \ - || die "LocalConfig.kmk sed failed" - - # Fix Insecure temp file usage, see bug #245958 - epatch "${FILESDIR}/${PN}-fix-insecure-lockfiles.patch" -} - -src_compile() { - - local myconf - # Don't build vboxdrv kernel module, disable deprecated qt3 support - myconf="--disable-kmods --disable-qt3" - - if ! use pulseaudio; then - myconf="${myconf} --disable-pulse" - fi - if ! use python; then - myconf="${myconf} --disable-python" - fi - if ! use alsa; then - myconf="${myconf} --disable-alsa" - fi - if ! use headless; then - if ! use qt4; then - myconf="${myconf} --disable-qt4" - fi - else - myconf="${myconf} --build-headless" - fi - - ./configure --with-gcc="$(tc-getCC)" --with-g++="$(tc-getCXX)" \ - ${myconf} || die "configure failed" - source ./env.sh - - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) - # and strip all flags - strip-flags - - MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \ - TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \ - TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \ - TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \ - TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \ - all || die "kmk failed" -} - -src_install() { - cd "${S}"/out/linux.${ARCH}/release/bin - - # Create configuration files - insinto /etc/vbox - newins "${FILESDIR}/${PN}-2-config" vbox.cfg - newins "${FILESDIR}/${PN}-interfaces" interfaces - - # Set the right libdir - sed -i \ - -e "s/MY_LIBDIR/${MY_LIBDIR}/" \ - "${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed" - - # Symlink binaries to the shipped wrapper - exeinto /usr/${MY_LIBDIR}/${PN} - newexe "${FILESDIR}/${PN}-2-wrapper" "VBox" || die - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBox - fperms 0750 /usr/${MY_LIBDIR}/${PN}/VBox - newexe "${S}"/src/VBox/Installer/linux/VBoxAddIF.sh "VBoxAddIF" || die - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBoxAddIF - fperms 0750 /usr/${MY_LIBDIR}/${PN}/VBoxAddIF - - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxManage - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxVRDP - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxHeadless - dosym /usr/${MY_LIBDIR}/${PN}/VBoxTunctl /usr/bin/VBoxTunctl - dosym /usr/${MY_LIBDIR}/${PN}/VBoxAddIF /usr/bin/VBoxAddIF - dosym /usr/${MY_LIBDIR}/${PN}/VBoxAddIF /usr/bin/VBoxDeleteIF - - # Install binaries and libraries - insinto /usr/${MY_LIBDIR}/${PN} - doins -r components - - if use sdk; then - doins -r sdk - fi - - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl} *so *r0 *gc ; do - doins $each - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/${each} - fperms 0750 /usr/${MY_LIBDIR}/${PN}/${each} - done - - if use amd64; then - doins VBoxREM2.rel - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBoxREM2.rel - fperms 0750 /usr/${MY_LIBDIR}/${PN}/VBoxREM2.rel - fi - - if ! use headless; then - for each in VBox{SDL,Headless} ; do - doins $each - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/${each} - fperms 4750 /usr/${MY_LIBDIR}/${PN}/${each} - pax-mark -m "${D}"/usr/${MY_LIBDIR}/${PN}/${each} - done - - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxSDL - - if use qt4; then - doins VirtualBox - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VirtualBox - fperms 4750 /usr/${MY_LIBDIR}/${PN}/VirtualBox - pax-mark -m "${D}"/usr/${MY_LIBDIR}/${PN}/VirtualBox - - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VirtualBox - fi - - newicon "${S}"/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_32px.png ${PN}.png - domenu "${FILESDIR}"/${PN}.desktop - else - doins VBoxHeadless - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBoxHeadless - fperms 4750 /usr/${MY_LIBDIR}/${PN}/VBoxHeadless - pax-mark -m "${D}"/usr/${MY_LIBDIR}/${PN}/VBoxHeadless - fi - - insinto /usr/share/${PN} - doins -r nls -} - -pkg_postinst() { - fdo-mime_desktop_database_update - elog "" - if ! use headless; then - elog "To launch VirtualBox just type: \"VirtualBox\"" - fi - elog "You must be in the vboxusers group to use VirtualBox." - elog "" - elog "The last user manual is available for download at:" - elog "http://www.virtualbox.org/download/UserManual.pdf" - elog "" -} - -pkg_postrm() { - fdo-mime_desktop_database_update -} diff --git a/app-emulation/virtualbox-ose/virtualbox-ose-2.0.4.ebuild b/app-emulation/virtualbox-ose/virtualbox-ose-2.0.4.ebuild deleted file mode 100644 index 7aa23ccc7d0f..000000000000 --- a/app-emulation/virtualbox-ose/virtualbox-ose-2.0.4.ebuild +++ /dev/null @@ -1,232 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.0.4.ebuild,v 1.2 2008/10/27 22:46:11 mr_bones_ Exp $ - -EAPI=1 - -inherit eutils fdo-mime flag-o-matic qt4 toolchain-funcs - -MY_P=VirtualBox-${PV}-OSE -DESCRIPTION="Softwarefamily of powerful x86 virtualization" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+additions alsa headless pulseaudio python +qt4 sdk" - -RDEPEND="!app-emulation/virtualbox-bin - ~app-emulation/virtualbox-modules-${PV} - dev-libs/libIDL - >=dev-libs/libxslt-1.1.19 - !headless? ( - qt4? ( || ( ( x11-libs/qt-gui x11-libs/qt-core ) =x11-libs/qt-4.3*:4 ) ) - x11-libs/libXcursor - media-libs/libsdl - x11-libs/libXt )" -DEPEND="${RDEPEND} - >=dev-util/kbuild-0.1.4 - >=dev-lang/yasm-0.6.2 - sys-devel/bin86 - sys-devel/dev86 - sys-power/iasl - media-libs/libpng - alsa? ( >=media-libs/alsa-lib-1.0.13 ) - pulseaudio? ( media-sound/pulseaudio ) - python? ( >=dev-lang/python-2.3 )" -# sys-apps/hal is required at runtime (bug #197541) -RDEPEND="${RDEPEND} - additions? ( ~app-emulation/virtualbox-ose-additions-${PV} ) - sys-apps/usermode-utilities - net-misc/bridge-utils - sys-apps/hal" - -S=${WORKDIR}/${MY_P/-OSE/} -MY_LIBDIR="$(get_libdir)" - -pkg_setup() { - # known problems with gcc 4.3 and the recompiler - # http://www.virtualbox.org/ticket/936 - if [[ "$(gcc-major-version)$(gcc-minor-version)" == "43" ]]; then - eerror "there are known problems with gcc 4.3 and the virtualbox" - eerror "recompiler stuff. Please use at least a version of gcc < 4.3" - die "gcc 4.3 cannot build the virtualbox recompiler" - fi - - if ! use headless; then - # The VBoxSDL frontend needs media-libs/libsdl compiled - # with USE flag X enabled (bug #177335) - if ! built_with_use media-libs/libsdl X; then - eerror "media-libs/libsdl was compiled without the \"X\" USE flag enabled." - eerror "Please re-emerge media-libs/libsdl with USE=\"X\"." - die "media-libs/libsdl should be compiled with the \"X\" USE flag." - fi - if ! use qt4; then - einfo "" - einfo "No USE=\"qt4\" selected, this build will not include" - einfo "any Qt frontend." - einfo "" - fi - else - if use qt4; then - einfo "" - einfo "You selected USE=\"headless qt4\", defaulting to" - einfo "USE=\"headless\", this build will not include any X11/Qt frontend." - einfo "" - fi - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # Remove shipped binaries (kBuild,yasm), see bug #232775 - rm -rf kBuild/bin tools - - # Disable things unused or splitted into separate ebuilds - cp "${FILESDIR}/${PN}-2-localconfig" LocalConfig.kmk - - # Set the right libdir - sed -i \ - -e "s/MY_LIBDIR/${MY_LIBDIR}/" LocalConfig.kmk \ - || die "LocalConfig.kmk sed failed" -} - -src_compile() { - - local myconf - # Don't build vboxdrv kernel module, disable deprecated qt3 support - myconf="--disable-kmods --disable-qt3" - - if ! use pulseaudio; then - myconf="${myconf} --disable-pulse" - fi - if ! use python; then - myconf="${myconf} --disable-python" - fi - if ! use alsa; then - myconf="${myconf} --disable-alsa" - fi - if ! use headless; then - if ! use qt4; then - myconf="${myconf} --disable-qt4" - fi - else - myconf="${myconf} --build-headless" - fi - - ./configure --with-gcc="$(tc-getCC)" --with-g++="$(tc-getCXX)" \ - ${myconf} || die "configure failed" - source ./env.sh - - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) - # and strip all flags - strip-flags - - MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \ - TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \ - TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \ - TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \ - TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \ - all || die "kmk failed" -} - -src_install() { - cd "${S}"/out/linux.${ARCH}/release/bin - - # Create configuration files - insinto /etc/vbox - newins "${FILESDIR}/${PN}-2-config" vbox.cfg - newins "${FILESDIR}/${PN}-interfaces" interfaces - - # Set the right libdir - sed -i \ - -e "s/MY_LIBDIR/${MY_LIBDIR}/" \ - "${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed" - - # Symlink binaries to the shipped wrapper - exeinto /usr/${MY_LIBDIR}/${PN} - newexe "${FILESDIR}/${PN}-2-wrapper" "VBox" || die - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBox - fperms 0750 /usr/${MY_LIBDIR}/${PN}/VBox - newexe "${S}"/src/VBox/Installer/linux/VBoxAddIF.sh "VBoxAddIF" || die - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBoxAddIF - fperms 0750 /usr/${MY_LIBDIR}/${PN}/VBoxAddIF - - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxManage - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxVRDP - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxHeadless - dosym /usr/${MY_LIBDIR}/${PN}/VBoxTunctl /usr/bin/VBoxTunctl - dosym /usr/${MY_LIBDIR}/${PN}/VBoxAddIF /usr/bin/VBoxAddIF - dosym /usr/${MY_LIBDIR}/${PN}/VBoxAddIF /usr/bin/VBoxDeleteIF - - # Install binaries and libraries - insinto /usr/${MY_LIBDIR}/${PN} - doins -r components - - if use sdk; then - doins -r sdk - fi - - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl} *so *r0 *gc ; do - doins $each - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/${each} - fperms 0750 /usr/${MY_LIBDIR}/${PN}/${each} - done - - if use amd64; then - doins VBoxREM2.rel - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBoxREM2.rel - fperms 0750 /usr/${MY_LIBDIR}/${PN}/VBoxREM2.rel - fi - - if ! use headless; then - for each in VBox{SDL,Headless} ; do - doins $each - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/${each} - fperms 4750 /usr/${MY_LIBDIR}/${PN}/${each} - pax-mark -m "${D}"/usr/${MY_LIBDIR}/${PN}/${each} - done - - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxSDL - - if use qt4; then - doins VirtualBox - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VirtualBox - fperms 4750 /usr/${MY_LIBDIR}/${PN}/VirtualBox - pax-mark -m "${D}"/usr/${MY_LIBDIR}/${PN}/VirtualBox - - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VirtualBox - fi - - newicon "${S}"/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_32px.png ${PN}.png - domenu "${FILESDIR}"/${PN}.desktop - else - doins VBoxHeadless - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBoxHeadless - fperms 4750 /usr/${MY_LIBDIR}/${PN}/VBoxHeadless - pax-mark -m "${D}"/usr/${MY_LIBDIR}/${PN}/VBoxHeadless - fi - - insinto /usr/share/${PN} - doins -r nls -} - -pkg_postinst() { - fdo-mime_desktop_database_update - elog "" - if ! use headless; then - elog "To launch VirtualBox just type: \"VirtualBox\"" - fi - elog "You must be in the vboxusers group to use VirtualBox." - elog "" - elog "The last user manual is available for download at:" - elog "http://www.virtualbox.org/download/UserManual.pdf" - elog "" -} - -pkg_postrm() { - fdo-mime_desktop_database_update -} diff --git a/app-emulation/virtualbox-ose/virtualbox-ose-2.0.6.ebuild b/app-emulation/virtualbox-ose/virtualbox-ose-2.0.6.ebuild deleted file mode 100644 index 5ae9b666afbd..000000000000 --- a/app-emulation/virtualbox-ose/virtualbox-ose-2.0.6.ebuild +++ /dev/null @@ -1,232 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.0.6.ebuild,v 1.3 2009/03/03 07:11:05 patrick Exp $ - -EAPI=1 - -inherit eutils fdo-mime flag-o-matic pax-utils qt4 toolchain-funcs - -MY_P=VirtualBox-${PV}-OSE -DESCRIPTION="Softwarefamily of powerful x86 virtualization" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+additions alsa headless pulseaudio python +qt4 sdk" - -RDEPEND="!app-emulation/virtualbox-bin - ~app-emulation/virtualbox-modules-${PV} - dev-libs/libIDL - >=dev-libs/libxslt-1.1.19 - !headless? ( - qt4? ( || ( ( x11-libs/qt-gui x11-libs/qt-core ) =x11-libs/qt-4.3*:4 ) ) - x11-libs/libXcursor - media-libs/libsdl - x11-libs/libXt )" -DEPEND="${RDEPEND} - >=dev-util/kbuild-0.1.4 - >=dev-lang/yasm-0.6.2 - sys-devel/bin86 - sys-devel/dev86 - sys-power/iasl - media-libs/libpng - alsa? ( >=media-libs/alsa-lib-1.0.13 ) - pulseaudio? ( media-sound/pulseaudio ) - python? ( >=dev-lang/python-2.3 )" -# sys-apps/hal is required at runtime (bug #197541) -RDEPEND="${RDEPEND} - additions? ( ~app-emulation/virtualbox-ose-additions-${PV} ) - sys-apps/usermode-utilities - net-misc/bridge-utils - sys-apps/hal" - -S=${WORKDIR}/${MY_P/-OSE/} -MY_LIBDIR="$(get_libdir)" - -pkg_setup() { - # known problems with gcc 4.3 and the recompiler - # http://www.virtualbox.org/ticket/936 - if [[ "$(gcc-major-version)$(gcc-minor-version)" == "43" ]]; then - eerror "there are known problems with gcc 4.3 and the virtualbox" - eerror "recompiler stuff. Please use at least a version of gcc < 4.3" - die "gcc 4.3 cannot build the virtualbox recompiler" - fi - - if ! use headless; then - # The VBoxSDL frontend needs media-libs/libsdl compiled - # with USE flag X enabled (bug #177335) - if ! built_with_use media-libs/libsdl X; then - eerror "media-libs/libsdl was compiled without the \"X\" USE flag enabled." - eerror "Please re-emerge media-libs/libsdl with USE=\"X\"." - die "media-libs/libsdl should be compiled with the \"X\" USE flag." - fi - if ! use qt4; then - einfo "" - einfo "No USE=\"qt4\" selected, this build will not include" - einfo "any Qt frontend." - einfo "" - fi - else - if use qt4; then - einfo "" - einfo "You selected USE=\"headless qt4\", defaulting to" - einfo "USE=\"headless\", this build will not include any X11/Qt frontend." - einfo "" - fi - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # Remove shipped binaries (kBuild,yasm), see bug #232775 - rm -rf kBuild/bin tools - - # Disable things unused or splitted into separate ebuilds - cp "${FILESDIR}/${PN}-2-localconfig" LocalConfig.kmk - - # Set the right libdir - sed -i \ - -e "s/MY_LIBDIR/${MY_LIBDIR}/" LocalConfig.kmk \ - || die "LocalConfig.kmk sed failed" -} - -src_compile() { - - local myconf - # Don't build vboxdrv kernel module, disable deprecated qt3 support - myconf="--disable-kmods --disable-qt3" - - if ! use pulseaudio; then - myconf="${myconf} --disable-pulse" - fi - if ! use python; then - myconf="${myconf} --disable-python" - fi - if ! use alsa; then - myconf="${myconf} --disable-alsa" - fi - if ! use headless; then - if ! use qt4; then - myconf="${myconf} --disable-qt4" - fi - else - myconf="${myconf} --build-headless" - fi - - ./configure --with-gcc="$(tc-getCC)" --with-g++="$(tc-getCXX)" \ - ${myconf} || die "configure failed" - source ./env.sh - - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) - # and strip all flags - strip-flags - - MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \ - TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \ - TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \ - TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \ - TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \ - all || die "kmk failed" -} - -src_install() { - cd "${S}"/out/linux.${ARCH}/release/bin - - # Create configuration files - insinto /etc/vbox - newins "${FILESDIR}/${PN}-2-config" vbox.cfg - newins "${FILESDIR}/${PN}-interfaces" interfaces - - # Set the right libdir - sed -i \ - -e "s/MY_LIBDIR/${MY_LIBDIR}/" \ - "${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed" - - # Symlink binaries to the shipped wrapper - exeinto /usr/${MY_LIBDIR}/${PN} - newexe "${FILESDIR}/${PN}-2-wrapper" "VBox" || die - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBox - fperms 0750 /usr/${MY_LIBDIR}/${PN}/VBox - newexe "${S}"/src/VBox/Installer/linux/VBoxAddIF.sh "VBoxAddIF" || die - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBoxAddIF - fperms 0750 /usr/${MY_LIBDIR}/${PN}/VBoxAddIF - - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxManage - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxVRDP - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxHeadless - dosym /usr/${MY_LIBDIR}/${PN}/VBoxTunctl /usr/bin/VBoxTunctl - dosym /usr/${MY_LIBDIR}/${PN}/VBoxAddIF /usr/bin/VBoxAddIF - dosym /usr/${MY_LIBDIR}/${PN}/VBoxAddIF /usr/bin/VBoxDeleteIF - - # Install binaries and libraries - insinto /usr/${MY_LIBDIR}/${PN} - doins -r components - - if use sdk; then - doins -r sdk - fi - - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl} *so *r0 *gc ; do - doins $each - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/${each} - fperms 0750 /usr/${MY_LIBDIR}/${PN}/${each} - done - - if use amd64; then - doins VBoxREM2.rel - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBoxREM2.rel - fperms 0750 /usr/${MY_LIBDIR}/${PN}/VBoxREM2.rel - fi - - if ! use headless; then - for each in VBox{SDL,Headless} ; do - doins $each - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/${each} - fperms 4750 /usr/${MY_LIBDIR}/${PN}/${each} - pax-mark -m "${D}"/usr/${MY_LIBDIR}/${PN}/${each} - done - - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxSDL - - if use qt4; then - doins VirtualBox - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VirtualBox - fperms 4750 /usr/${MY_LIBDIR}/${PN}/VirtualBox - pax-mark -m "${D}"/usr/${MY_LIBDIR}/${PN}/VirtualBox - - dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VirtualBox - fi - - newicon "${S}"/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_32px.png ${PN}.png - domenu "${FILESDIR}"/${PN}.desktop - else - doins VBoxHeadless - fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBoxHeadless - fperms 4750 /usr/${MY_LIBDIR}/${PN}/VBoxHeadless - pax-mark -m "${D}"/usr/${MY_LIBDIR}/${PN}/VBoxHeadless - fi - - insinto /usr/share/${PN} - doins -r nls -} - -pkg_postinst() { - fdo-mime_desktop_database_update - elog "" - if ! use headless; then - elog "To launch VirtualBox just type: \"VirtualBox\"" - fi - elog "You must be in the vboxusers group to use VirtualBox." - elog "" - elog "The last user manual is available for download at:" - elog "http://www.virtualbox.org/download/UserManual.pdf" - elog "" -} - -pkg_postrm() { - fdo-mime_desktop_database_update -} -- cgit v1.2.3-65-gdbad