1 |
jokey 08/08/27 12:39:00 |
2 |
|
3 |
Added: ChangeLog virtualbox-ose-9999.ebuild Manifest |
4 |
virtualbox-ose-1.5.6.ebuild metadata.xml |
5 |
virtualbox-ose-1.6.2.ebuild |
6 |
virtualbox-ose-1.6.4.ebuild |
7 |
Log: |
8 |
Rename from virtualbox to virtualbox-ose |
9 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.1 app-emulation/virtualbox-ose/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/ChangeLog?rev=1.1&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/ChangeLog?rev=1.1&content-type=text/plain |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
# ChangeLog for app-emulation/virtualbox |
20 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
21 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/ChangeLog,v 1.1 2008/08/27 12:39:00 jokey Exp $ |
22 |
|
23 |
*virtualbox-ose-9999 (27 Aug 2008) |
24 |
*virtualbox-ose-1.6.4 (27 Aug 2008) |
25 |
*virtualbox-ose-1.6.2 (27 Aug 2008) |
26 |
*virtualbox-ose-1.5.6 (27 Aug 2008) |
27 |
|
28 |
27 Aug 2008; Markus Ullmann <jokey@g.o> |
29 |
+files/virtualbox-ose-1.5.6-remove-alsa.patch, |
30 |
+files/virtualbox-ose-1.5.6-remove-unused.patch, |
31 |
+files/virtualbox-ose-1.6.2-remove-unused.patch, |
32 |
+files/virtualbox-ose-1.6.4-fix-missing-makefiles.patch, |
33 |
+files/virtualbox-ose-1.6.4-remove-unused.patch, |
34 |
+files/virtualbox-ose.desktop, +files/virtualbox-ose-config, |
35 |
+files/virtualbox-ose-interfaces, +files/virtualbox-ose-wrapper, |
36 |
+metadata.xml, +virtualbox-ose-1.5.6.ebuild, +virtualbox-ose-1.6.2.ebuild, |
37 |
+virtualbox-ose-1.6.4.ebuild, +virtualbox-ose-9999.ebuild: |
38 |
Rename from virtualbox to virtualbox-ose |
39 |
|
40 |
*virtualbox-1.6.4 (10 Aug 2008) |
41 |
|
42 |
10 Aug 2008; Markus Ullmann <jokey@g.o> |
43 |
+files/virtualbox-1.6.4-fix-missing-makefiles.patch, |
44 |
+files/virtualbox-1.6.4-remove-unused.patch, files/virtualbox-wrapper, |
45 |
+virtualbox-1.6.4.ebuild: |
46 |
Add version bump from my overlay wrt bug #233683 |
47 |
|
48 |
28 Jul 2008; Doug Goldstein <cardoe@g.o> metadata.xml: |
49 |
add GLEP 56 USE flag desc from use.local.desc |
50 |
|
51 |
27 Jul 2008; Carsten Lohrke <carlo@g.o> virtualbox-1.5.2-r1.ebuild, |
52 |
virtualbox-1.5.4.ebuild, virtualbox-1.5.4-r1.ebuild, |
53 |
virtualbox-1.5.6.ebuild, virtualbox-1.6.2.ebuild, virtualbox-9999.ebuild: |
54 |
QA: Get rid of deprecated qt_min_version(). |
55 |
|
56 |
*virtualbox-1.6.2 (13 Jun 2008) |
57 |
|
58 |
13 Jun 2008; Doug Goldstein <cardoe@g.o> |
59 |
+files/virtualbox-1.6.2-remove-unused.patch, files/virtualbox.desktop, |
60 |
files/virtualbox-wrapper, +virtualbox-1.6.2.ebuild: |
61 |
copy changes from jokey's overlay to the tree as jokey requested |
62 |
|
63 |
02 May 2008; Tristan Heaven <nyhm@g.o> virtualbox-1.5.6.ebuild: |
64 |
Fix virtualbox-modules dependency so 1.5.7 can be installed, bug #218198 |
65 |
|
66 |
06 Mar 2008; Christoph Mende <angelos@g.o> |
67 |
virtualbox-1.5.4-r1.ebuild: |
68 |
Stable on amd64, bug #208905 |
69 |
|
70 |
04 Mar 2008; Markus Ullmann <jokey@g.o> virtualbox-1.5.4-r1.ebuild: |
71 |
Stable on x86 wrt bug #208905 |
72 |
|
73 |
26 Feb 2008; Diego Pettenò <flameeyes@g.o> |
74 |
virtualbox-1.5.6.ebuild: |
75 |
Fix patch naming. |
76 |
|
77 |
*virtualbox-1.5.6 (25 Feb 2008) |
78 |
|
79 |
25 Feb 2008; Diego Pettenò <flameeyes@g.o> |
80 |
+virtualbox-1.5.6.ebuild: |
81 |
Version bump, as requested by the proxy-maintainer Alessio Cassibba. |
82 |
|
83 |
13 Jan 2008; Markus Ullmann <jokey@g.o> virtualbox-9999.ebuild: |
84 |
Drop keywords in live ebuild |
85 |
|
86 |
*virtualbox-1.5.4-r1 (13 Jan 2008) |
87 |
|
88 |
13 Jan 2008; Markus Ullmann <jokey@g.o> |
89 |
+files/virtualbox-1.5.4-remove-unused.patch, +virtualbox-1.5.4-r1.ebuild: |
90 |
Version bump to prevent building of guest additions, thanks to x-drum for |
91 |
providing the patch |
92 |
|
93 |
06 Jan 2008; Markus Ullmann <jokey@g.o> virtualbox-1.5.4.ebuild, |
94 |
virtualbox-9999.ebuild: |
95 |
Add libXt dependency wrt bug #204674 |
96 |
|
97 |
*virtualbox-1.5.4 (05 Jan 2008) |
98 |
|
99 |
05 Jan 2008; Markus Ullmann <jokey@g.o> |
100 |
+files/virtualbox-1.5.4-remove-alsa.patch, +virtualbox-1.5.4.ebuild, |
101 |
virtualbox-9999.ebuild: |
102 |
Version bump wrt bug #203893 thanks to x-drum |
103 |
|
104 |
03 Jan 2008; Alessio Cassibba (X-Drum) <swapon@×××××.com> |
105 |
virtualbox-1.5.4.ebuild, virtualbox-9999.ebuild: |
106 |
remove redundant cd statements |
107 |
|
108 |
02 Jan 2008; Alessio Cassibba (X-Drum) <swapon@×××××.com> |
109 |
-virtualbox-1.5.2.ebuild, -files/virtualbox-1.5.2-remove-alsa.patch, |
110 |
-files/virtualbox-1.5.2-remove-splitted-stuff.patch, |
111 |
+virtualbox-1.5.4.ebuild, +files/virtualbox-1.5.4-remove-alsa.patch, |
112 |
virtualbox-9999.ebuild, files/virtualbox.desktop: |
113 |
version bump; add pulseaudio use flag; fix remove alsa patch; drop unneeded |
114 |
files; disable vboxdrv kernel module compilation |
115 |
|
116 |
05 Dec 2007; Markus Ullmann <jokey@g.o> files/virtualbox.desktop, |
117 |
virtualbox-1.5.2-r1.ebuild: |
118 |
Some cosmetics to desktop file, thanks to betelgeuse in bug #196832 |
119 |
|
120 |
*virtualbox-1.5.2-r1 (03 Nov 2007) |
121 |
|
122 |
03 Nov 2007; Markus Ullmann <jokey@g.o> files/virtualbox-wrapper, |
123 |
-virtualbox-1.4.0.ebuild, -virtualbox-1.5.2.ebuild, |
124 |
+virtualbox-1.5.2-r1.ebuild: |
125 |
Fix desktop entry for bug #196832, typo in wrapper and HAL warning. Thanks |
126 |
to Alessio for providing needed modifications |
127 |
|
128 |
29 Oct 2007; Dawid Węgliński <cla@g.o> virtualbox-1.5.2.ebuild: |
129 |
Stable on x86 |
130 |
|
131 |
*virtualbox-1.5.2 (22 Oct 2007) |
132 |
|
133 |
22 Oct 2007; Markus Ullmann <jokey@g.o> |
134 |
-files/virtualbox-1.5.0-remove-alsa.patch, |
135 |
-files/virtualbox-1.5.0-remove-splitted-stuff.patch, |
136 |
+files/virtualbox-1.5.2-remove-alsa.patch, |
137 |
+files/virtualbox-1.5.2-remove-splitted-stuff.patch, |
138 |
+files/virtualbox-config, +files/virtualbox-interfaces, |
139 |
files/virtualbox-wrapper, -virtualbox-1.5.0-r1.ebuild, |
140 |
+virtualbox-1.5.2.ebuild, virtualbox-9999.ebuild: |
141 |
Version bump wrt bug #196424 thanks to Alessio for the ebuilds |
142 |
|
143 |
07 Oct 2007; Markus Ullmann <jokey@g.o> virtualbox-9999.ebuild: |
144 |
add blockers for virtualbox-additions bug #194183, thanks to Alessio |
145 |
|
146 |
*virtualbox-1.5.0-r1 (17 Sep 2007) |
147 |
|
148 |
17 Sep 2007; Markus Ullmann <jokey@g.o> |
149 |
files/virtualbox-1.5.0-remove-alsa.patch, |
150 |
files/virtualbox-1.5.0-remove-splitted-stuff.patch, |
151 |
-virtualbox-1.5.0.ebuild, +virtualbox-1.5.0-r1.ebuild, |
152 |
virtualbox-9999.ebuild: |
153 |
Revbump to fix HAL mess and fix permissions for VBoxTunctl, bug #191473 |
154 |
|
155 |
04 Sep 2007; Markus Ullmann <jokey@g.o> virtualbox-9999.ebuild: |
156 |
fix group creation, bug #184504 |
157 |
|
158 |
*virtualbox-1.5.0 (04 Sep 2007) |
159 |
|
160 |
04 Sep 2007; Markus Ullmann <jokey@g.o> |
161 |
-files/virtualbox-1.3.8-remove-alsa.patch, |
162 |
-files/virtualbox-1.3.8-remove-splitted-stuff.patch, |
163 |
+files/virtualbox-1.5.0-remove-alsa.patch, |
164 |
+files/virtualbox-1.5.0-remove-splitted-stuff.patch, |
165 |
-virtualbox-1.3.8.ebuild, +virtualbox-1.5.0.ebuild: |
166 |
Version bump wrt bug #191142 |
167 |
|
168 |
23 Jun 2007; Charlie Shepherd <masterdriverz@g.o> |
169 |
virtualbox-1.3.8.ebuild, virtualbox-1.4.0.ebuild, virtualbox-9999.ebuild: |
170 |
Port fixes from jokey's overay; thanks to x-drum: remove USE flag additions, |
171 |
there are no matching additions available for the live ebuild, remove |
172 |
vditool, fix headers |
173 |
|
174 |
22 Jun 2007; Charlie Shepherd <masterdriverz@g.o> |
175 |
files/virtualbox.desktop, virtualbox-1.3.8.ebuild, |
176 |
virtualbox-1.4.0.ebuild: |
177 |
Port changes from jokey's overlay; thanks to x-drum: minor changes to |
178 |
desktop entry; fix missing fperms; adjust perms for VirtualBox's |
179 |
executables; remove virtual/libstdc++ from DEPEND, no longer required by |
180 |
kBuild; fix USE flag hal in src_compile |
181 |
|
182 |
06 Jun 2007; Markus Ullmann <jokey@g.o> |
183 |
+files/virtualbox-1.4.0-remove-alsa.patch, |
184 |
+files/virtualbox-1.4.0-remove-splitted-stuff.patch: |
185 |
Required patches not added |
186 |
|
187 |
*virtualbox-1.4.0 (06 Jun 2007) |
188 |
|
189 |
06 Jun 2007; Markus Ullmann <jokey@g.o> +virtualbox-1.4.0.ebuild: |
190 |
Version bump, thanks to Alessio |
191 |
|
192 |
03 Jun 2007; Markus Ullmann <jokey@g.o> virtualbox-9999.ebuild: |
193 |
Fix hal use dep bug #180565 |
194 |
|
195 |
31 May 2007; Markus Ullmann <jokey@g.o> virtualbox-1.3.8.ebuild, |
196 |
virtualbox-9999.ebuild: |
197 |
Apply build fix from dev overlay, thanks to x-drum :) |
198 |
|
199 |
13 May 2007; Markus Ullmann <jokey@g.o> |
200 |
-files/virtualbox-1.3.6-remove-alsa.patch, |
201 |
-files/virtualbox-1.3.6-wrapper, -virtualbox-1.3.6-r1.ebuild, |
202 |
virtualbox-1.3.8.ebuild, virtualbox-9999.ebuild: |
203 |
Fix for sdl useflag bug #177335 |
204 |
|
205 |
21 Apr 2007; Raúl Porcel <armin76@g.o> virtualbox-1.3.8.ebuild: |
206 |
x86 stable |
207 |
|
208 |
*virtualbox-1.3.8 (16 Mar 2007) |
209 |
*virtualbox-1.3.6-r1 (16 Mar 2007) |
210 |
|
211 |
16 Mar 2007; Markus Ullmann <jokey@g.o> |
212 |
+files/virtualbox-1.3.8-remove-alsa.patch, |
213 |
+files/virtualbox-1.3.8-remove-splitted-stuff.patch, |
214 |
+files/virtualbox-wrapper, -virtualbox-1.3.4-r1.ebuild, |
215 |
-virtualbox-1.3.4-r2.ebuild, -virtualbox-1.3.6.ebuild, |
216 |
+virtualbox-1.3.6-r1.ebuild, +virtualbox-1.3.8.ebuild: |
217 |
Version bump and minor bugfixes |
218 |
|
219 |
11 Mar 2007; Markus Ullmann <jokey@g.o> virtualbox-9999.ebuild: |
220 |
Missing IUSE, thanks jakub |
221 |
|
222 |
*virtualbox-1.3.6 (28 Feb 2007) |
223 |
*virtualbox-1.3.4-r2 (28 Feb 2007) |
224 |
|
225 |
28 Feb 2007; Markus Ullmann <jokey@g.o> |
226 |
+files/virtualbox-1.3.6-remove-alsa.patch, |
227 |
+files/virtualbox-1.3.6-wrapper, +virtualbox-1.3.4-r2.ebuild, |
228 |
+virtualbox-1.3.6.ebuild, virtualbox-9999.ebuild: |
229 |
Version bump, thanks to x-drum for the hard work |
230 |
|
231 |
25 Feb 2007; <genstef@g.o> virtualbox-1.3.4-r1.ebuild, |
232 |
virtualbox-9999.ebuild: |
233 |
use KV_DIR only after linux-mod_pkg_setup, bug 168051 |
234 |
|
235 |
21 Feb 2007; Simon Stelling <blubb@g.o> virtualbox-9999.ebuild: |
236 |
re-keyword ~amd64 per bug 167001 comment #6 |
237 |
|
238 |
16 Feb 2007; Markus Ullmann <jokey@g.o> -virtualbox-1.3.4.ebuild, |
239 |
virtualbox-1.3.4-r1.ebuild, virtualbox-9999.ebuild: |
240 |
Fix ROOT |
241 |
|
242 |
16 Feb 2007; Simon Stelling <blubb@g.o> virtualbox-1.3.4.ebuild, |
243 |
virtualbox-1.3.4-r1.ebuild, virtualbox-9999.ebuild: |
244 |
mark -amd64; bug 167001 |
245 |
|
246 |
16 Feb 2007; Markus Ullmann <jokey@g.o> virtualbox-1.3.4.ebuild, |
247 |
virtualbox-1.3.4-r1.ebuild, virtualbox-9999.ebuild: |
248 |
Fix typo bug #167134 |
249 |
|
250 |
*virtualbox-1.3.4-r1 (15 Feb 2007) |
251 |
|
252 |
15 Feb 2007; Markus Ullmann <jokey@g.o> +files/virtualbox.desktop, |
253 |
metadata.xml, +virtualbox-1.3.4-r1.ebuild, virtualbox-9999.ebuild: |
254 |
Lots of improvements such as creating groups, adding vbox iso and more. Thanks |
255 |
To Alessio Cassibba for the good work |
256 |
|
257 |
12 Feb 2007; Markus Ullmann <jokey@g.o> virtualbox-1.3.4.ebuild, |
258 |
virtualbox-9999.ebuild: |
259 |
Incorportage amd64 fixes from bug #163930 thanks to raphael@×××××××.com |
260 |
|
261 |
*virtualbox-1.3.4 (12 Feb 2007) |
262 |
|
263 |
12 Feb 2007; Markus Ullmann <jokey@g.o> +virtualbox-1.3.4.ebuild: |
264 |
Add released version |
265 |
|
266 |
16 Jan 2007; Markus Ullmann <jokey@g.o> ChangeLog: |
267 |
latest libxslt is needed, fixing dep |
268 |
|
269 |
*virtualbox-9999 (15 Jan 2007) |
270 |
|
271 |
15 Jan 2007; Markus Ullmann <jokey@g.o> +metadata.xml, |
272 |
+virtualbox-9999.ebuild: |
273 |
Inital ebuild for virtual box, live one as there is no snapshot file currently |
274 |
|
275 |
|
276 |
|
277 |
|
278 |
1.1 app-emulation/virtualbox-ose/virtualbox-ose-9999.ebuild |
279 |
|
280 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-9999.ebuild?rev=1.1&view=markup |
281 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-9999.ebuild?rev=1.1&content-type=text/plain |
282 |
|
283 |
Index: virtualbox-ose-9999.ebuild |
284 |
=================================================================== |
285 |
# Copyright 1999-2008 Gentoo Foundation |
286 |
# Distributed under the terms of the GNU General Public License v2 |
287 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-9999.ebuild,v 1.1 2008/08/27 12:39:00 jokey Exp $ |
288 |
|
289 |
EAPI=1 |
290 |
|
291 |
inherit eutils fdo-mime flag-o-matic linux-mod qt3 subversion toolchain-funcs |
292 |
|
293 |
DESCRIPTION="Softwarefamily of powerful x86 virtualization" |
294 |
HOMEPAGE="http://www.virtualbox.org/" |
295 |
ESVN_REPO_URI="http://virtualbox.org/svn/vbox/trunk" |
296 |
|
297 |
LICENSE="GPL-2" |
298 |
SLOT="0" |
299 |
KEYWORDS="" |
300 |
IUSE="pulseaudio sdk" |
301 |
|
302 |
RDEPEND="!app-emulation/virtualbox-bin |
303 |
!app-emulation/virtualbox-ose-additions |
304 |
!app-emulation/virtualbox-modules |
305 |
dev-libs/libIDL |
306 |
>=dev-libs/libxslt-1.1.19 |
307 |
dev-libs/xalan-c |
308 |
dev-libs/xerces-c |
309 |
media-libs/libsdl |
310 |
x11-libs/libXcursor |
311 |
x11-libs/libXt |
312 |
x11-libs/qt:3" |
313 |
DEPEND="${RDEPEND} |
314 |
sys-devel/bin86 |
315 |
sys-devel/dev86 |
316 |
sys-power/iasl |
317 |
>=media-libs/alsa-lib-1.0.13 |
318 |
pulseaudio? ( media-sound/pulseaudio )" |
319 |
# sys-apps/hal is required at runtime (bug #197541) |
320 |
RDEPEND="${RDEPEND} |
321 |
sys-apps/usermode-utilities |
322 |
net-misc/bridge-utils |
323 |
sys-apps/hal" |
324 |
|
325 |
BUILD_TARGETS="all" |
326 |
MODULE_NAMES="vboxdrv(misc:${S}/out/linux.${ARCH}/release/bin/src:${S}/out/linux.${ARCH}/release/bin/src)" |
327 |
|
328 |
pkg_setup() { |
329 |
# The VBoxSDL frontend needs media-libs/libsdl compiled |
330 |
# with USE flag X enabled (bug #177335) |
331 |
if ! built_with_use media-libs/libsdl X; then |
332 |
eerror "media-libs/libsdl was compiled without the \"X\" USE flag enabled." |
333 |
eerror "Please re-emerge media-libs/libsdl with USE=\"X\"." |
334 |
die "media-libs/libsdl should be compiled with the \"X\" USE flag." |
335 |
fi |
336 |
|
337 |
linux-mod_pkg_setup |
338 |
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" |
339 |
|
340 |
# Add the vboxusers group before src_install |
341 |
# see (bug #184504) |
342 |
enewgroup vboxusers |
343 |
} |
344 |
|
345 |
src_compile() { |
346 |
|
347 |
local myconf |
348 |
if ! use pulseaudio; then |
349 |
myconf="${myconf} --disable-pulse" |
350 |
fi |
351 |
|
352 |
./configure \ |
353 |
${myconf} || die "configure failed" |
354 |
source ./env.sh |
355 |
|
356 |
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) |
357 |
# and strip all flags |
358 |
strip-flags |
359 |
|
360 |
MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \ |
361 |
TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \ |
362 |
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \ |
363 |
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \ |
364 |
all || die "kmk failed" |
365 |
|
366 |
linux-mod_src_compile |
367 |
} |
368 |
|
369 |
src_install() { |
370 |
linux-mod_src_install |
371 |
|
372 |
cd "${S}"/out/linux.${ARCH}/release/bin |
373 |
insinto /opt/VirtualBox |
374 |
|
375 |
if use sdk; then |
376 |
doins -r sdk |
377 |
fowners root:vboxusers /opt/VirtualBox/sdk/bin/xpidl |
378 |
fperms 0750 /opt/VirtualBox/sdk/bin/xpidl |
379 |
fi |
380 |
|
381 |
rm -rf sdk src tst* testcase additions VBoxBFE vditool vboxdrv.ko xpidl SUPInstall \ |
382 |
SUPUninstall VBox.png |
383 |
|
384 |
doins -r * |
385 |
for each in VBox{Manage,SDL,SVC,XPCOMIPCD,Tunctl} VirtualBox ; do |
386 |
fowners root:vboxusers /opt/VirtualBox/${each} |
387 |
fperms 0750 /opt/VirtualBox/${each} |
388 |
done |
389 |
|
390 |
exeinto /opt/VirtualBox |
391 |
newexe "${FILESDIR}/${PN}-wrapper" "VBox.sh" || die |
392 |
fowners root:vboxusers /opt/VirtualBox/VBox.sh |
393 |
fperms 0750 /opt/VirtualBox/VBox.sh |
394 |
newexe "${S}"/src/VBox/Installer/linux/VBoxAddIF.sh "VBoxAddIF.sh" || die |
395 |
fowners root:vboxusers /opt/VirtualBox/VBoxAddIF.sh |
396 |
fperms 0750 /opt/VirtualBox/VBoxAddIF.sh |
397 |
|
398 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VirtualBox |
399 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VBoxManage |
400 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VBoxSDL |
401 |
dosym /opt/VirtualBox/VBoxTunctl /usr/bin/VBoxTunctl |
402 |
dosym /opt/VirtualBox/VBoxAddIF.sh /usr/bin/VBoxAddIF |
403 |
dosym /opt/VirtualBox/VBoxAddIF.sh /usr/bin/VBoxDeleteIF |
404 |
|
405 |
# udev rule for vboxdrv |
406 |
dodir /etc/udev/rules.d |
407 |
echo 'KERNEL=="vboxdrv", GROUP="vboxusers" MODE=660' >> "${D}/etc/udev/rules.d/60-virtualbox.rules" |
408 |
|
409 |
# create virtualbox configurations files |
410 |
insinto /etc/vbox |
411 |
newins "${FILESDIR}/${PN}-config" vbox.cfg |
412 |
newins "${FILESDIR}/${PN}-interfaces" interfaces |
413 |
|
414 |
# desktop entry |
415 |
newicon "${S}"/src/VBox/Frontends/VirtualBox/images/ico32x01.png ${PN}.png |
416 |
domenu "${FILESDIR}"/${PN}.desktop |
417 |
} |
418 |
|
419 |
pkg_postinst() { |
420 |
linux-mod_pkg_postinst |
421 |
fdo-mime_desktop_database_update |
422 |
elog "To launch VirtualBox just type: \"VirtualBox\"" |
423 |
elog "You must be in the vboxusers group to use VirtualBox." |
424 |
elog "" |
425 |
elog "The last user manual is available for download at:" |
426 |
elog "http://www.virtualbox.org/download/UserManual.pdf" |
427 |
elog "" |
428 |
elog "Due to the nature of the build process, there are not" |
429 |
elog "additions available for the live ebuild" |
430 |
elog "" |
431 |
} |
432 |
|
433 |
pkg_postrm() { |
434 |
fdo-mime_desktop_database_update |
435 |
} |
436 |
|
437 |
|
438 |
|
439 |
1.1 app-emulation/virtualbox-ose/Manifest |
440 |
|
441 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/Manifest?rev=1.1&view=markup |
442 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/Manifest?rev=1.1&content-type=text/plain |
443 |
|
444 |
Index: Manifest |
445 |
=================================================================== |
446 |
AUX virtualbox-ose-1.5.6-remove-alsa.patch 677 RMD160 c337748faf2ffa210a101e04dda56d2c9fafefc3 SHA1 367b6addcfe7f0a7ca31e9824bf26c87a45d1600 SHA256 1a6b94a5e2e1e4b42b07d6ca931bafff5c671b7c762df0d4715162b02b0cec32 |
447 |
AUX virtualbox-ose-1.5.6-remove-unused.patch 1198 RMD160 61de6801f598b6c46dbb6321561330f51516ffa8 SHA1 d792689f199dc2130c3e3248099c90bb3e44a69b SHA256 bbb01d2452c1f34f39cc624d70fc5ac5ac59b66482caab185e4277c1810b41dd |
448 |
AUX virtualbox-ose-1.6.2-remove-unused.patch 2964 RMD160 ffef7f5935213c569bc941d2585c68bdac1c3b11 SHA1 d58a6a0caa6c6aca71508ddfd530aada406f2c97 SHA256 881eda1f4ae366bce257a49b399448cc182f7d355d842768a289d946c6950bcf |
449 |
AUX virtualbox-ose-1.6.4-fix-missing-makefiles.patch 2109 RMD160 601ac4f67d7c0ca56bb1e4b99c5eacc534f8b993 SHA1 8bc1cf9b7bdc2c47b6e20dc679d4c1f78440096b SHA256 618605ab134d84942fa4c6790b7f7654e9dcfbb57b9e75bb22dc068e98692f25 |
450 |
AUX virtualbox-ose-1.6.4-remove-unused.patch 2964 RMD160 e84c5bfeaaaee4b986d716a27942cf72bea88152 SHA1 0322340bd71421cc55a4f134771dd2beebd281cc SHA256 58bd75c84e864456eb23cb1fd5c588f9632ae0a60dc30946e075e476ddc6f570 |
451 |
AUX virtualbox-ose-config 28 RMD160 c03986f0a6ecc77c2d15382d965952bb209ae534 SHA1 43b5fd213ae08bb390ec1962ee2776d4f7fe45fd SHA256 5326f7abdd1a7c8a8a44fd4ab269977ec115286059fc8a4c2fde6805c381236f |
452 |
AUX virtualbox-ose-interfaces 218 RMD160 4639b9848cf44ac59cd12585a3c56ef53d72a6d9 SHA1 3268e5759286bdff1c5242598266e6c2a5b17e5d SHA256 50ddbfedce3afd41aad45163eb799fce0956d815948ad9da842f09163aaafd52 |
453 |
AUX virtualbox-ose-wrapper 4084 RMD160 aac6eb387792c1e3a5fcaecf780d8eaa66091435 SHA1 c4a905d6fc25cd33c028e4f48d4a854a0f43c04f SHA256 6d21e67163d14f59f80241e928a74719ebc5450f20ef39e19f1df3e520fbcd4c |
454 |
AUX virtualbox-ose.desktop 198 RMD160 0e99c539851ee91ba909f1a2ba9259eac032fb07 SHA1 39cabeecd1e635f7a8f47f35303ddf3a45f66b9d SHA256 fdfbaf10c0ff7a9a3811ec2b1fb8fbc8bfe9b6706a3eb55b31ccc3943672a033 |
455 |
DIST VirtualBox-1.5.6-1_OSE.tar.bz2 26720717 RMD160 b016986beeae6205f19f5f1a3c586d3c08511c2f SHA1 1cb11c012b9143e14f2eada645757cae8886d0d1 SHA256 fb4d98f932a89d914486101a22dfdda628dae34069dfae8b6cdece4fa10b9c24 |
456 |
DIST VirtualBox-1.6.2-OSE.tar.bz2 35409803 RMD160 9a5fe4746b41a46403921c7a400460cc7abc3c81 SHA1 6811a580b70e651f36002f344033e1db1858fdef SHA256 f458e6ad674ae54ea67b2c8b08816c87b1c4768ec9d43ca041d64a2bcec4eb3b |
457 |
DIST VirtualBox-1.6.4-OSE.tar.bz2 35484117 RMD160 af94b774d9964757da125c4614e393396f7e892b SHA1 457ae85f2d10028ac7c56e4b35ee47028ec0208b SHA256 7e777e5f602d7b48bf5a8b1d580ee43dd6327b9037816fde484a13db8a86b422 |
458 |
EBUILD virtualbox-ose-1.5.6.ebuild 4233 RMD160 3235e894b2e6b871d9df20e7d3e73bb0aa909b0a SHA1 165961973c121bbdf101d42db5babeb3911f1339 SHA256 ed555571de600f53bf1c9e5a42d053863f809cc105efad3b43f69a9165c81dd5 |
459 |
EBUILD virtualbox-ose-1.6.2.ebuild 4595 RMD160 75cc8b8c00f07b4fe9b2b4546709026587542695 SHA1 2e8d9cb99d4e0d7277750d27490e1d34c72c8d16 SHA256 648fb82882c3e8fbcd3e9a9e0050360358417c0caa2c12b01ebedabd1df74a01 |
460 |
EBUILD virtualbox-ose-1.6.4.ebuild 5347 RMD160 726401318ddb01ad0cfb416e092b7103e69cc40c SHA1 17cd639b9525524c3bc26f0b7ace40eba0445505 SHA256 4b4dce4e5820e5c65ebae780bd28c856961dac9f52a327ba7e94d0c06d1766a2 |
461 |
EBUILD virtualbox-ose-9999.ebuild 4351 RMD160 84f1edb57e899f9f83152b49c92ab39d8bb313dd SHA1 c6592d7eb29a891986d4e459709a12a409b2f326 SHA256 7ffd7853ebf9f680fb90d0d26ad9b523ec11b7e0104c96d3b5b8d829d357e492 |
462 |
MISC ChangeLog 10075 RMD160 d0246666065cd0b52c6ec39f7f857ebe478361bf SHA1 b7e0dd3a8c9e8388f9661821b0afbe35d4bea08d SHA256 a928105aed60fab9728894c733a954436fdfd1fcf86bd69f6bf2a0afbc7a8461 |
463 |
MISC metadata.xml 532 RMD160 1fca6fac5f60adc258b878ecd959d2ca2adffafd SHA1 16730c1ea2b66f51e4eb6eaaa2bb570a9c56bb7d SHA256 578a25caafe911d389af1aeb097e4b732cdb48cdb33929af4ddbb1506ff09eeb |
464 |
|
465 |
|
466 |
|
467 |
1.1 app-emulation/virtualbox-ose/virtualbox-ose-1.5.6.ebuild |
468 |
|
469 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-1.5.6.ebuild?rev=1.1&view=markup |
470 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-1.5.6.ebuild?rev=1.1&content-type=text/plain |
471 |
|
472 |
Index: virtualbox-ose-1.5.6.ebuild |
473 |
=================================================================== |
474 |
# Copyright 1999-2008 Gentoo Foundation |
475 |
# Distributed under the terms of the GNU General Public License v2 |
476 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-1.5.6.ebuild,v 1.1 2008/08/27 12:39:00 jokey Exp $ |
477 |
|
478 |
EAPI=1 |
479 |
|
480 |
inherit eutils fdo-mime flag-o-matic qt3 toolchain-funcs |
481 |
|
482 |
MY_P=VirtualBox-${PV}-1_OSE |
483 |
DESCRIPTION="Softwarefamily of powerful x86 virtualization" |
484 |
HOMEPAGE="http://www.virtualbox.org/" |
485 |
SRC_URI="http://www.virtualbox.org/download/${PV}/${MY_P}.tar.bz2" |
486 |
|
487 |
LICENSE="GPL-2" |
488 |
SLOT="0" |
489 |
KEYWORDS="~amd64 ~x86" |
490 |
IUSE="additions alsa pulseaudio sdk" |
491 |
|
492 |
RDEPEND="!app-emulation/virtualbox-bin |
493 |
=app-emulation/virtualbox-modules-1.5.7 |
494 |
dev-libs/libIDL |
495 |
>=dev-libs/libxslt-1.1.19 |
496 |
dev-libs/xalan-c |
497 |
dev-libs/xerces-c |
498 |
media-libs/libsdl |
499 |
x11-libs/libXcursor |
500 |
x11-libs/libXt |
501 |
x11-libs/qt:3" |
502 |
DEPEND="${RDEPEND} |
503 |
sys-devel/bin86 |
504 |
sys-devel/dev86 |
505 |
sys-power/iasl |
506 |
alsa? ( >=media-libs/alsa-lib-1.0.13 ) |
507 |
pulseaudio? ( media-sound/pulseaudio )" |
508 |
# sys-apps/hal is required at runtime (bug #197541) |
509 |
RDEPEND="${RDEPEND} |
510 |
additions? ( ~app-emulation/virtualbox-ose-additions-${PV} ) |
511 |
sys-apps/usermode-utilities |
512 |
net-misc/bridge-utils |
513 |
sys-apps/hal" |
514 |
|
515 |
S=${WORKDIR}/${MY_P/-1_/_} |
516 |
|
517 |
pkg_setup() { |
518 |
# The VBoxSDL frontend needs media-libs/libsdl compiled |
519 |
# with USE flag X enabled (bug #177335) |
520 |
if ! built_with_use media-libs/libsdl X; then |
521 |
eerror "media-libs/libsdl was compiled without the \"X\" USE flag enabled." |
522 |
eerror "Please re-emerge media-libs/libsdl with USE=\"X\"." |
523 |
die "media-libs/libsdl should be compiled with the \"X\" USE flag." |
524 |
fi |
525 |
} |
526 |
|
527 |
src_unpack() { |
528 |
unpack ${A} |
529 |
cd "${S}" |
530 |
|
531 |
# Don't build things unused or splitted into separate ebuilds (eg: additions) |
532 |
epatch "${FILESDIR}/${P}-remove-unused.patch" |
533 |
# Don't build the Alsa audio driver and remove Alsa checks in configure |
534 |
# when Alsa is not selected (bug #167739) |
535 |
use alsa || epatch "${FILESDIR}/${P}-remove-alsa.patch" |
536 |
} |
537 |
|
538 |
src_compile() { |
539 |
|
540 |
local myconf |
541 |
# Don't build vboxdrv kernel module |
542 |
myconf="--disable-kmods" |
543 |
|
544 |
if ! use pulseaudio; then |
545 |
myconf="${myconf} --disable-pulse" |
546 |
fi |
547 |
|
548 |
./configure \ |
549 |
${myconf} || die "configure failed" |
550 |
source ./env.sh |
551 |
|
552 |
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) |
553 |
# and strip all flags |
554 |
strip-flags |
555 |
|
556 |
MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \ |
557 |
TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \ |
558 |
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \ |
559 |
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \ |
560 |
all || die "kmk failed" |
561 |
} |
562 |
|
563 |
src_install() { |
564 |
cd "${S}"/out/linux.${ARCH}/release/bin |
565 |
|
566 |
# create virtualbox configurations files |
567 |
insinto /etc/vbox |
568 |
newins "${FILESDIR}/${PN}-config" vbox.cfg |
569 |
newins "${FILESDIR}/${PN}-interfaces" interfaces |
570 |
|
571 |
insinto /opt/VirtualBox |
572 |
if use sdk; then |
573 |
doins -r sdk |
574 |
fowners root:vboxusers /opt/VirtualBox/sdk/bin/xpidl |
575 |
fperms 0750 /opt/VirtualBox/sdk/bin/xpidl |
576 |
fi |
577 |
|
578 |
rm -rf sdk src tst* testcase xpidl SUPInstall SUPUninstall VBox.png \ |
579 |
VBoxBFE vditool VBoxSysInfo.sh |
580 |
|
581 |
doins -r * |
582 |
for each in VBox{Manage,SDL,SVC,XPCOMIPCD,Tunctl} VirtualBox ; do |
583 |
fowners root:vboxusers /opt/VirtualBox/${each} |
584 |
fperms 0750 /opt/VirtualBox/${each} |
585 |
done |
586 |
|
587 |
exeinto /opt/VirtualBox |
588 |
newexe "${FILESDIR}/${PN}-wrapper" "VBox.sh" || die |
589 |
fowners root:vboxusers /opt/VirtualBox/VBox.sh |
590 |
fperms 0750 /opt/VirtualBox/VBox.sh |
591 |
newexe "${S}"/src/VBox/Installer/linux/VBoxAddIF.sh "VBoxAddIF.sh" || die |
592 |
fowners root:vboxusers /opt/VirtualBox/VBoxAddIF.sh |
593 |
fperms 0750 /opt/VirtualBox/VBoxAddIF.sh |
594 |
|
595 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VirtualBox |
596 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VBoxManage |
597 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VBoxSDL |
598 |
dosym /opt/VirtualBox/VBoxTunctl /usr/bin/VBoxTunctl |
599 |
dosym /opt/VirtualBox/VBoxAddIF.sh /usr/bin/VBoxAddIF |
600 |
dosym /opt/VirtualBox/VBoxAddIF.sh /usr/bin/VBoxDeleteIF |
601 |
|
602 |
# desktop entry |
603 |
newicon "${S}"/src/VBox/Frontends/VirtualBox/images/ico32x01.png ${PN}.png |
604 |
domenu "${FILESDIR}"/${PN}.desktop |
605 |
} |
606 |
|
607 |
pkg_postinst() { |
608 |
fdo-mime_desktop_database_update |
609 |
elog "" |
610 |
elog "To launch VirtualBox just type: \"VirtualBox\"" |
611 |
elog "You must be in the vboxusers group to use VirtualBox." |
612 |
elog "" |
613 |
elog "The last user manual is available for download at:" |
614 |
elog "http://www.virtualbox.org/download/UserManual.pdf" |
615 |
elog "" |
616 |
} |
617 |
|
618 |
pkg_postrm() { |
619 |
fdo-mime_desktop_database_update |
620 |
} |
621 |
|
622 |
|
623 |
|
624 |
1.1 app-emulation/virtualbox-ose/metadata.xml |
625 |
|
626 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/metadata.xml?rev=1.1&view=markup |
627 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/metadata.xml?rev=1.1&content-type=text/plain |
628 |
|
629 |
Index: metadata.xml |
630 |
=================================================================== |
631 |
<?xml version="1.0" encoding="UTF-8"?> |
632 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
633 |
<pkgmetadata> |
634 |
<herd>no-herd</herd> |
635 |
<maintainer> |
636 |
<email>jokey@g.o</email> |
637 |
<name>Markus Ullmann</name> |
638 |
</maintainer> |
639 |
<maintainer> |
640 |
<email>swapon@×××××.com</email> |
641 |
<name>Alessio Cassibba</name> |
642 |
</maintainer> |
643 |
<use> |
644 |
<flag name='additions'>Install Guest System Tools ISO</flag> |
645 |
<flag name='headless'>Build without any graphic frontend</flag> |
646 |
<flag name='sdk'>Enable building of SDK</flag> |
647 |
</use> |
648 |
</pkgmetadata> |
649 |
|
650 |
|
651 |
|
652 |
1.1 app-emulation/virtualbox-ose/virtualbox-ose-1.6.2.ebuild |
653 |
|
654 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-1.6.2.ebuild?rev=1.1&view=markup |
655 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-1.6.2.ebuild?rev=1.1&content-type=text/plain |
656 |
|
657 |
Index: virtualbox-ose-1.6.2.ebuild |
658 |
=================================================================== |
659 |
# Copyright 1999-2008 Gentoo Foundation |
660 |
# Distributed under the terms of the GNU General Public License v2 |
661 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-1.6.2.ebuild,v 1.1 2008/08/27 12:39:00 jokey Exp $ |
662 |
|
663 |
EAPI=1 |
664 |
|
665 |
inherit eutils fdo-mime flag-o-matic qt3 toolchain-funcs |
666 |
|
667 |
MY_P=VirtualBox-${PV}-OSE |
668 |
DESCRIPTION="Softwarefamily of powerful x86 virtualization" |
669 |
HOMEPAGE="http://www.virtualbox.org/" |
670 |
SRC_URI="http://www.virtualbox.org/download/${PV}/${MY_P}.tar.bz2" |
671 |
|
672 |
LICENSE="GPL-2" |
673 |
SLOT="0" |
674 |
KEYWORDS="~amd64 ~x86" |
675 |
IUSE="additions alsa headless pulseaudio sdk" |
676 |
|
677 |
RDEPEND="!app-emulation/virtualbox-bin |
678 |
~app-emulation/virtualbox-modules-${PV} |
679 |
dev-libs/libIDL |
680 |
>=dev-libs/libxslt-1.1.19 |
681 |
dev-libs/xalan-c |
682 |
dev-libs/xerces-c |
683 |
!headless? ( |
684 |
x11-libs/qt:3 |
685 |
x11-libs/libXcursor |
686 |
media-libs/libsdl |
687 |
x11-libs/libXt )" |
688 |
DEPEND="${RDEPEND} |
689 |
sys-devel/bin86 |
690 |
sys-devel/dev86 |
691 |
sys-power/iasl |
692 |
media-libs/libpng |
693 |
alsa? ( >=media-libs/alsa-lib-1.0.13 ) |
694 |
pulseaudio? ( media-sound/pulseaudio )" |
695 |
# sys-apps/hal is required at runtime (bug #197541) |
696 |
RDEPEND="${RDEPEND} |
697 |
additions? ( ~app-emulation/virtualbox-ose-additions-${PV} ) |
698 |
sys-apps/usermode-utilities |
699 |
net-misc/bridge-utils |
700 |
sys-apps/hal" |
701 |
|
702 |
S=${WORKDIR}/${MY_P/-OSE/} |
703 |
|
704 |
pkg_setup() { |
705 |
# The VBoxSDL frontend needs media-libs/libsdl compiled |
706 |
# with USE flag X enabled (bug #177335) |
707 |
if ! use headless; then |
708 |
if ! built_with_use media-libs/libsdl X; then |
709 |
eerror "media-libs/libsdl was compiled without the \"X\" USE flag enabled." |
710 |
eerror "Please re-emerge media-libs/libsdl with USE=\"X\"." |
711 |
die "media-libs/libsdl should be compiled with the \"X\" USE flag." |
712 |
fi |
713 |
fi |
714 |
} |
715 |
|
716 |
src_unpack() { |
717 |
unpack ${A} |
718 |
cd "${S}" |
719 |
|
720 |
# Don't build things unused or splitted into separate ebuilds (eg: additions) |
721 |
epatch "${FILESDIR}/${P}-remove-unused.patch" |
722 |
} |
723 |
|
724 |
src_compile() { |
725 |
|
726 |
local myconf |
727 |
# Don't build vboxdrv kernel module |
728 |
myconf="--disable-kmods" |
729 |
|
730 |
if ! use pulseaudio; then |
731 |
myconf="${myconf} --disable-pulse" |
732 |
fi |
733 |
if ! use alsa; then |
734 |
myconf="${myconf} --disable-alsa" |
735 |
fi |
736 |
if use headless; then |
737 |
myconf="${myconf} --build-headless" |
738 |
fi |
739 |
|
740 |
./configure \ |
741 |
${myconf} || die "configure failed" |
742 |
source ./env.sh |
743 |
|
744 |
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) |
745 |
# and strip all flags |
746 |
strip-flags |
747 |
|
748 |
MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \ |
749 |
TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \ |
750 |
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \ |
751 |
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \ |
752 |
all || die "kmk failed" |
753 |
} |
754 |
|
755 |
src_install() { |
756 |
cd "${S}"/out/linux.${ARCH}/release/bin |
757 |
|
758 |
# create virtualbox configurations files |
759 |
insinto /etc/vbox |
760 |
newins "${FILESDIR}/${PN}-config" vbox.cfg |
761 |
newins "${FILESDIR}/${PN}-interfaces" interfaces |
762 |
|
763 |
insinto /opt/VirtualBox |
764 |
if use sdk; then |
765 |
doins -r sdk |
766 |
fowners root:vboxusers /opt/VirtualBox/sdk/bin/xpidl |
767 |
fperms 0750 /opt/VirtualBox/sdk/bin/xpidl |
768 |
fi |
769 |
|
770 |
rm -rf sdk src tst* testcase xpidl SUPInstall SUPUninstall VBox.png \ |
771 |
VBoxBFE vditool VBoxSysInfo.sh vboxkeyboard.tar.gz |
772 |
|
773 |
doins -r * |
774 |
|
775 |
if ! use headless; then |
776 |
for each in VBox{Manage,SDL,SVC,XPCOMIPCD,Tunctl,Headless} VirtualBox ; do |
777 |
fowners root:vboxusers /opt/VirtualBox/${each} |
778 |
fperms 0750 /opt/VirtualBox/${each} |
779 |
done |
780 |
|
781 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VirtualBox |
782 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VBoxSDL |
783 |
|
784 |
newicon "${S}"/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_32px.png ${PN}.png |
785 |
domenu "${FILESDIR}"/${PN}.desktop |
786 |
else |
787 |
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,Headless} ; do |
788 |
fowners root:vboxusers /opt/VirtualBox/${each} |
789 |
fperms 0750 /opt/VirtualBox/${each} |
790 |
done |
791 |
fi |
792 |
|
793 |
exeinto /opt/VirtualBox |
794 |
newexe "${FILESDIR}/${PN}-wrapper" "VBox.sh" || die |
795 |
fowners root:vboxusers /opt/VirtualBox/VBox.sh |
796 |
fperms 0750 /opt/VirtualBox/VBox.sh |
797 |
newexe "${S}"/src/VBox/Installer/linux/VBoxAddIF.sh "VBoxAddIF.sh" || die |
798 |
fowners root:vboxusers /opt/VirtualBox/VBoxAddIF.sh |
799 |
fperms 0750 /opt/VirtualBox/VBoxAddIF.sh |
800 |
|
801 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VBoxManage |
802 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VBoxHeadless |
803 |
dosym /opt/VirtualBox/VBoxTunctl /usr/bin/VBoxTunctl |
804 |
dosym /opt/VirtualBox/VBoxAddIF.sh /usr/bin/VBoxAddIF |
805 |
dosym /opt/VirtualBox/VBoxAddIF.sh /usr/bin/VBoxDeleteIF |
806 |
} |
807 |
|
808 |
pkg_postinst() { |
809 |
fdo-mime_desktop_database_update |
810 |
elog "" |
811 |
if ! use headless; then |
812 |
elog "To launch VirtualBox just type: \"VirtualBox\"" |
813 |
fi |
814 |
elog "You must be in the vboxusers group to use VirtualBox." |
815 |
elog "" |
816 |
elog "The last user manual is available for download at:" |
817 |
elog "http://www.virtualbox.org/download/UserManual.pdf" |
818 |
elog "" |
819 |
} |
820 |
|
821 |
pkg_postrm() { |
822 |
fdo-mime_desktop_database_update |
823 |
} |
824 |
|
825 |
|
826 |
|
827 |
1.1 app-emulation/virtualbox-ose/virtualbox-ose-1.6.4.ebuild |
828 |
|
829 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-1.6.4.ebuild?rev=1.1&view=markup |
830 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-1.6.4.ebuild?rev=1.1&content-type=text/plain |
831 |
|
832 |
Index: virtualbox-ose-1.6.4.ebuild |
833 |
=================================================================== |
834 |
# Copyright 1999-2008 Gentoo Foundation |
835 |
# Distributed under the terms of the GNU General Public License v2 |
836 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-1.6.4.ebuild,v 1.1 2008/08/27 12:39:00 jokey Exp $ |
837 |
|
838 |
EAPI=1 |
839 |
|
840 |
inherit eutils fdo-mime flag-o-matic qt3 toolchain-funcs |
841 |
|
842 |
MY_P=VirtualBox-${PV}-OSE |
843 |
DESCRIPTION="Softwarefamily of powerful x86 virtualization" |
844 |
HOMEPAGE="http://www.virtualbox.org/" |
845 |
SRC_URI="http://www.virtualbox.org/download/${PV}/${MY_P}.tar.bz2" |
846 |
|
847 |
LICENSE="GPL-2" |
848 |
SLOT="0" |
849 |
KEYWORDS="~amd64 ~x86" |
850 |
IUSE="additions alsa headless pulseaudio sdk" |
851 |
|
852 |
RDEPEND="!app-emulation/virtualbox-bin |
853 |
~app-emulation/virtualbox-modules-${PV} |
854 |
dev-libs/libIDL |
855 |
>=dev-libs/libxslt-1.1.19 |
856 |
dev-libs/xalan-c |
857 |
dev-libs/xerces-c |
858 |
!headless? ( |
859 |
x11-libs/qt:3 |
860 |
x11-libs/libXcursor |
861 |
media-libs/libsdl |
862 |
x11-libs/libXt )" |
863 |
DEPEND="${RDEPEND} |
864 |
sys-devel/bin86 |
865 |
sys-devel/dev86 |
866 |
sys-power/iasl |
867 |
media-libs/libpng |
868 |
alsa? ( >=media-libs/alsa-lib-1.0.13 ) |
869 |
pulseaudio? ( media-sound/pulseaudio )" |
870 |
# sys-apps/hal is required at runtime (bug #197541) |
871 |
RDEPEND="${RDEPEND} |
872 |
additions? ( ~app-emulation/virtualbox-ose-additions-${PV} ) |
873 |
sys-apps/usermode-utilities |
874 |
net-misc/bridge-utils |
875 |
sys-apps/hal" |
876 |
|
877 |
S=${WORKDIR}/${MY_P/-OSE/} |
878 |
|
879 |
pkg_setup() { |
880 |
# known problems with gcc 4.3 and the recompiler |
881 |
# http://www.virtualbox.org/ticket/936 |
882 |
if [[ "$(gcc-major-version)$(gcc-minor-version)" == "43" ]]; then |
883 |
eerror "there are known problems with gcc 4.3 and the virtualbox" |
884 |
eerror "recompiler stuff. Please use at least a version of gcc < 4.3" |
885 |
die "gcc 4.3 cannot build the virtualbox recompiler" |
886 |
fi |
887 |
|
888 |
# The VBoxSDL frontend needs media-libs/libsdl compiled |
889 |
# with USE flag X enabled (bug #177335) |
890 |
if ! use headless; then |
891 |
if ! built_with_use media-libs/libsdl X; then |
892 |
eerror "media-libs/libsdl was compiled without the \"X\" USE flag enabled." |
893 |
eerror "Please re-emerge media-libs/libsdl with USE=\"X\"." |
894 |
die "media-libs/libsdl should be compiled with the \"X\" USE flag." |
895 |
fi |
896 |
fi |
897 |
} |
898 |
|
899 |
src_unpack() { |
900 |
unpack ${A} |
901 |
cd "${S}" |
902 |
|
903 |
# Don't build things unused or splitted into separate ebuilds (eg: additions) |
904 |
epatch "${FILESDIR}/${P}-remove-unused.patch" |
905 |
# Fix missing makefiles |
906 |
epatch "${FILESDIR}/${P}-fix-missing-makefiles.patch" |
907 |
} |
908 |
|
909 |
src_compile() { |
910 |
|
911 |
local myconf |
912 |
# Don't build vboxdrv kernel module |
913 |
myconf="--disable-kmods" |
914 |
|
915 |
if ! use pulseaudio; then |
916 |
myconf="${myconf} --disable-pulse" |
917 |
fi |
918 |
if ! use alsa; then |
919 |
myconf="${myconf} --disable-alsa" |
920 |
fi |
921 |
if use headless; then |
922 |
myconf="${myconf} --build-headless" |
923 |
fi |
924 |
|
925 |
./configure --with-gcc="$(tc-getCC)" --with-g++="$(tc-getCXX)" \ |
926 |
${myconf} || die "configure failed" |
927 |
source ./env.sh |
928 |
|
929 |
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) |
930 |
# and strip all flags |
931 |
strip-flags |
932 |
|
933 |
MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \ |
934 |
TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \ |
935 |
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \ |
936 |
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \ |
937 |
all || die "kmk failed" |
938 |
} |
939 |
|
940 |
src_install() { |
941 |
cd "${S}"/out/linux.${ARCH}/release/bin |
942 |
|
943 |
# create virtualbox configurations files |
944 |
insinto /etc/vbox |
945 |
newins "${FILESDIR}/${PN}-config" vbox.cfg |
946 |
newins "${FILESDIR}/${PN}-interfaces" interfaces |
947 |
|
948 |
insinto /opt/VirtualBox |
949 |
if use sdk; then |
950 |
doins -r sdk |
951 |
fowners root:vboxusers /opt/VirtualBox/sdk/bin/xpidl |
952 |
fperms 0750 /opt/VirtualBox/sdk/bin/xpidl |
953 |
fi |
954 |
|
955 |
rm -rf sdk src tst* testcase xpidl SUPInstall SUPUninstall VBox.png \ |
956 |
VBoxBFE vditool VBoxSysInfo.sh vboxkeyboard.tar.gz |
957 |
|
958 |
doins -r * |
959 |
|
960 |
if ! use headless; then |
961 |
for each in VBox{Manage,SDL,SVC,XPCOMIPCD,Tunctl,Headless} VirtualBox ; do |
962 |
fowners root:vboxusers /opt/VirtualBox/${each} |
963 |
fperms 0750 /opt/VirtualBox/${each} |
964 |
done |
965 |
|
966 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VirtualBox |
967 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VBoxSDL |
968 |
|
969 |
newicon "${S}"/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_32px.png ${PN}.png |
970 |
domenu "${FILESDIR}"/${PN}.desktop |
971 |
else |
972 |
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,Headless} ; do |
973 |
fowners root:vboxusers /opt/VirtualBox/${each} |
974 |
fperms 0750 /opt/VirtualBox/${each} |
975 |
done |
976 |
fi |
977 |
|
978 |
exeinto /opt/VirtualBox |
979 |
newexe "${FILESDIR}/${PN}-wrapper" "VBox.sh" || die |
980 |
fowners root:vboxusers /opt/VirtualBox/VBox.sh |
981 |
fperms 0750 /opt/VirtualBox/VBox.sh |
982 |
newexe "${S}"/src/VBox/Installer/linux/VBoxAddIF.sh "VBoxAddIF.sh" || die |
983 |
fowners root:vboxusers /opt/VirtualBox/VBoxAddIF.sh |
984 |
fperms 0750 /opt/VirtualBox/VBoxAddIF.sh |
985 |
|
986 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VBoxManage |
987 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VBoxVRDP |
988 |
dosym /opt/VirtualBox/VBox.sh /usr/bin/VBoxHeadless |
989 |
dosym /opt/VirtualBox/VBoxTunctl /usr/bin/VBoxTunctl |
990 |
dosym /opt/VirtualBox/VBoxAddIF.sh /usr/bin/VBoxAddIF |
991 |
dosym /opt/VirtualBox/VBoxAddIF.sh /usr/bin/VBoxDeleteIF |
992 |
} |
993 |
|
994 |
pkg_postinst() { |
995 |
fdo-mime_desktop_database_update |
996 |
elog "" |
997 |
if ! use headless; then |
998 |
elog "To launch VirtualBox just type: \"VirtualBox\"" |
999 |
fi |
1000 |
elog "You must be in the vboxusers group to use VirtualBox." |
1001 |
elog "" |
1002 |
elog "The last user manual is available for download at:" |
1003 |
elog "http://www.virtualbox.org/download/UserManual.pdf" |
1004 |
elog "" |
1005 |
elog "Warning:" |
1006 |
elog "Due to a bug which can cause a large amount of logging" |
1007 |
elog "data to be written to your home directory, logging is" |
1008 |
elog "disabled by default in this release, see bug #233683" |
1009 |
elog "" |
1010 |
} |
1011 |
|
1012 |
pkg_postrm() { |
1013 |
fdo-mime_desktop_database_update |
1014 |
} |