1 |
patrick 09/03/03 07:22:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xf86-video-virtualbox-2.1.4.ebuild |
5 |
Log: |
6 |
Bump to 2.1.4. Small fix for upstream typo. |
7 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.8 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.8&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog?rev=1.8&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog?r1=1.7&r2=1.8 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v |
19 |
retrieving revision 1.7 |
20 |
retrieving revision 1.8 |
21 |
diff -u -r1.7 -r1.8 |
22 |
--- ChangeLog 18 Dec 2008 12:12:00 -0000 1.7 |
23 |
+++ ChangeLog 3 Mar 2009 07:22:23 -0000 1.8 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for x11-drivers/xf86-video-virtualbox |
26 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.7 2008/12/18 12:12:00 flameeyes Exp $ |
28 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.8 2009/03/03 07:22:23 patrick Exp $ |
30 |
+ |
31 |
+*xf86-video-virtualbox-2.1.4 (03 Mar 2009) |
32 |
+ |
33 |
+ 03 Mar 2009; Patrick Lauer <patrick@g.o> |
34 |
+ +xf86-video-virtualbox-2.1.4.ebuild: |
35 |
+ Bump to 2.1.4. Small fix for upstream typo. |
36 |
|
37 |
*xf86-video-virtualbox-2.0.6 (18 Dec 2008) |
38 |
*xf86-video-virtualbox-2.0.4-r1 (18 Dec 2008) |
39 |
|
40 |
|
41 |
|
42 |
1.1 x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-2.1.4.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-2.1.4.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-2.1.4.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: xf86-video-virtualbox-2.1.4.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-2.1.4.ebuild,v 1.1 2009/03/03 07:22:23 patrick Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
|
55 |
inherit x-modular eutils |
56 |
|
57 |
MY_P=VirtualBox-${PV}-OSE |
58 |
DESCRIPTION="VirtualBox video driver" |
59 |
HOMEPAGE="http://www.virtualbox.org/" |
60 |
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="" |
66 |
|
67 |
RDEPEND="x11-base/xorg-server" |
68 |
DEPEND="${RDEPEND} |
69 |
>=dev-util/kbuild-0.1.5 |
70 |
>=dev-lang/yasm-0.6.2 |
71 |
sys-devel/dev86 |
72 |
sys-power/iasl |
73 |
x11-proto/fontsproto |
74 |
x11-proto/randrproto |
75 |
x11-proto/renderproto |
76 |
x11-proto/xextproto |
77 |
x11-proto/xineramaproto |
78 |
x11-proto/xproto" |
79 |
|
80 |
S=${WORKDIR}/${MY_P/-OSE/_OSE} |
81 |
|
82 |
src_prepare() { |
83 |
# Remove shipped binaries (kBuild,yasm), see bug #232775 |
84 |
rm -rf kBuild/bin tools |
85 |
|
86 |
# Disable things unused or splitted into separate ebuilds |
87 |
cp "${FILESDIR}/${PN}-2-localconfig" LocalConfig.kmk |
88 |
|
89 |
# Fix an upstream typo in Config.kmk |
90 |
sed -i \ |
91 |
-e "2511d" Config.kmk || die "Config.kmk sed failed" |
92 |
} |
93 |
|
94 |
src_configure() { |
95 |
# build the user-space tools, warnings are harmless |
96 |
./configure --nofatal \ |
97 |
--disable-xpcom \ |
98 |
--disable-sdl-ttf \ |
99 |
--disable-pulse \ |
100 |
--disable-alsa \ |
101 |
--build-headless || die "configure failed" |
102 |
source ./env.sh |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
for each in /src/VBox/{Runtime,Additions/common/VBoxGuestLib} \ |
107 |
/src/VBox/Additions/x11/xgraphics ; do |
108 |
cd "${S}"${each} |
109 |
MAKE="kmk" emake TOOL_YASM_AS=yasm \ |
110 |
KBUILD_PATH="${S}/kBuild" \ |
111 |
|| die "kmk failed" |
112 |
done |
113 |
} |
114 |
|
115 |
src_install() { |
116 |
cd "${S}/out/linux.${ARCH}/release/bin/additions" |
117 |
insinto /usr/lib/xorg/modules/drivers |
118 |
|
119 |
if has_version ">=x11-base/xorg-server-1.5" ; then |
120 |
newins vboxvideo_drv_15.so vboxvideo_drv.so |
121 |
elif has_version ">=x11-base/xorg-server-1.4" \ |
122 |
&& has_version "<x11-base/xorg-server-1.5" ; then |
123 |
newins vboxvideo_drv_14.so vboxvideo_drv.so |
124 |
else |
125 |
newins vboxvideo_drv_13.so vboxvideo_drv.so |
126 |
fi |
127 |
} |
128 |
|
129 |
pkg_postinst() { |
130 |
elog "You need to edit the file /etc/X11/xorg.conf and set:" |
131 |
elog "" |
132 |
elog " Driver \"vboxvideo\"" |
133 |
elog "" |
134 |
elog "in the Graphics device section (Section \"Device\")" |
135 |
elog "" |
136 |
} |