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
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Philipp Ammann
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-24 13:49 UTC by Michael Orlitzky
Modified: 2020-06-24 13:49 UTC (History)
1 user (show)

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 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

  emake XXDI=xxdi.pl

or something like that if xxdi is installed but vim-core is not.