1 |
ikelos 09/04/06 21:24:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: vmware-workstation-6.5.2.156735.ebuild |
5 |
Log: |
6 |
Version bump vmware-workstation to 6.5.2.156735. |
7 |
(Portage version: 2.2_rc28/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.199 app-emulation/vmware-workstation/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/ChangeLog?rev=1.199&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/ChangeLog?rev=1.199&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/ChangeLog?r1=1.198&r2=1.199 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/ChangeLog,v |
19 |
retrieving revision 1.198 |
20 |
retrieving revision 1.199 |
21 |
diff -u -r1.198 -r1.199 |
22 |
--- ChangeLog 25 Mar 2009 10:14:37 -0000 1.198 |
23 |
+++ ChangeLog 6 Apr 2009 21:24:11 -0000 1.199 |
24 |
@@ -1,6 +1,17 @@ |
25 |
# ChangeLog for app-emulation/vmware-workstation |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/ChangeLog,v 1.198 2009/03/25 10:14:37 ikelos Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/ChangeLog,v 1.199 2009/04/06 21:24:11 ikelos Exp $ |
29 |
+ |
30 |
+*vmware-workstation-6.5.2.156735 (06 Apr 2009) |
31 |
+ |
32 |
+ 06 Apr 2009; Mike Auty <ikelos@g.o> |
33 |
+ +files/6.5.2.156735/vmware-player.py.patch, |
34 |
+ +files/6.5.2.156735/vmware-vix.py.patch, |
35 |
+ +files/vmware-workstation-6.5.2.156735-installer.patch, |
36 |
+ +files/6.5.2.156735/vmware-player-extras.py.patch, |
37 |
+ +files/6.5.2.156735/vmware-workstation.py.patch, |
38 |
+ +vmware-workstation-6.5.2.156735.ebuild: |
39 |
+ Version bump vmware-workstation to 6.5.2.156735. |
40 |
|
41 |
25 Mar 2009; Mike Auty <ikelos@g.o> |
42 |
vmware-workstation-6.5.1.126130.ebuild: |
43 |
|
44 |
|
45 |
|
46 |
1.1 app-emulation/vmware-workstation/vmware-workstation-6.5.2.156735.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/vmware-workstation-6.5.2.156735.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/vmware-workstation-6.5.2.156735.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: vmware-workstation-6.5.2.156735.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2009 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/vmware-workstation-6.5.2.156735.ebuild,v 1.1 2009/04/06 21:24:11 ikelos Exp $ |
56 |
|
57 |
inherit eutils versionator fdo-mime gnome2-utils |
58 |
|
59 |
MY_PN="VMware-Workstation-$(replace_version_separator 3 - $PV)" |
60 |
|
61 |
DESCRIPTION="Emulate a complete PC on your PC without the usual performance overhead of most emulators" |
62 |
HOMEPAGE="http://www.vmware.com/products/desktop/ws_features.html" |
63 |
SRC_URI=" |
64 |
x86? ( |
65 |
mirror://vmware/software/wkst/${MY_PN}.i386.bundle |
66 |
http://download.softpedia.ro/linux/${MY_PN}.i386.bundle ) |
67 |
amd64? ( |
68 |
mirror://vmware/software/wkst/${MY_PN}.x86_64.bundle |
69 |
http://download.softpedia.ro/linux/${MY_PN}.x86_64.bundle ) |
70 |
" |
71 |
|
72 |
LICENSE="vmware" |
73 |
SLOT="0" |
74 |
KEYWORDS="-* ~x86 ~amd64" |
75 |
IUSE="" |
76 |
RESTRICT="strip fetch binchecks" |
77 |
PROPERTIES="interactive" |
78 |
|
79 |
# vmware-workstation should not use virtual/libc as this is a |
80 |
# precompiled binary package thats linked to glibc. |
81 |
DEPEND=">=dev-lang/python-2.5 |
82 |
dev-python/lxml" |
83 |
RDEPEND="sys-libs/glibc |
84 |
x11-libs/libXrandr |
85 |
x11-libs/libXcursor |
86 |
x11-libs/libXinerama |
87 |
x11-libs/libXi |
88 |
x11-libs/libXft |
89 |
>=x11-libs/libview-0.6.2 |
90 |
dev-cpp/libsexymm |
91 |
dev-cpp/cairomm |
92 |
dev-cpp/libgnomecanvasmm |
93 |
!app-emulation/vmware-player |
94 |
!app-emulation/vmware-server |
95 |
~app-emulation/vmware-modules-1.0.0.23 |
96 |
!<app-emulation/vmware-modules-1.0.0.23 |
97 |
!>=app-emulation/vmware-modules-1.0.0.24 |
98 |
sys-fs/fuse |
99 |
sys-apps/pciutils" |
100 |
|
101 |
S=${WORKDIR}/vmware-distrib |
102 |
VM_INSTALL_DIR="/opt/vmware/workstation" |
103 |
|
104 |
pkg_setup() { |
105 |
if use x86; then |
106 |
MY_P="${MY_PN}.i386" |
107 |
elif use amd64; then |
108 |
MY_P="${MY_PN}.x86_64" |
109 |
fi |
110 |
|
111 |
if ! built_with_use -a '>=dev-lang/python-2.5' sqlite ncurses; then |
112 |
eerror "You need to build dev-lang/python with \"sqlite ncurses\" USE flags!" |
113 |
die "Please rebuild dev-lang/python with sqlite and ncurses USE flags!" |
114 |
fi |
115 |
|
116 |
if [ "$(python -c "import curses; curses.setupterm(); print curses.tigetstr('hpa')")" == "None" ]; then |
117 |
die "Please emerge this package using a different terminal (e.g. not within screen)." |
118 |
fi |
119 |
} |
120 |
|
121 |
pkg_nofetch() { |
122 |
if use x86; then |
123 |
MY_P="${MY_PN}.i386" |
124 |
elif use amd64; then |
125 |
MY_P="${MY_PN}.x86_64" |
126 |
fi |
127 |
|
128 |
einfo "Please download the ${MY_P}.bundle from ${HOMEPAGE}" |
129 |
} |
130 |
|
131 |
src_unpack() { |
132 |
# Unbundle the bundle |
133 |
cp "${FILESDIR}"/helpers/* "${WORKDIR}" |
134 |
chmod a+x "${WORKDIR}"/*.sh |
135 |
"${WORKDIR}"/unbundler.sh "${DISTDIR}/${MY_P}".bundle |
136 |
|
137 |
# Patch up the installer |
138 |
epatch "${FILESDIR}/${P}-installer.patch" |
139 |
|
140 |
mkdir "${WORKDIR}/vmware-confdir" |
141 |
} |
142 |
|
143 |
src_install() { |
144 |
dodir /etc/init.d |
145 |
|
146 |
#Run the installer |
147 |
local INSTALLER="${WORKDIR}/payload/install/vmware-installer" |
148 |
local PYOPTS="-W ignore::DeprecationWarning" |
149 |
export VMWARE_SKIP_NETWORKING="true" |
150 |
python ${PYOPTS} "${INSTALLER}/vmware-installer.py" \ |
151 |
--set-setting vmware-installer.libconf "${INSTALLER}/lib/libconf" \ |
152 |
--set-setting initdir "${T}" \ |
153 |
--set-setting initscriptdir "${D}/etc/init.d" \ |
154 |
--set-setting prefix "${D}${VM_INSTALL_DIR}" \ |
155 |
--set-setting sysconfdir "${D}/etc" \ |
156 |
--install-component "${INSTALLER}" \ |
157 |
--install-bundle "${DISTDIR}/${MY_P}.bundle" \ |
158 |
--console --required |
159 |
|
160 |
rm -fr "${D}${VM_INSTALL_DIR}/lib/vmware/modules/binary" |
161 |
|
162 |
if [ ! -e "${WORKDIR}"/vmware-confdir/bootstrap ]; then |
163 |
eerror "VMware installation seems to have rolled back." |
164 |
eerror "Please include the contents of ${WORKDIR}/vmware-installer.log" |
165 |
eerror "in any bug reports you file." |
166 |
die "VMware installation rolled back." |
167 |
fi |
168 |
|
169 |
# Redirect all the ${D} paths to / paths" |
170 |
sed -i -e "s:${D}::" "${WORKDIR}"/vmware-confdir/bootstrap |
171 |
|
172 |
# Fix up icons/mime/desktop handlers |
173 |
dodir /usr/share/ |
174 |
mv "${D}${VM_INSTALL_DIR}"/share/applications "${D}"/usr/share/ |
175 |
rm -f "${D}${VM_INSTALL_DIR}"/share/icons/hicolor/{icon-theme.cache,index.theme} |
176 |
mv "${D}${VM_INSTALL_DIR}"/share/icons "${D}"/usr/share/ |
177 |
dodir /usr/share/mime |
178 |
mv "${D}${VM_INSTALL_DIR}"/share/mime/packages "${D}"/usr/share/mime |
179 |
sed -i -e "s:${D}::" "${D}"/usr/share/applications/*.desktop |
180 |
|
181 |
# Copy across the temporary /etc/vmware directory |
182 |
dodir /etc/vmware/init.d |
183 |
cp -r "${WORKDIR}"/vmware-confdir/* "${D}/etc/vmware" |
184 |
mv "${D}"/etc/init.d/* "${D}/etc/vmware/init.d" |
185 |
newinitd "${FILESDIR}/${PN}"-6.5.rc vmware |
186 |
touch "${D}"/etc/vmware/networking |
187 |
|
188 |
# Setup the path environment |
189 |
insinto /etc/env.d |
190 |
doins "${FILESDIR}/90${PN}" |
191 |
|
192 |
# Fix some paths to allow included gtk to work |
193 |
for i in "/etc/pango/pangorc" \ |
194 |
"/etc/pango/pango.modules" \ |
195 |
"/etc/gtk-2.0/gtk.immodules" \ |
196 |
"/etc/gtk-2.0/gdk-pixbuf.loaders" ; do |
197 |
sed -i -e "s:${D}::" "${D}${VM_INSTALL_DIR}"/lib/vmware/libconf${i} ; |
198 |
sed -i -e "s:${D}::" "${D}${VM_INSTALL_DIR}"/lib/vmware/installer/lib/libconf${i} ; |
199 |
done |
200 |
|
201 |
# No idea why this happens, but it seems to happen all the time |
202 |
ewarn "The following installation segment takes a *very* long time." |
203 |
ewarn "Please be patient." |
204 |
} |
205 |
|
206 |
pkg_config() { |
207 |
${VM_INSTALL_DIR}/bin/vmware-networks --postinstall ${PN},old,new |
208 |
} |
209 |
|
210 |
pkg_preinst() { |
211 |
gnome2_icon_savelist |
212 |
} |
213 |
|
214 |
pkg_postinst() { |
215 |
fdo-mime_desktop_database_update |
216 |
gnome2_icon_cache_update |
217 |
|
218 |
ewarn "Before you can use vmware-player, you must configure a default |
219 |
network setup." |
220 |
ewarn "You can do this by running 'emerge --config ${PN}'." |
221 |
} |
222 |
|
223 |
pkg_postrm() { |
224 |
fdo-mime_desktop_database_update |
225 |
gnome2_icon_cache_update |
226 |
} |