1 |
jokey 07/09/17 09:41:37 |
2 |
|
3 |
Modified: virtualbox-9999.ebuild ChangeLog |
4 |
Added: virtualbox-1.5.0-r1.ebuild |
5 |
Removed: virtualbox-1.5.0.ebuild |
6 |
Log: |
7 |
Revbump to fix HAL mess and fix permissions for VBoxTunctl, bug #191473 |
8 |
(Portage version: 2.1.3.9) |
9 |
|
10 |
Revision Changes Path |
11 |
1.19 app-emulation/virtualbox/virtualbox-9999.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/virtualbox-9999.ebuild?rev=1.19&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/virtualbox-9999.ebuild?rev=1.19&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/virtualbox-9999.ebuild?r1=1.18&r2=1.19 |
16 |
|
17 |
Index: virtualbox-9999.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-9999.ebuild,v |
20 |
retrieving revision 1.18 |
21 |
retrieving revision 1.19 |
22 |
diff -u -r1.18 -r1.19 |
23 |
--- virtualbox-9999.ebuild 4 Sep 2007 23:56:09 -0000 1.18 |
24 |
+++ virtualbox-9999.ebuild 17 Sep 2007 09:41:37 -0000 1.19 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2007 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-9999.ebuild,v 1.18 2007/09/04 23:56:09 jokey Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-9999.ebuild,v 1.19 2007/09/17 09:41:37 jokey Exp $ |
30 |
|
31 |
inherit eutils flag-o-matic linux-mod qt3 subversion toolchain-funcs |
32 |
|
33 |
@@ -11,7 +11,7 @@ |
34 |
LICENSE="GPL-2" |
35 |
SLOT="0" |
36 |
KEYWORDS="~amd64 ~x86" |
37 |
-IUSE="hal nowrapper sdk vboxbfe vditool" |
38 |
+IUSE="nowrapper sdk vboxbfe vditool" |
39 |
|
40 |
RDEPEND="!app-emulation/virtualbox-bin |
41 |
dev-libs/libIDL |
42 |
@@ -21,7 +21,7 @@ |
43 |
media-libs/libsdl |
44 |
x11-libs/libXcursor |
45 |
$(qt_min_version 3.3.5) |
46 |
- hal? ( sys-apps/hal )" |
47 |
+ sys-apps/hal" |
48 |
DEPEND="${RDEPEND} |
49 |
sys-devel/bin86 |
50 |
sys-devel/dev86 |
51 |
@@ -51,13 +51,7 @@ |
52 |
src_compile() { |
53 |
cd "${S}" |
54 |
|
55 |
- local myconf |
56 |
- if ! use hal; then |
57 |
- myconf="${myconf} --without-hal" |
58 |
- fi |
59 |
- |
60 |
- ./configure \ |
61 |
- ${myconf} || die "configure failed" |
62 |
+ ./configure || die "configure failed" |
63 |
source ./env.sh |
64 |
|
65 |
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) |
66 |
@@ -79,6 +73,9 @@ |
67 |
cd "${S}"/out/linux.${ARCH}/release/bin |
68 |
|
69 |
insinto /opt/VirtualBox |
70 |
+ |
71 |
+ make_wrapper vboxtunctl "./VBoxTunctl" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" |
72 |
+ |
73 |
if use sdk; then |
74 |
doins -r sdk |
75 |
make_wrapper xpidl "sdk/bin/xpidl" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" |
76 |
@@ -97,10 +94,11 @@ |
77 |
fi |
78 |
fi |
79 |
|
80 |
- rm -rf sdk src tst* testcase additions VBoxBFE vditool vboxdrv.ko xpidl SUPInstall SUPUninstall |
81 |
+ rm -rf sdk src tst* testcase additions VBoxBFE vditool vboxdrv.ko xpidl SUPInstall \ |
82 |
+ SUPUninstall VBox.sh VBox.png |
83 |
|
84 |
doins -r * |
85 |
- for each in VBox{Manage,SDL,SVC,XPCOMIPCD} VirtualBox ; do |
86 |
+ for each in VBox{Manage,SDL,SVC,XPCOMIPCD,Tunctl} VirtualBox ; do |
87 |
fowners root:vboxusers /opt/VirtualBox/${each} |
88 |
fperms 0750 /opt/VirtualBox/${each} |
89 |
done |
90 |
@@ -135,13 +133,6 @@ |
91 |
|
92 |
pkg_postinst() { |
93 |
linux-mod_pkg_postinst |
94 |
- if use amd64; then |
95 |
- elog "" |
96 |
- elog "To avoid the nmi_watchdog bug and load the vboxdrv module" |
97 |
- elog "you may need to update your bootloader configuration and pass the option:" |
98 |
- elog "nmi_watchdog=0" |
99 |
- fi |
100 |
- elog "" |
101 |
if use nowrapper; then |
102 |
elog "In order to launch VirtualBox you need to start the" |
103 |
elog "VirtualBox XPCom Server first, with:" |
104 |
|
105 |
|
106 |
|
107 |
1.25 app-emulation/virtualbox/ChangeLog |
108 |
|
109 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/ChangeLog?rev=1.25&view=markup |
110 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/ChangeLog?rev=1.25&content-type=text/plain |
111 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/ChangeLog?r1=1.24&r2=1.25 |
112 |
|
113 |
Index: ChangeLog |
114 |
=================================================================== |
115 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v |
116 |
retrieving revision 1.24 |
117 |
retrieving revision 1.25 |
118 |
diff -u -r1.24 -r1.25 |
119 |
--- ChangeLog 4 Sep 2007 23:56:09 -0000 1.24 |
120 |
+++ ChangeLog 17 Sep 2007 09:41:37 -0000 1.25 |
121 |
@@ -1,6 +1,15 @@ |
122 |
# ChangeLog for app-emulation/virtualbox |
123 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
124 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.24 2007/09/04 23:56:09 jokey Exp $ |
125 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.25 2007/09/17 09:41:37 jokey Exp $ |
126 |
+ |
127 |
+*virtualbox-1.5.0-r1 (17 Sep 2007) |
128 |
+ |
129 |
+ 17 Sep 2007; Markus Ullmann <jokey@g.o> |
130 |
+ files/virtualbox-1.5.0-remove-alsa.patch, |
131 |
+ files/virtualbox-1.5.0-remove-splitted-stuff.patch, |
132 |
+ -virtualbox-1.5.0.ebuild, +virtualbox-1.5.0-r1.ebuild, |
133 |
+ virtualbox-9999.ebuild: |
134 |
+ Revbump to fix HAL mess and fix permissions for VBoxTunctl, bug #191473 |
135 |
|
136 |
04 Sep 2007; Markus Ullmann <jokey@g.o> virtualbox-9999.ebuild: |
137 |
fix group creation, bug #184504 |
138 |
|
139 |
|
140 |
|
141 |
1.1 app-emulation/virtualbox/virtualbox-1.5.0-r1.ebuild |
142 |
|
143 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/virtualbox-1.5.0-r1.ebuild?rev=1.1&view=markup |
144 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/virtualbox-1.5.0-r1.ebuild?rev=1.1&content-type=text/plain |
145 |
|
146 |
Index: virtualbox-1.5.0-r1.ebuild |
147 |
=================================================================== |
148 |
# Copyright 1999-2007 Gentoo Foundation |
149 |
# Distributed under the terms of the GNU General Public License v2 |
150 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-1.5.0-r1.ebuild,v 1.1 2007/09/17 09:41:37 jokey Exp $ |
151 |
|
152 |
inherit eutils flag-o-matic qt3 toolchain-funcs |
153 |
|
154 |
MY_P=VirtualBox-${PV}_OSE |
155 |
DESCRIPTION="Softwarefamily of powerful x86 virtualization" |
156 |
HOMEPAGE="http://www.virtualbox.org/" |
157 |
SRC_URI="http://www.virtualbox.org/download/${PV}/${MY_P}.tar.bz2" |
158 |
|
159 |
LICENSE="GPL-2" |
160 |
SLOT="0" |
161 |
KEYWORDS="~amd64 ~x86" |
162 |
IUSE="additions alsa nowrapper sdk vboxbfe" |
163 |
|
164 |
RDEPEND="!app-emulation/virtualbox-bin |
165 |
~app-emulation/virtualbox-modules-${PV} |
166 |
dev-libs/libIDL |
167 |
>=dev-libs/libxslt-1.1.19 |
168 |
dev-libs/xalan-c |
169 |
dev-libs/xerces-c |
170 |
media-libs/libsdl |
171 |
x11-libs/libXcursor |
172 |
$(qt_min_version 3.3.5) |
173 |
sys-apps/hal" |
174 |
DEPEND="${RDEPEND} |
175 |
sys-devel/bin86 |
176 |
sys-devel/dev86 |
177 |
sys-power/iasl |
178 |
alsa? ( >=media-libs/alsa-lib-1.0.13 )" |
179 |
RDEPEND="${RDEPEND} |
180 |
additions? ( ~app-emulation/virtualbox-additions-${PV} )" |
181 |
|
182 |
S=${WORKDIR}/${MY_P} |
183 |
|
184 |
pkg_setup() { |
185 |
# The VBoxSDL frontend needs media-libs/libsdl compiled |
186 |
# with USE flag X enabled (bug #177335) |
187 |
if ! built_with_use media-libs/libsdl X; then |
188 |
eerror "media-libs/libsdl was compiled without the \"X\" USE flag enabled." |
189 |
eerror "Please re-emerge media-libs/libsdl with USE=\"X\"." |
190 |
die "media-libs/libsdl should be compiled with the \"X\" USE flag." |
191 |
fi |
192 |
} |
193 |
|
194 |
src_unpack() { |
195 |
unpack ${A} |
196 |
cd "${S}" |
197 |
|
198 |
# Don't build vboxdrv and additions: splitted into separate ebuilds |
199 |
epatch "${FILESDIR}/${P}-remove-splitted-stuff.patch" |
200 |
# Don't build the Alsa audio driver and remove Alsa checks in configure |
201 |
# when Alsa is not selected (bug #167739) |
202 |
use alsa || epatch "${FILESDIR}/${P}-remove-alsa.patch" |
203 |
} |
204 |
|
205 |
src_compile() { |
206 |
cd "${S}" |
207 |
|
208 |
./configure || die "configure failed" |
209 |
source ./env.sh |
210 |
|
211 |
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) |
212 |
# and strip all flags |
213 |
strip-flags |
214 |
|
215 |
MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \ |
216 |
TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \ |
217 |
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \ |
218 |
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \ |
219 |
all || die "kmk failed" |
220 |
} |
221 |
|
222 |
src_install() { |
223 |
cd "${S}"/out/linux.${ARCH}/release/bin |
224 |
|
225 |
insinto /opt/VirtualBox |
226 |
if use sdk; then |
227 |
doins -r sdk |
228 |
make_wrapper xpidl "sdk/bin/xpidl" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" |
229 |
fowners root:vboxusers /opt/VirtualBox/sdk/bin/xpidl |
230 |
fperms 0750 /opt/VirtualBox/sdk/bin/xpidl |
231 |
fi |
232 |
if use vboxbfe; then |
233 |
doins VBoxBFE |
234 |
fowners root:vboxusers /opt/VirtualBox/VBoxBFE |
235 |
fperms 0750 /opt/VirtualBox/VBoxBFE |
236 |
|
237 |
if use nowrapper ; then |
238 |
make_wrapper vboxbfe "./VBoxBFE" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" |
239 |
else |
240 |
dosym /opt/VirtualBox/wrapper.sh /usr/bin/vboxbfe |
241 |
fi |
242 |
fi |
243 |
|
244 |
rm -rf sdk src tst* testcase VBoxBFE vditool xpidl SUPInstall SUPUninstall |
245 |
|
246 |
doins -r * |
247 |
for each in VBox{Manage,SDL,SVC,XPCOMIPCD} VirtualBox ; do |
248 |
fowners root:vboxusers /opt/VirtualBox/${each} |
249 |
fperms 0750 /opt/VirtualBox/${each} |
250 |
done |
251 |
|
252 |
if use nowrapper ; then |
253 |
make_wrapper vboxsvc "./VBoxSVC" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" |
254 |
make_wrapper virtualbox "./VirtualBox" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" |
255 |
make_wrapper vboxmanage "./VBoxManage" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" |
256 |
make_wrapper vboxsdl "./VBoxSDL" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" |
257 |
else |
258 |
exeinto /opt/VirtualBox |
259 |
newexe "${FILESDIR}/${PN}-wrapper" "wrapper.sh" |
260 |
fowners root:vboxusers /opt/VirtualBox/wrapper.sh |
261 |
fperms 0750 /opt/VirtualBox/wrapper.sh |
262 |
|
263 |
dosym /opt/VirtualBox/wrapper.sh /usr/bin/virtualbox |
264 |
dosym /opt/VirtualBox/wrapper.sh /usr/bin/vboxmanage |
265 |
dosym /opt/VirtualBox/wrapper.sh /usr/bin/vboxsdl |
266 |
fi |
267 |
|
268 |
# desktop entry |
269 |
insinto /usr/share/pixmaps |
270 |
newins "${S}"/src/VBox/Frontends/VirtualBox/images/ico32x01.png ${PN}.png |
271 |
insinto /usr/share/applications |
272 |
doins "${FILESDIR}"/${PN}.desktop |
273 |
dosed -e "s/Version=/Version=${PV}/" /usr/share/applications/${PN}.desktop |
274 |
} |
275 |
|
276 |
pkg_postinst() { |
277 |
elog "" |
278 |
if use nowrapper; then |
279 |
elog "In order to launch VirtualBox you need to start the" |
280 |
elog "VirtualBox XPCom Server first, with:" |
281 |
elog "vboxsvc --daemonize && virtualbox" |
282 |
else |
283 |
elog "To launch VirtualBox just type: \"virtualbox\"" |
284 |
fi |
285 |
elog "" |
286 |
elog "You must be in the vboxusers group to use VirtualBox," |
287 |
elog "\"vditool\" is now deprecated, use \"VBoxManage\" instead." |
288 |
elog "" |
289 |
elog "The last user manual is available for download at:" |
290 |
elog "http://www.virtualbox.org/download/UserManual.pdf" |
291 |
elog "" |
292 |
} |
293 |
|
294 |
|
295 |
|
296 |
-- |
297 |
gentoo-commits@g.o mailing list |