1 |
polynomial-c 12/04/05 07:45:44 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xf86-video-virtualbox-4.1.12.ebuild |
5 |
Removed: xf86-video-virtualbox-4.1.6-r1.ebuild |
6 |
Log: |
7 |
Version bump (bug #410811). Removed old |
8 |
|
9 |
(Portage version: 2.2.0_alpha99/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.87 x11-drivers/xf86-video-virtualbox/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog?rev=1.87&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog?rev=1.87&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog?r1=1.86&r2=1.87 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v |
21 |
retrieving revision 1.86 |
22 |
retrieving revision 1.87 |
23 |
diff -u -r1.86 -r1.87 |
24 |
--- ChangeLog 18 Mar 2012 18:50:42 -0000 1.86 |
25 |
+++ ChangeLog 5 Apr 2012 07:45:44 -0000 1.87 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for x11-drivers/xf86-video-virtualbox |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.86 2012/03/18 18:50:42 pacho Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.87 2012/04/05 07:45:44 polynomial-c Exp $ |
31 |
+ |
32 |
+*xf86-video-virtualbox-4.1.12 (05 Apr 2012) |
33 |
+ |
34 |
+ 05 Apr 2012; Lars Wendler <polynomial-c@g.o> |
35 |
+ -xf86-video-virtualbox-4.1.6-r1.ebuild, +xf86-video-virtualbox-4.1.12.ebuild: |
36 |
+ Version bump (bug #410811). Removed old. |
37 |
|
38 |
18 Mar 2012; Pacho Ramos <pacho@g.o> metadata.xml: |
39 |
Drop maintainer due retirement, bug #118003. |
40 |
|
41 |
|
42 |
|
43 |
1.1 x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.1.12.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.1.12.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.1.12.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: xf86-video-virtualbox-4.1.12.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.1.12.ebuild,v 1.1 2012/04/05 07:45:44 polynomial-c Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
|
56 |
inherit eutils linux-mod multilib python versionator toolchain-funcs |
57 |
|
58 |
MY_P=VirtualBox-${PV} |
59 |
DESCRIPTION="VirtualBox video driver" |
60 |
HOMEPAGE="http://www.virtualbox.org/" |
61 |
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="dri" |
67 |
|
68 |
RDEPEND="x11-base/xorg-server[-minimal] |
69 |
x11-libs/libXcomposite" |
70 |
DEPEND="${RDEPEND} |
71 |
>=dev-util/kbuild-0.1.999 |
72 |
=dev-lang/python-2* |
73 |
>=dev-lang/yasm-0.6.2 |
74 |
sys-devel/dev86 |
75 |
sys-power/iasl |
76 |
x11-proto/fontsproto |
77 |
x11-proto/randrproto |
78 |
x11-proto/renderproto |
79 |
x11-proto/xextproto |
80 |
x11-proto/xineramaproto |
81 |
x11-proto/xproto |
82 |
x11-libs/libXdmcp |
83 |
x11-libs/libXau |
84 |
x11-libs/libX11 |
85 |
x11-libs/libXfixes |
86 |
x11-libs/libXext |
87 |
dri? ( x11-proto/xf86driproto |
88 |
>=x11-libs/libdrm-2.4.5 )" |
89 |
|
90 |
BUILD_TARGETS="all" |
91 |
BUILD_TARGET_ARCH="${ARCH}" |
92 |
MODULE_NAMES="vboxvideo(misc:${WORKDIR}/vboxvideo_drm:${WORKDIR}/vboxvideo_drm)" |
93 |
|
94 |
S="${WORKDIR}/${MY_P}" |
95 |
|
96 |
QA_TEXTRELS_x86="usr/lib/VBoxOGL.so" |
97 |
|
98 |
pkg_setup() { |
99 |
linux-mod_pkg_setup |
100 |
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" |
101 |
|
102 |
python_set_active_version 2 |
103 |
python_pkg_setup |
104 |
} |
105 |
|
106 |
src_prepare() { |
107 |
# Prepare the vboxvideo_drm sources and Makefile in ${WORKDIR} |
108 |
cp -a "${S}"/src/VBox/Additions/linux/drm \ |
109 |
"${WORKDIR}/vboxvideo_drm" || die "cannot copy vboxvideo_drm directory" |
110 |
cp "${FILESDIR}/${PN}-3-vboxvideo_drm.makefile" \ |
111 |
"${WORKDIR}/vboxvideo_drm/Makefile" || die "cannot copy vboxvideo_drm Makefile" |
112 |
|
113 |
# stupid new header references... |
114 |
for vboxheader in {product,version}-generated.h ; do |
115 |
ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \ |
116 |
"${WORKDIR}/vboxvideo_drm/${vboxheader}" |
117 |
done |
118 |
|
119 |
# Remove shipped binaries (kBuild,yasm), see bug #232775 |
120 |
rm -rf kBuild/bin tools |
121 |
|
122 |
# Disable things unused or splitted into separate ebuilds |
123 |
cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk |
124 |
|
125 |
# Ugly hack to build the opengl part of the video driver |
126 |
epatch "${FILESDIR}/${PN}-2.2.0-enable-opengl.patch" |
127 |
|
128 |
# unset useless/problematic checks in configure |
129 |
epatch "${FILESDIR}/${PN}-3.2.8-mesa-check.patch" \ |
130 |
"${FILESDIR}/${PN}-4-makeself-check.patch" \ |
131 |
"${FILESDIR}/${PN}-4-mkisofs-check.patch" |
132 |
|
133 |
# Patch to link with lazy on hardened #394757 |
134 |
if gcc-specs-now ; then |
135 |
epatch "${FILESDIR}/${PN}-link-lazy.patch" |
136 |
fi |
137 |
} |
138 |
|
139 |
src_configure() { |
140 |
# build the user-space tools, warnings are harmless |
141 |
./configure --nofatal \ |
142 |
--disable-xpcom \ |
143 |
--disable-sdl-ttf \ |
144 |
--disable-pulse \ |
145 |
--disable-alsa \ |
146 |
--build-headless || die "configure failed" |
147 |
source ./env.sh |
148 |
} |
149 |
|
150 |
src_compile() { |
151 |
for each in /src/VBox/{Runtime,Additions/common/VBoxGuestLib} \ |
152 |
/src/VBox/{GuestHost/OpenGL,Additions/x11/x11stubs,Additions/common/crOpenGL} \ |
153 |
/src/VBox/Additions/x11/vboxvideo ; do |
154 |
cd "${S}"${each} |
155 |
MAKE="kmk" emake TOOL_YASM_AS=yasm \ |
156 |
KBUILD_PATH="${S}/kBuild" \ |
157 |
|| die "kmk failed" |
158 |
done |
159 |
|
160 |
if use dri; then |
161 |
# Now creating the kernel modules. We must do this _after_ |
162 |
# we compiled the user-space tools as we need two of the |
163 |
# automatically generated header files. (>=3.2.0) |
164 |
linux-mod_src_compile |
165 |
fi |
166 |
} |
167 |
|
168 |
src_install() { |
169 |
if use dri; then |
170 |
linux-mod_src_install |
171 |
fi |
172 |
|
173 |
cd "${S}/out/linux.${ARCH}/release/bin/additions" |
174 |
insinto /usr/$(get_libdir)/xorg/modules/drivers |
175 |
|
176 |
# xorg-server-1.12.x |
177 |
if has_version ">=x11-base/xorg-server-1.12" ; then |
178 |
newins vboxvideo_drv_112.so vboxvideo_drv.so |
179 |
# xorg-server-1.11.x |
180 |
elif has_version ">=x11-base/xorg-server-1.11" ; then |
181 |
newins vboxvideo_drv_111.so vboxvideo_drv.so |
182 |
# xorg-server-1.10.x |
183 |
elif has_version ">=x11-base/xorg-server-1.10" ; then |
184 |
newins vboxvideo_drv_110.so vboxvideo_drv.so |
185 |
# xorg-server-1.9.x |
186 |
else |
187 |
newins vboxvideo_drv_19.so vboxvideo_drv.so |
188 |
fi |
189 |
|
190 |
# Guest OpenGL driver |
191 |
insinto /usr/$(get_libdir) |
192 |
doins -r VBoxOGL* || die |
193 |
|
194 |
if use dri ; then |
195 |
dosym /usr/$(get_libdir)/VBoxOGL.so /usr/$(get_libdir)/dri/vboxvideo_dri.so |
196 |
fi |
197 |
} |
198 |
|
199 |
pkg_postinst() { |
200 |
elog "You need to edit the file /etc/X11/xorg.conf and set:" |
201 |
elog "" |
202 |
elog " Driver \"vboxvideo\"" |
203 |
elog "" |
204 |
elog "in the Graphics device section (Section \"Device\")" |
205 |
elog "" |
206 |
if use dri; then |
207 |
elog "To use the kernel drm video driver, please add:" |
208 |
elog "\"vboxvideo\" to:" |
209 |
if has_version sys-apps/openrc; then |
210 |
elog "/etc/conf.d/modules" |
211 |
else |
212 |
elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}" |
213 |
fi |
214 |
elog "" |
215 |
fi |
216 |
} |