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