From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4EE5A15800A for ; Thu, 17 Aug 2023 23:41:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 728832BC015; Thu, 17 Aug 2023 23:41:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 58DF52BC015 for ; Thu, 17 Aug 2023 23:41:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B3EB33BE68 for ; Thu, 17 Aug 2023 23:41:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7832ADBC for ; Thu, 17 Aug 2023 23:41:01 +0000 (UTC) From: "orbea" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "orbea" Message-ID: <1692315589.5b1a5ab0785780f5e6f71de85f39a388c3091b76.orbea@gentoo> Subject: [gentoo-commits] repo/proj/libressl:master commit in: www-client/netsurf/ X-VCS-Repository: repo/proj/libressl X-VCS-Files: www-client/netsurf/metadata.xml www-client/netsurf/netsurf-3.10-r6.ebuild www-client/netsurf/netsurf-3.10-r7.ebuild X-VCS-Directories: www-client/netsurf/ X-VCS-Committer: orbea X-VCS-Committer-Name: orbea X-VCS-Revision: 5b1a5ab0785780f5e6f71de85f39a388c3091b76 X-VCS-Branch: master Date: Thu, 17 Aug 2023 23:41:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d520185b-24f4-4e68-9d31-e942bd09049b X-Archives-Hash: dd1760a4b43fbd8fa5591cd876fe97f7 commit: 5b1a5ab0785780f5e6f71de85f39a388c3091b76 Author: orbea riseup net> AuthorDate: Thu Aug 17 23:39:49 2023 +0000 Commit: orbea riseup net> CommitDate: Thu Aug 17 23:39:49 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=5b1a5ab0 www-client/netsurf: add 3.10-r7, drop 3.10-r6 Signed-off-by: orbea riseup.net> www-client/netsurf/metadata.xml | 1 - ...tsurf-3.10-r6.ebuild => netsurf-3.10-r7.ebuild} | 94 +++++++++++----------- 2 files changed, 46 insertions(+), 49 deletions(-) diff --git a/www-client/netsurf/metadata.xml b/www-client/netsurf/metadata.xml index cf54bac..d435571 100644 --- a/www-client/netsurf/metadata.xml +++ b/www-client/netsurf/metadata.xml @@ -20,7 +20,6 @@ media-libs/libnsbmp Build GTK3 GUI - Build GTK2 GUI Use public suffix list from media-libs/libnspsl to detect supercookies (recommended) diff --git a/www-client/netsurf/netsurf-3.10-r6.ebuild b/www-client/netsurf/netsurf-3.10-r7.ebuild similarity index 69% rename from www-client/netsurf/netsurf-3.10-r6.ebuild rename to www-client/netsurf/netsurf-3.10-r7.ebuild index 69bb6d7..dd8707c 100644 --- a/www-client/netsurf/netsurf-3.10-r6.ebuild +++ b/www-client/netsurf/netsurf-3.10-r7.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit netsurf desktop toolchain-funcs +inherit desktop netsurf toolchain-funcs DESCRIPTION="A free, open source web browser" HOMEPAGE="https://www.netsurf-browser.org/" @@ -12,48 +12,53 @@ SRC_URI="http://download.netsurf-browser.org/netsurf/releases/source/${P}-src.ta LICENSE="GPL-2 MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="bmp fbcon truetype +gif +gtk gtk2 +javascript +jpeg mng +IUSE="bmp fbcon truetype +gif +gtk +javascript +jpeg +png +psl rosprite +svg +svgtiny +webp" -REQUIRED_USE="|| ( fbcon gtk gtk2 )" +REQUIRED_USE="|| ( fbcon gtk )" RDEPEND=" - >=dev-libs/libcss-0.9 - >=net-libs/libdom-0.4.1-r1 - >=net-libs/libhubbub-0.3 - >=dev-libs/libnsutils-0.1.0 - >=dev-libs/libutf8proc-2.4 + dev-libs/libcss + dev-libs/libnsutils + dev-libs/openssl:= + dev-libs/libutf8proc dev-libs/libxml2:2 net-misc/curl - bmp? ( >=media-libs/libnsbmp-0.1 ) - fbcon? ( >=dev-libs/libnsfb-0.2.2 - truetype? ( media-fonts/dejavu - >=media-libs/freetype-2.5.0.1 ) + net-libs/libdom + net-libs/libhubbub + bmp? ( media-libs/libnsbmp ) + fbcon? ( + dev-libs/libnsfb + truetype? ( + media-fonts/dejavu + media-libs/freetype + ) + ) + gif? ( media-libs/libnsgif ) + gtk? ( + dev-libs/glib:2 + x11-libs/gtk+:3 ) - gif? ( >=media-libs/libnsgif-0.1 ) - gtk? ( dev-libs/glib:2 - x11-libs/gtk+:3 ) - gtk2? ( dev-libs/glib:2 - x11-libs/gtk+:2 ) javascript? ( - >=dev-libs/nsgenbind-0.7 + dev-libs/nsgenbind dev-lang/duktape:= ) - jpeg? ( >=virtual/jpeg-0-r2:0 ) - mng? ( >=media-libs/libmng-1.0.10-r2 ) - png? ( >=media-libs/libpng-1.2.51:0 ) + jpeg? ( media-libs/libjpeg-turbo:= ) + png? ( media-libs/libpng:0= ) psl? ( media-libs/libnspsl ) - rosprite? ( >=media-libs/librosprite-0.1.2-r1 ) - svg? ( svgtiny? ( >=media-libs/libsvgtiny-0.1.3-r1 ) - !svgtiny? ( gnome-base/librsvg:2 ) ) - webp? ( >=media-libs/libwebp-0.3.0 )" + rosprite? ( media-libs/librosprite ) + svg? ( + svgtiny? ( media-libs/libsvgtiny ) + !svgtiny? ( gnome-base/librsvg:2 ) + ) + webp? ( media-libs/libwebp )" DEPEND="${RDEPEND}" BDEPEND=" - javascript? ( app-editors/vim-core ) dev-libs/check dev-perl/HTML-Parser - >=dev-util/netsurf-buildsystem-1.7-r1 + dev-util/netsurf-buildsystem virtual/pkgconfig + javascript? ( app-editors/vim-core ) " PATCHES=( @@ -64,8 +69,11 @@ PATCHES=( "${FILESDIR}/${PN}-3.10-libressl-3.5.patch" ) -DOCS=( README docs/using-framebuffer.md - docs/ideas/{cache,css-engine,render-library}.txt ) +DOCS=( + README + docs/using-framebuffer.md + docs/ideas/{cache,css-engine,render-library}.txt +) src_prepare() { default @@ -77,22 +85,21 @@ _emake() { local netsurf_makeconf=( "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=binary + NETSURF_FB_FONTLIB=$(usex truetype freetype internal) + NETSURF_FB_FONTPATH="${EPREFIX}/usr/share/fonts/dejavu" NETSURF_USE_BMP=$(usex bmp YES NO) + NETSURF_USE_DUKTAPE=$(usex javascript YES NO) NETSURF_USE_GIF=$(usex gif YES NO) NETSURF_USE_JPEG=$(usex jpeg YES NO) NETSURF_USE_PNG=$(usex png YES NO) NETSURF_USE_NSPSL=$(usex psl YES NO) - NETSURF_USE_MNG=$(usex mng YES NO) - NETSURF_USE_WEBP=$(usex webp YES NO) - NETSURF_USE_JS=NO - NETSURF_USE_DUKTAPE=$(usex javascript YES NO) NETSURF_USE_NSSVG=$(usex svg $(usex svgtiny YES NO) NO) - NETSURF_USE_RSVG=$(usex svg $(usex svgtiny NO YES) NO) + NETSURF_USE_OPENSSL=YES NETSURF_USE_ROSPRITE=$(usex rosprite YES NO) - PKG_CONFIG=$(tc-getPKG_CONFIG) - NETSURF_FB_FONTLIB=$(usex truetype freetype internal) - NETSURF_FB_FONTPATH="${EPREFIX}/usr/share/fonts/dejavu" + NETSURF_USE_RSVG=$(usex svg $(usex svgtiny NO YES) NO) + NETSURF_USE_WEBP=$(usex webp YES NO) NETSURF_USE_VIDEO=NO + PKG_CONFIG=$(tc-getPKG_CONFIG) ) emake "${netsurf_makeconf[@]}" $@ @@ -108,7 +115,6 @@ src_compile() { # need some mangling to ensure that svgtiny is installed. use fbcon && _emake NETSURF_USE_RSVG=NO TARGET=framebuffer - use gtk2 && _emake TARGET=gtk2 use gtk && _emake TARGET=gtk3 } @@ -129,14 +135,6 @@ src_install() { netsurf \ "Network;WebBrowser" fi - if use gtk2 ; then - _emake TARGET=gtk2 DESTDIR="${D}" install - elog "netsurf gtk2 version has been installed as netsurf-gtk2" - make_desktop_entry "${EPREFIX}/usr/bin/netsurf-gtk2 %u" \ - NetSurf-gtk2 \ - netsurf \ - "Network;WebBrowser" - fi if use gtk ; then _emake TARGET=gtk3 DESTDIR="${D}" install elog "netsurf gtk3 version has been installed as netsurf-gtk3"