Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729444 - www-client/netsurf: support dev-util/xxdi for building with USE=duktape
Summary: www-client/netsurf: support dev-util/xxdi for building with USE=duktape
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Philipp Ammann
Depends on:
Reported: 2020-06-24 13:49 UTC by Michael Orlitzky
Modified: 2022-03-16 02:39 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2020-06-24 13:49:19 UTC
When building with USE=duktape, netsurf uses "xxd -i" from vim, which is why vim-core is in BDEPEND. Vim is an annoying dependency, however, and Greg KH wrote a small replacement script for it that's available in Gentoo as dev-util/xxdi.

I'm not 100% sure how this should be done. we can probably add something to the upstream makefile like

  XXDI := xxd -i

and then override it in Gentoo with


or something like that if xxdi is installed but vim-core is not.
Comment 1 Larry the Git Cow gentoo-dev 2022-03-16 02:39:30 UTC
The bug has been referenced in the following commit(s):

commit 7d7f9207012d7ed63cda301848b7a572b4bc2e9f
Author:     Sam James <>
AuthorDate: 2022-03-16 02:38:52 +0000
Commit:     Sam James <>
CommitDate: 2022-03-16 02:39:04 +0000

    www-client/netsurf: drop remaining IUSE=duktape
    Fixes: c4398dfb476bd4f3be8f3b78b695d9f5996f697c
    Signed-off-by: Sam James <>

 www-client/netsurf/netsurf-3.10-r6.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)