Gentoo Archives: gentoo-commits

From: "Markus Ullmann (jokey)" <jokey@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/virtualbox-ose/files: virtualbox-ose-interfaces virtualbox-ose-1.6.4-fix-missing-makefiles.patch virtualbox-ose-1.5.6-remove-unused.patch virtualbox-ose-1.6.4-remove-unused.patch virtualbox-ose-config virtualbox-ose.desktop virtualbox-ose-1.6.2-remove-unused.patch virtualbox-ose-wrapper virtualbox-ose-1.5.6-remove-alsa.patch
Date: Wed, 27 Aug 2008 12:39:06
Message-Id: E1KYKIf-0005Ug-M5@stork.gentoo.org
1 jokey 08/08/27 12:39:01
2
3 Added: virtualbox-ose-interfaces
4 virtualbox-ose-1.6.4-fix-missing-makefiles.patch
5 virtualbox-ose-1.5.6-remove-unused.patch
6 virtualbox-ose-1.6.4-remove-unused.patch
7 virtualbox-ose-config virtualbox-ose.desktop
8 virtualbox-ose-1.6.2-remove-unused.patch
9 virtualbox-ose-wrapper
10 virtualbox-ose-1.5.6-remove-alsa.patch
11 Log:
12 Rename from virtualbox to virtualbox-ose
13 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo i686)
14
15 Revision Changes Path
16 1.1 app-emulation/virtualbox-ose/files/virtualbox-ose-interfaces
17
18 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-interfaces?rev=1.1&view=markup
19 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-interfaces?rev=1.1&content-type=text/plain
20
21 Index: virtualbox-ose-interfaces
22 ===================================================================
23 # This file is for registering VirtualBox permanent host networking interfaces
24 # and optionally adding them to network bridges on the host.
25 # Each line should be of the format <interface name> <user name> [<bridge>].
26
27
28
29
30 1.1 app-emulation/virtualbox-ose/files/virtualbox-ose-1.6.4-fix-missing-makefiles.patch
31
32 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-1.6.4-fix-missing-makefiles.patch?rev=1.1&view=markup
33 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-1.6.4-fix-missing-makefiles.patch?rev=1.1&content-type=text/plain
34
35 Index: virtualbox-ose-1.6.4-fix-missing-makefiles.patch
36 ===================================================================
37 --- src/apps/Makefile.kmk 1970-01-01 01:00:00.000000000 +0100
38 +++ src/apps/Makefile.kmk 2008-08-02 16:06:11.358197514 +0200
39 @@ -0,0 +1,28 @@
40 +# $Id: virtualbox-ose-1.6.4-fix-missing-makefiles.patch,v 1.1 2008/08/27 12:39:00 jokey Exp $
41 +## @file
42 +# Sub-Makefile for the external apps.
43 +#
44 +
45 +#
46 +# Copyright (C) 2006-2007 Sun Microsystems, Inc.
47 +#
48 +# Sun Microsystems, Inc. confidential
49 +# All rights reserved
50 +#
51 +
52 +DEPTH = ../..
53 +include $(KBUILD_PATH)/subheader.kmk
54 +
55 +ifdef VBOX_WITH_KCHMVIEWER
56 + ifneq ($(wildcard $(PATH_SUB_CURRENT)/kchmviewer-2.6),)
57 + include $(PATH_SUB_CURRENT)/kchmviewer-2.6/Makefile.kmk
58 + endif
59 +endif
60 +ifneq ($(wildcard $(PATH_SUB_CURRENT)/tunctl),)
61 + ifeq ($(KBUILD_TARGET),linux)
62 + include $(PATH_SUB_CURRENT)/tunctl/Makefile.kmk
63 + endif
64 +endif
65 +
66 +include $(KBUILD_PATH)/subfooter.kmk
67 +
68 --- src/apps/tunctl/Makefile.kmk 1970-01-01 01:00:00.000000000 +0100
69 +++ src/apps/tunctl/Makefile.kmk 2008-08-02 16:06:37.447936207 +0200
70 @@ -0,0 +1,32 @@
71 +# $Id: virtualbox-ose-1.6.4-fix-missing-makefiles.patch,v 1.1 2008/08/27 12:39:00 jokey Exp $
72 +## @file
73 +# Sub-Makefile for VBoxTunctl
74 +#
75 +# VBoxTunctl is identical to tunctl from Usermode Linux except for the name.
76 +#
77 +
78 +#
79 +# Copyright (C) 2006-2007 Sun Microsystems, Inc.
80 +#
81 +# This file is part of VirtualBox Open Source Edition (OSE), as
82 +# available from http://www.virtualbox.org. This file is free software;
83 +# you can redistribute it and/or modify it under the terms of the GNU
84 +# General Public License (GPL) as published by the Free Software
85 +# Foundation, in version 2 as it comes in the "COPYING" file of the
86 +# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
87 +# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
88 +#
89 +# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
90 +# Clara, CA 95054 USA or visit http://www.sun.com if you need
91 +# additional information or have any questions.
92 +#
93 +
94 +DEPTH = ../../..
95 +include $(KBUILD_PATH)/subheader.kmk
96 +
97 +PROGRAMS.linux += VBoxTunctl
98 +VBoxTunctl_TEMPLATE = VBOXR3EXE
99 +VBoxTunctl_SOURCES = tunctl.c
100 +
101 +include $(KBUILD_PATH)/subfooter.kmk
102 +
103
104
105
106 1.1 app-emulation/virtualbox-ose/files/virtualbox-ose-1.5.6-remove-unused.patch
107
108 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-1.5.6-remove-unused.patch?rev=1.1&view=markup
109 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-1.5.6-remove-unused.patch?rev=1.1&content-type=text/plain
110
111 Index: virtualbox-ose-1.5.6-remove-unused.patch
112 ===================================================================
113 --- Config.kmk.orig 2008-01-07 23:00:24.000000000 +0100
114 +++ Config.kmk 2008-01-07 23:16:32.000000000 +0100
115 @@ -134,7 +134,7 @@
116
117 # Build linux / win32 additions.
118 ifeq ($(BUILD_TARGET),linux)
119 - VBOX_WITH_LINUX_ADDITIONS = 1
120 +# VBOX_WITH_LINUX_ADDITIONS = 1
121 VBOX_WITH_WIN32_ADDITIONS = 1
122 endif
123 ifeq ($(BUILD_TARGET),l4)
124 @@ -186,7 +186,7 @@
125 # the SDL based GUI
126 VBOX_WITH_VBOXSDL = 1
127 # the basic frontend (w/o Main)
128 -VBOX_WITH_VBOXBFE = 1
129 +#BOX_WITH_VBOXBFE = 1
130 # the Qt GUI
131 VBOX_WITH_QTGUI = 1
132 ## the Direct Framebuffer GUI
133 --- configure.orig 2008-01-07 23:00:20.000000000 +0100
134 +++ configure 2008-01-07 23:03:23.000000000 +0100
135 @@ -1471,14 +1471,14 @@
136 # some things are not available in for OSE
137 if [ $OSE -ge 1 ]; then
138 cnf_append "VBOX_OSE" "1"
139 - cnf_append "VBOX_WITH_TESTSUITE" ""
140 +# cnf_append "VBOX_WITH_TESTSUITE" ""
141 cnf_append "VBOX_WITH_WIN32_ADDITIONS" ""
142
143 - if [ "$OS" = "linux" ]; then
144 - cnf_append "VBOX_WITH_LINUX_ADDITIONS" "1"
145 - else
146 - cnf_append "VBOX_WITH_LINUX_ADDITIONS" ""
147 - fi
148 +# if [ "$OS" = "linux" ]; then
149 +# cnf_append "VBOX_WITH_LINUX_ADDITIONS" "1"
150 +# else
151 +# cnf_append "VBOX_WITH_LINUX_ADDITIONS" ""
152 +# fi
153 echo >> $CNF
154 fi
155
156
157
158
159 1.1 app-emulation/virtualbox-ose/files/virtualbox-ose-1.6.4-remove-unused.patch
160
161 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-1.6.4-remove-unused.patch?rev=1.1&view=markup
162 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-1.6.4-remove-unused.patch?rev=1.1&content-type=text/plain
163
164 Index: virtualbox-ose-1.6.4-remove-unused.patch
165 ===================================================================
166 --- Config.kmk.orig 2008-08-04 01:11:59.000000000 +0200
167 +++ Config.kmk 2008-08-04 01:15:23.000000000 +0200
168 @@ -134,26 +134,26 @@
169
170 # This indicates that additions (of some kind or another) is being _built_.
171 # VBOX_WITHOUT_ADDITIONS overrides it.
172 -if1of ($(KBUILD_TARGET),l4 linux os2 solaris win)
173 - VBOX_WITH_ADDITIONS = 1
174 -else ifdef VBOX_WITH_WIN32_ADDITIONS # for ssh cross builds -remove later!
175 - VBOX_WITH_ADDITIONS = 1
176 -else ifdef VBOX_WITH_LINUX_ADDITIONS # for ssh cross builds - remove later!
177 - VBOX_WITH_ADDITIONS = 1
178 -endif
179 +#if1of ($(KBUILD_TARGET),l4 linux os2 solaris win)
180 +# VBOX_WITH_ADDITIONS = 1
181 +#else ifdef VBOX_WITH_WIN32_ADDITIONS # for ssh cross builds -remove later!
182 +# VBOX_WITH_ADDITIONS = 1
183 +#else ifdef VBOX_WITH_LINUX_ADDITIONS # for ssh cross builds - remove later!
184 +# VBOX_WITH_ADDITIONS = 1
185 +#endif
186 # Build the optional ring-0 part of the additions for syntax checking.
187 # (Ignored ifndef VBOX_WITH_ADDITIONS. Hack for 32/64 linux issues.)
188 -VBOX_WITH_ADDITION_DRIVERS = 1
189 +#VBOX_WITH_ADDITION_DRIVERS = 1
190 # Build win32 additions (cross building them on linux and l4 using wine).
191 -if1of ($(KBUILD_TARGET),l4 linux win)
192 - VBOX_WITH_WIN32_ADDITIONS = 1
193 -endif
194 +#if1of ($(KBUILD_TARGET),l4 linux win)
195 +# VBOX_WITH_WIN32_ADDITIONS = 1
196 +#endif
197 # Build linux additions.
198 # Note! VBOX_WITH_LINUX_ADDITIONS will be removed later and only
199 # VBOX_WITH_WIN32_ADDITIONS will be kept around for cross building.
200 -if1of ($(KBUILD_TARGET),l4 linux)
201 - VBOX_WITH_LINUX_ADDITIONS = 1
202 -endif
203 +#if1of ($(KBUILD_TARGET),l4 linux)
204 +# VBOX_WITH_LINUX_ADDITIONS = 1
205 +#endif
206 # Build X11 additions. Can be disabled separately.
207 ifndef VBOX_WITH_X11_ADDITIONS
208 ifdef VBOX_WITH_LINUX_ADDITIONS
209 @@ -209,7 +209,7 @@
210 # The SDL based GUI.
211 VBOX_WITH_VBOXSDL = 1
212 # The basic frontend (w/o Main).
213 -VBOX_WITH_VBOXBFE = 1
214 +#VBOX_WITH_VBOXBFE = 1
215 # The Qt GUI.
216 VBOX_WITH_QTGUI = 1
217 # The Qt 4 GUI (experimental).
218 @@ -245,9 +245,9 @@
219 # Enable the kchmviewer
220 VBOX_WITH_KCHMVIEWER = 1
221 # Build the testsuite.
222 -VBOX_WITH_TESTSUITE = 1
223 +#VBOX_WITH_TESTSUITE = 1
224 # Build the testcases.
225 -VBOX_WITH_TESTCASES = 1
226 +#VBOX_WITH_TESTCASES = 1
227 # Set this to not use COM or XPCOM in places where it can be avoided.
228 #VBOX_WITHOUT_COM = 1
229 # Set this to skip installing the redistributable compiler runtime.
230 --- configure.orig 2008-08-04 01:12:11.000000000 +0200
231 +++ configure 2008-08-04 01:16:04.000000000 +0200
232 @@ -1785,14 +1785,14 @@
233 # some things are not available in for OSE
234 if [ $OSE -ge 1 ]; then
235 cnf_append "VBOX_OSE" "1"
236 - cnf_append "VBOX_WITH_TESTSUITE" ""
237 +# cnf_append "VBOX_WITH_TESTSUITE" ""
238 cnf_append "VBOX_WITH_WIN32_ADDITIONS" ""
239
240 - if [ "$OS" = "linux" ]; then
241 - cnf_append "VBOX_WITH_LINUX_ADDITIONS" "1"
242 - else
243 - cnf_append "VBOX_WITH_LINUX_ADDITIONS" ""
244 - fi
245 +# if [ "$OS" = "linux" ]; then
246 +# cnf_append "VBOX_WITH_LINUX_ADDITIONS" "1"
247 +# else
248 +# cnf_append "VBOX_WITH_LINUX_ADDITIONS" ""
249 +# fi
250 echo >> $CNF
251 fi
252
253
254
255
256 1.1 app-emulation/virtualbox-ose/files/virtualbox-ose-config
257
258 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-config?rev=1.1&view=markup
259 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-config?rev=1.1&content-type=text/plain
260
261 Index: virtualbox-ose-config
262 ===================================================================
263 INSTALL_DIR=/opt/VirtualBox
264
265
266
267 1.1 app-emulation/virtualbox-ose/files/virtualbox-ose.desktop
268
269 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose.desktop?rev=1.1&view=markup
270 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose.desktop?rev=1.1&content-type=text/plain
271
272 Index: virtualbox-ose.desktop
273 ===================================================================
274 [Desktop Entry]
275 Name=Sun xVM VirtualBox
276 Type=Application
277 Comment=Run several virtual systems on a single host computer
278 Exec=VirtualBox
279 TryExec=VirtualBox
280 Icon=virtualbox
281 Categories=System;Emulator;
282
283
284
285 1.1 app-emulation/virtualbox-ose/files/virtualbox-ose-1.6.2-remove-unused.patch
286
287 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-1.6.2-remove-unused.patch?rev=1.1&view=markup
288 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-1.6.2-remove-unused.patch?rev=1.1&content-type=text/plain
289
290 Index: virtualbox-ose-1.6.2-remove-unused.patch
291 ===================================================================
292 --- Config.kmk.orig 2008-06-06 17:14:01.000000000 +0200
293 +++ Config.kmk 2008-06-06 17:15:47.000000000 +0200
294 @@ -132,26 +132,26 @@
295
296 # This indicates that additions (of some kind or another) is being _built_.
297 # VBOX_WITHOUT_ADDITIONS overrides it.
298 -if1of ($(KBUILD_TARGET),l4 linux os2 solaris win)
299 - VBOX_WITH_ADDITIONS = 1
300 -else ifdef VBOX_WITH_WIN32_ADDITIONS # for ssh cross builds -remove later!
301 - VBOX_WITH_ADDITIONS = 1
302 -else ifdef VBOX_WITH_LINUX_ADDITIONS # for ssh cross builds - remove later!
303 - VBOX_WITH_ADDITIONS = 1
304 -endif
305 +#if1of ($(KBUILD_TARGET),l4 linux os2 solaris win)
306 +# VBOX_WITH_ADDITIONS = 1
307 +#else ifdef VBOX_WITH_WIN32_ADDITIONS # for ssh cross builds -remove later!
308 +# VBOX_WITH_ADDITIONS = 1
309 +#else ifdef VBOX_WITH_LINUX_ADDITIONS # for ssh cross builds - remove later!
310 +# VBOX_WITH_ADDITIONS = 1
311 +#endif
312 # Build the optional ring-0 part of the additions for syntax checking.
313 # (Ignored ifndef VBOX_WITH_ADDITIONS. Hack for 32/64 linux issues.)
314 -VBOX_WITH_ADDITION_DRIVERS = 1
315 +#VBOX_WITH_ADDITION_DRIVERS = 1
316 # Build win32 additions (cross building them on linux and l4 using wine).
317 -if1of ($(KBUILD_TARGET),l4 linux win)
318 - VBOX_WITH_WIN32_ADDITIONS = 1
319 -endif
320 +#if1of ($(KBUILD_TARGET),l4 linux win)
321 +# VBOX_WITH_WIN32_ADDITIONS = 1
322 +#endif
323 # Build linux additions.
324 # Note! VBOX_WITH_LINUX_ADDITIONS will be removed later and only
325 # VBOX_WITH_WIN32_ADDITIONS will be kept around for cross building.
326 -if1of ($(KBUILD_TARGET),l4 linux)
327 - VBOX_WITH_LINUX_ADDITIONS = 1
328 -endif
329 +#if1of ($(KBUILD_TARGET),l4 linux)
330 +# VBOX_WITH_LINUX_ADDITIONS = 1
331 +#endif
332 # Build X11 additions. Can be disabled separately.
333 ifndef VBOX_WITH_X11_ADDITIONS
334 ifdef VBOX_WITH_LINUX_ADDITIONS
335 @@ -207,7 +207,7 @@
336 # The SDL based GUI.
337 VBOX_WITH_VBOXSDL = 1
338 # The basic frontend (w/o Main).
339 -VBOX_WITH_VBOXBFE = 1
340 +#VBOX_WITH_VBOXBFE = 1
341 # The Qt GUI.
342 VBOX_WITH_QTGUI = 1
343 # The Qt 4 GUI (experimental).
344 @@ -243,9 +243,9 @@
345 # Enable the kchmviewer
346 VBOX_WITH_KCHMVIEWER = 1
347 # Build the testsuite.
348 -VBOX_WITH_TESTSUITE = 1
349 +#VBOX_WITH_TESTSUITE = 1
350 # Build the testcases.
351 -VBOX_WITH_TESTCASES = 1
352 +#VBOX_WITH_TESTCASES = 1
353 # Set this to not use COM or XPCOM in places where it can be avoided.
354 #VBOX_WITHOUT_COM = 1
355 # Set this to skip installing the redistributable compiler runtime.
356 --- configure.orig 2008-06-06 17:14:06.000000000 +0200
357 +++ configure 2008-06-06 17:15:32.000000000 +0200
358 @@ -1785,14 +1785,14 @@
359 # some things are not available in for OSE
360 if [ $OSE -ge 1 ]; then
361 cnf_append "VBOX_OSE" "1"
362 - cnf_append "VBOX_WITH_TESTSUITE" ""
363 +# cnf_append "VBOX_WITH_TESTSUITE" ""
364 cnf_append "VBOX_WITH_WIN32_ADDITIONS" ""
365
366 - if [ "$OS" = "linux" ]; then
367 - cnf_append "VBOX_WITH_LINUX_ADDITIONS" "1"
368 - else
369 - cnf_append "VBOX_WITH_LINUX_ADDITIONS" ""
370 - fi
371 +# if [ "$OS" = "linux" ]; then
372 +# cnf_append "VBOX_WITH_LINUX_ADDITIONS" "1"
373 +# else
374 +# cnf_append "VBOX_WITH_LINUX_ADDITIONS" ""
375 +# fi
376 echo >> $CNF
377 fi
378
379
380
381
382 1.1 app-emulation/virtualbox-ose/files/virtualbox-ose-wrapper
383
384 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-wrapper?rev=1.1&view=markup
385 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-wrapper?rev=1.1&content-type=text/plain
386
387 Index: virtualbox-ose-wrapper
388 ===================================================================
389 #!/bin/sh
390 #
391 # Sun xVM VirtualBox
392 #
393 # Copyright (C) 2006-2007 Sun Microsystems, Inc.
394 #
395 # This file is part of VirtualBox Open Source Edition (OSE), as
396 # available from http://www.virtualbox.org. This file is free software;
397 # you can redistribute it and/or modify it under the terms of the GNU
398 # General Public License (GPL) as published by the Free Software
399 # Foundation, in version 2 as it comes in the "COPYING" file of the
400 # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
401 # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
402 #
403 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
404 # Clara, CA 95054 USA or visit http://www.sun.com if you need
405 # additional information or have any questions.
406 #
407
408 PATH="/usr/bin:/bin:/usr/sbin:/sbin"
409 CONFIG="/etc/vbox/vbox.cfg"
410
411 if [ ! -r "$CONFIG" ]; then
412 echo "Could not find VirtualBox installation. Please reinstall."
413 exit 1
414 fi
415
416 . "$CONFIG"
417
418 # Note: This script must not fail if the module was not successfully installed
419 # because the user might not want to run a VM but only change VM params!
420
421 if [ "$1" = "shutdown" ]; then
422 SHUTDOWN="true"
423 elif [ ! -e /lib/modules/`uname -r`/misc/vboxdrv.ko ]; then
424 cat << EOF
425 WARNING: There is no module available for the current kernel (`uname -r`).
426 Please recompile the kernel module and install it by:
427
428 sudo emerge -1 app-emulation/virtualbox-modules
429
430 You will not be able to start VMs until this problem is fixed.
431 EOF
432 elif ! lsmod|grep -q vboxdrv; then
433 cat << EOF
434 WARNING: The vboxdrv kernel module is not loaded.
435 Please load the kernel module by:
436
437 sudo modprobe vboxdrv
438
439 You will not be able to start VMs until this problem is fixed.
440 EOF
441 elif [ ! -c /dev/vboxdrv ]; then
442 cat << EOF
443 WARNING: The character device /dev/vboxdrv does not exist.
444 Please try to reload the kernel module by:
445
446 sudo rmmod vboxdrv; sleep 2; sudo modprobe vboxdrv
447
448 and if that is not successful, try to re-install the package by:
449
450 sudo emerge -1 app-emulation/virtualbox-modules
451
452 You will not be able to start VMs until this problem is fixed.
453 EOF
454 elif [ ! -w /dev/vboxdrv ]; then
455 if [ "`id | grep vboxusers`" = "" ]; then
456 cat << EOF
457 WARNING: You are not a member of the "vboxusers" group.
458 Please add yourself to this group before starting VirtualBox.
459
460 You will not be able to start VMs until this problem is fixed.
461 EOF
462 else
463 cat << EOF
464 WARNING: /dev/vboxdrv not writable for some reason.
465 If you recently added the current user to the "vboxusers" group
466 then you have to logout and re-login to take the change effect.
467
468 You will not be able to start VMs until this problem is fixed.
469 EOF
470 fi
471 elif [ ! -e /usr/lib/libhal.so ]; then
472 cat << EOF
473 WARNING: libhal was not found on this system.
474 This can create several side effects thus problems,
475 when accessing host resources (eg: Cd/Dvd readers).
476
477 The use of "sys-apps/hal" is still recommended, please install it
478 to meet this requirement by:
479
480 sudo emerge sys-apps/hal
481 EOF
482 fi
483
484 export LD_LIBRARY_PATH="$INSTALL_DIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
485 export VBOX_LOG_DEST="nofile"
486
487 SERVER_PID=`ps -U \`whoami\` | grep VBoxSVC | awk '{ print $1 }'`
488 if [ -z "$SERVER_PID" ]; then
489 # Server not running yet/anymore, cleanup socket path.
490 # See IPC_GetDefaultSocketPath()!
491 if [ -n "$LOGNAME" ]; then
492 rm -rf /tmp/.vbox-$LOGNAME-ipc > /dev/null 2>&1
493 else
494 rm -rf /tmp/.vbox-$USER-ipc > /dev/null 2>&1
495 fi
496 fi
497
498 if [ "$SHUTDOWN" = "true" ]; then
499 if [ -n "$SERVER_PID" ]; then
500 kill -TERM $SERVER_PID
501 sleep 2
502 fi
503 exit 0
504 fi
505
506 APP=`which $0`
507 APP=`basename $APP`
508 APP=${APP##/*/}
509 case "$APP" in
510 VirtualBox)
511 exec "$INSTALL_DIR/VirtualBox" "$@"
512 ;;
513 VBoxManage)
514 exec "$INSTALL_DIR/VBoxManage" "$@"
515 ;;
516 VBoxSDL)
517 exec "$INSTALL_DIR/VBoxSDL" "$@"
518 ;;
519 VBoxVRDP)
520 exec "$INSTALL_DIR/VBoxHeadless" "$@"
521 ;;
522 VBoxHeadless)
523 exec "$INSTALL_DIR/VBoxHeadless" "$@"
524 ;;
525 *)
526 echo "Unknown application - $APP"
527 ;;
528 esac
529
530
531
532 1.1 app-emulation/virtualbox-ose/files/virtualbox-ose-1.5.6-remove-alsa.patch
533
534 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-1.5.6-remove-alsa.patch?rev=1.1&view=markup
535 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/files/virtualbox-ose-1.5.6-remove-alsa.patch?rev=1.1&content-type=text/plain
536
537 Index: virtualbox-ose-1.5.6-remove-alsa.patch
538 ===================================================================
539 --- Config.kmk.orig 2008-01-02 17:21:25.000000000 +0100
540 +++ Config.kmk 2008-01-02 17:24:20.000000000 +0100
541 @@ -208,7 +208,7 @@
542 # Enable the ISCSI feature.
543 VBOX_WITH_ISCSI = 1
544 # Enable ALSA support for Linux
545 -VBOX_WITH_ALSA = 1
546 +#VBOX_WITH_ALSA = 1
547 # Enable Pulse support for Linux
548 VBOX_WITH_PULSE = 1
549 # Disable WINMM support for Windows (not implemented)
550 --- configure.orig 2008-01-02 17:21:37.000000000 +0100
551 +++ configure 2008-01-02 17:24:42.000000000 +0100
552 @@ -1526,7 +1526,7 @@
553 cnf_append "VBOX_WITH_VBOXDRV" ""
554 cnf_append "VBOX_WITH_LINUX_ADDITIONS_32BIT_R0" ""
555 fi
556 - check_alsa
557 +# check_alsa
558 if [ $WITH_PULSE -eq 1 ]; then
559 check_pulse
560 else