Created attachment 776858 [details] Modified ebuild with duktape support Hello Gentoo folks! The net-libs/libproxy library is the last package on my system that depends on the outdated version of the dev-lang/spidermonkey package and thus on Python 2.7. I have recently discovered that libproxy supports duktape as an alternative JS engine and it would be great to support building the library against it. Modified ebuild attached ;) Thanks in advance!
/me scratches head I see that upstream commit bcde153760ee885d2c633994e78ac447f8ec0713 merged duktape support. But that commit isn't in any tagged version yet. So I don't know how we can use the ebuild at this time.
Oops, yeah, sorry, you are right. I built it from git source to test my poc and noticed the flag and didn't check tags before putting together that ebuild. I'll post an upstream issue to get a fresh release going.
We finally got a new release from the upstream 0.4.18!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64b8854267134d2539c6b66d793a25fc2157a085 commit 64b8854267134d2539c6b66d793a25fc2157a085 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2022-06-21 04:13:04 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2022-06-21 04:40:44 +0000 net-libs/libproxy: Version bump to 0.4.18 * Add IUSE=duktape (bug #842714) * Fix IUSE=webkit (broken by commit 0fdbf838a0ef 5.5 years ago) * Drop libproxy-0.4.10-disable-pac-test.patch; test seems to pass now Closes: https://bugs.gentoo.org/842714 Signed-off-by: Matt Turner <mattst88@gentoo.org> net-libs/libproxy/Manifest | 1 + ...proxy-0.4.18-Fix-building-without-duktape.patch | 33 ++++++++ .../files/libproxy-0.4.18-avoid-nm-build-dep.patch | 90 ++++++++++++++++++++++ net-libs/libproxy/libproxy-0.4.18.ebuild | 84 ++++++++++++++++++++ net-libs/libproxy/metadata.xml | 1 + 5 files changed, 209 insertions(+)