summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2009-04-06 21:30:45 +0000
committerMike Auty <ikelos@gentoo.org>2009-04-06 21:30:45 +0000
commite9c68d051df5cb528024cb182b8797c1dc038e71 (patch)
treec3eb3ad1d9a40968bf4567e8ad9485e602ad7c7a /app-emulation
parentVersion bump vmware-workstation to 6.5.2.156735. (diff)
downloadhistorical-e9c68d051df5cb528024cb182b8797c1dc038e71.tar.gz
historical-e9c68d051df5cb528024cb182b8797c1dc038e71.tar.bz2
historical-e9c68d051df5cb528024cb182b8797c1dc038e71.zip
Version bump vmware-player-2.5.2-156735.
Package-Manager: portage-2.2_rc28/cvs/Linux i686
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/vmware-player/ChangeLog11
-rw-r--r--app-emulation/vmware-player/Manifest14
-rw-r--r--app-emulation/vmware-player/files/vmware-player-2.5.2.156735-installer.patch64
-rw-r--r--app-emulation/vmware-player/vmware-player-2.5.2.156735.ebuild172
4 files changed, 256 insertions, 5 deletions
diff --git a/app-emulation/vmware-player/ChangeLog b/app-emulation/vmware-player/ChangeLog
index c721bfdf6782..6f458d33b518 100644
--- a/app-emulation/vmware-player/ChangeLog
+++ b/app-emulation/vmware-player/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for app-emulation/vmware-player
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-player/ChangeLog,v 1.71 2009/03/25 10:18:52 ikelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-player/ChangeLog,v 1.72 2009/04/06 21:30:44 ikelos Exp $
+
+*vmware-player-2.5.2.156735 (06 Apr 2009)
+
+ 06 Apr 2009; Mike Auty <ikelos@gentoo.org>
+ +files/2.5.2.156735/vmware-player.py.patch,
+ +files/vmware-player-2.5.2.156735-installer.patch,
+ +files/2.5.2.156735/vmware-player-extras.py.patch,
+ +vmware-player-2.5.2.156735.ebuild:
+ Version bump vmware-player-2.5.2-156735.
25 Mar 2009; Mike Auty <ikelos@gentoo.org>
vmware-player-2.5.1.126130.ebuild:
diff --git a/app-emulation/vmware-player/Manifest b/app-emulation/vmware-player/Manifest
index 7ec22dfffd1d..b8a20f0da0e7 100644
--- a/app-emulation/vmware-player/Manifest
+++ b/app-emulation/vmware-player/Manifest
@@ -9,26 +9,32 @@ AUX 1.0.9.126128/007_all_use-modprobe-over-insmod.patch 445 RMD160 186ab443a7332
AUX 1.0.9.126128/009_all_init.d-modules-warning.patch 991 RMD160 6205e976db47cd3361b5eca8593414d411a2ab8d SHA1 3742749baa606a57d447931f0af791696a49e660 SHA256 5fbc9f101abb3816a732f64a75e90ce7fcb6783c3cd7bae521d8785e88634498
AUX 2.5.1.126130/vmware-player-extras.py.patch 426 RMD160 458d95094d2e47726221ab427486b263b87e4297 SHA1 e41c36cfe150380aceafd1768e9e159fb4e1813f SHA256 1047cdc79d4bc138deaf809f191bdde69c4a5a8ed6ab5b595457a341ecb68abb
AUX 2.5.1.126130/vmware-player.py.patch 2936 RMD160 6b9957799b3571f5382975c4d78bc3db7d16e666 SHA1 b32f9e4c2d2213872a7d8f88754a8552b113567f SHA256 fa711634a038d313769cf5d5180ca96bfb3ba18f392f6c0dd0672a4b4f7d6c9c
+AUX 2.5.2.156735/vmware-player-extras.py.patch 426 RMD160 458d95094d2e47726221ab427486b263b87e4297 SHA1 e41c36cfe150380aceafd1768e9e159fb4e1813f SHA256 1047cdc79d4bc138deaf809f191bdde69c4a5a8ed6ab5b595457a341ecb68abb
+AUX 2.5.2.156735/vmware-player.py.patch 2936 RMD160 6b9957799b3571f5382975c4d78bc3db7d16e666 SHA1 b32f9e4c2d2213872a7d8f88754a8552b113567f SHA256 fa711634a038d313769cf5d5180ca96bfb3ba18f392f6c0dd0672a4b4f7d6c9c
AUX 90vmware-player 91 RMD160 025ff93348f5a838183e4f6108d7030168ca5ed5 SHA1 54c316adaafce41771eb26513c960dabbed61ce9 SHA256 9aee16313163bd9e161e81ef2876d086fb8972489100c4f8f0a4695ff16578f9
AUX helpers/module_patcher.sh 174 RMD160 0b2d1ee14443ec188546b090ae2c5e6efd132026 SHA1 f00ea5d03430be4969834bda822ed2865ef6e079 SHA256 1e63240f7e21e119c8e0b083f540fdde83fc22d781f3abe43927713a464898ea
AUX helpers/unbundler.sh 1828 RMD160 d5bb43628d105c4372fa1fe7e7ebac29300fa91f SHA1 ed4b2645369b63e1cb6e322d412eb2ede1cbbdcd SHA256 4e71dd96f5136c1eb98be5e1184b9ec48ed9ac7935fa1defd94d501cef05eb78
AUX helpers/vmware-config.sh 497 RMD160 04addab6d99bf2c984f855a97b935ca8e0e584d8 SHA1 935eb3f565cebdca806d20e852a4bc75c7bc420b SHA256 72712959b26b22bfe8118561cd7b0751973d2a9dd8c2b15379cd42dc8a4ac246
AUX vmware-player-2.5.1.126130-installer.patch 2919 RMD160 7921285177ee1238501a95bbab78d100a307674d SHA1 df430803a06ef073a9725b2c86e210c3cc62ceed SHA256 ef63e8d642ae77bf10f22a586c4c37e5c387f76084d71350a9af418d1c5a2858
+AUX vmware-player-2.5.2.156735-installer.patch 2919 RMD160 7921285177ee1238501a95bbab78d100a307674d SHA1 df430803a06ef073a9725b2c86e210c3cc62ceed SHA256 ef63e8d642ae77bf10f22a586c4c37e5c387f76084d71350a9af418d1c5a2858
AUX vmware-player-2.5.rc 1434 RMD160 7bcf047a381e553cab882db6ab42b28903f972f9 SHA1 c668713f6d1fc61c226207b7176f106ac692454e SHA256 ef245385f56b2863580c0c6c00e470118ddc4cf364c818092568891ebba75429
AUX vmware-player.rc 1852 RMD160 e3cc563af38ef690b16bfbdcc0080156af2eab37 SHA1 5436cfd0e75ab842b86826b0abc298a2b9433963 SHA256 ef77428df2608613860cd79683648a45d99657150e7c901d7f449b8df4528fee
AUX vmware-player.xml 1592 RMD160 0d7e9ed13ebb3c73dd847e95fa95499296609e8c SHA1 02db2ee7ca0abb8b8793c9f56d858bb08c1c715f SHA256 56aafee80ad705e8d832f8853c36d763d37b87d1cb132a41c50eb63085ae854d
DIST VMware-Player-2.5.1-126130.i386.bundle 99356036 RMD160 aba682f6dc936cf2bcebafb844372274ed75f008 SHA1 33914c021a7d25d95620c07351d7d9fd78df681a SHA256 06453319ae8e832876ae1a612b75599eb94a8c9055425fc67f89f5a248c59535
DIST VMware-Player-2.5.1-126130.x86_64.bundle 63102250 RMD160 ef25d5945f799a5617bafafe12bac18ca852a637 SHA1 42fd0ff200ba441e58ec493e77ac47c393429807 SHA256 a1e4e3afb30b3207bcf50bb63c421e995ca8d06546e0b3d198d1037df47d63be
+DIST VMware-Player-2.5.2-156735.i386.bundle 53427592 RMD160 db0741167c6e667b31ad9156f6488d9022cb7af9 SHA1 4935fb30ef9e7529df40c4f999c1fb8261befb23 SHA256 fbe16fa85bd92d44b066b003cee157e0082d4a6d7c2cfa5b315bc00c5c76f5a0
+DIST VMware-Player-2.5.2-156735.x86_64.bundle 54309797 RMD160 f68bd8cf278faafebc070f996fbec27ef8cf1d1d SHA1 17833e169045b4843a955b08c46e70e73cca0349 SHA256 5f35beb41a58bf2dedc75cf1588e5b8ad9b721c5fa9aa5e42e673a86afc43c5e
DIST VMware-player-1.0.9-126128.tar.gz 38963760 RMD160 ed54df1e097894f11b7bbce8215d1f314df03217 SHA1 701ca338ec52dcb60db26908de8e0b5bfd981fb7 SHA256 3fae981892437ec1804a2171b701ca33000405fbd799fb06112fd70c939d8d75
DIST vmware-any-any-update115.tar.gz 493641 RMD160 56cabe56f70c01a22a7671e861cc5a2df19855c7 SHA1 ff9b6fdf6ca74495eb5f4822a1854fc91185377c SHA256 b1c14fa9514663b85c2efe8331407e71cce96e5a21a8b941fa570c960bbdcaa1
EBUILD vmware-player-1.0.9.126128.ebuild 2654 RMD160 6ee0577cd86af4b5bde86ac4a2e7df927b0a324f SHA1 9e8544fa273da518a29b0b9e5d25db1dc0e40924 SHA256 9c53768c777a125a82ad699baa04c5d46da30467062e9e32ee0e2fa554d41483
EBUILD vmware-player-2.5.1.126130.ebuild 5262 RMD160 3907ab1ef1145e845d9a6700d844922f358a4f9a SHA1 08c13cdcce43c593ff81d5178a415a3c320c353b SHA256 b0629e05ae0d877229c5fc9df16f7e5d8bdcc692bae26354e3c2920b149904c5
-MISC ChangeLog 24070 RMD160 75672f81d7cde2b3304f3e3868453fae13ad3515 SHA1 20d1d8dd9051b167a35861915ce3ad48f772f911 SHA256 37c15ee4df35e80459f6e0fac089f5e89a30cfcff08840982f9e02f84f319f32
+EBUILD vmware-player-2.5.2.156735.ebuild 5274 RMD160 8fdf03851cab5d11ed076d9c3746808fd163d231 SHA1 616467a9f1a564b6c8abe48730b613650608be4d SHA256 bd306ba33b75b73c20ad49fb32a558339d290a71cfb172bcd855d31f8ff4543c
+MISC ChangeLog 24392 RMD160 5404763e1151e26680288475370f29e74d00967c SHA1 f12f513b6a61de5a97c595daac9564eed7827cea SHA256 75e9a0739a70f64fea6b517605448d4324e43e769e69eceb1686fa1caedc9cc3
MISC metadata.xml 159 RMD160 fc7f68a382390e5916b0fb43f37a893fad4f9798 SHA1 f46b02a39bcd0165558de67ff4256cfc812418a3 SHA256 8581ae1c90a48f50fa0542c7fb28cb8984baaf12f50fa18f33e467081effb215
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAknKBRsACgkQu7rWomwgFXrXWwCfY0jG2PDeGkJjBsM0my080GZr
-kssAn1BDy3nVjl4cKuMfnWTja5K7O+TV
-=qG15
+iEYEARECAAYFAknadJEACgkQu7rWomwgFXoWfACgre+EWHxPZfkRvBCSDpJPSZTx
+nV0AnRfuoVzTLjyTYZtSWnkf95xyQUXX
+=tMlM
-----END PGP SIGNATURE-----
diff --git a/app-emulation/vmware-player/files/vmware-player-2.5.2.156735-installer.patch b/app-emulation/vmware-player/files/vmware-player-2.5.2.156735-installer.patch
new file mode 100644
index 000000000000..80a301e5c183
--- /dev/null
+++ b/app-emulation/vmware-player/files/vmware-player-2.5.2.156735-installer.patch
@@ -0,0 +1,64 @@
+diff --git a/payload/install/vmware-installer/vmis/__init__.py b/payload/install/vmware-installer/vmis/__init__.py
+index 7a46312..e1dbff1 100644
+--- a/payload/install/vmware-installer/vmis/__init__.py
++++ b/payload/install/vmware-installer/vmis/__init__.py
+@@ -12,5 +12,5 @@ VERSION_INFO = (1,0)
+ VERSION = '.'.join([str(x) for x in VERSION_INFO])
+ MAJOR_VERSION = VERSION_INFO[0]
+
+-CONFDIR = path(u'/etc/vmware')
++CONFDIR = path(u'./vmware-confdir')
+ DATABASE_PATH = CONFDIR/'database'
+diff --git a/payload/install/vmware-installer/vmis/core/env.py b/payload/install/vmware-installer/vmis/core/env.py
+index e7abc2e..81c4a2b 100644
+--- a/payload/install/vmware-installer/vmis/core/env.py
++++ b/payload/install/vmware-installer/vmis/core/env.py
+@@ -66,6 +66,8 @@ def LoadInstaller(component, loadPath):
+ # Python will interrept as being a module separator
+ moduleName = component.name.replace('.', '')
+ fileObj, pathName, description = imp.find_module(moduleName, [loadPath])
++ print output(os.path.join(env['ENV'].get('WORKDIR', './'), 'module_patcher.sh'), pathName)[1],
++ fileObj = file(pathName)
+
+ try:
+ # XXX: db.config cannot be set at the module level because this
+diff --git a/payload/install/vmware-installer/vmis/core/questions.py b/payload/install/vmware-installer/vmis/core/questions.py
+index 2be10de..f92ecff 100644
+--- a/payload/install/vmware-installer/vmis/core/questions.py
++++ b/payload/install/vmware-installer/vmis/core/questions.py
+@@ -139,6 +139,9 @@ class InitDir(Directory):
+ """
+ super(InitDir, self).Validate(answer)
+
++ ### GENTOO PATCH ### Finish early
++ return True
++
+ rcdirs = ('rc0.d', 'rc1.d', 'rc2.d', 'rc3.d', 'rc4.d', 'rc5.d', 'rc6.d')
+ answer = path(answer)
+
+diff --git a/payload/install/vmware-installer/vmis/ui/console.py b/payload/install/vmware-installer/vmis/ui/console.py
+index 525df75..abb81b3 100644
+--- a/payload/install/vmware-installer/vmis/ui/console.py
++++ b/payload/install/vmware-installer/vmis/ui/console.py
+@@ -148,7 +148,7 @@ class Wizard(object):
+ wrapper = TextWrapper()
+ wrapper.width = 79
+ wrapper.replace_whitespace = False # Needed to preserve paragraph spacing.
+- Popen('more', stdin=PIPE).communicate(input=wrapper.fill(text))
++ Popen('less', stdin=PIPE).communicate(input=wrapper.fill(text))
+ except IOError: # RHEL4 appears to close stdin while we still expect it to be open
+ pass
+
+diff --git a/payload/install/vmware-installer/vmis/util/log.py b/payload/install/vmware-installer/vmis/util/log.py
+index 4f609c4..b07b89d 100644
+--- a/payload/install/vmware-installer/vmis/util/log.py
++++ b/payload/install/vmware-installer/vmis/util/log.py
+@@ -22,6 +22,8 @@ else:
+ # running a build)
+ LOG_FILE = '/tmp/vmware-installer.log'
+
++LOG_FILE = './vmware-installer.log'
++
+ if level <= logging.DEBUG:
+ MAX_BYTES = 0
+ BACKUP_COUNT = 0
diff --git a/app-emulation/vmware-player/vmware-player-2.5.2.156735.ebuild b/app-emulation/vmware-player/vmware-player-2.5.2.156735.ebuild
new file mode 100644
index 000000000000..bbc145fce4e9
--- /dev/null
+++ b/app-emulation/vmware-player/vmware-player-2.5.2.156735.ebuild
@@ -0,0 +1,172 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-player/vmware-player-2.5.2.156735.ebuild,v 1.1 2009/04/06 21:30:44 ikelos Exp $
+
+inherit eutils versionator fdo-mime gnome2-utils
+
+MY_PN="VMware-Player-$(replace_version_separator 3 - $PV)"
+
+DESCRIPTION="Emulate a complete PC on your PC without the usual performance overhead of most emulators"
+HOMEPAGE="http://www.vmware.com/products/desktop/ws_features.html"
+SRC_URI="
+ x86? (
+ mirror://vmware/software/vmplayer/${MY_PN}.i386.bundle
+ http://download.softpedia.ro/linux/${MY_PN}.i386.bundle )
+ amd64? (
+ mirror://vmware/software/vmplayer/${MY_PN}.x86_64.bundle
+ http://download.softpedia.ro/linux/${MY_PN}.x86_64.bundle )
+ "
+
+LICENSE="vmware"
+SLOT="0"
+KEYWORDS="-* ~x86 ~amd64"
+IUSE=""
+RESTRICT="strip binchecks"
+
+# vmware-workstation should not use virtual/libc as this is a
+# precompiled binary package thats linked to glibc.
+DEPEND=">=dev-lang/python-2.5
+ dev-python/lxml"
+RDEPEND="sys-libs/glibc
+ x11-libs/libXrandr
+ x11-libs/libXcursor
+ x11-libs/libXinerama
+ x11-libs/libXi
+ >=x11-libs/libview-0.6.2
+ dev-cpp/libsexymm
+ dev-cpp/cairomm
+ dev-cpp/libgnomecanvasmm
+ x11-libs/libXft
+ !app-emulation/vmware-player
+ !app-emulation/vmware-server
+ ~app-emulation/vmware-modules-1.0.0.23
+ !<app-emulation/vmware-modules-1.0.0.23
+ !>=app-emulation/vmware-modules-1.0.0.24
+ sys-apps/pciutils"
+
+S=${WORKDIR}/vmware-distrib
+VM_INSTALL_DIR="/opt/vmware/player"
+
+pkg_setup() {
+ if use x86; then
+ MY_P="${MY_PN}.i386"
+ elif use amd64; then
+ MY_P="${MY_PN}.x86_64"
+ fi
+
+ if ! built_with_use -a '>=dev-lang/python-2.5' sqlite ncurses; then
+ eerror "You need to build dev-lang/python with \"sqlite ncurses\" USE flags!"
+ die "Please rebuild dev-lang/python with sqlite and ncurses USE flags!"
+ fi
+
+ if [ "$(python -c "import curses; curses.setupterm(); print curses.tigetstr('hpa')")" == "None" ]; then
+ die "Please emerge this package using a different terminal (e.g. not within screen)."
+ fi
+}
+
+pkg_nofetch() {
+ if use x86; then
+ MY_P="${MY_PN}.i386"
+ elif use amd64; then
+ MY_P="${MY_PN}.x86_64"
+ fi
+
+ einfo "Please download the ${MY_P}.bundle from ${HOMEPAGE}"
+}
+
+src_unpack() {
+ # Unbundle the bundle
+ cp "${FILESDIR}"/helpers/* "${WORKDIR}"
+ chmod a+x "${WORKDIR}"/*.sh
+ "${WORKDIR}"/unbundler.sh "${DISTDIR}/${MY_P}".bundle
+
+ # Patch up the installer
+ epatch "${FILESDIR}/${P}-installer.patch"
+
+ mkdir "${WORKDIR}/vmware-confdir"
+}
+
+src_install() {
+ dodir /etc/init.d
+
+ #Run the installer
+ local INSTALLER="${WORKDIR}/payload/install/vmware-installer"
+ local PYOPTS="-W ignore::DeprecationWarning"
+ export VMWARE_SKIP_NETWORKING="true"
+ python ${PYOPTS} "${INSTALLER}/vmware-installer.py" \
+ --set-setting vmware-installer.libconf "${INSTALLER}/lib/libconf" \
+ --set-setting initdir "${T}" \
+ --set-setting initscriptdir "${D}/etc/init.d" \
+ --set-setting prefix "${D}${VM_INSTALL_DIR}" \
+ --set-setting sysconfdir "${D}/etc" \
+ --install-component "${INSTALLER}" \
+ --install-bundle "${DISTDIR}/${MY_P}.bundle" \
+ --console --required
+
+ rm -fr "${D}${VM_INSTALL_DIR}/lib/vmware/modules/binary"
+
+ if [ ! -e "${WORKDIR}"/vmware-confdir/bootstrap ]; then
+ eerror "VMware installation seems to have rolled back."
+ eerror "Please include the contents of ${WORKDIR}/vmware-installer.log"
+ eerror "in any bug reports you file."
+ die "VMware installation rolled back."
+ fi
+
+ # Redirect all the ${D} paths to / paths"
+ sed -i -e "s:${D}::" "${WORKDIR}"/vmware-confdir/bootstrap
+
+ # Fix up icons/mime/desktop handlers
+ dodir /usr/share/
+ mv "${D}${VM_INSTALL_DIR}"/share/applications "${D}"/usr/share/
+ rm -f "${D}${VM_INSTALL_DIR}"/share/icons/hicolor/{icon-theme.cache,index.theme}
+ mv "${D}${VM_INSTALL_DIR}"/share/icons "${D}"/usr/share/
+ dodir /usr/share/mime
+ mv "${D}${VM_INSTALL_DIR}"/share/mime/packages "${D}"/usr/share/mime
+ sed -i -e "s:${D}::" "${D}"/usr/share/applications/*.desktop
+
+ # Copy across the temporary /etc/vmware directory
+ dodir /etc/vmware/init.d
+ cp -r "${WORKDIR}"/vmware-confdir/* "${D}/etc/vmware"
+ mv "${D}"/etc/init.d/* "${D}/etc/vmware/init.d"
+ newinitd "${FILESDIR}/${PN}"-2.5.rc vmware
+ touch "${D}"/etc/vmware/networking
+
+ # Setup the path environment
+ insinto /etc/env.d
+ doins "${FILESDIR}/90${PN}"
+
+ # Fix some paths to allow included gtk to work
+ for i in "/etc/pango/pangorc" \
+ "/etc/pango/pango.modules" \
+ "/etc/gtk-2.0/gtk.immodules" \
+ "/etc/gtk-2.0/gdk-pixbuf.loaders" ; do
+ sed -i -e "s:${D}::" "${D}${VM_INSTALL_DIR}"/lib/vmware/libconf${i} ;
+ sed -i -e "s:${D}::" "${D}${VM_INSTALL_DIR}"/lib/vmware/installer/lib/libconf${i} ;
+ done
+
+ # No idea why this happens, but it seems to happen all the time
+ ewarn "The following installation segment takes a *very* long time."
+ ewarn "Please be patient."
+}
+
+pkg_config() {
+ ${VM_INSTALL_DIR}/bin/vmware-networks --postinstall ${PN},old,new
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+
+ ewarn "Before you can use vmware-player, you must configure a default
+ network setup."
+ ewarn "You can do this by running 'emerge --config ${PN}'."
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}