1 |
patrick 09/11/03 08:15:22 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xf86-video-virtualbox-3.0.10.ebuild |
5 |
Log: |
6 |
Bump to 3.0.10, fixes #291214 #290296 #285749 #286163 |
7 |
(Portage version: 2.2_rc48/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.21 x11-drivers/xf86-video-virtualbox/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog?rev=1.21&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog?rev=1.21&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog?r1=1.20&r2=1.21 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v |
19 |
retrieving revision 1.20 |
20 |
retrieving revision 1.21 |
21 |
diff -u -r1.20 -r1.21 |
22 |
--- ChangeLog 19 Oct 2009 01:31:44 -0000 1.20 |
23 |
+++ ChangeLog 3 Nov 2009 08:15:22 -0000 1.21 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for x11-drivers/xf86-video-virtualbox |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.20 2009/10/19 01:31:44 fauli Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.21 2009/11/03 08:15:22 patrick Exp $ |
29 |
+ |
30 |
+*xf86-video-virtualbox-3.0.10 (03 Nov 2009) |
31 |
+ |
32 |
+ 03 Nov 2009; Patrick Lauer <patrick@g.o> |
33 |
+ +xf86-video-virtualbox-3.0.10.ebuild: |
34 |
+ Bump to 3.0.10, fixes #291214 #290296 #285749 #286163 |
35 |
|
36 |
19 Oct 2009; Christian Faulhammer <fauli@g.o> |
37 |
xf86-video-virtualbox-3.0.8.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.0.10.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.0.10.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.0.10.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: xf86-video-virtualbox-3.0.10.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-3.0.10.ebuild,v 1.1 2009/11/03 08:15:22 patrick Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
|
54 |
inherit x-modular eutils linux-mod multilib |
55 |
|
56 |
MY_P=VirtualBox-${PV}-OSE |
57 |
DESCRIPTION="VirtualBox video driver" |
58 |
HOMEPAGE="http://www.virtualbox.org/" |
59 |
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="dri" |
65 |
|
66 |
RDEPEND="x11-base/xorg-server" |
67 |
DEPEND="${RDEPEND} |
68 |
>=dev-util/kbuild-0.1.5-r1 |
69 |
>=dev-lang/yasm-0.6.2 |
70 |
sys-devel/dev86 |
71 |
sys-power/iasl |
72 |
x11-proto/fontsproto |
73 |
x11-proto/randrproto |
74 |
x11-proto/renderproto |
75 |
x11-proto/xextproto |
76 |
x11-proto/xineramaproto |
77 |
x11-proto/xproto |
78 |
x11-libs/libXdmcp |
79 |
x11-libs/libXcomposite |
80 |
x11-libs/libXau |
81 |
x11-libs/libX11 |
82 |
x11-libs/libXfixes |
83 |
x11-libs/libXext |
84 |
dri? ( x11-proto/xf86driproto |
85 |
>=x11-libs/libdrm-2.4.5 )" |
86 |
|
87 |
BUILD_TARGETS="all" |
88 |
BUILD_TARGET_ARCH="${ARCH}" |
89 |
MODULE_NAMES="vboxvideo(misc:${WORKDIR}/vboxvideo_drm:${WORKDIR}/vboxvideo_drm)" |
90 |
|
91 |
S=${WORKDIR}/${MY_P/-OSE/_OSE} |
92 |
|
93 |
QA_TEXTRELS_x86="usr/lib/VBoxOGL.so" |
94 |
|
95 |
pkg_setup() { |
96 |
linux-mod_pkg_setup |
97 |
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" |
98 |
} |
99 |
|
100 |
src_unpack() { |
101 |
unpack ${A} |
102 |
|
103 |
# Prepare the vboxvideo_drm sources and Makefile in ${WORKDIR} |
104 |
cp -a "${MY_P/-OSE/_OSE}"/src/VBox/Additions/linux/drm \ |
105 |
"${WORKDIR}/vboxvideo_drm" |
106 |
cp "${FILESDIR}/${PN}-3-vboxvideo_drm.makefile" \ |
107 |
"${WORKDIR}/vboxvideo_drm/Makefile" |
108 |
} |
109 |
|
110 |
src_prepare() { |
111 |
# Remove shipped binaries (kBuild,yasm), see bug #232775 |
112 |
rm -rf kBuild/bin tools |
113 |
|
114 |
# Disable things unused or splitted into separate ebuilds |
115 |
cp "${FILESDIR}/${PN}-2-localconfig" LocalConfig.kmk |
116 |
|
117 |
# Ugly hack to build the opengl part of the video driver |
118 |
epatch "${FILESDIR}/${PN}-2.2.0-enable-opengl.patch" |
119 |
|
120 |
# unset useless/problematic mesa checks in configure |
121 |
epatch "${FILESDIR}/${PN}-3.0.0-mesa-check.patch" |
122 |
} |
123 |
|
124 |
src_configure() { |
125 |
# build the user-space tools, warnings are harmless |
126 |
./configure --nofatal \ |
127 |
--disable-xpcom \ |
128 |
--disable-sdl-ttf \ |
129 |
--disable-pulse \ |
130 |
--disable-alsa \ |
131 |
--build-headless || die "configure failed" |
132 |
source ./env.sh |
133 |
} |
134 |
|
135 |
src_compile() { |
136 |
if use dri; then |
137 |
linux-mod_src_compile |
138 |
fi |
139 |
|
140 |
for each in /src/VBox/{Runtime,Additions/common/VBoxGuestLib} \ |
141 |
/src/VBox/{GuestHost/OpenGL,Additions/x11/x11stubs,Additions/common/crOpenGL} \ |
142 |
/src/VBox/Additions/x11/vboxvideo ; do |
143 |
cd "${S}"${each} |
144 |
MAKE="kmk" emake TOOL_YASM_AS=yasm \ |
145 |
KBUILD_PATH="${S}/kBuild" \ |
146 |
|| die "kmk failed" |
147 |
done |
148 |
} |
149 |
|
150 |
src_install() { |
151 |
if use dri; then |
152 |
linux-mod_src_install |
153 |
fi |
154 |
|
155 |
cd "${S}/out/linux.${ARCH}/release/bin/additions" |
156 |
insinto /usr/$(get_libdir)/xorg/modules/drivers |
157 |
|
158 |
# xorg-server-1.6.x |
159 |
if has_version ">=x11-base/xorg-server-1.6" ; then |
160 |
newins vboxvideo_drv_16.so vboxvideo_drv.so |
161 |
# xorg-server-1.5.x |
162 |
else |
163 |
newins vboxvideo_drv_15.so vboxvideo_drv.so |
164 |
fi |
165 |
|
166 |
# Guest OpenGL driver |
167 |
insinto /usr/$(get_libdir) |
168 |
doins -r VBoxOGL* || die |
169 |
|
170 |
if use dri ; then |
171 |
dosym /usr/$(get_libdir)/VBoxOGL.so /usr/$(get_libdir)/dri/vboxvideo_dri.so |
172 |
fi |
173 |
} |
174 |
|
175 |
pkg_postinst() { |
176 |
elog "You need to edit the file /etc/X11/xorg.conf and set:" |
177 |
elog "" |
178 |
elog " Driver \"vboxvideo\"" |
179 |
elog "" |
180 |
elog "in the Graphics device section (Section \"Device\")" |
181 |
elog "" |
182 |
if use dri; then |
183 |
elog "To use the kernel drm video driver, please add:" |
184 |
elog "\"vboxvideo\" to:" |
185 |
if has_version sys-apps/openrc; then |
186 |
elog "/etc/conf.d/modules" |
187 |
else |
188 |
elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}" |
189 |
fi |
190 |
elog "" |
191 |
fi |
192 |
} |