From nobody Wed Nov 08 10:58:53 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SQMXF44mBz4yvbj; Wed, 8 Nov 2023 10:58:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SQMXF3Xbfz3LPQ; Wed, 8 Nov 2023 10:58:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699441133; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qxi0Us8BsPmpBnYdymO6sKdqLeWQkEpWJ18O4D37/+w=; b=X0ynnVDPjlTNzdmxQWuWVdYxDxN0QMcEnj+URvsbu0QFxt7YqfhzG+Se38aUhA9d0hZVgC IHuSAD0f1VHHSWYXTH4WUbS3X3heZbfCIfsUPfGHg5ghVxY+lcPlltKy+LaNKkQ0sgk9Ad VmgToGuO8o7TmS2ukFJ5+f7um33cBN7UFRJ2L+0eQ1du73ZG0GABazw036QX4AXHDQk2Qh d00YKsn3inOluJ+68y3/efsecLylGWzgh2byaJHmQK3wVH9FG+gUP8qYXjwqh4q5H7JRiK io5n8cHLoChDVg8UYdbCS5MtU7qlbU4OLRIh06YLh4sJshEj/HvpCFnDhEtHHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699441133; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qxi0Us8BsPmpBnYdymO6sKdqLeWQkEpWJ18O4D37/+w=; b=ELDAdC3LWmtxSlB/xcH4gMjYcIbLjgcOT0L5UjZx4/NRv8p3Lx4DVtAPrz1VwD8c4zM9nD 1bgCa5i9gtkeHy6jOjOcxrBhsKl9RulhFvyAOJflNGsgtj9f96t2iPSPzQ6ygbFuiqiuAt N6lIoYmqSrotqwhuBaqiLxtIl4mSSoqhwRvLe3xKbV/HDDhQcwBOBRMMTaTIFSDHruBVDg aIYS8bZfOz6ffgmaICfrh4ksPPmQ7DUzWLIjGycssOWROHIOf1UCqqUq8OYw9En7BvNCor IEugdfD28evSXltycInFGHWqE1qXt6i0KCk/Tb3Ii01GzGQqROgNvm0iBZ+kcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699441133; a=rsa-sha256; cv=none; b=a1XZQ6Y5tUD6/b8zhr8wHVN/HuSwYhYpae8jUeM9cU6EDQM6p+Ge/QFEAospux8E3GMJoN KW3ZYsXaCIpBd66fwXppKcIpgJX0uEYgz4IUAu78PqOYaHWEJUyu5i0LEpIpyf08uWylgH 8z8TQ2aNAdIZ+FYsqJdB3DHinRpII9Yuy2jKY5esfJ4F3nFXvqdkv3lU+syhHcvYdgWFK5 j8EYsGXWTDQ1B7mSSm0VoSUjQHq5gom4vzpL/GtuOBwhnumjGPa+5h/sj4LGDN8HeHe1rz UqbLr/jRxBuXQvAdiocbvJ8B41TlmswY4Rkc4YddtbAe6Y7ItKMHrfVK8Ppb6Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SQMXF2TMHzWG6; Wed, 8 Nov 2023 10:58:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A8Awrh9091448; Wed, 8 Nov 2023 10:58:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A8AwrR9091445; Wed, 8 Nov 2023 10:58:53 GMT (envelope-from git) Date: Wed, 8 Nov 2023 10:58:53 GMT Message-Id: <202311081058.3A8AwrR9091445@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nicola Vitale Subject: git: 221e48d135aa - main - www/vieb: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nivit X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 221e48d135aafe0a9508f4efd214495a92e4d103 Auto-Submitted: auto-generated The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=221e48d135aafe0a9508f4efd214495a92e4d103 commit 221e48d135aafe0a9508f4efd214495a92e4d103 Author: Nicola Vitale AuthorDate: 2023-11-08 10:50:14 +0000 Commit: Nicola Vitale CommitDate: 2023-11-08 10:50:14 +0000 www/vieb: Add new port Vim Inspired Electron Browser - Vim bindings for the web by design Main features: - Local first adblocking, auto-complete, AMP protection, custom redirects and more, all without web requests - Privacy with strict permission system, navigator overrides, custom useragent, custom WebRTC policy and more - Accessible with custom themes, full interface & fontsize scaling, page zooming, spellcheck and mouse support - Window splitting with buffer, split, Vexplore and Ctrl-w bindings, for multi-window browsing - Map commands for completely custom keyboard sequences, keystrokes, commands and actions - Set command for runtime setting configuration exactly like Vim - Vim-compatible options like showcmd, timeout, colorscheme, maxmapdepth, spelllang, splitright, smartcase etc. - Container tabs with colored grouping, auto-clearing, individual cookies and tab restore from containers - Ad-blocker with cosmetic filtering, optional updater, custom lists and uses easylist/easyprivacy by default - Tabs including audio indicator, a toggle for multi-line tabs, pinned tabs, muted tabs and suspended tabs WWW: https://vieb.dev Pre-built packages for the impatient ones: https://people.freebsd.org/~nivit/public_distfiles/electron25/electron25-25.9.3.pkg (dependency) https://people.freebsd.org/~nivit/public_distfiles/vieb/vieb-10.2.0.pkg --- www/Makefile | 1 + www/vieb/Makefile | 36 +++++++++++++++++++ www/vieb/distinfo | 5 +++ www/vieb/files/vieb.desktop | 9 +++++ www/vieb/files/vieb.in | 8 +++++ www/vieb/pkg-descr | 23 +++++++++++++ www/vieb/pkg-plist | 84 +++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 166 insertions(+) diff --git a/www/Makefile b/www/Makefile index 4b669890cd65..f63eec28662f 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2460,6 +2460,7 @@ SUBDIR += vdradmin-am SUBDIR += vertx SUBDIR += vger + SUBDIR += vieb SUBDIR += vigil SUBDIR += vimb SUBDIR += visitors diff --git a/www/vieb/Makefile b/www/vieb/Makefile new file mode 100644 index 000000000000..ce92102476e2 --- /dev/null +++ b/www/vieb/Makefile @@ -0,0 +1,36 @@ +PORTNAME= vieb +DISTVERSION= 10.2.0 +CATEGORIES= www +MASTER_SITES= https://github.com/Jelmerro/Vieb/releases/download/${PORTVERSION}/ \ + LOCAL/nivit/${PORTNAME}/:images +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + ${PORTNAME}-images-${PORTVERSION}${EXTRACT_SUFX}:images + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Vim Inspired Electron Browser +WWW= https://vieb.dev + +LICENSE= GPLv3+ + +USES= desktop-file-utils electronfix:25 + +NO_BUILD= yes +SUB_FILES= ${PORTNAME} + +ELECTRONFIX_MAIN_EXECUTABLE= ${PORTNAME} + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${PATCHDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}/ + ${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR} +.for size in 16 32 48 64 128 256 512 1024 + ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}x${size}/apps + cd ${WRKDIR}/${PORTNAME}-images-${PORTVERSION} && \ + ${INSTALL_DATA} icons/${size}x${size}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}x${size}/apps/${PORTNAME}.png +.endfor + ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps + cd ${WRKDIR}/${PORTNAME}-images-${PORTVERSION} && \ + ${INSTALL_DATA} ${PORTNAME}.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps + +.include diff --git a/www/vieb/distinfo b/www/vieb/distinfo new file mode 100644 index 000000000000..d5b98359a7a7 --- /dev/null +++ b/www/vieb/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1699434195 +SHA256 (vieb-10.2.0.tar.gz) = 9cd749f2a2da03ecf05434ce9cc4f10496bb64c6746de64a18151d02676b46ab +SIZE (vieb-10.2.0.tar.gz) = 94327485 +SHA256 (vieb-images-10.2.0.tar.gz) = ba25e06e1a64a7d371cb77516bd9de59051b670b910c86d083e53e85390ccdf6 +SIZE (vieb-images-10.2.0.tar.gz) = 970335 diff --git a/www/vieb/files/vieb.desktop b/www/vieb/files/vieb.desktop new file mode 100644 index 000000000000..b896d8613852 --- /dev/null +++ b/www/vieb/files/vieb.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Categories=Network;WebBrowser; +Comment=Vieb Inspired Electron Browser +Exec=vieb %U +Icon=vieb +MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm; +Name=Vieb +Terminal=false +Type=Application diff --git a/www/vieb/files/vieb.in b/www/vieb/files/vieb.in new file mode 100644 index 000000000000..c93fe56b7c2b --- /dev/null +++ b/www/vieb/files/vieb.in @@ -0,0 +1,8 @@ +#! /bin/sh + +# workaround Chromium bug https://bugs.chromium.org/p/chromium/issues/detail?id=918234 +if [ "$DBUS_SESSION_BUS_ADDRESS" = "" ]; then + export DBUS_SESSION_BUS_ADDRESS="autolaunch:" +fi + +exec %%DATADIR%%/vieb "$@" diff --git a/www/vieb/pkg-descr b/www/vieb/pkg-descr new file mode 100644 index 000000000000..2fa922bc2834 --- /dev/null +++ b/www/vieb/pkg-descr @@ -0,0 +1,23 @@ +Vim Inspired Electron Browser - Vim bindings for the web by design + +Main features: + + - Local first adblocking, auto-complete, AMP protection, custom redirects and + more, all without web requests + - Privacy with strict permission system, navigator overrides, custom + useragent, custom WebRTC policy and more + - Accessible with custom themes, full interface & fontsize scaling, page + zooming, spellcheck and mouse support + - Window splitting with buffer, split, Vexplore and Ctrl-w bindings, for + multi-window browsing + - Map commands for completely custom keyboard sequences, keystrokes, commands + and actions + - Set command for runtime setting configuration exactly like Vim + - Vim-compatible options like showcmd, timeout, colorscheme, maxmapdepth, + spelllang, splitright, smartcase etc. + - Container tabs with colored grouping, auto-clearing, individual cookies and + tab restore from containers + - Ad-blocker with cosmetic filtering, optional updater, custom lists and uses + easylist/easyprivacy by default + - Tabs including audio indicator, a toggle for multi-line tabs, pinned tabs, + muted tabs and suspended tabs diff --git a/www/vieb/pkg-plist b/www/vieb/pkg-plist new file mode 100644 index 000000000000..04684af55189 --- /dev/null +++ b/www/vieb/pkg-plist @@ -0,0 +1,84 @@ +bin/vieb +share/applications/vieb.desktop +share/icons/hicolor/1024x1024/apps/vieb.png +share/icons/hicolor/128x128/apps/vieb.png +share/icons/hicolor/16x16/apps/vieb.png +share/icons/hicolor/256x256/apps/vieb.png +share/icons/hicolor/32x32/apps/vieb.png +share/icons/hicolor/48x48/apps/vieb.png +share/icons/hicolor/512x512/apps/vieb.png +share/icons/hicolor/64x64/apps/vieb.png +share/icons/hicolor/scalable/apps/vieb.svg +%%DATADIR%%/LICENSE.electron.txt +%%DATADIR%%/LICENSES.chromium.html +%%DATADIR%%/chrome_100_percent.pak +%%DATADIR%%/chrome_200_percent.pak +%%DATADIR%%/chrome_crashpad_handler +%%DATADIR%%/chromedriver +%%DATADIR%%/icudtl.dat +%%DATADIR%%/libEGL.so +%%DATADIR%%/libGLESv2.so +%%DATADIR%%/libffmpeg.so +%%DATADIR%%/libvk_swiftshader.so +%%DATADIR%%/libvulkan.so +%%DATADIR%%/locales/af.pak +%%DATADIR%%/locales/am.pak +%%DATADIR%%/locales/ar.pak +%%DATADIR%%/locales/bg.pak +%%DATADIR%%/locales/bn.pak +%%DATADIR%%/locales/ca.pak +%%DATADIR%%/locales/cs.pak +%%DATADIR%%/locales/da.pak +%%DATADIR%%/locales/de.pak +%%DATADIR%%/locales/el.pak +%%DATADIR%%/locales/en-GB.pak +%%DATADIR%%/locales/en-US.pak +%%DATADIR%%/locales/es-419.pak +%%DATADIR%%/locales/es.pak +%%DATADIR%%/locales/et.pak +%%DATADIR%%/locales/fa.pak +%%DATADIR%%/locales/fi.pak +%%DATADIR%%/locales/fil.pak +%%DATADIR%%/locales/fr.pak +%%DATADIR%%/locales/gu.pak +%%DATADIR%%/locales/he.pak +%%DATADIR%%/locales/hi.pak +%%DATADIR%%/locales/hr.pak +%%DATADIR%%/locales/hu.pak +%%DATADIR%%/locales/id.pak +%%DATADIR%%/locales/it.pak +%%DATADIR%%/locales/ja.pak +%%DATADIR%%/locales/kn.pak +%%DATADIR%%/locales/ko.pak +%%DATADIR%%/locales/lt.pak +%%DATADIR%%/locales/lv.pak +%%DATADIR%%/locales/ml.pak +%%DATADIR%%/locales/mr.pak +%%DATADIR%%/locales/ms.pak +%%DATADIR%%/locales/nb.pak +%%DATADIR%%/locales/nl.pak +%%DATADIR%%/locales/pl.pak +%%DATADIR%%/locales/pt-BR.pak +%%DATADIR%%/locales/pt-PT.pak +%%DATADIR%%/locales/ro.pak +%%DATADIR%%/locales/ru.pak +%%DATADIR%%/locales/sk.pak +%%DATADIR%%/locales/sl.pak +%%DATADIR%%/locales/sr.pak +%%DATADIR%%/locales/sv.pak +%%DATADIR%%/locales/sw.pak +%%DATADIR%%/locales/ta.pak +%%DATADIR%%/locales/te.pak +%%DATADIR%%/locales/th.pak +%%DATADIR%%/locales/tr.pak +%%DATADIR%%/locales/uk.pak +%%DATADIR%%/locales/ur.pak +%%DATADIR%%/locales/vi.pak +%%DATADIR%%/locales/zh-CN.pak +%%DATADIR%%/locales/zh-TW.pak +%%DATADIR%%/resources.pak +%%DATADIR%%/resources/app.asar +%%DATADIR%%/snapshot_blob.bin +%%DATADIR%%/v8_context_snapshot.bin +%%DATADIR%%/vieb +%%DATADIR%%/vk_swiftshader_icd.json