1 |
ikelos 08/12/31 01:57:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: vmware-workstation-6.5.1.126130.ebuild |
5 |
Log: |
6 |
Version bump vmware-workstation to 6.5.1. |
7 |
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.189 app-emulation/vmware-workstation/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/ChangeLog?rev=1.189&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/ChangeLog?rev=1.189&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/ChangeLog?r1=1.188&r2=1.189 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/ChangeLog,v |
19 |
retrieving revision 1.188 |
20 |
retrieving revision 1.189 |
21 |
diff -u -r1.188 -r1.189 |
22 |
--- ChangeLog 27 Nov 2008 23:45:49 -0000 1.188 |
23 |
+++ ChangeLog 31 Dec 2008 01:57:52 -0000 1.189 |
24 |
@@ -1,6 +1,17 @@ |
25 |
# ChangeLog for app-emulation/vmware-workstation |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/ChangeLog,v 1.188 2008/11/27 23:45:49 ikelos Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/ChangeLog,v 1.189 2008/12/31 01:57:52 ikelos Exp $ |
29 |
+ |
30 |
+*vmware-workstation-6.5.1.126130 (31 Dec 2008) |
31 |
+ |
32 |
+ 31 Dec 2008; Mike Auty <ikelos@g.o> |
33 |
+ +files/6.5.1.126130/vmware-player.py.patch, |
34 |
+ +files/6.5.1.126130/vmware-vix.py.patch, |
35 |
+ +files/vmware-workstation-6.5.1.126130-installer.patch, |
36 |
+ +files/6.5.1.126130/vmware-player-extras.py.patch, |
37 |
+ +files/6.5.1.126130/vmware-workstation.py.patch, |
38 |
+ +vmware-workstation-6.5.1.126130.ebuild: |
39 |
+ Version bump vmware-workstation to 6.5.1. |
40 |
|
41 |
27 Nov 2008; Mike Auty <ikelos@g.o> files/helpers/vmware-config.sh: |
42 |
Fix up vmware-config.sh helper (bug 246854). |
43 |
|
44 |
|
45 |
|
46 |
1.1 app-emulation/vmware-workstation/vmware-workstation-6.5.1.126130.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/vmware-workstation-6.5.1.126130.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/vmware-workstation-6.5.1.126130.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: vmware-workstation-6.5.1.126130.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2008 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.1.126130.ebuild,v 1.1 2008/12/31 01:57:52 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/libview |
89 |
dev-cpp/libsexymm |
90 |
dev-cpp/cairomm |
91 |
dev-cpp/libgnomecanvasmm |
92 |
virtual/xft |
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-apps/pciutils" |
99 |
|
100 |
S=${WORKDIR}/vmware-distrib |
101 |
VM_INSTALL_DIR="/opt/vmware/workstation" |
102 |
|
103 |
pkg_setup() { |
104 |
if use x86; then |
105 |
MY_P="${MY_PN}.i386" |
106 |
elif use amd64; then |
107 |
MY_P="${MY_PN}.x86_64" |
108 |
fi |
109 |
|
110 |
if ! built_with_use ">=dev-cpp/gtkmm-2.4" accessibility ; then |
111 |
eerror "Rebuild dev-cpp/gtkmm with USE=\"accessibility\"" |
112 |
die "VMware workstation only works with gtkmm built with USE=\"accessibility\"." |
113 |
fi |
114 |
|
115 |
if ! built_with_use -a '>=dev-lang/python-2.5' sqlite ncurses; then |
116 |
eerror "You need to build dev-lang/python with \"sqlite ncurses\" USE flags!" |
117 |
die "Please rebuild dev-lang/python with sqlite and ncurses USE flags!" |
118 |
fi |
119 |
|
120 |
if [ "$(python -c "import curses; curses.setupterm(); print curses.tigetstr('hpa')")" == "None" ]; then |
121 |
die "Please emerge this package using a different terminal (e.g. not within screen)." |
122 |
fi |
123 |
} |
124 |
|
125 |
pkg_nofetch() { |
126 |
if use x86; then |
127 |
MY_P="${MY_PN}.i386" |
128 |
elif use amd64; then |
129 |
MY_P="${MY_PN}.x86_64" |
130 |
fi |
131 |
|
132 |
einfo "Please download the ${MY_P}.bundle from ${HOMEPAGE}" |
133 |
} |
134 |
|
135 |
src_unpack() { |
136 |
# Unbundle the bundle |
137 |
cp "${FILESDIR}"/helpers/* "${WORKDIR}" |
138 |
chmod a+x "${WORKDIR}"/*.sh |
139 |
"${WORKDIR}"/unbundler.sh "${DISTDIR}/${MY_P}".bundle |
140 |
|
141 |
# Patch up the installer |
142 |
epatch "${FILESDIR}/${P}-installer.patch" |
143 |
|
144 |
mkdir "${WORKDIR}/vmware-confdir" |
145 |
} |
146 |
|
147 |
src_install() { |
148 |
dodir /etc/init.d |
149 |
|
150 |
#Run the installer |
151 |
local INSTALLER="${WORKDIR}/payload/install/vmware-installer" |
152 |
local PYOPTS="-W ignore::DeprecationWarning" |
153 |
export VMWARE_SKIP_NETWORKING="true" |
154 |
python ${PYOPTS} "${INSTALLER}/vmware-installer.py" \ |
155 |
--set-setting vmware-installer.libconf "${INSTALLER}/lib/libconf" \ |
156 |
--set-setting initdir "${T}" \ |
157 |
--set-setting initscriptdir "${D}/etc/init.d" \ |
158 |
--set-setting prefix "${D}${VM_INSTALL_DIR}" \ |
159 |
--set-setting sysconfdir "${D}/etc" \ |
160 |
--install-component "${INSTALLER}" \ |
161 |
--install-bundle "${DISTDIR}/${MY_P}.bundle" \ |
162 |
--console --required |
163 |
|
164 |
rm -fr "${D}${VM_INSTALL_DIR}/lib/vmware/modules/binary" |
165 |
|
166 |
if [ ! -e "${WORKDIR}"/vmware-confdir/bootstrap ]; then |
167 |
eerror "VMware installation seems to have rolled back." |
168 |
eerror "Please include the contents of ${WORKDIR}/vmware-installer.log" |
169 |
eerror "in any bug reports you file." |
170 |
die "VMware installation rolled back." |
171 |
fi |
172 |
|
173 |
# Redirect all the ${D} paths to / paths" |
174 |
sed -i -e "s:${D}::" "${WORKDIR}"/vmware-confdir/bootstrap |
175 |
|
176 |
# Fix up icons/mime/desktop handlers |
177 |
dodir /usr/share/ |
178 |
mv "${D}${VM_INSTALL_DIR}"/share/applications "${D}"/usr/share/ |
179 |
rm -f "${D}${VM_INSTALL_DIR}"/share/icons/hicolor/{icon-theme.cache,index.theme} |
180 |
mv "${D}${VM_INSTALL_DIR}"/share/icons "${D}"/usr/share/ |
181 |
dodir /usr/share/mime |
182 |
mv "${D}${VM_INSTALL_DIR}"/share/mime/packages "${D}"/usr/share/mime |
183 |
sed -i -e "s:${D}::" "${D}"/usr/share/applications/*.desktop |
184 |
|
185 |
# Copy across the temporary /etc/vmware directory |
186 |
dodir /etc/vmware/init.d |
187 |
cp -r "${WORKDIR}"/vmware-confdir/* "${D}/etc/vmware" |
188 |
mv "${D}"/etc/init.d/* "${D}/etc/vmware/init.d" |
189 |
newinitd "${FILESDIR}/${PN}"-6.5.rc vmware |
190 |
touch "${D}"/etc/vmware/networking |
191 |
|
192 |
# Setup the path environment |
193 |
insinto /etc/env.d |
194 |
doins "${FILESDIR}/90${PN}" |
195 |
|
196 |
# Fix some paths to allow included gtk to work |
197 |
for i in "/etc/pango/pangorc" \ |
198 |
"/etc/pango/pango.modules" \ |
199 |
"/etc/gtk-2.0/gtk.immodules" \ |
200 |
"/etc/gtk-2.0/gdk-pixbuf.loaders" ; do |
201 |
sed -i -e "s:${D}::" "${D}${VM_INSTALL_DIR}"/lib/vmware/libconf${i} ; |
202 |
sed -i -e "s:${D}::" "${D}${VM_INSTALL_DIR}"/lib/vmware/installer/lib/libconf${i} ; |
203 |
done |
204 |
|
205 |
# No idea why this happens, but it seems to happen all the time |
206 |
ewarn "The following installation segment takes a *very* long time." |
207 |
ewarn "Please be patient." |
208 |
} |
209 |
|
210 |
pkg_config() { |
211 |
${VM_INSTALL_DIR}/bin/vmware-networks --postinstall ${PN},old,new |
212 |
} |
213 |
|
214 |
pkg_preinst() { |
215 |
gnome2_icon_savelist |
216 |
} |
217 |
|
218 |
pkg_postinst() { |
219 |
fdo-mime_desktop_database_update |
220 |
gnome2_icon_cache_update |
221 |
|
222 |
ewarn "Before you can use vmware-player, you must configure a default |
223 |
network setup." |
224 |
ewarn "You can do this by running 'emerge --config ${PN}'." |
225 |
} |
226 |
|
227 |
pkg_postrm() { |
228 |
fdo-mime_desktop_database_update |
229 |
gnome2_icon_cache_update |
230 |
} |