[gentoo-commits] repo/gentoo:master commit in: www-client/elinks/, profiles/base/

2022-12-29 Thread Sam James
commit: 582813bc85632cd46b874ca1f9fba48e22fc73a0
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 29 21:25:48 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 29 21:26:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=582813bc

www-client/elinks: add 0.16.0

Note that this adds USE=javascript masked because it can't work yet (because
of pending libxmlpp bump) but added to ensure we don't forget about it.

Bug: https://bugs.gentoo.org/797427
Signed-off-by: Sam James  gentoo.org>

 profiles/base/package.use.mask|  4 
 www-client/elinks/Manifest|  1 +
 .../elinks/{elinks-.ebuild => elinks-0.16.0.ebuild}   | 15 ---
 www-client/elinks/elinks-.ebuild  | 15 ---
 4 files changed, 29 insertions(+), 6 deletions(-)

diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
index 0e241ff8be84..26983de4b5a7 100644
--- a/profiles/base/package.use.mask
+++ b/profiles/base/package.use.mask
@@ -6,6 +6,10 @@
 # This file is only for generic masks. For arch-specific masks (i.e.
 # mask everywhere, unmask on arch/*) use arch/base.
 
+# Sam James  (2022-12-29)
+# Needs yet-unpackaged libxmlpp-5.0, bug #98
+www-client/elinks javascript
+
 # Ionen Wolkens  (2022-12-29)
 # Blocks eventual cleanup of https://github.com/rkd77/elinks/issues/203
+RESTRICT="!test? ( test ) test"
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
 
 RDEPEND="
@@ -35,6 +37,10 @@ RDEPEND="
)
guile? ( >=dev-scheme/guile-1.6.4-r1[deprecated] )
idn? ( net-dns/libidn:= )
+   javascript? (
+   dev-cpp/libxmlpp:5.0
+   dev-lang/mujs:=
+   )
lua? ( ${LUA_DEPS} )
lzma? ( app-arch/xz-utils )
perl? ( dev-lang/perl:= )
@@ -65,6 +71,7 @@ pkg_setup() {
python-any-r1_pkg_setup
 }
 
+
 src_configure() {
local emesonargs=(
-D88-colors=true
@@ -84,6 +91,7 @@ src_configure() {
-Dgssapi=false
-Dhtml-highlight=true
$(meson_use idn)
+   $(meson_use javascript mujs)
-Dipv6=true
-Dleds=true
-Dlibev=false
@@ -102,6 +110,7 @@ src_configure() {
-Dsm-scripting=false
-Dspidermonkey=false
-Dterminfo=true
+   $(meson_use test)
$(meson_use tre)
-Dtrue-color=true
$(meson_use xml xbel)

diff --git a/www-client/elinks/elinks-.ebuild 
b/www-client/elinks/elinks-.ebuild
index 20caa1f92b40..3c1f97b7f5ff 100644
--- a/www-client/elinks/elinks-.ebuild
+++ b/www-client/elinks/elinks-.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
-LUA_COMPAT=( lua5-{1,2} )
+LUA_COMPAT=( lua5-{1,2,3,4} luajit )
 
 inherit meson lua-single python-any-r1
 
@@ -22,8 +22,10 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="bittorrent brotli bzip2 debug finger ftp gopher gpm gnutls guile idn
-   lua lzma +mouse nls nntp perl samba ssl tre unicode X xml zlib zstd"
+IUSE="bittorrent brotli bzip2 debug finger ftp gopher gpm gnutls guile idn"
+IUSE+=" javascript lua lzma +mouse nls nntp perl samba ssl test tre unicode X 
xml zlib zstd"
+# tests restricted for https://github.com/rkd77/elinks/issues/203
+RESTRICT="!test? ( test ) test"
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
 
 RDEPEND="
@@ -35,6 +37,10 @@ RDEPEND="
)
guile? ( >=dev-scheme/guile-1.6.4-r1[deprecated] )
idn? ( net-dns/libidn:= )
+   javascript? (
+   dev-cpp/libxmlpp:5.0
+   dev-lang/mujs:=
+   )
lua? ( ${LUA_DEPS} )
lzma? ( app-arch/xz-utils )
perl? ( dev-lang/perl:= )
@@ -65,6 +71,7 @@ pkg_setup() {
python-any-r1_pkg_setup
 }
 
+
 src_configure() {
local emesonargs=(
-D88-colors=true
@@ -84,6 +91,7 @@ src_configure() {
-Dgssapi=false
-Dhtml-highlight=true
$(meson_use idn)
+   $(meson_use javascript mujs)
-Dipv6=true
-Dleds=true
-Dlibev=false
@@ -102,6 +110,7 @@ src_configure() {
-Dsm-scripting=false
-Dspidermonkey=false
-Dterminfo=true
+   $(meson_use test)
$(meson_use tre)
-Dtrue-color=true
$(meson_use xml xbel)



[gentoo-commits] repo/gentoo:master commit in: www-client/elinks/, profiles/

2020-11-11 Thread Joonas Niilola
commit: a33770ae589ea1d79ec2f8319a779fab5d6ee394
Author: Felix Janda  posteo  de>
AuthorDate: Wed Nov 11 11:24:29 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Nov 11 11:25:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a33770ae

www-client/elinks: migrate to lua-single eclass

Closes: https://bugs.gentoo.org/752876
Signed-off-by: Felix Janda  posteo.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 profiles/package.mask   |  1 +
 ...elinks-.ebuild => elinks-0.13.5-r100.ebuild} | 21 +
 www-client/elinks/elinks-.ebuild|  6 --
 3 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index b99b283ccc0..2fd151042fd 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -363,6 +363,7 @@ dev-lua/luacrypto
 >=net-p2p/eiskaltdcpp-2.2.10-r100
 >=sci-visualization/gnuplot-5.4.0-r100
 >=www-apache/mod_security-2.9.3-r100
+>=www-client/elinks-0.13.5-r100
 >=www-servers/lighttpd-1.4.55-r100
 >=app-admin/conky-1.11.4
 >=media-sound/aqualung-1.1-r100

diff --git a/www-client/elinks/elinks-.ebuild 
b/www-client/elinks/elinks-0.13.5-r100.ebuild
similarity index 86%
copy from www-client/elinks/elinks-.ebuild
copy to www-client/elinks/elinks-0.13.5-r100.ebuild
index 151233e633d..d9da1270435 100644
--- a/www-client/elinks/elinks-.ebuild
+++ b/www-client/elinks/elinks-0.13.5-r100.ebuild
@@ -4,20 +4,22 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8,9} )
+LUA_COMPAT=( lua5-{1,2} )
 
-inherit autotools git-r3 python-any-r1
-
-EGIT_REPO_URI="https://github.com/rkd77/felinks;
+inherit autotools lua-single python-any-r1
 
 DESCRIPTION="Advanced and well-established text-mode web browser"
 HOMEPAGE="http://elinks.or.cz/;
+SRC_URI="https://github.com/rkd77/felinks/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/felinks-${PV}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS=""
-IUSE="bittorrent brotli bzip2 debug finger ftp gopher gpm gnutls guile idn ipv6
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+IUSE="bittorrent brotli bzip2 debug finger ftp gopher gnutls gpm guile idn ipv6
libressl lua +mouse nls nntp perl ruby samba ssl tre unicode X xml zlib 
zstd"
 
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
 BDEPEND="virtual/pkgconfig"
 RDEPEND="
brotli? ( app-arch/brotli:= )
@@ -25,7 +27,7 @@ RDEPEND="
gpm? ( >=sys-libs/ncurses-5.2:0= >=sys-libs/gpm-1.20.0-r5 )
guile? ( >=dev-scheme/guile-1.6.4-r1[deprecated] )
idn? ( net-dns/libidn:= )
-   lua? ( >=dev-lang/lua-5:0= )
+   lua? ( ${LUA_DEPS} )
perl? ( dev-lang/perl:= )
ruby? ( dev-lang/ruby:* dev-ruby/rubygems:* )
samba? ( net-fs/samba )
@@ -48,14 +50,9 @@ DEPEND="${RDEPEND}
${PYTHON_DEPS}"
 
 PATCHES=(
-   "${FILESDIR}"/${P}-parallel-make.patch
+   "${FILESDIR}"/${PN}--parallel-make.patch
 )
 
-src_unpack() {
-   default
-   git-r3_src_unpack
-}
-
 src_prepare() {
default
 

diff --git a/www-client/elinks/elinks-.ebuild 
b/www-client/elinks/elinks-.ebuild
index 151233e633d..1f801f564c3 100644
--- a/www-client/elinks/elinks-.ebuild
+++ b/www-client/elinks/elinks-.ebuild
@@ -4,8 +4,9 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8,9} )
+LUA_COMPAT=( lua5-{1,2} )
 
-inherit autotools git-r3 python-any-r1
+inherit autotools git-r3 lua-single python-any-r1
 
 EGIT_REPO_URI="https://github.com/rkd77/felinks;
 
@@ -18,6 +19,7 @@ KEYWORDS=""
 IUSE="bittorrent brotli bzip2 debug finger ftp gopher gpm gnutls guile idn ipv6
libressl lua +mouse nls nntp perl ruby samba ssl tre unicode X xml zlib 
zstd"
 
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
 BDEPEND="virtual/pkgconfig"
 RDEPEND="
brotli? ( app-arch/brotli:= )
@@ -25,7 +27,7 @@ RDEPEND="
gpm? ( >=sys-libs/ncurses-5.2:0= >=sys-libs/gpm-1.20.0-r5 )
guile? ( >=dev-scheme/guile-1.6.4-r1[deprecated] )
idn? ( net-dns/libidn:= )
-   lua? ( >=dev-lang/lua-5:0= )
+   lua? ( ${LUA_DEPS} )
perl? ( dev-lang/perl:= )
ruby? ( dev-lang/ruby:* dev-ruby/rubygems:* )
samba? ( net-fs/samba )