logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 206e58cc5c6f287b383e345951c0979ae1365f14
parent 70e47f4920c5389bae7b86e5b21936d8d633993c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 28 Aug 2024 04:50:49 +0200

www-client/visurf: treeclean

Diffstat:

Dwww-client/visurf/Manifest1-
Dwww-client/visurf/files/netsurf-3.10-julia-libutf8proc-header-location.patch34----------------------------------
Dwww-client/visurf/metadata.xml41-----------------------------------------
Dwww-client/visurf/visurf-9999.ebuild110-------------------------------------------------------------------------------
4 files changed, 0 insertions(+), 186 deletions(-)

diff --git a/www-client/visurf/Manifest b/www-client/visurf/Manifest @@ -1 +0,0 @@ -DIST netsurf-3.10-src.tar.gz 4084480 BLAKE2B 267ce1811cbf11d053f721e22b8a6d484e796102a4c9baaa10580d92cc1eecfe3f126fb97456262675c962ec88a5235e48dc85f2a5168631f6c9dd5b5082b43b SHA512 1b1153916438e08146271dc04200aefbdba3b2c4ca9432a43abfc3811b5418df7ed21bbd91767f12d04331a236227379d2c412fcf13f25349685a549723bf13d diff --git a/www-client/visurf/files/netsurf-3.10-julia-libutf8proc-header-location.patch b/www-client/visurf/files/netsurf-3.10-julia-libutf8proc-header-location.patch @@ -1,34 +0,0 @@ -From d585a1573819306bb3660db3f13a85b2fd254c63 Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Wed, 17 Jun 2020 17:23:10 -0400 -Subject: [PATCH 1/1] utils/idna.c: adjust utf8proc.h header location. - -There are two upstreams for libutf8proc, and they each put utf8proc.h -in a different location -- ostensibly as a performance art piece -intended to remind the programmer that we as human beings are all -slowly dying, and that our limited time here on earth should not be -wasted. This commit switches the header location from the netsurf- -upstream one that used to work, to the julia-upstream location that -works now (that the Gentoo package follows the julia upstream). - -Bug: https://bugs.gentoo.org/721318 ---- - utils/idna.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/utils/idna.c b/utils/idna.c -index 628ef1f..f6e498a 100644 ---- a/utils/idna.c -+++ b/utils/idna.c -@@ -167,7 +167,7 @@ idna__ace_to_ucs4(const char *ace_label, - - #ifdef WITH_UTF8PROC - --#include <libutf8proc/utf8proc.h> -+#include <utf8proc.h> - - int32_t idna_contexto[] = { - /* CONTEXTO codepoints which have a rule defined */ --- -2.26.2 - diff --git a/www-client/visurf/metadata.xml b/www-client/visurf/metadata.xml @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>philipp.ammann@posteo.de</email> - <name>Philipp Ammann</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <upstream> - <changelog> - https://download.netsurf-browser.org/netsurf/releases/ChangeLog.txt - </changelog> - </upstream> - <use> - <flag name="bmp">BMP bitmap image support (media-libs/libnsbmp)</flag> - <flag name="duktape">Use duktape.org javascript engine</flag> - <flag name="gtk">Build GTK3 GUI</flag> - <flag name="gtk2">Build GTK2 GUI</flag> - <flag name="psl">Use public suffix list via media-libs/libnspsl</flag> - <flag name="rosprite"> - RISC OS Sprite bitmap image support (media-libs/librosprite) - </flag> - <flag name="svgtiny"> - SVG image support via media-libs/svgatiny instead of gnome-base/librsvg - </flag> - </use> - <longdescription lang="en"> - NetSurf is a free, open source web browser. It is written in C, - has its own layout and rendering engine entirely written from - scratch. It is small and capable of handling many of the web - standards in use today. - - Whether you want to check your webmail, read the news or post to - discussion forums, NetSurf is your lightweight gateway to the - world wide web. Actively developed, NetSurf is continually - evolving and improving. - </longdescription> -</pkgmetadata> diff --git a/www-client/visurf/visurf-9999.ebuild b/www-client/visurf/visurf-9999.ebuild @@ -1,110 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit netsurf desktop git-r3 - -DESCRIPTION="power-user frontend for netsurf" -HOMEPAGE="https://git.sr.ht/~sircmpwn/visurf" -EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/visurf" - -LICENSE="GPL-2 MIT" -SLOT="0" -KEYWORDS="" -IUSE="bmp duktape truetype +gif javascript +jpeg mng - +png +psl rosprite +svg +svgtiny +webp" - -REQUIRED_USE="duktape? ( javascript )" - -RDEPEND=" - >=dev-libs/libcss-9999 - >=net-libs/libdom-0.3 - >=net-libs/libhubbub-0.3 - >=dev-libs/libnsutils-0.1.0 - dev-libs/libxml2:2 - net-misc/curl - dev-libs/wayland - x11-libs/cairo - x11-libs/pango - x11-libs/libxkbcommon - dev-libs/libutf8proc:= - bmp? ( >=media-libs/libnsbmp-0.1 ) - gif? ( >=media-libs/libnsgif-0.1 ) - javascript? ( - >=dev-libs/nsgenbind-0.7 - duktape? ( dev-lang/duktape:= ) - !duktape? ( dev-lang/spidermonkey:0= ) - ) - jpeg? ( >=virtual/jpeg-0-r2:0 ) - mng? ( >=media-libs/libmng-1.0.10-r2 ) - png? ( >=media-libs/libpng-1.2.51: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 ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - duktape? ( app-editors/vim-core ) - dev-libs/check - dev-perl/HTML-Parser - >=dev-util/netsurf-buildsystem-1.7-r1 - virtual/pkgconfig - dev-libs/wayland-protocols -" - -PATCHES=( - "${FILESDIR}/netsurf-3.10-julia-libutf8proc-header-location.patch" -) - -src_prepare() { - default - # do not delete gtk frontend, virsurf/res uses gtk/res - rm -r frontends/{amiga,atari,beos,monkey,riscos,windows,framebuffer} || die - mkdir -p build/Linux-visurf || die -} - -_emake() { - netsurf_define_makeconf - local netsurf_makeconf=( - "${NETSURF_MAKECONF[@]}" - COMPONENT_TYPE=binary - NETSURF_USE_BMP=$(usex bmp 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_MOZJS=$(usex javascript $(usex duktape NO YES) NO) - NETSURF_USE_JS=NO - NETSURF_USE_DUKTAPE=$(usex javascript $(usex duktape YES NO) NO) - NETSURF_USE_NSSVG=$(usex svg $(usex svgtiny YES NO) NO) - NETSURF_USE_RSVG=$(usex svg $(usex svgtiny NO YES) NO) - 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_VIDEO=NO - TARGET=visurf - ) - emake "${netsurf_makeconf[@]}" $@ -} - -src_compile() { - _emake -} - -src_test() { - _emake test -} - -src_install() { - _emake DESTDIR="${D}" install - make_desktop_entry "${EPREFIX}"/usr/bin/netsurf-vi \ - NetSurf-vi \ - netsurf \ - "Network;WebBrowser" -}