diff options
Diffstat (limited to 'app-emulation/vmware-player')
-rw-r--r-- | app-emulation/vmware-player/Manifest | 9 | ||||
-rw-r--r-- | app-emulation/vmware-player/files/vmware-10.0.rc | 37 | ||||
-rw-r--r-- | app-emulation/vmware-player/files/vmware-11.0.rc | 44 | ||||
-rw-r--r-- | app-emulation/vmware-player/files/vmware-11.1.rc | 44 | ||||
-rw-r--r-- | app-emulation/vmware-player/files/vmware-11.2.rc | 44 | ||||
-rw-r--r-- | app-emulation/vmware-player/files/vmware-network.service | 17 | ||||
-rw-r--r-- | app-emulation/vmware-player/files/vmware-usbarbitrator.service | 11 | ||||
-rw-r--r-- | app-emulation/vmware-player/metadata.xml | 9 | ||||
-rw-r--r-- | app-emulation/vmware-player/vmware-player-6.0.3.1895310.ebuild | 245 | ||||
-rw-r--r-- | app-emulation/vmware-player/vmware-player-6.0.6.2700073.ebuild (renamed from app-emulation/vmware-player/vmware-player-6.0.1.1379776.ebuild) | 6 | ||||
-rw-r--r-- | app-emulation/vmware-player/vmware-player-7.1.2.2780323.ebuild (renamed from app-emulation/vmware-player/vmware-player-6.0.2.1744117.ebuild) | 36 |
11 files changed, 232 insertions, 270 deletions
diff --git a/app-emulation/vmware-player/Manifest b/app-emulation/vmware-player/Manifest index 23833ca2ba75..834788b94a0d 100644 --- a/app-emulation/vmware-player/Manifest +++ b/app-emulation/vmware-player/Manifest @@ -1,8 +1,5 @@ DIST VMware-Player-5.0.3-1410761.i386.bundle.tar 220047360 SHA256 cf821022b093c9aef768596131085d0c5adcef25339dddefbc0a214e00645a97 SHA512 4660efa92671b33cd701dc37b86d8a18a84acd4e85b660f6e4e9f60c71bbe744574eb07fd563d6fda2626768eeaa9ee7c64c2f61f9b3cdd0eab666ec62abde48 WHIRLPOOL 39e4a85b176f27c0019ab3d8fde2f91973932e81896b006845f7059a4306ed324b7422857cfa4896c7ef216cca937ae238fdbcee4e5c72df86e49a0d52411652 DIST VMware-Player-5.0.3-1410761.x86_64.bundle.tar 185425920 SHA256 e2ef55702e06646a4465baa16ddb742dd7f9e8021e8f53670a33d7e8f996c678 SHA512 8560ecfb1525d991ac0d3f665c8a89aae81d429cf94ff56fbd22fbd9f41f5a03a56d874811876aaae8042e81f4b57a298e4d29327dab94492c5ded8a58b81071 WHIRLPOOL 8f1c8997e0e2ff90e227474d9b7791b702d180af9a669a9de62a4bc6e373468bca1d7fa8ea9e28e5491992f2b9b0d6d1370a856751422190cafcd6c04682ed07 -DIST VMware-Player-6.0.1-1379776.i386.bundle.tar 232140800 SHA256 3f9bd8b5df203c6e5a2022f0a0c8dfe9fcae17f70f269a9bfe3790be171fe95b SHA512 525fbcc9dfa6856ce2ca926ac3d8b87beca96695b131eb87623756d8b751165b9b693e5d4f0fde5ad752f56c548d9879e983e7fd96d64c9b13357471697e8f61 WHIRLPOOL ab9b0ff567eb91726ba5ac17d2eb1dfcf748f3dff2cfa3c62bfd34b33cfc43d6d9871fe0f5940dc8a58ce62c7151c7153e1699ac319658358fc1f4ae8d85cc55 -DIST VMware-Player-6.0.1-1379776.x86_64.bundle.tar 199587840 SHA256 f108a03892ee180ecff98c59dbe1ea014a23e6fa6dafc83169972c9c300fb69f SHA512 b5218881d7e331aee7e6b834b32d262d09e1e9e8cd33ced0b38a815e2085ab935974980ac15475ce1678fc36816ebc408dced71a200c7642015313dcff34356e WHIRLPOOL 40220941297512a58807fe1a8c69b375ff48835615dacf658e97bc39a00b4d9244db5016f1f2b2e2ccb7524b92f7e4943419a7eb8c6d19a947ddb3db52cfcd3d -DIST VMware-Player-6.0.2-1744117.i386.bundle.tar 233226240 SHA256 b3314b1b4658fff3a3bd821381e141b4039bc6925088d509f073dfdc19f78937 SHA512 da912c898306a50392cdf814f523321962e70d6d2afabe2cbcec35e581c60d1ba3e28fdf11f4e83306c9057038a7ab8d1d1e2e4281068fdb9997f6d1aaf34e74 WHIRLPOOL bdd81a3620a56a689f48443d8cb0fc5dbde8ec5d996fcff5e38a983eb4fa5d6bfb73658f1b15837f6c4272578b4f90875f9393db3318ee9ad84cf1266fbcbed5 -DIST VMware-Player-6.0.2-1744117.x86_64.bundle.tar 200560640 SHA256 6e8ef0982303128fe2d41f59cc6d4031edcc85f4dcc8ba20e17df9837a4c972f SHA512 8e71b59e5152ec6a21e2bc87e11462fbc9f25a27ea48e73ace6daa198bc75fb0cf49d895755abe10b3fb52df0ec0586fd00e8bd51c461b7a638e745c6bbd996e WHIRLPOOL a9af879ce290a9f0ac2fb5f6af425e509455d6fb553156250013a941e782c416435be7326498ed544ee81623fbac4a5924940cc05dd56325c0d8e4c71c44b0b8 -DIST VMware-Player-6.0.3-1895310.i386.bundle.tar 233216000 SHA256 7e7afedc7cef2c10e018924e26143dfea4e7bbe1de8fc3f30ff6d6ffe681a57b SHA512 3d00bfc0f1978ece042d5dca72bebcbb37761a83678ae645c77c8e87ca4b1b7bce63b857c9f455b0dce8fda1ba1b6c2b787794bebf5ed1faa8dced78316cc060 WHIRLPOOL c6284b025f0a772674987cef231b43bb32d3e0605c575a4b8156a2c2720f5c6c35eef496495d80ed83c9a8b49d16a3d26d8c333e1eabcf1d2cf55b4775a56b17 -DIST VMware-Player-6.0.3-1895310.x86_64.bundle.tar 200550400 SHA256 6ab3d3c718d2973f486b69dfe9ad70c4a091640454f8ac8a78d505b2f57d59af SHA512 492f48e73eaf820645e6db99672106b5cc6148b53266729b85011844300b97d9cf2c36305d28ec77cc61ec70fe2883322bd23254ba3495b95bb6d92021b38036 WHIRLPOOL 9e9d8bebd05b8a4c4d2f940d6daf1305d16de31cc096f7b2ec966e9610b37cda991a2fea9f3249bbe679b6dc25c52c119a9992a94cca54fdc786737387f37b04 +DIST VMware-Player-6.0.6-2700073.i386.bundle.tar 230184960 SHA256 f62c97771b9f9b3d62204cb72472bd3b4cf856f5bdc3fd7ea68f786127b4f98e SHA512 91ce0861eab7a122d9bca8f8899f18ed7f59effffb20ae2b6a4d1a021aa57cc179e0f8b7aebeeea857c10a8b31deffcb1649cb79e64a927bb80905746dbaaefd WHIRLPOOL 90c51b72ecdf1b1fa9575e74d196e5d3e25cc4433fc74df283ad57e5953d7671c848d2e816cd19ca7216c2af9065c092c29a66c3d42247cb952a1890d99458bf +DIST VMware-Player-6.0.6-2700073.x86_64.bundle.tar 198164480 SHA256 090f93c404d01475b4fc55db529f14e88457bde40b20140b5133a43e391dd866 SHA512 abdb5a6e6162ec297bdea4616f40ff734967fb04838ed75103ad7051a6120e4d4510f9fc192bd874382885e48444af4b00fc2dcd5f6d05929c615e5c379ae212 WHIRLPOOL 386b3a2b928ddf4ce149c1738412c46e0292648e54537b1164197d89b5dd5d86448fbe659141c2ca8d6f55ccd709e629d60b20311c69333bd2b33162a59f3a88 +DIST VMware-Player-7.1.2-2780323.x86_64.bundle.tar 211128320 SHA256 baa60996b3bed5ba89db1a0fd9a2cc263ea07ac1cf2d6f3aab68c728cc960efc SHA512 c4465a4cbf97b9fe3aa2d6a1c690047251a37929867e0b3cbddf6643b59ef8e618809973543150e6cd9a3bdba0c9c04fb55171616c2179a0ff80ee7302e07fc2 WHIRLPOOL f0bc539647a5f3838a486d62506881f752e426e2e7299b20f2828c285cb041c777f93f3d29627ff4187edfd92e43e37e70647828ce537adb67db0fe3e99fccb0 diff --git a/app-emulation/vmware-player/files/vmware-10.0.rc b/app-emulation/vmware-player/files/vmware-10.0.rc new file mode 100644 index 000000000000..82e45f1bd66d --- /dev/null +++ b/app-emulation/vmware-player/files/vmware-10.0.rc @@ -0,0 +1,37 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/files/vmware-10.0.rc,v 1.2 2014/04/26 20:36:17 dilfridge Exp $ + +depend() { + need localmount + use net +} + +start() { + ebegin Starting VMware USB Arbitrator + #start-stop-daemon --start --exec @@BINDIR@@/vmware-usbarbitrator + @@BINDIR@@/vmware-usbarbitrator + eend $? + ebegin Starting VMware services + modprobe -v vmci || modprobe -v vmw_vmci + eend $? + modprobe -av vmmon vmci vsock vmblock vmnet + eend $? + @@BINDIR@@/vmware-networks --start + eend $? +} + +stop() { + ebegin Stopping VMware USB Arbitrator + #start-stop-daemon --stop --exec @@BINDIR@@/vmware-usbarbitrator + killall --wait @@BINDIR@@/vmware-usbarbitrator + eend $? + @@BINDIR@@/vmware-networks --stop + eend $? + ebegin Stopping VMware services + modprobe -rv vsock vmmon vmblock vmnet + eend $? + modprobe -rv vmci || modprobe -rv vmw_vmci + eend $? +} diff --git a/app-emulation/vmware-player/files/vmware-11.0.rc b/app-emulation/vmware-player/files/vmware-11.0.rc new file mode 100644 index 000000000000..2a827bc1ae31 --- /dev/null +++ b/app-emulation/vmware-player/files/vmware-11.0.rc @@ -0,0 +1,44 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +depend() { + need localmount + use net +} + +start() { + ebegin Starting VMware USB Arbitrator + #start-stop-daemon --start --exec @@BINDIR@@/vmware-usbarbitrator + @@BINDIR@@/vmware-usbarbitrator + eend $? + ebegin Starting VMware services + + # quiet for vmci because it may not be there + modprobe -vq vmci || modprobe -v vmw_vmci + eend $? + + # vmci or vmw_vmci was loaded by the previous modprobe + # no need to do it here + modprobe -av vmmon vsock vmblock vmnet + eend $? + @@BINDIR@@/vmware-networks --start + eend $? +} + +stop() { + ebegin Stopping VMware USB Arbitrator + #start-stop-daemon --stop --exec @@BINDIR@@/vmware-usbarbitrator + killall --wait @@BINDIR@@/vmware-usbarbitrator + eend $? + @@BINDIR@@/vmware-networks --stop + eend $? + ebegin Stopping VMware services + modprobe -rv vsock vmmon vmblock vmnet + eend $? + + # quiet for vmci because it may not be there + modprobe -rvq vmci || modprobe -rv vmw_vmci + eend $? +} diff --git a/app-emulation/vmware-player/files/vmware-11.1.rc b/app-emulation/vmware-player/files/vmware-11.1.rc new file mode 100644 index 000000000000..2a827bc1ae31 --- /dev/null +++ b/app-emulation/vmware-player/files/vmware-11.1.rc @@ -0,0 +1,44 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +depend() { + need localmount + use net +} + +start() { + ebegin Starting VMware USB Arbitrator + #start-stop-daemon --start --exec @@BINDIR@@/vmware-usbarbitrator + @@BINDIR@@/vmware-usbarbitrator + eend $? + ebegin Starting VMware services + + # quiet for vmci because it may not be there + modprobe -vq vmci || modprobe -v vmw_vmci + eend $? + + # vmci or vmw_vmci was loaded by the previous modprobe + # no need to do it here + modprobe -av vmmon vsock vmblock vmnet + eend $? + @@BINDIR@@/vmware-networks --start + eend $? +} + +stop() { + ebegin Stopping VMware USB Arbitrator + #start-stop-daemon --stop --exec @@BINDIR@@/vmware-usbarbitrator + killall --wait @@BINDIR@@/vmware-usbarbitrator + eend $? + @@BINDIR@@/vmware-networks --stop + eend $? + ebegin Stopping VMware services + modprobe -rv vsock vmmon vmblock vmnet + eend $? + + # quiet for vmci because it may not be there + modprobe -rvq vmci || modprobe -rv vmw_vmci + eend $? +} diff --git a/app-emulation/vmware-player/files/vmware-11.2.rc b/app-emulation/vmware-player/files/vmware-11.2.rc new file mode 100644 index 000000000000..2a827bc1ae31 --- /dev/null +++ b/app-emulation/vmware-player/files/vmware-11.2.rc @@ -0,0 +1,44 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +depend() { + need localmount + use net +} + +start() { + ebegin Starting VMware USB Arbitrator + #start-stop-daemon --start --exec @@BINDIR@@/vmware-usbarbitrator + @@BINDIR@@/vmware-usbarbitrator + eend $? + ebegin Starting VMware services + + # quiet for vmci because it may not be there + modprobe -vq vmci || modprobe -v vmw_vmci + eend $? + + # vmci or vmw_vmci was loaded by the previous modprobe + # no need to do it here + modprobe -av vmmon vsock vmblock vmnet + eend $? + @@BINDIR@@/vmware-networks --start + eend $? +} + +stop() { + ebegin Stopping VMware USB Arbitrator + #start-stop-daemon --stop --exec @@BINDIR@@/vmware-usbarbitrator + killall --wait @@BINDIR@@/vmware-usbarbitrator + eend $? + @@BINDIR@@/vmware-networks --stop + eend $? + ebegin Stopping VMware services + modprobe -rv vsock vmmon vmblock vmnet + eend $? + + # quiet for vmci because it may not be there + modprobe -rvq vmci || modprobe -rv vmw_vmci + eend $? +} diff --git a/app-emulation/vmware-player/files/vmware-network.service b/app-emulation/vmware-player/files/vmware-network.service new file mode 100644 index 000000000000..abc6648f3156 --- /dev/null +++ b/app-emulation/vmware-player/files/vmware-network.service @@ -0,0 +1,17 @@ +[Unit] +Description=VMware Network +Requires=local-fs.target +Wants=network.target vmware-usbarbitrator.service +After=local-fs.target network.target vmware-usbarbitrator.service + +[Service] +Type=simple +ExecStartPre=/sbin/modprobe -av vmci vmmon vsock vmblock vmnet +ExecStart=/opt/vmware/bin/vmware-networks --start +ExecStop=/opt/vmware/bin/vmware-networks --stop +ExecStopPost=/sbin/modprobe -rv vmmon vsock vmblock vmnet vmci +TimeoutSec=0 +RemainAfterExit=yes + +[Install] +WantedBy=multi-user.target diff --git a/app-emulation/vmware-player/files/vmware-usbarbitrator.service b/app-emulation/vmware-player/files/vmware-usbarbitrator.service new file mode 100644 index 000000000000..16a0fb81bfc9 --- /dev/null +++ b/app-emulation/vmware-player/files/vmware-usbarbitrator.service @@ -0,0 +1,11 @@ +[Unit] +Description=VMware USB Arbitrator +Requires=local-fs.target +Before=vmware-network.service + +[Service] +Type=forking +ExecStart=/opt/vmware/bin/vmware-usbarbitrator + +[Install] +WantedBy=multi-user.target diff --git a/app-emulation/vmware-player/metadata.xml b/app-emulation/vmware-player/metadata.xml index aef2572555a8..47a08130e10d 100644 --- a/app-emulation/vmware-player/metadata.xml +++ b/app-emulation/vmware-player/metadata.xml @@ -2,13 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>vmware</herd> - <longdescription lang="en"> - VMware Player - free desktop virtualization software application - makes it - easy to operate any virtual machine created by VMware Workstation, VMware Fusion, - VMware Server or VMware ESX, as well as Microsoft Virtual Server virtual - machines or Microsoft Virtual PC virtual machines. - </longdescription> - <use> + <use> + <flag name='ovftool'>Install OVF tool for importing and exporting appliance files</flag> <flag name="vmware-tools">Install VMware Tools images</flag> </use> </pkgmetadata> diff --git a/app-emulation/vmware-player/vmware-player-6.0.3.1895310.ebuild b/app-emulation/vmware-player/vmware-player-6.0.3.1895310.ebuild deleted file mode 100644 index ad56c58e4818..000000000000 --- a/app-emulation/vmware-player/vmware-player-6.0.3.1895310.ebuild +++ /dev/null @@ -1,245 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils versionator fdo-mime gnome2-utils pax-utils vmware-bundle - -MY_PN="VMware-Player" -MY_PV=$(get_version_component_range 1-3) -PV_MINOR=$(get_version_component_range 3) -PV_BUILD=$(get_version_component_range 4) -MY_P="${MY_PN}-${MY_PV}-${PV_BUILD}" - -DESCRIPTION="Emulate a complete PC on your PC without the usual performance overhead of most emulators" -HOMEPAGE="http://www.vmware.com/products/player/" -BASE_URI="https://softwareupdate.vmware.com/cds/vmw-desktop/player/${MY_PV}/${PV_BUILD}/linux/core/" -SRC_URI=" - x86? ( ${BASE_URI}${MY_P}.i386.bundle.tar ) - amd64? ( ${BASE_URI}${MY_P}.x86_64.bundle.tar ) - " - -LICENSE="vmware GPL-2" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="cups doc +vmware-tools" -RESTRICT="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:2 - dev-cpp/gtkmm:2.4 - dev-cpp/libgnomecanvasmm:2.6 - dev-cpp/pangomm:1.4 - dev-libs/atk - dev-libs/glib:2 - 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:2 - gnome-base/librsvg:2 - gnome-base/orbit - media-libs/fontconfig - media-libs/freetype - media-libs/libart_lgpl - =media-libs/libpng-1.2* - net-misc/curl - cups? ( net-print/cups ) - sys-devel/gcc - sys-fs/fuse - sys-libs/glibc - sys-libs/zlib - x11-libs/cairo - x11-libs/gtk+:2 - x11-libs/libgksu - x11-libs/libICE - x11-libs/libSM - 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-workstation" -PDEPEND="~app-emulation/vmware-modules-279.${PV_MINOR} - vmware-tools? ( app-emulation/vmware-tools )" - -S=${WORKDIR} -VM_INSTALL_DIR="/opt/vmware" - -src_unpack() { - default - local bundle=${A%.tar} - - local component ; for component in \ - vmware-player \ - vmware-player-app \ - vmware-vmx \ - vmware-usbarbitrator \ - vmware-network-editor \ - vmware-player-setup - #vmware-ovftool - do - vmware-bundle_extract-bundle-component "${bundle}" "${component}" "${S}" - done -} - -src_prepare() { - rm -f bin/vmware-modconfig - rm -rf lib/modules/binary - # Bug 459566 - mv lib/libvmware-netcfg.so lib/lib/ -} - -clean_bundled_libs() { - ebegin 'Removing superfluous libraries' - # exclude OpenSSL from unbundling until the AES-NI patch gets into the tree - # see https://forums.gentoo.org/viewtopic-t-835867.html - # must use shipped libgcr.so.0 or else "undefined symbol: gcr_certificate_widget_new" - ldconfig -p | sed 's:^\s\+\([^(]*[^( ]\).*=> \(/.*\)$:\1 \2:g;t;d' | fgrep -v 'libcrypto.so.0.9.8 -libssl.so.0.9.8 -libgcr.so.0' | while read -r libname libpath ; do - dosym "${libpath}" "${VM_INSTALL_DIR}/lib/vmware/lib/${libname}/${libname}" - done - eend -} - -src_install() { - # install the binaries - into "${VM_INSTALL_DIR}" - dobin bin/* || die "failed to install bin" - - # install the libraries - insinto "${VM_INSTALL_DIR}"/lib/vmware - doins -r lib/* - - # Bug 432918 - dosym "${VM_INSTALL_DIR}"/lib/vmware/lib/libcrypto.so.0.9.8/libcrypto.so.0.9.8 \ - "${VM_INSTALL_DIR}"/lib/vmware/lib/libvmwarebase.so.0/libcrypto.so.0.9.8 - dosym "${VM_INSTALL_DIR}"/lib/vmware/lib/libssl.so.0.9.8/libssl.so.0.9.8 \ - "${VM_INSTALL_DIR}"/lib/vmware/lib/libvmwarebase.so.0/libssl.so.0.9.8 - - # install the ancillaries - insinto /usr - doins -r share - - if use cups; then - exeinto $(cups-config --serverbin)/filter - doexe extras/thnucups - - insinto /etc/cups - doins -r etc/cups/* - fi - - # install documentation - if use doc; then - dodoc doc/* - fi - - exeinto "${VM_INSTALL_DIR}"/lib/vmware/setup - doexe vmware-config - - # create symlinks for the various tools - local tool ; for tool in thnuclnt vmplayer{,-daemon} \ - vmware-{acetool,unity-helper,modconfig{,-console},gksu,fuseUI} ; 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/icu /etc/vmware/icu - - # fix permissions - fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/{appLoader,fusermount,launcher.sh,mkisofs,vmware-remotemks} - fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/lib/{wrapper-gtk24.sh,libgksu2.so.0/gksu-run-helper} - fperms 4711 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx{,-debug,-stats} - - pax-mark -m "${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 = "${MY_PV}" - product.buildNumber = "${PV_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" \ - -e "/^Encoding/d" \ - -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 -} diff --git a/app-emulation/vmware-player/vmware-player-6.0.1.1379776.ebuild b/app-emulation/vmware-player/vmware-player-6.0.6.2700073.ebuild index ad56c58e4818..2419f68fb029 100644 --- a/app-emulation/vmware-player/vmware-player-6.0.1.1379776.ebuild +++ b/app-emulation/vmware-player/vmware-player-6.0.6.2700073.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -110,7 +110,7 @@ src_prepare() { clean_bundled_libs() { ebegin 'Removing superfluous libraries' # exclude OpenSSL from unbundling until the AES-NI patch gets into the tree - # see https://forums.gentoo.org/viewtopic-t-835867.html + # see http://forums.gentoo.org/viewtopic-t-835867.html # must use shipped libgcr.so.0 or else "undefined symbol: gcr_certificate_widget_new" ldconfig -p | sed 's:^\s\+\([^(]*[^( ]\).*=> \(/.*\)$:\1 \2:g;t;d' | fgrep -v 'libcrypto.so.0.9.8 libssl.so.0.9.8 @@ -204,7 +204,7 @@ src_install() { local initscript="${T}/vmware.rc" sed -e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \ - "${FILESDIR}/vmware-3.0.rc" > "${initscript}" || die + "${FILESDIR}/vmware-10.0.rc" > "${initscript}" || die newinitd "${initscript}" vmware || die # fill in variable placeholders diff --git a/app-emulation/vmware-player/vmware-player-6.0.2.1744117.ebuild b/app-emulation/vmware-player/vmware-player-7.1.2.2780323.ebuild index ad56c58e4818..112860289931 100644 --- a/app-emulation/vmware-player/vmware-player-6.0.2.1744117.ebuild +++ b/app-emulation/vmware-player/vmware-player-7.1.2.2780323.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -inherit eutils versionator fdo-mime gnome2-utils pax-utils vmware-bundle +inherit eutils versionator fdo-mime gnome2-utils pax-utils systemd vmware-bundle MY_PN="VMware-Player" MY_PV=$(get_version_component_range 1-3) @@ -16,14 +16,13 @@ DESCRIPTION="Emulate a complete PC on your PC without the usual performance over HOMEPAGE="http://www.vmware.com/products/player/" BASE_URI="https://softwareupdate.vmware.com/cds/vmw-desktop/player/${MY_PV}/${PV_BUILD}/linux/core/" SRC_URI=" - x86? ( ${BASE_URI}${MY_P}.i386.bundle.tar ) amd64? ( ${BASE_URI}${MY_P}.x86_64.bundle.tar ) " LICENSE="vmware GPL-2" SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="cups doc +vmware-tools" +KEYWORDS="-* ~amd64" +IUSE="cups doc ovftool +vmware-tools" RESTRICT="strip" # vmware-workstation should not use virtual/libc as this is a @@ -77,7 +76,7 @@ RDEPEND="dev-cpp/cairomm x11-libs/pango x11-libs/startup-notification !app-emulation/vmware-workstation" -PDEPEND="~app-emulation/vmware-modules-279.${PV_MINOR} +PDEPEND="~app-emulation/vmware-modules-304.${PV_MINOR} vmware-tools? ( app-emulation/vmware-tools )" S=${WORKDIR} @@ -94,10 +93,12 @@ src_unpack() { vmware-usbarbitrator \ vmware-network-editor \ vmware-player-setup - #vmware-ovftool do vmware-bundle_extract-bundle-component "${bundle}" "${component}" "${S}" done + + use ovftool && \ + vmware-bundle_extract-bundle-component "${bundle}" vmware-ovftool } src_prepare() { @@ -110,7 +111,7 @@ src_prepare() { clean_bundled_libs() { ebegin 'Removing superfluous libraries' # exclude OpenSSL from unbundling until the AES-NI patch gets into the tree - # see https://forums.gentoo.org/viewtopic-t-835867.html + # see http://forums.gentoo.org/viewtopic-t-835867.html # must use shipped libgcr.so.0 or else "undefined symbol: gcr_certificate_widget_new" ldconfig -p | sed 's:^\s\+\([^(]*[^( ]\).*=> \(/.*\)$:\1 \2:g;t;d' | fgrep -v 'libcrypto.so.0.9.8 libssl.so.0.9.8 @@ -135,6 +136,9 @@ src_install() { dosym "${VM_INSTALL_DIR}"/lib/vmware/lib/libssl.so.0.9.8/libssl.so.0.9.8 \ "${VM_INSTALL_DIR}"/lib/vmware/lib/libvmwarebase.so.0/libssl.so.0.9.8 + # https://github.com/gentoo/vmware/issues/7 + dosym "${VM_INSTALL_DIR}"/lib/vmware/ /usr/$(get_libdir)/vmware + # install the ancillaries insinto /usr doins -r share @@ -155,6 +159,17 @@ src_install() { exeinto "${VM_INSTALL_DIR}"/lib/vmware/setup doexe vmware-config + # install ovftool + if use ovftool; then + cd "${S}" + + insinto "${VM_INSTALL_DIR}"/lib/vmware-ovftool + doins -r vmware-ovftool/* + + chmod 0755 "${D}${VM_INSTALL_DIR}"/lib/vmware-ovftool/{ovftool,ovftool.bin} + dosym "${D}${VM_INSTALL_DIR}"/lib/vmware-ovftool/ovftool "${VM_INSTALL_DIR}"/bin/ovftool + fi + # create symlinks for the various tools local tool ; for tool in thnuclnt vmplayer{,-daemon} \ vmware-{acetool,unity-helper,modconfig{,-console},gksu,fuseUI} ; do @@ -204,9 +219,12 @@ src_install() { local initscript="${T}/vmware.rc" sed -e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \ - "${FILESDIR}/vmware-3.0.rc" > "${initscript}" || die + "${FILESDIR}/vmware-11.${PV_MINOR}.rc" > "${initscript}" || die newinitd "${initscript}" vmware || die + systemd_dounit "${FILESDIR}/vmware-usbarbitrator.service" + systemd_dounit "${FILESDIR}/vmware-network.service" + # 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 |