bye bye app-emulation
This commit is contained in:
@@ -1,199 +0,0 @@
|
||||
# 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.10 2009/04/18 17:04:33 patrick Exp $
|
||||
|
||||
*virtualbox-guest-additions-2.2.0 (18 Apr 2009)
|
||||
|
||||
18 Apr 2009; Patrick Lauer <patrick@gentoo.org>
|
||||
+virtualbox-guest-additions-2.2.0.ebuild:
|
||||
Bump to 2.2.0. Many thanks to Alessio Cassibba for the ebuilds. Part of
|
||||
#265510
|
||||
|
||||
*virtualbox-guest-additions-2.1.4 (03 Mar 2009)
|
||||
|
||||
03 Mar 2009; Patrick Lauer <patrick@gentoo.org>
|
||||
+virtualbox-guest-additions-2.1.4.ebuild:
|
||||
Bump to 2.1.4. Small fix for upstream typo.
|
||||
|
||||
*virtualbox-guest-additions-2.0.6 (18 Dec 2008)
|
||||
*virtualbox-guest-additions-2.0.4-r1 (18 Dec 2008)
|
||||
*virtualbox-guest-additions-1.6.6-r1 (18 Dec 2008)
|
||||
|
||||
18 Dec 2008; Diego E. Pettenò <flameeyes@gentoo.org>
|
||||
files/virtualbox-guest-additions-2-localconfig,
|
||||
+virtualbox-guest-additions-1.6.6-r1.ebuild,
|
||||
+virtualbox-guest-additions-2.0.4-r1.ebuild,
|
||||
+virtualbox-guest-additions-2.0.6.ebuild:
|
||||
Proxy commit Alessio's ebuilds.
|
||||
|
||||
26 Nov 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
|
||||
virtualbox-guest-additions-2.0.4-r1.ebuild,
|
||||
virtualbox-guest-additions-2.0.6.ebuild,
|
||||
files/virtualbox-guest-additions-2-localconfig:
|
||||
Version Bump; add x11-libs/libXmu to RDEPEND thanks to Mike Limansky, wrt
|
||||
bug #246701; force ebuild to respect the X USE flag; improve build speed
|
||||
(don't build unneeded stuff); add vboxclient.desktop; drop version 2.0.2
|
||||
|
||||
31 Oct 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
|
||||
-virtualbox-guest-additions-1.6.6.ebuild,
|
||||
+virtualbox-guest-additions-1.6.6-r1.ebuild,
|
||||
-virtualbox-guest-additions-2.0.2.ebuild,
|
||||
+virtualbox-guest-additions-2.0.2-r1.ebuild,
|
||||
-virtualbox-guest-additions-2.0.4.ebuild,
|
||||
+virtualbox-guest-additions-2.0.4-r1.ebuild:
|
||||
fix two typos thanks to Walter Meinl, wrt bug #236151
|
||||
|
||||
*virtualbox-guest-additions-2.0.4 (27 Oct 2008)
|
||||
|
||||
27 Oct 2008; Markus Ullmann <jokey@gentoo.org>
|
||||
-files/virtualbox-guest-additions-1.6.4-fix-missing-makefiles.patch,
|
||||
-files/virtualbox-guest-additions-2.0.2-localconfig,
|
||||
+files/virtualbox-guest-additions-2-localconfig,
|
||||
-virtualbox-guest-additions-1.6.4-r2.ebuild,
|
||||
virtualbox-guest-additions-2.0.2.ebuild,
|
||||
+virtualbox-guest-additions-2.0.4.ebuild:
|
||||
(Proxy commit) Version bump
|
||||
|
||||
26 Oct 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
|
||||
-virtualbox-guest-additions-1.6.4-r2.ebuild,
|
||||
-files/virtualbox-guest-additions-1.6.4-fix-missing-makefiles.patch,
|
||||
virtualbox-guest-additions-2.0.2.ebuild,
|
||||
-files/virtualbox-guest-additions-2.0.2-localconfig,
|
||||
+virtualbox-guest-additions-2.0.4.ebuild,
|
||||
+files/virtualbox-guest-additions-2-localconfig:
|
||||
Version Bump; drop version 1.6.4
|
||||
|
||||
*virtualbox-guest-additions-2.0.2 (15 Sep 2008)
|
||||
|
||||
15 Sep 2008; Markus Ullmann <jokey@gentoo.org>
|
||||
files/virtualbox-guest-additions-1.6.4-fix-missing-makefiles.patch,
|
||||
+files/virtualbox-guest-additions-2.0.2-localconfig,
|
||||
virtualbox-guest-additions-1.6.4-r2.ebuild,
|
||||
virtualbox-guest-additions-1.6.6.ebuild,
|
||||
+virtualbox-guest-additions-2.0.2.ebuild:
|
||||
(Proxy-Commit) Port from dev overlay
|
||||
|
||||
13 Sep 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
|
||||
+virtualbox-guest-additions-2.0.2.ebuild,
|
||||
+files/virtualbox-guest-additions-2.0.2-localconfig:
|
||||
Version bump, add VBoxControl command line utility, force 2.0.2 to build
|
||||
with dev-util/kbuild-0.1.4
|
||||
|
||||
*virtualbox-guest-additions-1.6.6 (06 Sep 2008)
|
||||
*virtualbox-guest-additions-1.6.4-r2 (06 Sep 2008)
|
||||
|
||||
06 Sep 2008; Markus Ullmann <jokey@gentoo.org>
|
||||
-files/virtualbox-guest-additions-1.5.6-remove-alsa.patch,
|
||||
-files/virtualbox-guest-additions-1.5.6.initd,
|
||||
files/virtualbox-guest-additions-1.6.4-fix-missing-makefiles.patch,
|
||||
-files/virtualbox-guest-additions-1.6.4.initd,
|
||||
+files/virtualbox-guest-additions.initd,
|
||||
-virtualbox-guest-additions-1.5.6.ebuild,
|
||||
-virtualbox-guest-additions-1.6.4-r1.ebuild,
|
||||
+virtualbox-guest-additions-1.6.4-r2.ebuild,
|
||||
+virtualbox-guest-additions-1.6.6.ebuild:
|
||||
Port from dev overlay
|
||||
|
||||
03 Sep 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
|
||||
-virtualbox-guest-additions-1.5.6.ebuild,
|
||||
-files/virtualbox-guest-additions-1.5.6-remove-alsa.patch,
|
||||
-files/virtualbox-guest-additions-1.5.6.initd,
|
||||
virtualbox-guest-additions-1.6.4-r2.ebuild,
|
||||
-files/virtualbox-guest-additions-1.6.4.initd,
|
||||
+virtualbox-guest-additions-1.6.6.ebuild,
|
||||
+files/virtualbox-guest-additions.initd:
|
||||
Version bump; drop old 1.5.x version; fix SRC_URI; add dev-util/kbuild and
|
||||
dev-lang/yasm to DEPEND and force to build without shipped binaries (kBuild,
|
||||
yasm), wrt bug #232775;
|
||||
|
||||
*virtualbox-guest-additions-1.6.4-r1 (27 Aug 2008)
|
||||
|
||||
27 Aug 2008; Markus Ullmann <jokey@gentoo.org>
|
||||
files/virtualbox-guest-additions-1.6.4-fix-missing-makefiles.patch,
|
||||
virtualbox-guest-additions-1.5.6.ebuild,
|
||||
-virtualbox-guest-additions-1.6.4.ebuild,
|
||||
+virtualbox-guest-additions-1.6.4-r1.ebuild:
|
||||
Fix up script naming and correct dependencies
|
||||
|
||||
*virtualbox-guest-additions-1.6.4 (10 Aug 2008)
|
||||
|
||||
10 Aug 2008; Markus Ullmann <jokey@gentoo.org>
|
||||
+files/virtualbox-guest-additions-1.5.6-remove-alsa.patch,
|
||||
+files/virtualbox-guest-additions-1.5.6.initd,
|
||||
+files/virtualbox-guest-additions-1.6.4-fix-missing-makefiles.patch,
|
||||
+files/virtualbox-guest-additions-1.6.4.initd, +metadata.xml,
|
||||
+virtualbox-guest-additions-1.5.6.ebuild,
|
||||
+virtualbox-guest-additions-1.6.4.ebuild:
|
||||
Add version bump wrt bug #233683
|
||||
|
||||
*virtualbox-guest-additions-1.5.6 (19 Mar 2008)
|
||||
|
||||
19 Mar 2008; Markus Ullmann <jokey@gentoo.org>
|
||||
+files/virtualbox-guest-additions-1.5.6-remove-alsa.patch,
|
||||
+files/virtualbox-guest-additions-1.5.6.initd, +metadata.xml,
|
||||
+virtualbox-guest-additions-1.5.6.ebuild:
|
||||
Initial import for bug 204511, thanks to all involved
|
||||
|
||||
16 Mar 2008; Davide Cendron (scen) <scen@gentoo.org>
|
||||
files/virtualbox-guest-additions-1.5.4.initd,
|
||||
files/virtualbox-guest-additions-1.5.6.initd:
|
||||
Initscript must start before xdm
|
||||
|
||||
07 Mar 2008; Davide Cendron (scen) <scen@gentoo.org>
|
||||
virtualbox-guest-additions-1.5.4.ebuild,
|
||||
virtualbox-guest-additions-1.5.6.ebuild:
|
||||
Fixed installation of mount.vboxvfs
|
||||
|
||||
26 Feb 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
|
||||
+files/virtualbox-guest-additions-1.5.6.initd:
|
||||
add initd script
|
||||
|
||||
26 Feb 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
|
||||
virtualbox-guest-additions-1.5.6.ebuild:
|
||||
fix wrong MY_P
|
||||
|
||||
21 Feb 2008; Alessio Cassibba <swapon@gmail.com>
|
||||
+virtualbox-guest-additions-1.5.6.ebuild,
|
||||
+files/virtualbox-guest-additions-1.5.6-remove-alsa.patch:
|
||||
version bump
|
||||
|
||||
21 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
|
||||
virtualbox-guest-additions-1.5.4.ebuild:
|
||||
add a warning in pkg_postinst about the X Window System input and video drivers
|
||||
|
||||
21 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
|
||||
virtualbox-guest-additions-1.5.4.ebuild:
|
||||
fix mount.vboxvfs installation; add xf86-{input,video}-virtualbox in RDEPEND
|
||||
|
||||
20 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
|
||||
virtualbox-guest-additions-1.5.4.ebuild:
|
||||
drop alsa use flag (additions don't need it at all); fix minor cosmetics
|
||||
|
||||
20 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
|
||||
virtualbox-guest-additions-1.5.4.ebuild:
|
||||
fix the creation of the vboxadd-xclient xinit.d script
|
||||
|
||||
20 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
|
||||
virtualbox-guest-additions-1.5.4.ebuild,
|
||||
files/virtualbox-guest-additions-1.5.4.initd:
|
||||
add X and alsa use flags; fix permissions; add the shared clipboard user
|
||||
service init script; fix the initd script
|
||||
|
||||
19 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
|
||||
files/virtualbox-guest-additions-1.5.4.initd:
|
||||
fix modules in the initd script; minor cosmetic fixes
|
||||
|
||||
19 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com> ChangeLog:
|
||||
rename virtualbox-guest-tools to virtualbox-guest-additions
|
||||
|
||||
18 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
|
||||
virtualbox-guest-tools-1.5.4.ebuild:
|
||||
add app-emulation/emul-linux-x86-xlibs in RDEPEND, 32 bit libXt is needed
|
||||
for amd64 in order to build additions bug #204674, in addition this ebuild
|
||||
should be masked for amd64-no-multilib
|
||||
|
||||
18 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
|
||||
virtualbox-guest-tools-1.5.4.ebuild,
|
||||
-virtualbox-guest-tools-1.5.4-remove-alsa.patch:
|
||||
fix src_install for amd64
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
AUX virtualbox-guest-additions-2-localconfig 877 RMD160 7a09c0e50c1294c289cfd0665dc29986e55f2f7c SHA1 186a04d197c4f1a22376f767b4804cb05a8c811a SHA256 0115ff252376fa9c1244f79f183041a8e1b078f64d8bea2126d344e8b21a7b84
|
||||
AUX virtualbox-guest-additions.initd 1463 RMD160 4daceefa3e10659381f4b714512548944c7f54fd SHA1 f5290150bbf99feac5c6d81c4f82f9191e5f1786 SHA256 933dbdc5e5363dfbdc2d51deed0726ab91f1ea89e330298266b9ffb03c38989a
|
||||
DIST VirtualBox-2.2.0-OSE.tar.bz2 50432438 RMD160 0c74441fe812c8fd35ae460b847d255b8dadf0aa SHA1 016a159009cd626542302ea31fd500cadb049fb9 SHA256 8bf621cfcb61f2b0a71be53f072e58c3fb4f3183324faa3947346ff973314c71
|
||||
EBUILD virtualbox-guest-additions-2.2.0-r1.ebuild 4177 RMD160 77edf09a3308c739b399878687f14775fb8364e0 SHA1 8660c9fbb2f4cbd27edb90073ad297ec64005e29 SHA256 560e59e182c7ebb0f4d804ed0b8af5b2e8de27a3fa13bd0b08b764ba79f8d5e0
|
||||
MISC ChangeLog 8319 RMD160 0b5f11e8912fee8d9a1ceb81e5f1a59082a9f911 SHA1 45d211baf704662fbd04dc742008c2bd12eeb97b SHA256 1ab4a689e904e088f5e027089d1a1b1c97e3c6f32270b7c94fcdcd30adadaa26
|
||||
MISC Reasons 150 RMD160 7ec3958968130d7c9ea94140e60085d4093c1a19 SHA1 a1f9f0329469d6a67b5baf231f8a63a685f65206 SHA256 84769241266d70114c9046b8b02df63b1dd2ec157baafe3a672e8644e1c23549
|
||||
@@ -1,3 +0,0 @@
|
||||
# Fabio Erculiani <lxnay@sabayonlinux.org>
|
||||
virtualbox-guest-additions-2.2.0-r1 is here because Portage's ebuild
|
||||
has an error inside udev policy file.
|
||||
-28
@@ -1,28 +0,0 @@
|
||||
# -*- Makefile -*-
|
||||
#
|
||||
# Overwrite some default kBuild settings
|
||||
#
|
||||
|
||||
#
|
||||
# Copyright (C) 2006-2008 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 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.
|
||||
#
|
||||
|
||||
# don't build testcases to save time, they are not needed for the package
|
||||
VBOX_WITH_TESTCASES :=
|
||||
VBOX_WITH_TESTSUITE :=
|
||||
|
||||
KBUILD_MSG_STYLE := brief
|
||||
|
||||
## paths, origin, hardening
|
||||
VBOX_WITH_HARDENING := 2
|
||||
VBOX_WITH_ORIGIN :=
|
||||
VBOX_ONLY_ADDITIONS := 1
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header:
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
before xdm
|
||||
}
|
||||
|
||||
createvboxdevice() {
|
||||
local maj min
|
||||
|
||||
maj=`sed -n 's;\([0-9]\+\) vboxadd;\1;p' /proc/devices`
|
||||
|
||||
if ! [[ -z $maj ]] ; then
|
||||
min=0
|
||||
else
|
||||
min=`sed -n 's;\([0-9]\+\) vboxadd;\1;p' /proc/misc`
|
||||
if ! [[ -z $min ]] ; then
|
||||
maj=10
|
||||
fi
|
||||
fi
|
||||
|
||||
mknod /dev/vboxadd c $maj $min -m 0664 &> /dev/null
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting VirtualBox guest additions"
|
||||
|
||||
if [[ -e /dev/vboxadd ]] ; then
|
||||
rm -f /dev/vboxadd &> /dev/null
|
||||
fi
|
||||
|
||||
einfo " Loading kernel modules and creating devices"
|
||||
/sbin/modprobe vboxadd &> /dev/null
|
||||
createvboxdevice
|
||||
/sbin/modprobe vboxvfs &> /dev/null
|
||||
|
||||
einfo " Starting the time syncronization system service"
|
||||
start-stop-daemon --start --make-pidfile \
|
||||
--exec /usr/sbin/vboxadd-timesync --pidfile /var/run/vboxadd-timesync.pid \
|
||||
--name vboxadd-timesync \
|
||||
--background
|
||||
|
||||
eend $? "Failed to start VirtualBox guest additions"
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping VirtualBox guest additions"
|
||||
|
||||
einfo " Stopping the time syncronization system service"
|
||||
start-stop-daemon --stop --quiet \
|
||||
--pidfile /var/run/vboxadd-timesync.pid --name vboxadd-timesync
|
||||
|
||||
einfo " Unloading kernel modules and removing devices"
|
||||
/sbin/rmmod vboxvfs &> /dev/null
|
||||
/sbin/rmmod vboxadd &> /dev/null
|
||||
rm -f /dev/vboxadd &> /dev/null
|
||||
eend $?
|
||||
}
|
||||
@@ -1,153 +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-guest-additions/virtualbox-guest-additions-2.2.0.ebuild,v 1.1 2009/04/18 17:04:33 patrick 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
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
x11-libs/libXext
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/kbuild-0.1.5-r1
|
||||
>=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/_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/_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/VBoxClient
|
||||
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 0755 /usr/bin/VBoxControl
|
||||
|
||||
# VBoxClient user service and xrandr wrapper
|
||||
if use X; then
|
||||
doins VBoxClient
|
||||
fperms 0755 /usr/bin/VBoxClient
|
||||
|
||||
cd "${S}"/src/VBox/Additions/x11/Installer
|
||||
newins VBoxRandR.sh VBoxRandR
|
||||
fperms 0755 /usr/bin/VBoxRandR
|
||||
|
||||
newins 98vboxadd-xclient VBoxClient-all
|
||||
fperms 0755 /usr/bin/VBoxClient-all
|
||||
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"
|
||||
echo 'KERNEL=="vboxuser", NAME="vboxuser", 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 ""
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST wine-doors-0.1.2.tar.gz 267430 RMD160 faf71f32ee5ef5a3a09d4207bc9549d6fdcfcbd9 SHA1 f8eb9de75bdc3a41b1d76354e6750206a84ed879 SHA256 7ec60e8e7eaa91a92f172b81c76a6e0ec23e4b1e60c1af866e735e10285269af
|
||||
EBUILD wine-doors-0.1.2.ebuild 1159 RMD160 238dae59fe543e1379c3ca6c211edfedabf05421 SHA1 dc6d46d4b9807e97ac280ed3b3f1275e3eda498f SHA256 b6e5379d968984cb555cd0c5b3ef5783959c2cabd3f0f08d13fc9b1900d7076b
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 2007 Sabayon Linux
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit distutils
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
DESCRIPTION="Wine-doors is an application designed to make installing windows software on Linux, Solaris or other Unix systems easier."
|
||||
HOMEPAGE="http://www.wine-doors.org"
|
||||
SRC_URI="http://www.wine-doors.org/releases/${PN}-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
RDEPEND="
|
||||
app-emulation/wine
|
||||
>=dev-lang/python-2.4.0
|
||||
>=dev-python/pycairo-1.2.0
|
||||
>=x11-libs/cairo-1.2.0
|
||||
>=dev-python/gnome-python-desktop-2.16.0
|
||||
app-arch/cabextract
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-arch/gzip
|
||||
app-arch/bzip2
|
||||
app-arch/tar
|
||||
dev-util/glade
|
||||
dev-libs/libxml2
|
||||
app-pda/orange
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
if ! built_with_use dev-libs/libxml2 python ; then
|
||||
error "${PN} needs dev-libs/libxml2 compiled with USE=\"python\""
|
||||
die "wine-doors needs dev-libs/libxml2 compiled with Python support"
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "nothing to compile"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd ${S}
|
||||
distutils_src_install --temp="${D}"
|
||||
dodir /etc/wine-doors
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user