Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 729444

Summary: www-client/netsurf: support dev-util/xxdi for building with USE=duktape
Product: Gentoo Linux Reporter: Michael Orlitzky <mjo>
Component: Current packagesAssignee: Philipp Ammann <philipp.ammann>
Status: RESOLVED UPSTREAM    
Severity: normal CC: proxy-maint, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.
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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d7f9207012d7ed63cda301848b7a572b4bc2e9f

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

    www-client/netsurf: drop remaining IUSE=duktape
    
    Bug: https://bugs.gentoo.org/729444
    Fixes: c4398dfb476bd4f3be8f3b78b695d9f5996f697c
    Signed-off-by: Sam James <sam@gentoo.org>

 www-client/netsurf/netsurf-3.10-r6.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
Comment 2 Michael Orlitzky gentoo-dev 2023-08-15 00:04:13 UTC
commit 154a6b69870f215ae05f98daa4e2713aac706d36
Author: Vincent Sanders <vince@kyllikki.org>
Date:   Wed Jun 3 23:32:54 2020 +0100

    implement a minimal xxd for builds to remove external dependancy