Gentoo Archives: gentoo-commits

From: Fabio Rossi <rossi.f@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/vmware:master commit in: app-emulation/vmware-workstation/
Date: Tue, 26 Apr 2016 22:00:55
Message-Id: 1461099396.fb50c3c5f65712f407256da161bf8402a786d296.fabio@gentoo
1 commit: fb50c3c5f65712f407256da161bf8402a786d296
2 Author: Fabio Rossi <rossi.f <AT> inwind <DOT> it>
3 AuthorDate: Tue Apr 19 20:49:21 2016 +0000
4 Commit: Fabio Rossi <rossi.f <AT> inwind <DOT> net>
5 CommitDate: Tue Apr 19 20:56:36 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/vmware.git/commit/?id=fb50c3c5
7
8 app-emulation/vmware-workstation: remove rpath patching for glib/fontconfig
9
10 Revert partially part of commit 050003bb7077b9121a81452e28779c343d1f0004.
11 Forcing embedded glib causes other problems when VMWARE_USE_SHIPPED_LIBS
12 is not set (bug #578956).
13
14 .../vmware-workstation-12.1.0.3272444-r2.ebuild | 17 -----------------
15 1 file changed, 17 deletions(-)
16
17 diff --git a/app-emulation/vmware-workstation/vmware-workstation-12.1.0.3272444-r2.ebuild b/app-emulation/vmware-workstation/vmware-workstation-12.1.0.3272444-r2.ebuild
18 index 110bce2..fa77191 100644
19 --- a/app-emulation/vmware-workstation/vmware-workstation-12.1.0.3272444-r2.ebuild
20 +++ b/app-emulation/vmware-workstation/vmware-workstation-12.1.0.3272444-r2.ebuild
21 @@ -224,23 +224,6 @@ clean_bundled_libs() {
22 patchelf --set-rpath "\$ORIGIN/../../../../../lib/librsvg-2.so.2" \
23 svg_loader.so || die
24 popd >/dev/null
25 -
26 - # vmware, even with VMWARE_USE_SHIPPED_LIBS set, uses the system lib
27 - # for glib and fontconfig when a newer version is found. Let's force to use
28 - # always the bundled versions to avoid a mix of system and bundled libs ...
29 - pushd >/dev/null .
30 - einfo "Patching appLoader"
31 - cd "${S}"/lib/bin || die
32 - patchelf --set-rpath "\$ORIGIN/../lib/libglib-2.0.so.0:\$ORIGIN/../lib/libfontconfig.so.1" \
33 - appLoader || die
34 - popd >/dev/null
35 - # ... this depends on previous appLoader patching, probably it is not mandatory but cleans the log
36 - pushd >/dev/null .
37 - einfo "Patching libfontconfig.so.1"
38 - cd "${S}"/lib/lib/libfontconfig.so.1 || die
39 - patchelf --set-rpath "\$ORIGIN/../libexpat.so.0" \
40 - libfontconfig.so.1 || die
41 - popd >/dev/null
42 fi
43 }