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: RESOLVED FIXED
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: PullRequest
Depends on:
Blocks:
 
Reported: 2018-05-07 13:13 UTC by Darko Luketic
Modified: 2020-06-28 02:21 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?
Comment 4 Larry the Git Cow gentoo-dev 2020-06-28 02:21:01 UTC
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(-)