diff options
author | Andreas Hüttel <dilfridge@gentoo.org> | 2013-10-19 15:42:53 +0000 |
---|---|---|
committer | Andreas Hüttel <dilfridge@gentoo.org> | 2013-10-19 15:42:53 +0000 |
commit | af16042cb49862b42489a6ac97b21b0e95061f94 (patch) | |
tree | 1973226eb72562bb45ad2885eba849235de2ac8d /app-emulation/vmware-player | |
parent | Build dynamically (#273332) (diff) | |
download | historical-af16042cb49862b42489a6ac97b21b0e95061f94.tar.gz historical-af16042cb49862b42489a6ac97b21b0e95061f94.tar.bz2 historical-af16042cb49862b42489a6ac97b21b0e95061f94.zip |
Version bump without keywords for testing, bug 484084
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x84AD142F
Diffstat (limited to 'app-emulation/vmware-player')
-rw-r--r-- | app-emulation/vmware-player/ChangeLog | 8 | ||||
-rw-r--r-- | app-emulation/vmware-player/Manifest | 35 | ||||
-rw-r--r-- | app-emulation/vmware-player/vmware-player-6.0.0.1295980.ebuild | 245 |
3 files changed, 270 insertions, 18 deletions
diff --git a/app-emulation/vmware-player/ChangeLog b/app-emulation/vmware-player/ChangeLog index 017ac6347809..5234695557da 100644 --- a/app-emulation/vmware-player/ChangeLog +++ b/app-emulation/vmware-player/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-emulation/vmware-player # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-player/ChangeLog,v 1.115 2013/06/23 10:05:28 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-player/ChangeLog,v 1.116 2013/10/19 15:42:40 dilfridge Exp $ + +*vmware-player-6.0.0.1295980 (19 Oct 2013) + + 19 Oct 2013; Andreas K. Huettel <dilfridge@gentoo.org> + +vmware-player-6.0.0.1295980.ebuild: + Version bump without keywords for testing, bug 484084 23 Jun 2013; Andreas K. Huettel <dilfridge@gentoo.org> -vmware-player-4.0.4.744019-r1.ebuild: diff --git a/app-emulation/vmware-player/Manifest b/app-emulation/vmware-player/Manifest index 2762d9902ed3..7c4f602b4d32 100644 --- a/app-emulation/vmware-player/Manifest +++ b/app-emulation/vmware-player/Manifest @@ -11,27 +11,28 @@ DIST VMware-Player-4.0.5-893925.i386.bundle.tar 129781760 SHA256 34b48f6603ad204 DIST VMware-Player-4.0.5-893925.x86_64.bundle.tar 127262720 SHA256 93454b17065dea2bdb5dd62da74122590162e5e3ef8e5218cc1ebe348189afca SHA512 0b012dd0b28a525500b931fc688286d20c6fac37e2c8e078f3999d9bb5c663e9600e610e9030fbbe3cc55a4dc4b05cf3727cdecb96630cb4ff9010878a471734 WHIRLPOOL 55d8363baced467e97b8718945e7dedd013718353c7a4b4e86234dc774db3456a5ae9ace54e457acd1c724b67df73dcfb95a8d9380aff7ef0e1a07df8db018d0 DIST VMware-Player-5.0.2-1031769.i386.bundle.tar 220037120 SHA256 9ed94f5137f96d5ab1b4898abb7bdc1ab84edf7eb8b6477ca3f33a9b18e4d0be SHA512 5fac9dc97ff36631c40765fe4e63c734176891441f3dfbeb417d1dae7db02db7b65c799ae706cbbb8edd91c8aed3fe6d11ebbae8c69a82d37b3ddc48261bff5c WHIRLPOOL c7e634f59c6852e58f7665de7db9c4295451592ba61de738e4cac927907b9d662a9b944579aca1474b5bf5c241d1a5bbcc1ed8c07aff1c31d1d39d4a66309fe4 DIST VMware-Player-5.0.2-1031769.x86_64.bundle.tar 185395200 SHA256 5ba11b8d4ece91c9dc1f9ed096e7c2d420370d8809b4d009a355fca390698482 SHA512 58695587244c142953a55b9f8c4400e54f0951297aab594544d569d15ec3e25c71f4885eb59bfa453cfb6a8c33bfcaff77412dc4a79349c22285b72ec700f635 WHIRLPOOL 554986c680cd4caa760cdc9c9ddf75769be9a92a45ebefa7daabc6697801fa170e6f738ce513d819d4d3f22e3a33424fc559408187a6ee48b969c109bd86ee52 +DIST VMware-Player-6.0.0-1295980.i386.bundle.tar 232079360 SHA256 4afcb3b0b59527f5ce1f21324fc3725865d21373d39a036589749ee56390a1eb SHA512 5025369ac1dfed82f5c10a1b6432634651cf81112d7f16eced77d99800a5d989166dcba6ff032f0eef6822635fa7f7b8dd06c6beb1e8b050a6692b2d91e1c8ab WHIRLPOOL 3c62179383ba305ad9350c2da7410b3c52a237d2640d76d445188ad1277b23a0bd18ca0647050ed84aa4e97f381eff0505ac6900c404b9321c33b45f6b2ce537 +DIST VMware-Player-6.0.0-1295980.x86_64.bundle.tar 199516160 SHA256 a2f7fdcd8c3741c8511112d899760cbeb982e8454b4c0af49540d5ba1b32bd7a SHA512 bf0266cc5007e7aad250f4e3b5f4e54681e59afa2524aa044243f679a25cd290339d824b5b8a08496e1681df53713b84d7c89251ce1e683316622ed5b1b6c551 WHIRLPOOL fdccfb318547120bfae8c1c20b2f88864e2d59949f4df6957a00e30b76e1dab4d55c3c0b7cb2e62b6adef86ffc86eb7baf633269ddba3ac80a86e56051ebd9d6 EBUILD vmware-player-3.1.6.744570.ebuild 6355 SHA256 0518434d039beee20bead98b4ee99f12005fa0de1f0b832d22f494c64a79c851 SHA512 388cce4e4465573fa8b0b8a3026c75e1e13cc4698d9b31153f02395cfd006cc29f8e52fa6a37cab5c784eeffa6c1b9cb01235bce3ef0fb567d9eae5d612b4b61 WHIRLPOOL c96d9934a4478f2247a48edf5444e2d931296d9c9ef3dfff068efeec5331bcf3105e8383a56b348e3b58cbd64e76d5b9a358783c47bde35c85b951a048c5919a EBUILD vmware-player-4.0.5.893925.ebuild 6707 SHA256 776fc456069d2926391cb7475c926ed2c1834b02035c96a715ae9853ca6b950e SHA512 d701e4bc1cc76919ded1794d75713cca618808bea693bcb59f447ccb18c4d3b816af1366d1be43a2094ffa8b9e486e0c3f8f593ec36204effa93a74313f7da5f WHIRLPOOL c3572206e5e0e701d65414f1cd1ed536af6a4b75ad2243a0cf82eaee3e65052f77bd7f1198ece1ab11a919d8e936fb8c47ddaf0a26d491220be26faa92846b28 EBUILD vmware-player-5.0.2.1031769.ebuild 6744 SHA256 c6c1166296b0a4d43be05d094ab9ed9d97d4f21da96587d47e7ff7eba17e47db SHA512 13085cb10a4f85e00d5c22bf8be656c739f1b737cce5acfa794f5c3bceb84b129abcc424dea93084ab9a16321872bcfaf3ef3fa9b3799deeb5e504625662ea5b WHIRLPOOL a8e2ecc6101ae7e82f5a86ec334c2a2b84fc1f68749086dd82f3a093136afd5f4f514e6222ed3ee94b9064c423bb967a358e0b407fed314a815b174fc4951d5b -MISC ChangeLog 32460 SHA256 c5f078c0d926713d9374d55590ff5a2fd5908ad02a7ed50f0a66b630f6b00f65 SHA512 64dce49e336bc13194d6e10e08049a018f80eee6aec20d58ef70b8349af890e77be63f87a59798d168826b14a59990e29cc57697cac11070cc7eb7fa43aaedf2 WHIRLPOOL b35953f1be195401252f0599f3708d0f30825a99e9755a68ee8b900b243abb477b429c85aa549ed2c296a3b8a126f3841cad6b55700e2b44bc0a091d35c5c3fd +EBUILD vmware-player-6.0.0.1295980.ebuild 6728 SHA256 d77743499ba8b98d3f5c01bf1a6c7d5e21e8e9bce5005b59e7f5061f478b72e5 SHA512 9aa159d2a80066fea45e619c8c143814a086cbb007cab84060eab39c5fc799560ef0b864e072a7931ac9b5217f9e5d970b4d731757a46cebdfc5c2387133d46d WHIRLPOOL 77d2500ed8752fb2136b64814b59ff829b0bbb8558aec0c0e39a0fd59b2cc2cf6322117cb8e6d2ae4a60fb918d1576fb0597b7f8901d8ff68c420c5059bb242c +MISC ChangeLog 32657 SHA256 67273f110f8fb70b2dca063e490be7ffe22d3eee5c11478b54e96dd415fe4917 SHA512 487ca0d6f01ab3d885a043da72db4f073f34b8b9c901014cecc2b42e93be9a754358a4743f356ced304c5b66522e7011f29786902e3d719ac457f379c4dc0b48 WHIRLPOOL 4f3465845d00320a48e35503218deebcf305199c27ef2a0ea374649d697363150dc550a93109811f6358f304bcdc3539647dee90e82ebba0c95ce477276ce7b6 MISC metadata.xml 768 SHA256 d5aa104202ec61e49d8ad4c5c67ee447ad16bc063b16d6bad62a717c3bd82604 SHA512 42e0a3e8414e62b250dcf51c288cc354fbc84b5b6032c8381fe0acf2e4aea29b9271b8d33a122ee95bd479d76921e5c734a5357bab7ffd3081b8734d83a9b530 WHIRLPOOL bdea87217b07345c41c43dadacc7f6f2d991858ff39cc55761626823951587e52b917c66f41e798b2ecb9ba127380e9960850f527e3a26b16247f86712b4879b -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) +Version: GnuPG v2.0.22 (GNU/Linux) -iQJ8BAEBCABmBQJRxsjeXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwNzlCRDk4QzA4RENBRkYzQUEwRjQzMDlF -QkU2QTMzNkJFMTkwMzlDAAoJEOvmoza+GQOcTv4QAJVWvlFLx/f7BT/NHOtYsWZh -P3QJDWhP3ncVZDH3/YNTx9N19BozAtG2B2BG8hRgDWwdggcBje9P6qNbyEhyeW6B -omwm5B3jQH+49TDueHuPuOtPbw8805QLV0e8DyCg/0i7H0Y2YYgb9uEWazXns62v -dOw+kVZK74OwxezYyW678hRtGDpRdaavTo+2lMYV/+pinejMjDck+8kzucbmydye -rV+hPxyo1DIw7UNxZJmwb1rRoOaRgP+5SQfG82+LDWD9Z+J1nOJx3z4ERFaPlBue -KvhMOag76dRuMhCW9g4spQixuRDs5Lbtha755lvDRg/HFPeE/GC2wuJXxD6cb6Cv -ROUhGLeV7aGfVR9rk7NN2gwmvGTAejOKCYhC2Ki7Jru43dClqX12/CKdZuZ+ANub -+OeCxTogYkOhm7KxznvA0FuYC4uuZ3UEkpcLyuSwIwyUmcOR8zYM1v4bPZgnhlyF -8b3bVVxGEGQg4YeiGS+IifKZsD8MvI7kApIHtshXEnPEzPXXtoBdlW3X9siRS+Q1 -ZrVoSp1VLH0ZxXlhEMLlAsLaqc8jwzR/dx8OCEPjFjHz8/ExKLFU6AAWbAay8JCG -Yl5KwXy2M051MsnBeYaXiOkUNm97Q3W4Cw0alfv+L90V8zJ/WC3yhiN6G8Ev8gt3 -txWfOArFKkXDgHeRnKRL -=RWWb +iQIcBAEBCAAGBQJSYqjDAAoJEJS/30SErRQvBucP/0q0IAs/3s3b7QYLFlLlwl9g +57utbsgNYTbV4l2rRfRcI/+6jPXgv0bu0b9jdW217bzUnHzPnj8QFNiwKFyOlORm +CZq8LpkGJeeYwLgH2GnRoj/eKno77VIZpcESMznK17k50Qvh9V8HL4OmA1sotGP4 +EVvPZYCOEMpWKHNMz4idD+dN0OYrtrDh/MDr7JkX6B+jCTYMRC+PK/splp33WfSv +NKvXLfJQuTfq0s1YoRlFortAzzwNF/D5hzVlpE676kWMTFO0vSFXpYuWt+8zpO1+ +ADGElxfS/DYUVBWqdodWlb0pYt2Xjchy/0Iap9eRKZ1KCzeTcYcVVZRuvg56HqOP +MmYYz2bhVYikWIgUzfNvBw5VgIM7PBADh3DzDhW6LfgCx0Vmb3HOarCfq+ePZ1d1 +tkNvqa7cGVjp3+kLPQqYV4o1FSr2t1qfscxvO0jrMKDQ4UKE/ImMSVUd9HtEtch9 +M+75pKITzXsSlWpif27Rxbvp9/HNej8mjLxQ0SU8RiU1Xshp8IOcW/EfuMtw3C+8 +6q60vcUxwm6u2+Zhdb2V0LnjXh7ctsCPs79TQjVusOGFzGchgzHEW2W3HuFPoa/s +aRCBf5huJPCfTAYo80n3yKjwctwh4kmNwLxJGTIJ3JVU7BNIBJP/4deKgca0YjBr +K6qK95qg0jVYErfNL/y8 +=ehLy -----END PGP SIGNATURE----- diff --git a/app-emulation/vmware-player/vmware-player-6.0.0.1295980.ebuild b/app-emulation/vmware-player/vmware-player-6.0.0.1295980.ebuild new file mode 100644 index 000000000000..3020f452102a --- /dev/null +++ b/app-emulation/vmware-player/vmware-player-6.0.0.1295980.ebuild @@ -0,0 +1,245 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-player/vmware-player-6.0.0.1295980.ebuild,v 1.1 2013/10/19 15:42:40 dilfridge Exp $ + +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="" +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 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 +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 +} |