Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 696902

Summary: dev-qt/qtwebengine bundles chromium and ninja
Product: Gentoo Linux Reporter: Alessandro Barbieri <lssndrbarbieri>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED CANTFIX    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 251464    

Description Alessandro Barbieri 2019-10-07 16:05:02 UTC
When building I saw an 1.6 GiB 3rdparty folder with chromium, gn and ninja
Chromium also bundles a ton of other libraries
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-10-08 04:08:27 UTC
Chromium in QtWebEngine is heavily patched and certainly not unbundlable.

Ebuilds have dependency on dev-util/ninja and in src_configure():
  export NINJA_PATH=/usr/bin/ninja
However it seems that value of NINJA_PATH is not used.

Output of src_configure():
[[[
...
Checking for system ninja... yes
...
Done running configuration tests.

Configure summary:

Qt WebEngine:
...
  Use System Ninja ....................... yes
...
]]]

So NINJA_PATH can be dropped, and system ninja is still expected to be used.
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2019-10-08 04:13:21 UTC
(In reply to Alessandro Barbieri from comment #0)
> When building I saw an 1.6 GiB 3rdparty folder with chromium, gn and ninja
> Chromium also bundles a ton of other libraries

We're aware, and unfortunately there's not much we can do about it. If you find some specific libraries that can be easily unbundled (without creating an unmaintainable mess), please let us know, but I'm afraid that unbundling the whole of chromium is simply not feasible.