diff options
author | mattw <mattw@localhost> | 2010-08-13 04:41:43 +0000 |
---|---|---|
committer | mattw <mattw@localhost> | 2010-08-13 04:41:43 +0000 |
commit | b508c6275af8e034f990870b8bb7d9c14890fb3d (patch) | |
tree | 542267a2ac85505544b02b0b21510e996b98a309 /app-emulation/vmware-player | |
parent | libview: version bump (diff) | |
download | vmware-b508c6275af8e034f990870b8bb7d9c14890fb3d.tar.gz vmware-b508c6275af8e034f990870b8bb7d9c14890fb3d.tar.bz2 vmware-b508c6275af8e034f990870b8bb7d9c14890fb3d.zip |
new VMware Desktop release
svn path=/trunk/; revision=422
Diffstat (limited to 'app-emulation/vmware-player')
-rw-r--r-- | app-emulation/vmware-player/ChangeLog | 4 | ||||
-rw-r--r-- | app-emulation/vmware-player/Manifest | 5 | ||||
-rw-r--r-- | app-emulation/vmware-player/vmware-player-3.1.1.282343.ebuild | 227 |
3 files changed, 235 insertions, 1 deletions
diff --git a/app-emulation/vmware-player/ChangeLog b/app-emulation/vmware-player/ChangeLog index 49dc071..dad97e3 100644 --- a/app-emulation/vmware-player/ChangeLog +++ b/app-emulation/vmware-player/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 13 Aug 2010; Matt Whitlock (whitslack) <matt@whitlock.name> + +vmware-player-3.1.1.282343.ebuild: + version bump to VMware Player 3.1.1.282343 + 18 Jul 2010; Matt Whitlock (whitslack) <matt@whitlock.name> vmware-player-3.0.1.227600-r6.ebuild, vmware-player-3.1.0.261024.ebuild: depend on OpenSSL 0.9.8* specifically diff --git a/app-emulation/vmware-player/Manifest b/app-emulation/vmware-player/Manifest index 1c89fb4..8a3d1f4 100644 --- a/app-emulation/vmware-player/Manifest +++ b/app-emulation/vmware-player/Manifest @@ -6,7 +6,10 @@ DIST VMware-Player-3.0.1-227600.i386.bundle 84974107 RMD160 4337339976d25d8dbd1f DIST VMware-Player-3.0.1-227600.x86_64.bundle 79959324 RMD160 c6652acadc760bab8ecfed2682706e31f51423ef SHA1 84f25370d24c03a18968a4f4c8e06cef3d21c2df SHA256 8347b3fa0c1cd1c88c3c8049462f3d0d752d6f7daa747a7d2a67667a3f55f190 DIST VMware-Player-3.1.0-261024.i386.bundle 106519865 RMD160 008cb206b9c17167b655bc89957998da25ccb03f SHA1 147a6a2f19559804ed90e0ff5c545b8b31c400a1 SHA256 39156e974d75b0547e657c4aeea4a9fb401a0c3756205f7c8aec4f44754bb6e7 DIST VMware-Player-3.1.0-261024.x86_64.bundle 102467637 RMD160 d0911964f94a5d07511ae3fca7928563056830c9 SHA1 6d6a54b3a63f1682ad543c0fcf55b574cdf9eebe SHA256 1dd92f0ca33f3e77be257b8e46ef42ca63562dba98bfa4ae4b211126eca2e59d +DIST VMware-Player-3.1.1-282343.i386.bundle 106522932 RMD160 ee57737b586586b4ebf7c71730c11841257de9d3 SHA1 1eae6cd3b89563efa767b2a957b051734bf25337 SHA256 503b989b11145dbe73cb75bf9fada9ffd47fbea9c4a65003ec49277e8319bf2f +DIST VMware-Player-3.1.1-282343.x86_64.bundle 102467705 RMD160 b98ff32a18bf12f54557ee641ff60b89d3e63662 SHA1 65b7ab26242961fc8b511ea6b85fdebda878ec6c SHA256 bb5a6475f34e6a7ed8855e617e87ef0a25a18f7a624f456efd64af7a6087b1f7 EBUILD vmware-player-3.0.1.227600-r6.ebuild 9334 RMD160 d8883eeefda8577c10ee0100be56588e6b31982b SHA1 86e5acf074b2d454b8546a91b12584ec71cf72a8 SHA256 c859803fb5d06d8778aae65f559a57748a5bc6c08763a787a9b8c91910529184 EBUILD vmware-player-3.1.0.261024.ebuild 5846 RMD160 cf8a8b9d442a7eee7466fa70b456fc54eb8b2c87 SHA1 9671f0c6a370856fc73ad6fb31a7f9cfba46f68e SHA256 f2c77a7262823155739ea3773b62326dc4ecb92b1a1e781e6172ac7614df73f0 -MISC ChangeLog 3336 RMD160 01cf044077d0a558f9c8cb87934022dd84adbacb SHA1 c1c7eafffc28b9e29cae395f1a2aac9891b6cdfd SHA256 606af71c601b681b415972c9c91f715ece1c8d0dccde9015cac2ad6a6c721818 +EBUILD vmware-player-3.1.1.282343.ebuild 5848 RMD160 5845b4f1432894fd56d1356bb809fc507a98c0f0 SHA1 f4721997b35e0619747e1a1387315734da5c17ad SHA256 4e547cc4558e70a72b5b6feb114a6df9e29b694a76081e84444cc1e74531e17c +MISC ChangeLog 3482 RMD160 94e9a8bd0f93f353ab6f49eadd30b2afd62fbe4b SHA1 59ca98b44ea60e7bcf52ccb7b527fc91665fc2db SHA256 4aea3ccf54072825f36c0bec5ca3cc0ca9f6bdf428e31d778c3a03f4a021be77 MISC metadata.xml 238 RMD160 beef158e0603e5808d104743feba4be3e7a7e8c4 SHA1 276217c6f03ae24c0196519197240031a6961254 SHA256 8374f3a2a8f05bf0690ab35f79a20980026aefa9fabae93fe81442f54291018b diff --git a/app-emulation/vmware-player/vmware-player-3.1.1.282343.ebuild b/app-emulation/vmware-player/vmware-player-3.1.1.282343.ebuild new file mode 100644 index 0000000..c817b17 --- /dev/null +++ b/app-emulation/vmware-player/vmware-player-3.1.1.282343.ebuild @@ -0,0 +1,227 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header$ + +EAPI="2" + +inherit eutils versionator fdo-mime gnome2-utils vmware-bundle + +MY_PN="VMware-Player" +MY_PV="$(replace_version_separator 3 - $PV)" +MY_P="${MY_PN}-${MY_PV}" + +DESCRIPTION="Emulate a complete PC on your PC without the usual performance overhead of most emulators" +HOMEPAGE="http://www.vmware.com/products/player/" +SRC_URI=" + x86? ( ${MY_P}.i386.bundle ) + amd64? ( ${MY_P}.x86_64.bundle ) + " + +LICENSE="vmware" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="doc +vmware-tools" +RESTRICT="binchecks fetch strip" + +# vmware-workstation should not use virtual/libc as this is a +# precompiled binary package thats linked to glibc. +RDEPEND="dev-cpp/cairomm + dev-cpp/glibmm + dev-cpp/gtkmm + dev-cpp/libgnomecanvasmm + dev-cpp/libsexymm + dev-cpp/pangomm + dev-libs/atk + dev-libs/glib + dev-libs/libsigc++ + dev-libs/libxml2 + =dev-libs/openssl-0.9.8* + dev-libs/xmlrpc-c + gnome-base/libgnomecanvas + gnome-base/libgtop + gnome-base/librsvg + gnome-base/orbit + media-libs/fontconfig + media-libs/freetype + media-libs/libart_lgpl + =media-libs/libpng-1.2* + net-misc/curl + sys-devel/gcc + sys-fs/fuse + sys-libs/glibc + sys-libs/zlib + x11-libs/cairo + x11-libs/gtk+ + x11-libs/libgksu + x11-libs/libICE + x11-libs/libsexy + x11-libs/libSM + x11-libs/libview + x11-libs/libX11 + x11-libs/libXau + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXft + x11-libs/libXi + x11-libs/libXinerama + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/pango + x11-libs/startup-notification + !app-emulation/vmware-server + !app-emulation/vmware-workstation" +PDEPEND=">=app-emulation/vmware-modules-238.1 + vmware-tools? ( app-emulation/vmware-tools )" + +S=${WORKDIR}/vmware-player-app +VM_INSTALL_DIR="/opt/vmware" + +pkg_nofetch() { + local bundle + + if use x86; then + bundle="${MY_P}.i386.bundle" + elif use amd64; then + bundle="${MY_P}.x86_64.bundle" + fi + + einfo "Please download ${bundle}" + einfo "from ${HOMEPAGE}" + einfo "and place it in ${DISTDIR}" +} + +src_unpack() { + vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" vmware-player-app +} + +src_prepare() { + rm -f bin/vmware-modconfig + rm -rf lib/modules/binary + + # remove superfluous libraries + ebegin 'Removing superfluous libraries' + cd lib/lib || die + ldconfig -p | sed 's:^\s\+\([^(]*[^( ]\).*=> /.*$:\1:g;t;d' | xargs -d'\n' -r rm -rf + eend +} + +src_install() { + local major_minor_revision=$(get_version_component_range 1-3 "${PV}") + local build=$(get_version_component_range 4 "${PV}") + + # install the binaries + into "${VM_INSTALL_DIR}" + dobin bin/* || die "failed to install bin" + dosbin sbin/* || die "failed to install sbin" + + # install the libraries + insinto "${VM_INSTALL_DIR}"/lib/vmware + doins -r lib/* || die "failed to install lib" + + # these two libraries do not like to load from /usr/lib* + local each ; for each in libcrypto.so.0.9.8 libssl.so.0.9.8 ; do + if [[ ! -f "${VM_INSTALL_DIR}/lib/vmware/lib/${each}" ]] ; then + dosym "/usr/$(get_libdir)/${each}" \ + "${VM_INSTALL_DIR}/lib/vmware/lib/${each}/${each}" + fi + done + + # install the ancillaries + insinto /usr + doins -r share || die "failed to install share" + + # install documentation + if use doc; then + dodoc doc/* || die "failed to install docs" + fi + + # create symlinks for the various tools + local tool ; for tool in vmplayer{,-daemon} \ + vmware-{acetool,unity-helper,modconfig{,-console},gksu,fuseUI} ; do + dosym appLoader "${VM_INSTALL_DIR}"/lib/vmware/bin/"${tool}" || die + done + dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmplayer "${VM_INSTALL_DIR}"/bin/vmplayer || die + + # fix up permissions + chmod 0755 "${D}${VM_INSTALL_DIR}"/lib/vmware/{bin/*,lib/wrapper-gtk24.sh} + chmod 04711 "${D}${VM_INSTALL_DIR}"/sbin/vmware-authd + chmod 04711 "${D}${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx* + + # create the environment + local envd="${T}/90vmware" + cat > "${envd}" <<-EOF + PATH='${VM_INSTALL_DIR}/bin' + ROOTPATH='${VM_INSTALL_DIR}/bin' + EOF + doenvd "${envd}" || die + + # create the configuration + dodir /etc/vmware || die + + cat > "${D}"/etc/vmware/bootstrap <<-EOF + BINDIR='${VM_INSTALL_DIR}/bin' + LIBDIR='${VM_INSTALL_DIR}/lib' + EOF + + cat > "${D}"/etc/vmware/config <<-EOF + bindir = "${VM_INSTALL_DIR}/bin" + libdir = "${VM_INSTALL_DIR}/lib/vmware" + initscriptdir = "/etc/init.d" + authd.fullpath = "${VM_INSTALL_DIR}/sbin/vmware-authd" + gksu.rootMethod = "su" + VMCI_CONFED = "yes" + VMBLOCK_CONFED = "yes" + VSOCK_CONFED = "yes" + NETWORKING = "yes" + player.product.version = "${major_minor_revision}" + product.buildNumber = "${build}" + EOF + + # install the init.d script + local initscript="${T}/vmware.rc" + + sed -e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \ + "${FILESDIR}/vmware-3.0.rc" > "${initscript}" || die + newinitd "${initscript}" vmware || die + + # fill in variable placeholders + sed -e "s:@@LIBCONF_DIR@@:${VM_INSTALL_DIR}/lib/vmware/libconf:g" \ + -i "${D}${VM_INSTALL_DIR}"/lib/vmware/libconf/etc/{gtk-2.0/{gdk-pixbuf.loaders,gtk.immodules},pango/pango{.modules,rc}} || die + sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmplayer:g" \ + -i "${D}/usr/share/applications/${PN}.desktop" || die +} + +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 "/etc/env.d was updated. Please run:" + ewarn "env-update && source /etc/profile" + ewarn "" + 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_prerm() { + einfo "Stopping ${PN} for safe unmerge" + /etc/init.d/vmware stop +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} |