summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattw <mattw@localhost>2010-08-13 04:41:43 +0000
committermattw <mattw@localhost>2010-08-13 04:41:43 +0000
commitb508c6275af8e034f990870b8bb7d9c14890fb3d (patch)
tree542267a2ac85505544b02b0b21510e996b98a309 /app-emulation/vmware-workstation
parentlibview: version bump (diff)
downloadvmware-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-workstation')
-rw-r--r--app-emulation/vmware-workstation/ChangeLog4
-rw-r--r--app-emulation/vmware-workstation/Manifest5
-rw-r--r--app-emulation/vmware-workstation/vmware-workstation-7.1.1.282343.ebuild304
3 files changed, 312 insertions, 1 deletions
diff --git a/app-emulation/vmware-workstation/ChangeLog b/app-emulation/vmware-workstation/ChangeLog
index 94e4f39..6eb30ea 100644
--- a/app-emulation/vmware-workstation/ChangeLog
+++ b/app-emulation/vmware-workstation/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-workstation-7.1.1.282343.ebuild:
+ version bump to VMware Workstation 7.1.1.282343
+
18 Jul 2010; Matt Whitlock (whitslack) <matt@whitlock.name>
vmware-workstation-7.0.1.227600-r6.ebuild,
vmware-workstation-7.1.0.261024.ebuild:
diff --git a/app-emulation/vmware-workstation/Manifest b/app-emulation/vmware-workstation/Manifest
index 223828a..040d7ee 100644
--- a/app-emulation/vmware-workstation/Manifest
+++ b/app-emulation/vmware-workstation/Manifest
@@ -21,7 +21,10 @@ DIST VMware-Workstation-7.0.1-227600.i386.bundle 107914468 RMD160 c34c4c5f69cb58
DIST VMware-Workstation-7.0.1-227600.x86_64.bundle 113783072 RMD160 803b27f1742cec99e9ba2dc04808783b195d10d8 SHA1 dbcd045a889b95ac14828b8106631b678354e30a SHA256 3115f46b9d877bdf53e5db470a904384405a5c0054849f3e6d874ec36d668761
DIST VMware-Workstation-7.1.0-261024.i386.bundle 129783945 RMD160 96dcf3d37330cf43060f2798f3ab7e06d469c87e SHA1 a8904abf8b57d845d0d04fcb0c6eceb1d403fa9e SHA256 0c3e63ed180632e628f216cf410af6a861e63c38fe50315051d2deb238e937df
DIST VMware-Workstation-7.1.0-261024.x86_64.bundle 136788093 RMD160 7f2ab3d5a4f355e1ca5721ddb70593e6c2833584 SHA1 ddab8fe323ea235e882e48f0acbc9288a03c60cd SHA256 429abc2900e21deab81d544df6263c34936b2a758bea5f28a77d5a8b75314100
+DIST VMware-Workstation-7.1.1-282343.i386.bundle 129787675 RMD160 810b59993d06b7e0484a856ea93b1f975c851d8e SHA1 c256bd429471b30ea23fcd1783897ef877f1b8ed SHA256 ea27fc1cf0a925789cfcc8ac7ce33a16cbbd62917d3de4667d8738d5d635e2c0
+DIST VMware-Workstation-7.1.1-282343.x86_64.bundle 136793263 RMD160 499b7d960b6d32b2a32581f95850b648a002151c SHA1 46042a19a19d97b4e14e539ba42508dedfd13d58 SHA256 82c88a35112e69dd17d8404babb4f6b7b171c5ebf4a791b5e0d8f2b0fa7057ab
EBUILD vmware-workstation-7.0.1.227600-r6.ebuild 11432 RMD160 7b10cb11767fd59657c7a0d466a44853bdec66cb SHA1 cb7b5d7d52a55e7e8c73fba41d96ab0bb698ee39 SHA256 4db8c44abe2fe47ed5d8961f3a0174bc306a1407077d25c01acde67861ebba4c
EBUILD vmware-workstation-7.1.0.261024.ebuild 7762 RMD160 951830a12cf2cb23bc34ea044896890de931eb08 SHA1 d7d498c946b2e7a24fe43c87779471edd60b2f7f SHA256 e99d9b2b909b090f410332a747271369fa880d7c61fe2652e59984a7d30b94f4
-MISC ChangeLog 3274 RMD160 011bce6bd2d16333614d5d27e2be8895f09e3b52 SHA1 c5a2012917112f15c45bdc842ff6ea317d2281e8 SHA256 7d6e92e49338c0cd4ef69566bf4f6bc703525d0ea1ac55bc14321e73e2d18097
+EBUILD vmware-workstation-7.1.1.282343.ebuild 7762 RMD160 951830a12cf2cb23bc34ea044896890de931eb08 SHA1 d7d498c946b2e7a24fe43c87779471edd60b2f7f SHA256 e99d9b2b909b090f410332a747271369fa880d7c61fe2652e59984a7d30b94f4
+MISC ChangeLog 3430 RMD160 9f47b40d1a3d7fa682bcf9080bdba3bfc8db1ad6 SHA1 02a6f6bebb0667cb1fd086b2e49d12c9e2b2ce31 SHA256 eb0e95576eec3653f858bdaebf81bca52a2df604c8e1b7860ff164baefd2a43a
MISC metadata.xml 699 RMD160 13003f11d344342b6adffbe4f6be7cd72e64f9a3 SHA1 b85c9bb8a2312f7feab5200a9e3a2d6a45d3533f SHA256 0afdf7eebf72c9c781523ff4e2fff3b7f41b8948065c583ae4aa86e71ce067af
diff --git a/app-emulation/vmware-workstation/vmware-workstation-7.1.1.282343.ebuild b/app-emulation/vmware-workstation/vmware-workstation-7.1.1.282343.ebuild
new file mode 100644
index 0000000..21ba552
--- /dev/null
+++ b/app-emulation/vmware-workstation/vmware-workstation-7.1.1.282343.ebuild
@@ -0,0 +1,304 @@
+# 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-Workstation"
+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/workstation/"
+SRC_URI="
+ x86? ( ${MY_P}.i386.bundle )
+ amd64? ( ${MY_P}.x86_64.bundle )
+ "
+
+LICENSE="vmware"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="doc vix +vmware-tools"
+RESTRICT="binchecks fetch mirror 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/libaio
+ 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-player"
+PDEPEND="~app-emulation/vmware-modules-238
+ vmware-tools? ( app-emulation/vmware-tools )"
+
+S=${WORKDIR}
+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
+ vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" vmware-player-setup
+ vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" vmware-workstation
+ if use vix; then
+ vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" vmware-vix
+ fi
+}
+
+src_prepare() {
+ rm -rf "${S}"/vmware-player-app/bin/vmware-modconfig
+ rm -rf "${S}"/vmware-player-app/lib/modules/binary
+
+ # remove superfluous libraries
+ ebegin 'Removing superfluous libraries'
+ cd vmware-player-app/lib/lib || die
+ ldconfig -p | sed 's:^\s\+\([^(]*[^( ]\).*=> /.*$:\1:g;t;d' | xargs -d'\n' -r rm -rf
+ cd ../../../vmware-workstation/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}")
+
+ cd "${S}"/vmware-player-app
+
+ # install the binaries
+ into "${VM_INSTALL_DIR}"
+ dobin bin/*
+ dosbin sbin/*
+
+ # install the libraries
+ insinto "${VM_INSTALL_DIR}"/lib/vmware
+ doins -r lib/*
+
+ # these libraries do not like to load from /usr/lib*
+ local each ; for each in libcrypto.so.0.9.8 libssl.so.0.9.8 libglib-2.0.so.0 ; 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
+
+ # install documentation
+ if use doc; then
+ dodoc doc/*
+ fi
+
+ # install vmware-config
+ cd "${S}"/vmware-player-setup
+ insinto "${VM_INSTALL_DIR}"/lib/vmware/setup
+ doins vmware-config
+
+ # install vmware-workstation
+ cd "${S}"/vmware-workstation
+
+ # install the binaries
+ into "${VM_INSTALL_DIR}"
+ dobin bin/*
+
+ # install the libraries
+ insinto "${VM_INSTALL_DIR}"/lib/vmware
+ doins -r lib/*
+
+ # install the ancillaries
+ insinto /usr
+ doins -r share
+
+ # install documentation
+ doman man/man1/vmware.1.gz
+
+ if use doc; then
+ dodoc -r doc/*
+ fi
+
+ # install vmware-vix
+ if use vix; then
+ cd "${S}"/vmware-vix
+
+ # install the binary
+ into "${VM_INSTALL_DIR}"
+ dobin bin/*
+
+ # install the libraries
+ insinto "${VM_INSTALL_DIR}"/lib/vmware-vix
+ doins -r lib/*
+
+ dosym vmware-vix/libvixAllProducts.so "${VM_INSTALL_DIR}"/lib/libbvixAllProducts.so
+
+ # install headers
+ insinto /usr/include/vmware-vix
+ doins include/*
+
+ if use doc; then
+ dohtml -r doc/*
+ fi
+ fi
+
+ # create symlinks for the various tools
+ local tool ; for tool in vmware vmplayer{,-daemon} \
+ vmware-{acetool,gksu,fuseUI,modconfig{,-console},netcfg,tray,unity-helper} ; do
+ dosym appLoader "${VM_INSTALL_DIR}"/lib/vmware/bin/"${tool}"
+ done
+ dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmplayer "${VM_INSTALL_DIR}"/bin/vmplayer
+ dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware "${VM_INSTALL_DIR}"/bin/vmware
+
+ # fix up permissions
+ chmod 0755 "${D}${VM_INSTALL_DIR}"/lib/vmware/{bin/*,lib/wrapper-gtk24.sh,setup/*}
+ chmod 04711 "${D}${VM_INSTALL_DIR}"/sbin/vmware-authd
+ chmod 04711 "${D}${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx*
+ if use vix; then
+ chmod 0755 "${D}${VM_INSTALL_DIR}"/lib/vmware-vix/setup/*
+ fi
+
+ # create the environment
+ local envd="${T}/90vmware"
+ cat > "${envd}" <<-EOF
+ PATH='${VM_INSTALL_DIR}/bin'
+ ROOTPATH='${VM_INSTALL_DIR}/bin'
+ EOF
+ doenvd "${envd}"
+
+ # create the configuration
+ dodir /etc/vmware
+
+ 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}"
+ product.name = "VMware Workstation"
+ workstation.product.version = "${major_minor_revision}"
+ EOF
+
+ if use vix; then
+ cat >> "${D}"/etc/vmware/config <<-EOF
+ vmware.fullpath = "${VM_INSTALL_DIR}/bin/vmware"
+ vix.libdir = "${VM_INSTALL_DIR}/lib/vmware-vix"
+ vix.config.version = "1"
+ EOF
+ fi
+
+ # install the init.d script
+ local initscript="${T}/vmware.rc"
+ sed -e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
+ "${FILESDIR}/vmware-7.0.rc" > ${initscript}
+ newinitd "${initscript}" vmware
+
+ # 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}}
+ sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmware:g" \
+ -i "${D}/usr/share/applications/${PN}.desktop"
+ sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmplayer:g" \
+ -i "${D}/usr/share/applications/vmware-player.desktop"
+ sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmware-netcfg:g" \
+ -i "${D}/usr/share/applications/vmware-netcfg.desktop"
+}
+
+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
+}