Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612544 - www-client/chromium unneeded dependency on x11-libs/libXinerama dev-libs/elfutils and more
Summary: www-client/chromium unneeded dependency on x11-libs/libXinerama dev-libs/elfu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
: 612550 612552 612554 612556 (view as bug list)
Depends on:
Blocks: 618798
  Show dependency tree
 
Reported: 2017-03-13 19:42 UTC by Ostashevskyi Viktor
Modified: 2017-05-17 21:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ostashevskyi Viktor 2017-03-13 19:42:41 UTC
I didn't manage to find any references in sources.
Comment 1 Mart Raudsepp gentoo-dev 2017-03-13 22:12:22 UTC
*** Bug 612550 has been marked as a duplicate of this bug. ***
Comment 2 Mart Raudsepp gentoo-dev 2017-03-13 22:12:55 UTC
*** Bug 612552 has been marked as a duplicate of this bug. ***
Comment 3 Mart Raudsepp gentoo-dev 2017-03-13 22:14:53 UTC
see dups for details on the other than xinerama stuff, or here if ostash transfers them here instead of multiple bugs.
I have not confirmed any of that (besides xinerama that I checked via readelf and strings greps, unless there's some other convoluted stuff going on)
Comment 4 Mart Raudsepp gentoo-dev 2017-03-13 22:16:51 UTC
*** Bug 612554 has been marked as a duplicate of this bug. ***
Comment 5 Mart Raudsepp gentoo-dev 2017-03-13 22:17:10 UTC
*** Bug 612556 has been marked as a duplicate of this bug. ***
Comment 6 Ostashevskyi Viktor 2017-03-14 07:28:15 UTC
Unneeded dependencies:

x11-libs/libXinerama - no references in sources.

media-libs/libexif - no references in sources.

media-libs/harfbuzz[icu] - grepping through sources doesn't shows any usages of hb_icu_* functions, so plain harfbuzz should be enough.

dev-libs/elfutils - used only for Android builds.

dev-perl/JSON - I didn't find references in sources and confirmed this by successful compilation: "emerge -C JSON && emerge -1 --nodeps www-client/chromium"
Comment 7 Ostashevskyi Viktor 2017-03-14 07:36:08 UTC
sys-libs/libcap - used in sandbox unit-tests only, sandbox performs direct syscalls, similar bug https://bugs.gentoo.org/show_bug.cgi?id=610836
Comment 8 Ostashevskyi Viktor 2017-03-14 07:55:24 UTC
media-libs/speex - no references in sources, not even in third_party.
Comment 9 Ostashevskyi Viktor 2017-03-14 21:05:05 UTC
dev-libs/jsoncpp - see https://bugs.gentoo.org/show_bug.cgi?id=610848
Comment 10 Ostashevskyi Viktor 2017-03-14 21:06:09 UTC
x11-libs/libdrm - no references except for bundled mesa (which is built as osmesa).
Comment 11 Ostashevskyi Viktor 2017-03-14 22:53:29 UTC
I am also wondering whether anyone knows why dev-libs/libxml2[icu] is needed. I've built chromium against plain dev-libs/libxml2[-icu] succesfuly.
Comment 12 Mike Gilbert gentoo-dev 2017-04-20 17:36:41 UTC
Thank you for your efforts here.

I think I will optimistically make these adjustments in the latest ebuild, and we shall see if they cause any problems.
Comment 13 Mike Gilbert gentoo-dev 2017-04-20 17:42:35 UTC
Please let me know if I missed anything.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af9bd9e069884edfc0ee54e1ed2379de5dba8383

commit af9bd9e069884edfc0ee54e1ed2379de5dba8383
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Thu Apr 20 13:41:28 2017 -0400

    www-client/chromium: drop several unneeded dependencies
    
    Thanks to Ostashevskyi Viktor for doing the research.
    
    Bug: https://bugs.gentoo.org/612544
    Package-Manager: Portage-2.3.5_p19, Repoman-2.3.2_p49

 www-client/chromium/chromium-59.0.3067.0.ebuild | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)