1 |
patrick 09/03/03 07:11:05 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
virtualbox-ose-2.0.4-r1.ebuild |
5 |
virtualbox-ose-2.0.6.ebuild |
6 |
Added: virtualbox-ose-2.1.4.ebuild |
7 |
Log: |
8 |
Bump to 2.1.4. Ebuilds by Alessio Cassibba (X-Drum) <swapon@×××××.com>. |
9 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.2 app-emulation/virtualbox-ose/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/metadata.xml?rev=1.2&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/metadata.xml?rev=1.2&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/metadata.xml?r1=1.1&r2=1.2 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/metadata.xml,v |
21 |
retrieving revision 1.1 |
22 |
retrieving revision 1.2 |
23 |
diff -u -r1.1 -r1.2 |
24 |
--- metadata.xml 27 Aug 2008 12:39:00 -0000 1.1 |
25 |
+++ metadata.xml 3 Mar 2009 07:11:05 -0000 1.2 |
26 |
@@ -14,5 +14,6 @@ |
27 |
<flag name='additions'>Install Guest System Tools ISO</flag> |
28 |
<flag name='headless'>Build without any graphic frontend</flag> |
29 |
<flag name='sdk'>Enable building of SDK</flag> |
30 |
+ <flag name='vboxwebsrv'>Build and install the VirtualBox webservice</flag> |
31 |
</use> |
32 |
</pkgmetadata> |
33 |
|
34 |
|
35 |
|
36 |
1.10 app-emulation/virtualbox-ose/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/ChangeLog?rev=1.10&view=markup |
39 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/ChangeLog?rev=1.10&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/ChangeLog?r1=1.9&r2=1.10 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/ChangeLog,v |
45 |
retrieving revision 1.9 |
46 |
retrieving revision 1.10 |
47 |
diff -u -r1.9 -r1.10 |
48 |
--- ChangeLog 18 Dec 2008 12:47:58 -0000 1.9 |
49 |
+++ ChangeLog 3 Mar 2009 07:11:05 -0000 1.10 |
50 |
@@ -1,6 +1,13 @@ |
51 |
# ChangeLog for app-emulation/virtualbox-ose |
52 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/ChangeLog,v 1.9 2008/12/18 12:47:58 flameeyes Exp $ |
54 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
55 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/ChangeLog,v 1.10 2009/03/03 07:11:05 patrick Exp $ |
56 |
+ |
57 |
+*virtualbox-ose-2.1.4 (03 Mar 2009) |
58 |
+ |
59 |
+ 03 Mar 2009; Patrick Lauer <patrick@g.o> metadata.xml, |
60 |
+ +virtualbox-ose-2.1.4.ebuild: |
61 |
+ Bump to 2.1.4. Ebuilds by Alessio Cassibba (X-Drum) <swapon@×××××.com>. |
62 |
+ EAPI=2 and fix USE dependency for media-libs/libsdl. |
63 |
|
64 |
*virtualbox-ose-2.0.6 (18 Dec 2008) |
65 |
*virtualbox-ose-2.0.4-r1 (18 Dec 2008) |
66 |
|
67 |
|
68 |
|
69 |
1.3 app-emulation/virtualbox-ose/virtualbox-ose-2.0.4-r1.ebuild |
70 |
|
71 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.0.4-r1.ebuild?rev=1.3&view=markup |
72 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.0.4-r1.ebuild?rev=1.3&content-type=text/plain |
73 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.0.4-r1.ebuild?r1=1.2&r2=1.3 |
74 |
|
75 |
Index: virtualbox-ose-2.0.4-r1.ebuild |
76 |
=================================================================== |
77 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.0.4-r1.ebuild,v |
78 |
retrieving revision 1.2 |
79 |
retrieving revision 1.3 |
80 |
diff -u -r1.2 -r1.3 |
81 |
--- virtualbox-ose-2.0.4-r1.ebuild 31 Dec 2008 03:17:43 -0000 1.2 |
82 |
+++ virtualbox-ose-2.0.4-r1.ebuild 3 Mar 2009 07:11:05 -0000 1.3 |
83 |
@@ -1,6 +1,6 @@ |
84 |
-# Copyright 1999-2008 Gentoo Foundation |
85 |
+# Copyright 1999-2009 Gentoo Foundation |
86 |
# Distributed under the terms of the GNU General Public License v2 |
87 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.0.4-r1.ebuild,v 1.2 2008/12/31 03:17:43 mr_bones_ Exp $ |
88 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.0.4-r1.ebuild,v 1.3 2009/03/03 07:11:05 patrick Exp $ |
89 |
|
90 |
EAPI=1 |
91 |
|
92 |
|
93 |
|
94 |
|
95 |
1.3 app-emulation/virtualbox-ose/virtualbox-ose-2.0.6.ebuild |
96 |
|
97 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.0.6.ebuild?rev=1.3&view=markup |
98 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.0.6.ebuild?rev=1.3&content-type=text/plain |
99 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.0.6.ebuild?r1=1.2&r2=1.3 |
100 |
|
101 |
Index: virtualbox-ose-2.0.6.ebuild |
102 |
=================================================================== |
103 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.0.6.ebuild,v |
104 |
retrieving revision 1.2 |
105 |
retrieving revision 1.3 |
106 |
diff -u -r1.2 -r1.3 |
107 |
--- virtualbox-ose-2.0.6.ebuild 31 Dec 2008 03:17:43 -0000 1.2 |
108 |
+++ virtualbox-ose-2.0.6.ebuild 3 Mar 2009 07:11:05 -0000 1.3 |
109 |
@@ -1,6 +1,6 @@ |
110 |
-# Copyright 1999-2008 Gentoo Foundation |
111 |
+# Copyright 1999-2009 Gentoo Foundation |
112 |
# Distributed under the terms of the GNU General Public License v2 |
113 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.0.6.ebuild,v 1.2 2008/12/31 03:17:43 mr_bones_ Exp $ |
114 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.0.6.ebuild,v 1.3 2009/03/03 07:11:05 patrick Exp $ |
115 |
|
116 |
EAPI=1 |
117 |
|
118 |
|
119 |
|
120 |
|
121 |
1.1 app-emulation/virtualbox-ose/virtualbox-ose-2.1.4.ebuild |
122 |
|
123 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.1.4.ebuild?rev=1.1&view=markup |
124 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.1.4.ebuild?rev=1.1&content-type=text/plain |
125 |
|
126 |
Index: virtualbox-ose-2.1.4.ebuild |
127 |
=================================================================== |
128 |
# Copyright 1999-2009 Gentoo Foundation |
129 |
# Distributed under the terms of the GNU General Public License v2 |
130 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-2.1.4.ebuild,v 1.1 2009/03/03 07:11:05 patrick Exp $ |
131 |
|
132 |
EAPI=2 |
133 |
|
134 |
inherit eutils fdo-mime flag-o-matic linux-info pax-utils qt4 toolchain-funcs |
135 |
|
136 |
MY_P=VirtualBox-${PV}-OSE |
137 |
DESCRIPTION="Softwarefamily of powerful x86 virtualization" |
138 |
HOMEPAGE="http://www.virtualbox.org/" |
139 |
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" |
140 |
|
141 |
LICENSE="GPL-2" |
142 |
SLOT="0" |
143 |
KEYWORDS="~amd64 ~x86" |
144 |
IUSE="+additions alsa +hal headless pulseaudio python +qt4 sdk vboxwebsrv" |
145 |
|
146 |
RDEPEND="!app-emulation/virtualbox-bin |
147 |
~app-emulation/virtualbox-modules-${PV} |
148 |
dev-libs/libIDL |
149 |
>=dev-libs/libxslt-1.1.19 |
150 |
!headless? ( |
151 |
qt4? ( || ( ( x11-libs/qt-gui x11-libs/qt-core ) =x11-libs/qt-4.3*:4 ) ) |
152 |
x11-libs/libXcursor |
153 |
media-libs/libsdl[X] |
154 |
x11-libs/libXt )" |
155 |
DEPEND="${RDEPEND} |
156 |
>=dev-util/kbuild-0.1.5 |
157 |
>=dev-lang/yasm-0.6.2 |
158 |
sys-devel/bin86 |
159 |
sys-devel/dev86 |
160 |
sys-power/iasl |
161 |
media-libs/libpng |
162 |
sys-libs/libcap |
163 |
alsa? ( >=media-libs/alsa-lib-1.0.13 ) |
164 |
hal? ( sys-apps/hal ) |
165 |
pulseaudio? ( media-sound/pulseaudio ) |
166 |
python? ( >=dev-lang/python-2.3 ) |
167 |
vboxwebsrv? ( <=net-libs/gsoap-2.7.9f )" |
168 |
RDEPEND="${RDEPEND} |
169 |
additions? ( ~app-emulation/virtualbox-ose-additions-${PV} ) |
170 |
sys-apps/usermode-utilities |
171 |
net-misc/bridge-utils" |
172 |
|
173 |
S=${WORKDIR}/${MY_P/-OSE/_OSE} |
174 |
MY_LIBDIR="$(get_libdir)" |
175 |
|
176 |
pkg_setup() { |
177 |
if ! use headless; then |
178 |
if ! use qt4; then |
179 |
einfo "" |
180 |
einfo "No USE=\"qt4\" selected, this build will not include" |
181 |
einfo "any Qt frontend." |
182 |
einfo "" |
183 |
fi |
184 |
else |
185 |
if use qt4; then |
186 |
einfo "" |
187 |
einfo "You selected USE=\"headless qt4\", defaulting to" |
188 |
einfo "USE=\"headless\", this build will not include any X11/Qt frontend." |
189 |
einfo "" |
190 |
fi |
191 |
fi |
192 |
} |
193 |
|
194 |
src_prepare() { |
195 |
# Remove shipped binaries (kBuild,yasm), see bug #232775 |
196 |
rm -rf kBuild/bin tools |
197 |
|
198 |
# Disable things unused or splitted into separate ebuilds |
199 |
cp "${FILESDIR}/${PN}-2-localconfig" LocalConfig.kmk |
200 |
|
201 |
# Disable the VBoxNetFlt kernel driver |
202 |
sed -i \ |
203 |
-e "s/MY_LIBDIR/${MY_LIBDIR}/" LocalConfig.kmk \ |
204 |
|| die "LocalConfig.kmk sed failed" |
205 |
|
206 |
# Fix an upstream typo in Config.kmk |
207 |
sed -i \ |
208 |
-e "2511d" Config.kmk || die "Config.kmk sed failed" |
209 |
} |
210 |
|
211 |
src_configure() { |
212 |
local myconf |
213 |
# Don't build vboxdrv kernel module, disable deprecated qt3 support |
214 |
myconf="--disable-kmods --disable-qt3" |
215 |
|
216 |
if ! use alsa; then |
217 |
myconf="${myconf} --disable-alsa" |
218 |
fi |
219 |
if ! use pulseaudio; then |
220 |
myconf="${myconf} --disable-pulse" |
221 |
fi |
222 |
if ! use python; then |
223 |
myconf="${myconf} --disable-python" |
224 |
fi |
225 |
if ! use hal; then |
226 |
myconf="${myconf} --disable-dbus" |
227 |
fi |
228 |
if ! use headless; then |
229 |
if ! use qt4; then |
230 |
myconf="${myconf} --disable-qt4" |
231 |
fi |
232 |
else |
233 |
myconf="${myconf} --build-headless" |
234 |
fi |
235 |
if use vboxwebsrv; then |
236 |
myconf="${myconf} --enable-webservice" |
237 |
fi |
238 |
|
239 |
./configure --with-gcc="$(tc-getCC)" --with-g++="$(tc-getCXX)" \ |
240 |
${myconf} || die "configure failed" |
241 |
} |
242 |
|
243 |
src_compile() { |
244 |
source ./env.sh |
245 |
|
246 |
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) |
247 |
# and strip all flags |
248 |
strip-flags |
249 |
|
250 |
MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \ |
251 |
TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \ |
252 |
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \ |
253 |
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \ |
254 |
TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \ |
255 |
all || die "kmk failed" |
256 |
} |
257 |
|
258 |
src_install() { |
259 |
cd "${S}"/out/linux.${ARCH}/release/bin |
260 |
|
261 |
# Create configuration files |
262 |
insinto /etc/vbox |
263 |
newins "${FILESDIR}/${PN}-2-config" vbox.cfg |
264 |
|
265 |
# Set the right libdir |
266 |
sed -i \ |
267 |
-e "s/MY_LIBDIR/${MY_LIBDIR}/" \ |
268 |
"${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed" |
269 |
|
270 |
# Symlink binaries to the shipped wrapper |
271 |
exeinto /usr/${MY_LIBDIR}/${PN} |
272 |
newexe "${FILESDIR}/${PN}-2-wrapper" "VBox" || die |
273 |
fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBox |
274 |
fperms 0750 /usr/${MY_LIBDIR}/${PN}/VBox |
275 |
|
276 |
dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxManage |
277 |
dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxVRDP |
278 |
dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxHeadless |
279 |
dosym /usr/${MY_LIBDIR}/${PN}/VBoxTunctl /usr/bin/VBoxTunctl |
280 |
|
281 |
# Install binaries and libraries |
282 |
insinto /usr/${MY_LIBDIR}/${PN} |
283 |
doins -r components |
284 |
|
285 |
if use sdk; then |
286 |
doins -r sdk |
287 |
fi |
288 |
|
289 |
if use vboxwebsrv; then |
290 |
doins vboxwebsrv |
291 |
fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/vboxwebsrv |
292 |
fperms 0750 /usr/${MY_LIBDIR}/${PN}/vboxwebsrv |
293 |
dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/vboxwebsrv |
294 |
newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv |
295 |
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv |
296 |
fi |
297 |
|
298 |
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl} *so *r0 *gc ; do |
299 |
doins $each |
300 |
fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/${each} |
301 |
fperms 0750 /usr/${MY_LIBDIR}/${PN}/${each} |
302 |
done |
303 |
|
304 |
if use amd64; then |
305 |
doins VBoxREM2.rel |
306 |
fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBoxREM2.rel |
307 |
fperms 0750 /usr/${MY_LIBDIR}/${PN}/VBoxREM2.rel |
308 |
fi |
309 |
|
310 |
if ! use headless; then |
311 |
for each in VBox{SDL,Headless} ; do |
312 |
doins $each |
313 |
fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/${each} |
314 |
fperms 4750 /usr/${MY_LIBDIR}/${PN}/${each} |
315 |
pax-mark -m "${D}"/usr/${MY_LIBDIR}/${PN}/${each} |
316 |
done |
317 |
|
318 |
dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VBoxSDL |
319 |
|
320 |
if use qt4; then |
321 |
doins VirtualBox |
322 |
fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VirtualBox |
323 |
fperms 4750 /usr/${MY_LIBDIR}/${PN}/VirtualBox |
324 |
pax-mark -m "${D}"/usr/${MY_LIBDIR}/${PN}/VirtualBox |
325 |
|
326 |
dosym /usr/${MY_LIBDIR}/${PN}/VBox /usr/bin/VirtualBox |
327 |
fi |
328 |
|
329 |
newicon "${S}"/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_32px.png ${PN}.png |
330 |
domenu "${FILESDIR}"/${PN}.desktop |
331 |
else |
332 |
doins VBoxHeadless |
333 |
fowners root:vboxusers /usr/${MY_LIBDIR}/${PN}/VBoxHeadless |
334 |
fperms 4750 /usr/${MY_LIBDIR}/${PN}/VBoxHeadless |
335 |
pax-mark -m "${D}"/usr/${MY_LIBDIR}/${PN}/VBoxHeadless |
336 |
fi |
337 |
|
338 |
insinto /usr/share/${PN} |
339 |
doins -r nls |
340 |
} |
341 |
|
342 |
pkg_postinst() { |
343 |
fdo-mime_desktop_database_update |
344 |
elog "" |
345 |
if ! use headless; then |
346 |
elog "To launch VirtualBox just type: \"VirtualBox\"" |
347 |
fi |
348 |
elog "You must be in the vboxusers group to use VirtualBox." |
349 |
elog "" |
350 |
elog "The last user manual is available for download at:" |
351 |
elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf" |
352 |
elog "" |
353 |
} |
354 |
|
355 |
pkg_postrm() { |
356 |
fdo-mime_desktop_database_update |
357 |
} |