Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655158 - www-client/chromium add support for headless_shell build or create separate ebuild
Summary: www-client/chromium add support for headless_shell build or create separate e...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-07 13:13 UTC by Darko Luketic
Modified: 2018-10-12 11:49 UTC (History)
0 users

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 Darko Luketic 2018-05-07 13:13:42 UTC
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 ###
Comment 1 Mike Gilbert gentoo-dev 2018-05-07 15:07:02 UTC
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?
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2018-05-07 20:47:33 UTC
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.
Comment 3 Darko Luketic 2018-10-12 11:49:58 UTC
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?