1 |
polynomial-c 10/06/03 10:59:15 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: xf86-video-virtualbox-3.2.2.ebuild |
5 |
Removed: xf86-video-virtualbox-3.1.6-r1.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.2 x11-drivers/xf86-video-virtualbox/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/metadata.xml?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/metadata.xml?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/metadata.xml?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/metadata.xml,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- metadata.xml 18 Mar 2008 22:06:33 -0000 1.1 |
24 |
+++ metadata.xml 3 Jun 2010 10:59:15 -0000 1.2 |
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.39 x11-drivers/xf86-video-virtualbox/ChangeLog |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog?rev=1.39&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog?rev=1.39&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog?r1=1.38&r2=1.39 |
42 |
|
43 |
Index: ChangeLog |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v |
46 |
retrieving revision 1.38 |
47 |
retrieving revision 1.39 |
48 |
diff -u -r1.38 -r1.39 |
49 |
--- ChangeLog 20 May 2010 14:01:10 -0000 1.38 |
50 |
+++ ChangeLog 3 Jun 2010 10:59:15 -0000 1.39 |
51 |
@@ -1,6 +1,13 @@ |
52 |
# ChangeLog for x11-drivers/xf86-video-virtualbox |
53 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.38 2010/05/20 14:01:10 polynomial-c Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.39 2010/06/03 10:59:15 polynomial-c Exp $ |
56 |
+ |
57 |
+*xf86-video-virtualbox-3.2.2 (03 Jun 2010) |
58 |
+ |
59 |
+ 03 Jun 2010; Lars Wendler <polynomial-c@g.o> |
60 |
+ -xf86-video-virtualbox-3.1.6-r1.ebuild, |
61 |
+ +xf86-video-virtualbox-3.2.2.ebuild, metadata.xml: |
62 |
+ Version bump. Removed old. |
63 |
|
64 |
*xf86-video-virtualbox-3.1.8-r1 (20 May 2010) |
65 |
|
66 |
|
67 |
|
68 |
|
69 |
1.1 x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.2.2.ebuild |
70 |
|
71 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.2.2.ebuild?rev=1.1&view=markup |
72 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.2.2.ebuild?rev=1.1&content-type=text/plain |
73 |
|
74 |
Index: xf86-video-virtualbox-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/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.2.2.ebuild,v 1.1 2010/06/03 10:59:15 polynomial-c Exp $ |
79 |
|
80 |
EAPI=2 |
81 |
|
82 |
inherit x-modular eutils linux-mod multilib versionator |
83 |
|
84 |
MY_P=VirtualBox-${PV}-OSE |
85 |
DESCRIPTION="VirtualBox video driver" |
86 |
HOMEPAGE="http://www.virtualbox.org/" |
87 |
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" |
88 |
|
89 |
LICENSE="GPL-2" |
90 |
SLOT="0" |
91 |
KEYWORDS="~amd64 ~x86" |
92 |
IUSE="dri" |
93 |
|
94 |
RDEPEND="x11-base/xorg-server" |
95 |
DEPEND="${RDEPEND} |
96 |
>=dev-util/kbuild-0.1.5-r1 |
97 |
>=dev-lang/yasm-0.6.2 |
98 |
sys-devel/dev86 |
99 |
sys-power/iasl |
100 |
x11-proto/fontsproto |
101 |
x11-proto/randrproto |
102 |
x11-proto/renderproto |
103 |
x11-proto/xextproto |
104 |
x11-proto/xineramaproto |
105 |
x11-proto/xproto |
106 |
x11-libs/libXdmcp |
107 |
x11-libs/libXcomposite |
108 |
x11-libs/libXau |
109 |
x11-libs/libX11 |
110 |
x11-libs/libXfixes |
111 |
x11-libs/libXext |
112 |
dri? ( x11-proto/xf86driproto |
113 |
>=x11-libs/libdrm-2.4.5 )" |
114 |
|
115 |
BUILD_TARGETS="all" |
116 |
BUILD_TARGET_ARCH="${ARCH}" |
117 |
MODULE_NAMES="vboxvideo(misc:${WORKDIR}/vboxvideo_drm:${WORKDIR}/vboxvideo_drm)" |
118 |
|
119 |
S=${WORKDIR}/${MY_P/-OSE/_OSE} |
120 |
|
121 |
QA_TEXTRELS_x86="usr/lib/VBoxOGL.so" |
122 |
|
123 |
pkg_setup() { |
124 |
linux-mod_pkg_setup |
125 |
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" |
126 |
} |
127 |
|
128 |
src_prepare() { |
129 |
# Prepare the vboxvideo_drm sources and Makefile in ${WORKDIR} |
130 |
cp -a "${WORKDIR}/${MY_P/-OSE/_OSE}"/src/VBox/Additions/linux/drm \ |
131 |
"${WORKDIR}/vboxvideo_drm" || die "cannot copy vboxvideo_drm directory" |
132 |
cp "${FILESDIR}/${PN}-3-vboxvideo_drm.makefile" \ |
133 |
"${WORKDIR}/vboxvideo_drm/Makefile" || die "cannot copy vboxvideo_drm Makefile" |
134 |
|
135 |
# stupid new header references... |
136 |
for vboxheader in {product,version}-generated.h ; do |
137 |
ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \ |
138 |
"${WORKDIR}/vboxvideo_drm/${vboxheader}" |
139 |
done |
140 |
|
141 |
# Remove shipped binaries (kBuild,yasm), see bug #232775 |
142 |
rm -rf kBuild/bin tools |
143 |
|
144 |
# Disable things unused or splitted into separate ebuilds |
145 |
cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk |
146 |
|
147 |
# Ugly hack to build the opengl part of the video driver |
148 |
epatch "${FILESDIR}/${PN}-2.2.0-enable-opengl.patch" |
149 |
|
150 |
# unset useless/problematic mesa checks in configure |
151 |
epatch "${FILESDIR}/${PN}-3.2.0-mesa-check.patch" |
152 |
} |
153 |
|
154 |
src_configure() { |
155 |
# build the user-space tools, warnings are harmless |
156 |
./configure --nofatal \ |
157 |
--disable-xpcom \ |
158 |
--disable-sdl-ttf \ |
159 |
--disable-pulse \ |
160 |
--disable-alsa \ |
161 |
--build-headless || die "configure failed" |
162 |
source ./env.sh |
163 |
} |
164 |
|
165 |
src_compile() { |
166 |
for each in /src/VBox/{Runtime,Additions/common/VBoxGuestLib} \ |
167 |
/src/VBox/{GuestHost/OpenGL,Additions/x11/x11stubs,Additions/common/crOpenGL} \ |
168 |
/src/VBox/Additions/x11/vboxvideo ; do |
169 |
cd "${S}"${each} |
170 |
MAKE="kmk" emake TOOL_YASM_AS=yasm \ |
171 |
KBUILD_PATH="${S}/kBuild" \ |
172 |
|| die "kmk failed" |
173 |
done |
174 |
|
175 |
if use dri; then |
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 |
fi |
181 |
} |
182 |
|
183 |
src_install() { |
184 |
if use dri; then |
185 |
linux-mod_src_install |
186 |
fi |
187 |
|
188 |
cd "${S}/out/linux.${ARCH}/release/bin/additions" |
189 |
insinto /usr/$(get_libdir)/xorg/modules/drivers |
190 |
|
191 |
# xorg-server-1.8.x |
192 |
if has_version ">=x11-base/xorg-server-1.8" ; then |
193 |
newins vboxvideo_drv_18.so vboxvideo_drv.so |
194 |
# xorg-server-1.7.x |
195 |
elif has_version ">=x11-base/xorg-server-1.7" ; then |
196 |
newins vboxvideo_drv_17.so vboxvideo_drv.so |
197 |
# xorg-server-1.6.x |
198 |
elif has_version ">=x11-base/xorg-server-1.6" ; then |
199 |
newins vboxvideo_drv_16.so vboxvideo_drv.so |
200 |
# xorg-server-1.5.x |
201 |
else |
202 |
newins vboxvideo_drv_15.so vboxvideo_drv.so |
203 |
fi |
204 |
|
205 |
# Guest OpenGL driver |
206 |
insinto /usr/$(get_libdir) |
207 |
doins -r VBoxOGL* || die |
208 |
|
209 |
if use dri ; then |
210 |
dosym /usr/$(get_libdir)/VBoxOGL.so /usr/$(get_libdir)/dri/vboxvideo_dri.so |
211 |
fi |
212 |
} |
213 |
|
214 |
pkg_postinst() { |
215 |
elog "You need to edit the file /etc/X11/xorg.conf and set:" |
216 |
elog "" |
217 |
elog " Driver \"vboxvideo\"" |
218 |
elog "" |
219 |
elog "in the Graphics device section (Section \"Device\")" |
220 |
elog "" |
221 |
if use dri; then |
222 |
elog "To use the kernel drm video driver, please add:" |
223 |
elog "\"vboxvideo\" to:" |
224 |
if has_version sys-apps/openrc; then |
225 |
elog "/etc/conf.d/modules" |
226 |
else |
227 |
elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}" |
228 |
fi |
229 |
elog "" |
230 |
fi |
231 |
} |