https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md headless_shell is a headless build of chromium and there's the embeddable library build Currently Gentoo doesn't support those builds. I built it following those instructions here: https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md and the 1st link in this (issue|request) here. my args.gn looks like this: ### start ### import("//build/args/headless.gn") is_debug = false remove_webcore_debug_symbols = true enable_nacl = false symbol_level = 0 ### end ###
What do you plan to do with a "headless" build? I can't see this being very useful for anyone other than a developer. What would the ebuild install exactly?
Well we do provide chromedriver, so in principle headless_shell should be fine. The name is somewhat generic so I'm not sure it'd belong in any directories from PATH, but given developer-specific usage that shouldn't be a problem.
Mike, scraping websites for instance. What would it install, a headless chromium binary. But couldn't they be scraped by just fetching the html and parsing attributes? Well, yes if you'd like to remain behind and not consider the "new" single page app ecmascript only sites. So what if it's useful for developers only? Who says Gentoo is exclusively for desktop users?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7df14bbbf6f80e1fca0dc66dcf4c4530085cea9b commit 7df14bbbf6f80e1fca0dc66dcf4c4530085cea9b Author: Stephan Hartmann <stha09@googlemail.com> AuthorDate: 2020-06-19 17:13:58 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-06-28 02:20:51 +0000 www-client/chromium: beta channel bump to 84.0.4147.68 Closes: https://bugs.gentoo.org/689584 Closes: https://bugs.gentoo.org/655158 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Stephan Hartmann <stha09@googlemail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org> www-client/chromium/Manifest | 4 +- www-client/chromium/chromium-84.0.4147.45.ebuild | 804 --------------------- ...7.45-r1.ebuild => chromium-84.0.4147.68.ebuild} | 109 ++- www-client/chromium/files/chromium-launcher-r4.sh | 52 ++ www-client/chromium/metadata.xml | 3 + 5 files changed, 140 insertions(+), 832 deletions(-)