1 |
polynomial-c 10/12/03 14:03:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: virtualbox-guest-additions-3.2.12.ebuild |
5 |
Removed: virtualbox-guest-additions-3.2.8.ebuild |
6 |
Log: |
7 |
Version bump. Removed old. |
8 |
|
9 |
(Portage version: 2.2.0_alpha6/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.55 app-emulation/virtualbox-guest-additions/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog?rev=1.55&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog?rev=1.55&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog?r1=1.54&r2=1.55 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v |
21 |
retrieving revision 1.54 |
22 |
retrieving revision 1.55 |
23 |
diff -u -r1.54 -r1.55 |
24 |
--- ChangeLog 12 Oct 2010 14:13:02 -0000 1.54 |
25 |
+++ ChangeLog 3 Dec 2010 14:03:00 -0000 1.55 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for app-emulation/virtualbox-guest-additions |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.54 2010/10/12 14:13:02 polynomial-c Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.55 2010/12/03 14:03:00 polynomial-c Exp $ |
31 |
+ |
32 |
+*virtualbox-guest-additions-3.2.12 (03 Dec 2010) |
33 |
+ |
34 |
+ 03 Dec 2010; Lars Wendler <polynomial-c@g.o> |
35 |
+ -virtualbox-guest-additions-3.2.8.ebuild, |
36 |
+ +virtualbox-guest-additions-3.2.12.ebuild: |
37 |
+ Version bump. Removed old. |
38 |
|
39 |
*virtualbox-guest-additions-3.2.10 (12 Oct 2010) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-3.2.12.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-3.2.12.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-3.2.12.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: virtualbox-guest-additions-3.2.12.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2010 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-3.2.12.ebuild,v 1.1 2010/12/03 14:03:00 polynomial-c Exp $ |
54 |
|
55 |
inherit eutils linux-mod |
56 |
|
57 |
MY_P=VirtualBox-${PV}-OSE |
58 |
DESCRIPTION="VirtualBox kernel modules and user-space tools for Linux guests" |
59 |
HOMEPAGE="http://www.virtualbox.org/" |
60 |
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="X" |
66 |
|
67 |
RDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV} |
68 |
~x11-drivers/xf86-input-virtualbox-${PV} |
69 |
x11-apps/xrandr |
70 |
x11-apps/xrefresh |
71 |
x11-libs/libXmu |
72 |
x11-libs/libX11 |
73 |
x11-libs/libXt |
74 |
x11-libs/libXext |
75 |
x11-libs/libXau |
76 |
x11-libs/libXdmcp |
77 |
x11-libs/libSM |
78 |
x11-libs/libICE )" |
79 |
DEPEND="${RDEPEND} |
80 |
>=dev-util/kbuild-0.1.5-r1 |
81 |
>=dev-lang/yasm-0.6.2 |
82 |
sys-devel/bin86 |
83 |
sys-devel/dev86 |
84 |
sys-libs/pam |
85 |
sys-power/iasl |
86 |
X? ( x11-proto/renderproto ) |
87 |
!X? ( x11-proto/xproto )" |
88 |
|
89 |
BUILD_TARGETS="all" |
90 |
BUILD_TARGET_ARCH="${ARCH}" |
91 |
MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest) |
92 |
vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)" |
93 |
|
94 |
S=${WORKDIR}/${MY_P/-OSE/_OSE} |
95 |
|
96 |
pkg_setup() { |
97 |
linux-mod_pkg_setup |
98 |
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" |
99 |
enewgroup vboxguest |
100 |
enewuser vboxguest -1 /bin/sh /var/run/vboxguest vboxguest |
101 |
} |
102 |
|
103 |
src_unpack() { |
104 |
unpack ${A} |
105 |
|
106 |
# Create and unpack a tarball with the sources of the Linux guest |
107 |
# kernel modules, to include all the needed files |
108 |
"${MY_P/-OSE/_OSE}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz" |
109 |
unpack ./vbox-kmod.tar.gz |
110 |
|
111 |
# PaX fixes (see bug #298988) |
112 |
epatch "${FILESDIR}"/vboxguest-log-use-c99.patch |
113 |
|
114 |
# Remove shipped binaries (kBuild,yasm), see bug #232775 |
115 |
cd "${S}" |
116 |
rm -rf kBuild/bin tools |
117 |
|
118 |
# Disable things unused or splitted into separate ebuilds |
119 |
cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk |
120 |
|
121 |
# stupid new header references... |
122 |
for vboxheader in {product,revision}-generated.h ; do |
123 |
for mdir in vbox{guest,sf} ; do |
124 |
ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \ |
125 |
"${WORKDIR}/${mdir}/${vboxheader}" |
126 |
done |
127 |
done |
128 |
} |
129 |
|
130 |
src_compile() { |
131 |
# build the user-space tools, warnings are harmless |
132 |
./configure --nofatal \ |
133 |
--disable-xpcom \ |
134 |
--disable-sdl-ttf \ |
135 |
--disable-pulse \ |
136 |
--disable-alsa \ |
137 |
--build-headless || die "configure failed" |
138 |
source ./env.sh |
139 |
|
140 |
for each in /src/VBox/{Runtime,Additions/common} \ |
141 |
/src/VBox/Additions/linux/{sharedfolders,daemon} ; do |
142 |
cd "${S}"${each} |
143 |
MAKE="kmk" emake TOOL_YASM_AS=yasm \ |
144 |
KBUILD_PATH="${S}/kBuild" \ |
145 |
|| die "kmk VBoxControl failed" |
146 |
done |
147 |
|
148 |
if use X; then |
149 |
cd "${S}"/src/VBox/Additions/x11/VBoxClient |
150 |
MAKE="kmk" emake TOOL_YASM_AS=yasm \ |
151 |
KBUILD_PATH="${S}/kBuild" \ |
152 |
|| die "kmk VBoxClient failed" |
153 |
fi |
154 |
|
155 |
# Now creating the kernel modules. We must do this _after_ |
156 |
# we compiled the user-space tools as we need two of the |
157 |
# automatically generated header files. (>=3.2.0) |
158 |
linux-mod_src_compile |
159 |
} |
160 |
|
161 |
src_install() { |
162 |
linux-mod_src_install |
163 |
|
164 |
cd "${S}"/out/linux.${ARCH}/release/bin/additions |
165 |
|
166 |
insinto /sbin |
167 |
newins mount.vboxsf mount.vboxsf |
168 |
fperms 4755 /sbin/mount.vboxsf |
169 |
|
170 |
newinitd "${FILESDIR}"/${PN}-7.initd ${PN} |
171 |
|
172 |
insinto /usr/sbin/ |
173 |
newins VBoxService vboxguest-service |
174 |
fperms 0755 /usr/sbin/vboxguest-service |
175 |
|
176 |
insinto /usr/bin |
177 |
doins VBoxControl |
178 |
fperms 0755 /usr/bin/VBoxControl |
179 |
|
180 |
# VBoxClient user service and xrandr wrapper |
181 |
if use X; then |
182 |
doins VBoxClient |
183 |
fperms 0755 /usr/bin/VBoxClient |
184 |
|
185 |
cd "${S}"/src/VBox/Additions/x11/Installer |
186 |
newins 98vboxadd-xclient VBoxClient-all |
187 |
fperms 0755 /usr/bin/VBoxClient-all |
188 |
fi |
189 |
|
190 |
# udev rule for vboxdrv |
191 |
dodir /etc/udev/rules.d |
192 |
echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \ |
193 |
>> "${D}/etc/udev/rules.d/60-virtualbox-guest-additions.rules" |
194 |
echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \ |
195 |
>> "${D}/etc/udev/rules.d/60-virtualbox-guest-additions.rules" |
196 |
|
197 |
# VBoxClient autostart file |
198 |
insinto /etc/xdg/autostart |
199 |
doins "${FILESDIR}"/vboxclient.desktop |
200 |
|
201 |
# sample xorg.conf |
202 |
insinto /usr/share/doc/${PF} |
203 |
doins "${FILESDIR}"/xorg.conf.vbox |
204 |
} |
205 |
|
206 |
pkg_postinst() { |
207 |
linux-mod_pkg_postinst |
208 |
if ! useq X ; then |
209 |
elog "use flag X is off, enable it to install the" |
210 |
elog "X Window System input and video drivers" |
211 |
fi |
212 |
elog "" |
213 |
elog "Please add users to the \"vboxusers\" group so they can" |
214 |
elog "benefit from seamless mode, auto-resize and clipboard." |
215 |
elog "" |
216 |
elog "Please add:" |
217 |
elog "/etc/init.d/${PN}" |
218 |
elog "to the default runlevel in order to start" |
219 |
elog "needed services." |
220 |
elog "To use the VirtualBox X drivers, use the following" |
221 |
elog "file as your /etc/X11/xorg.conf:" |
222 |
elog " /usr/share/doc/${PF}/xorg.conf.xorg" |
223 |
elog "" |
224 |
elog "Also make sure you use the Mesa library for OpenGL:" |
225 |
elog " eselect opengl set xorg-x11" |
226 |
elog "" |
227 |
elog "An autostart .desktop file has been installed to start" |
228 |
elog "VBoxClient in desktop sessions." |
229 |
elog "" |
230 |
elog "You can mount shared folders with:" |
231 |
elog " mount -t vboxsf <shared_folder_name> <mount_point>" |
232 |
elog "" |
233 |
elog "Warning:" |
234 |
elog "this ebuild is only needed if you are running gentoo" |
235 |
elog "inside a VirtualBox Virtual Machine, you don't need" |
236 |
elog "it to run VirtualBox itself." |
237 |
elog "" |
238 |
} |