Skip to content

Commit

Permalink
dev-lang/spidermonkey: keyword 68.12.0 for -riscv
Browse files Browse the repository at this point in the history
src_configure dies due to riscv being an unsupported architecture.
Could be made to work by backporting
0041-bmo-1318905-Make-SpiderMonkey-build-on-Linux-RISC-V.patch
from firefox-68 patch sets (it applies without errors to 68.12.0
and allows it to compile) - but given there is literally ONE package in
the tree (net-libs/libproxy) requiring this particular Spidermonkey slot
and it seems that it will be trivial to update to slot 78, it's probably
not worth the trouble.

Signed-off-by: Marek Szuba <[email protected]>
  • Loading branch information
Marek Szuba committed Aug 11, 2021
1 parent 2b8b3f2 commit 7cc3fd1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions dev-lang/spidermonkey/spidermonkey-68.12.0.ebuild
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="7"

PYTHON_COMPAT=( python3_{7..9} )
PYTHON_COMPAT=( python3_{8..9} )

WANT_AUTOCONF="2.1"

Expand Down Expand Up @@ -49,7 +49,8 @@ SRC_URI="${MOZ_SRC_URI}
DESCRIPTION="SpiderMonkey is Mozilla's JavaScript engine written in C and C++"
HOMEPAGE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey"

KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
# riscv support requires a patch currently only available in firefox-78 patch sets
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 -riscv ~s390 sparc x86"

SLOT="68"
LICENSE="MPL-2.0"
Expand Down
8 changes: 4 additions & 4 deletions profiles/arch/riscv/package.use.mask
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# (Bug #807727). That said, with httpclient-2.8.3 installed manually
# (and without testing) all webmock-3.13.0 tests passed.
dev-ruby/webmock test
# Currently requires dev-lang/spidermonkey:68, which explicitly
# does not support riscv. Hopefully temporary, see Bug #807772.
net-libs/libproxy spidermonkey

# Alex Fan <[email protected]> (2021-08-09)
# ipython[qt5] depends on qtconsole, which depends on QtPy.
Expand Down Expand Up @@ -140,6 +143,7 @@ sys-libs/libblockdev dmraid escrow
gnome-base/gvfs bluray cdda mtp ios
sys-power/upower ios
net-libs/gnome-online-accounts gnome
net-libs/libproxy kde
xfce-base/xfce4-settings libcanberra
xfce-extra/tumbler epub ffmpeg odf pdf raw
xfce-base/xfce4-meta pulseaudio
Expand Down Expand Up @@ -169,10 +173,6 @@ dev-qt/qtnetwork networkmanager
net-libs/libproxy networkmanager
xfce-extra/xfce4-power-manager networkmanager

# Yixun Lan <[email protected]> (2021-05-19)
# Dependencies not keyworded, not tested
net-libs/libproxy spidermonkey kde

# Joonas Niilola <[email protected]> (2021-01-15)
# Dependency not keyworded on this arch.
app-text/enchant voikko
Expand Down

0 comments on commit 7cc3fd1

Please sign in to comment.