Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 527418 Details for
Bug 653196
app-emulation/vmware-remote-console: client device connection and console access to virtual machines on a remote host
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
new ebuild
vmware-remote-console-9.0.0.4288332.ebuild (text/plain), 8.60 KB, created by
steve
on 2018-04-15 04:51:46 UTC
(
hide
)
Description:
new ebuild
Filename:
MIME Type:
Creator:
steve
Created:
2018-04-15 04:51:46 UTC
Size:
8.60 KB
patch
obsolete
># Copyright 1999-2018 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI=5 > >inherit eutils versionator readme.gentoo-r1 gnome2-utils pax-utils vmware-bundle xdg-utils > >MY_PN="VMware-Remote-Console" >MY_PV=$(get_version_component_range 1-3) >PV_BUILD=$(get_version_component_range 4) >MY_P="${MY_PN}-${MY_PV}-${PV_BUILD}" > >DESCRIPTION="VMware Remote Console" >HOMEPAGE="http://www.vmware.com" >BASE_URI="https://softwareupdate.vmware.com/cds/vmw-desktop/player/${MY_PV}/${PV_BUILD}/linux/core/" >LICENSE="vmware GPL-2 GPL-3" >KEYWORDS="-* ~amd64" >SLOT="0" >IUSE="bundled-libs doc" >RESTRICT="mirror strip" > > >BUNDLED_LIBS_DIR=/opt/vmware/lib/vmware/lib > >BUNDLED_LIBS=" > libatk-1.0.so.0 > libatkmm-1.6.so.1 > libatspi.so.0 > libcairomm-1.0.so.1 > libcairo.so.2 > libcurl.so.4 > libdbus-1.so.3 > libfontconfig.so.1 > libfreetype.so.6 > libgailutil.so.18 > libgdkmm-2.4.so.1 > libgdk_pixbuf-2.0.so.0 > libgdk-x11-2.0.so.0 > libgio-2.0.so.0 > libgiomm-2.4.so.1 > libglib-2.0.so.0 > libglibmm-2.4.so.1 > libglibmm_generate_extra_defs-2.4.so.1 > libgmodule-2.0.so.0 > libgobject-2.0.so.0 > libgpg-error.so.0 > libgthread-2.0.so.0 > ibgtkmm-2.4.so.1 > libgtk-x11-2.0.so.0 > libpango-1.0.so.0 > libpangocairo-1.0.so.0 > libpangoft2-1.0.so.0 > libpangomm-1.4.so.1 > libpangoxft-1.0.so.0 > libpixman-1.so.0 > libpng12.so.0 > librsvg-2.so.2 > libsigc-2.0.so.0 > libXau.so.6 > libXcomposite.so.1 > libXcursor.so.1 > libXdamage.so.1 > libXdmcp.so.6 > libXfixes.so.3 > libXft.so.2 > libXinerama.so.1 > libxml2.so.2 > libXrandr.so.2 > libXrender.so.1 > libz.so.1 >" > >BUNDLED_LIB_DEPENDS=" > x11-libs/libXau > x11-libs/libXcomposite > x11-libs/libXcursor > x11-libs/libXdamage > x11-libs/libXdmcp > x11-libs/libXfixes > x11-libs/libXft > x11-libs/libXinerama > dev-libs/libxml2 > x11-libs/libXrandr > x11-libs/libXrender > dev-libs/atk > dev-cpp/atkmm > app-accessibility/at-spi2-core > x11-libs/cairo > dev-cpp/cairomm > net-misc/curl > media-libs/fontconfig > media-libs/freetype > x11-libs/gtk+:2 > dev-cpp/gtkmm:2.4 > x11-libs/gdk-pixbuf:2 > dev-libs/glib:2 > dev-cpp/glibmm:2 > dev-libs/libgpg-error > x11-libs/pango > dev-cpp/pangomm > x11-libs/pixman > media-libs/libpng > gnome-base/librsvg > dev-libs/libsigc++ > sys-libs/zlib >" > >RDEPEND=" > sys-apps/dbus > media-libs/alsa-lib >" > >DEPEND=">=dev-util/patchelf-0.9" > >S=${WORKDIR} >VM_INSTALL_DIR="/opt/vmware" > >QA_PREBUILT="/opt/*" > >#QA_WX_LOAD="opt/vmware/lib/vmware/bin/appLoader opt/vmware/lib/vmware/bin/vmware-remotemks" > >src_unpack() { > default > local bundle=${MY_P}.x86_64.bundle > > local component; for component in \ > vmware-vmrc \ > vmware-vmrc-app \ > vmware-usbarbitrator > do > vmware-bundle_extract-bundle-component "${bundle}" "${component}" "${S}" > done > >} > >clean_bundled_libs() { > if ! use bundled-libs ; then > einfo "Removing bundled libraries" > for libname in ${BUNDLED_LIBS} ; do > rm -rv "${S}"/lib/lib/${libname} || die "Failed removing bundled ${libname}" > done > > rm -rv "${S}"/lib/libconf || die "Failed removing bundled gtk conf libs" > > # Among the bundled libs there are libcrypto.so.1.0.1 and libssl.so.1.0.1 > # (needed by libcds.so) which seem to be compiled from openssl-1.0.2l. > # Upstream real sonames are *so.1.0.0 so it's necessary to fix DT_NEEDED link > # in libcds.so to be able to use system libs. > pushd >/dev/null . > einfo "Patching libcds.so" > cd "${S}"/lib/lib/libcds.so || die > patchelf --replace-needed libssl.so.1.0.{1,0} \ > --replace-needed libcrypto.so.1.0.{1,0} \ > libcds.so || die > popd >/dev/null > > > else > > # if librsvg is not installed in the system then vmware doesn't start > pushd >/dev/null . > einfo "Patching svg_loader.so" > cd "${S}"/lib/libconf/lib/gtk-2.0/2.10.0/loaders || die > patchelf --set-rpath "\$ORIGIN/../../../../../lib/librsvg-2.so.2" \ > svg_loader.so || die > popd >/dev/null > fi >} > >src_prepare() { > clean_bundled_libs >} > >src_install() { > local major_minor=$(get_version_component_range 1-2 "${PV}") > > # revdep-rebuild entry > insinto /etc/revdep-rebuild > echo "SEARCH_DIRS_MASK=\"${VM_INSTALL_DIR}\"" >> ${T}/10${PN} > doins "${T}"/10${PN} > > # install the binaries > into "${VM_INSTALL_DIR}" > dobin bin/* > > # install the libraries > insinto "${VM_INSTALL_DIR}"/lib/vmware > doins -r lib/* > > # workaround for hardcoded search paths needed during shared objects loading > if ! use bundled-libs ; then > dosym /usr/$(get_libdir)/libglib-2.0.so.0 \ > "${VM_INSTALL_DIR}"/lib/vmware/lib/libglib-2.0.so.0/libglib-2.0.so.0 > # Bug 432918 > dosym /usr/$(get_libdir)/libcrypto.so.1.0.0 \ > "${VM_INSTALL_DIR}"/lib/vmware/lib/libcrypto.so.1.0.1/libcrypto.so.1.0.1 > dosym /usr/$(get_libdir)/libssl.so.1.0.0 \ > "${VM_INSTALL_DIR}"/lib/vmware/lib/libssl.so.1.0.1/libssl.so.1.0.1 > fi > > # bug 616958 > # system libs don't work anymore with embedeed zlib because it doesn't support ZLIB_1.2.9, > # add this hack to bypass embedded zlib which is always loaded and required during startup > # of vmware since 12.5.x > dosym /$(get_libdir)/libz.so.1 \ > "${VM_INSTALL_DIR}"/lib/vmware/lib/libz.so.1/libz.so.1 > > # install the ancillaries > insinto /usr > doins -r share > > if use doc; then > dodoc doc/* > fi > > exeinto "${VM_INSTALL_DIR}"/lib/vmware/setup > doexe vmware-config > >emerge --ask --verbose app-portage/repoman > # create symlinks for the various tools > dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmrc "${VM_INSTALL_DIR}"/bin/vmrc > > # fix permissions > fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/{appLoader,vmware-remotemks} > > > # 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" > gksu.rootMethod = "su" > 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-${major_minor}.rc" > "${initscript}" || die > #newinitd "${initscript}" vmware > > # fill in variable placeholders > if use bundled-libs ; then > 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 > fi > sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmrc:g" \ > -e "/^Encoding/d" \ > -i "${D}/usr/share/applications/vmware-vmrc.desktop" || die > > > readme.gentoo_create_doc >} > > >pkg_preinst() { > gnome2_icon_savelist >} > >pkg_postinst() { > xdg_desktop_database_update > xdg_mimeinfo_database_update > gnome2_icon_cache_update > readme.gentoo_print_elog > > ewarn "${P} is using an old version of libgcrypt library which" > ewarn "is going to be soon removed from portage due to security reasons" > ewarn "(see https://bugs.gentoo.org/show_bug.cgi?id=541564)." > ewarn "Until vmware is fixed upstream you're exposed to security issues!" >} > >pkg_postrm() { > xdg_desktop_database_update > xdg_mimeinfo_database_update > gnome2_icon_cache_update >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 653196
: 527418