From nobody Thu Dec 09 22:24:21 2021 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 8D2FD18DE7DA; Thu, 9 Dec 2021 22:24:21 +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 4J97qn1wFvz3mn7; Thu, 9 Dec 2021 22:24:21 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 21EA17091; Thu, 9 Dec 2021 22:24:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1B9MOLjj027562; Thu, 9 Dec 2021 22:24:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B9MOLl0027561; Thu, 9 Dec 2021 22:24:21 GMT (envelope-from git) Date: Thu, 9 Dec 2021 22:24:21 GMT Message-Id: <202112092224.1B9MOLl0027561@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Max Brazhnikov Subject: git: 201e9aec1071 - main - www/kristall: 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: makc X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 201e9aec1071644ee9e9867bc62795251166da96 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639088661; 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=sDJY60oUpqU5faWMBLa1ECpviul+D+/tloivGccSH88=; b=HGpfRlFYmFPAjjgbyn2WQ94+eg/xOyhPdgUOdsN3PyHIQQL8+YNXLHE2bWMNDCbAeOY07X /8LVXoqs5nRX0o6Eif1pjmeuXIc7T210skBNnNzxH9l3iY/N6JMQy4e/9g6rJzm2imPjED g4vxBwYFp4BfYkpck6HzbV24yu1sDyvmU7j3RKN47Eu6uXV1UD989oayI8Bdmc/ebT0r3U bzfYo7S9QwpojT5mfg2Lip3b2S/frkmmSktwcZhc2ClG0XD5E+j407qhhhCtMMmry//7ye qbGu1cAy82/LRWxd+ajjsdq3HmhhRFkGjUhNwkTn6DCTzUey6Wvx78NHuY2oeg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639088661; a=rsa-sha256; cv=none; b=Q+AS3ih8IRIYMfx6F+AhRQG0sw1zfB4mWhYfDoVPyxO6scdom/co3EugOvQ7QM+4Gq6Gpj 8CXiWBRs0dFI6WWQYFVpJdxvt8Y48NVX6iFOLMryagEPV1sLCdzDGB7j77cN6sEIGktDi/ hqlLXeaUlS1c3AORPir5zyzdhb689ZvjddIQEVeoDkwsuuBkC4fBdbgF9JVAtF3nRZxlMp GBigTgoS0T8dFckeVcGjga+Z97Gjanz+03qu9CtJr3GW9T8zQeXGuVMWvvnRIwHvGKQDI+ ImROt4DbO7f3rW7GpqQdDud2PhrEHbxOkRVgynpdV2V+QX2P8qHLttRgyifvQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by makc: URL: https://cgit.FreeBSD.org/ports/commit/?id=201e9aec1071644ee9e9867bc62795251166da96 commit 201e9aec1071644ee9e9867bc62795251166da96 Author: Max Brazhnikov AuthorDate: 2021-12-09 22:20:06 +0000 Commit: Max Brazhnikov CommitDate: 2021-12-09 22:23:41 +0000 www/kristall: add new port Minimalistic Gemini/HTTP(S) browser WWW: https://kristall.random-projects.net PR: 254567 (based on) Submitted by: Olga Smirnova --- www/Makefile | 1 + www/kristall/Makefile | 30 ++++++++++++++++++++++++++++++ www/kristall/distinfo | 3 +++ www/kristall/files/patch-Makefile | 27 +++++++++++++++++++++++++++ www/kristall/files/patch-src_kristall.pro | 10 ++++++++++ www/kristall/pkg-descr | 4 ++++ www/kristall/pkg-plist | 9 +++++++++ 7 files changed, 84 insertions(+) diff --git a/www/Makefile b/www/Makefile index 4ddb0b5c93bc..b918337b3421 100644 --- a/www/Makefile +++ b/www/Makefile @@ -283,6 +283,7 @@ SUBDIR += kf5-kjsembed SUBDIR += kiwix-tools SUBDIR += kohana + SUBDIR += kristall SUBDIR += lagrange SUBDIR += larbin SUBDIR += libapreq2 diff --git a/www/kristall/Makefile b/www/kristall/Makefile new file mode 100644 index 000000000000..74133072af73 --- /dev/null +++ b/www/kristall/Makefile @@ -0,0 +1,30 @@ +PORTNAME= kristall +DISTVERSIONPREFIX= V +DISTVERSION= git2021.11.20 +CATEGORIES= www + +MAINTAINER= mistresssilvara@hotmail.com +COMMENT= Minimalistic Gemini/HTTP(S) browser + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libcmark.so:textproc/cmark \ + libgumbo.so:devel/gumbo + +USES= compiler:c++17-lang desktop-file-utils gl iconv pkgconfig \ + qt:5 shared-mime-info ssl +USE_QT= core gui multimedia network svg widgets buildtools_build \ + linguisttools_build qmake_build +USE_GL= gl + +USE_GITHUB= yes +GH_ACCOUNT= MasterQ32 +GH_TAGNAME= 6b39f244 + +MAKE_ARGS= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ + QMAKE_COMMAND=${QMAKE} \ + QMAKE_CONFIG="external-gumbo-parser external-cmark" +ALL_TARGET= ${PORTNAME} + +.include diff --git a/www/kristall/distinfo b/www/kristall/distinfo new file mode 100644 index 000000000000..7186b94aceea --- /dev/null +++ b/www/kristall/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1639085495 +SHA256 (MasterQ32-kristall-Vgit2021.11.20-6b39f244_GH0.tar.gz) = 7e56901413b8ac169298413d4a6f4e55a5e9cdf3aad762c7d1013076d281720d +SIZE (MasterQ32-kristall-Vgit2021.11.20-6b39f244_GH0.tar.gz) = 22015661 diff --git a/www/kristall/files/patch-Makefile b/www/kristall/files/patch-Makefile new file mode 100644 index 000000000000..244d2585845e --- /dev/null +++ b/www/kristall/files/patch-Makefile @@ -0,0 +1,27 @@ +--- Makefile.orig 2021-12-09 21:36:29 UTC ++++ Makefile +@@ -27,13 +27,6 @@ QMAKE_COMMAND := qmake + UNAME := $(shell uname) + UNAME_M := $(shell uname -m) + # Homebrew on macOS does not link Qt5 into the system path. +-ifeq ($(UNAME),Darwin) +- ifeq ($(UNAME_M),arm64) +- HOMEBREW_PATH=export PATH="$(PATH):/opt/homebrew/opt/qt5/bin"; +- else +- HOMEBREW_PATH=export PATH="$(PATH):/usr/local/opt/qt/bin"; +- endif +-endif + + kristall: build/kristall + cp build/kristall $@ +@@ -41,8 +34,8 @@ kristall: build/kristall + .PHONY: build/kristall + build/kristall: src/* + mkdir -p build +- cd build; $(HOMEBREW_PATH) $(QMAKE_COMMAND) "CONFIG+=$(QMAKE_CONFIG)" ../src/kristall.pro && $(MAKE) +- cd doc; ./gen-man.sh ++ (cd build && $(HOMEBREW_PATH) $(QMAKE_COMMAND) "CONFIG+=$(QMAKE_CONFIG)" ../src/kristall.pro && $(MAKE)) ++ (cd doc && ./gen-man.sh) + + install: kristall + # Prepare directories diff --git a/www/kristall/files/patch-src_kristall.pro b/www/kristall/files/patch-src_kristall.pro new file mode 100644 index 000000000000..5080e63516e8 --- /dev/null +++ b/www/kristall/files/patch-src_kristall.pro @@ -0,0 +1,10 @@ +--- src/kristall.pro.orig 2021-11-20 14:16:34 UTC ++++ src/kristall.pro +@@ -19,7 +19,6 @@ DEFINES += KRISTALL_VERSION="\"$(shell cd $$PWD; git d + !win32: LIBS += -lcrypto + + # We need iconv on non-linux platforms +-!linux: LIBS += -liconv + + # Initialize build flags from environment variables. + QMAKE_CFLAGS *= $$(CFLAGS) diff --git a/www/kristall/pkg-descr b/www/kristall/pkg-descr new file mode 100644 index 000000000000..0a82d93a6a29 --- /dev/null +++ b/www/kristall/pkg-descr @@ -0,0 +1,4 @@ +Graphical small-internet client for windows, linux, MacOS X and BSDs. +Supports gemini, http, https, gopher, finger. + +WWW: https://kristall.random-projects.net diff --git a/www/kristall/pkg-plist b/www/kristall/pkg-plist new file mode 100644 index 000000000000..4f2615bb22b3 --- /dev/null +++ b/www/kristall/pkg-plist @@ -0,0 +1,9 @@ +bin/kristall +share/applications/Kristall.desktop +share/icons/hicolor/128x128/apps/net.random-projects.kristall.png +share/icons/hicolor/16x16/apps/net.random-projects.kristall.png +share/icons/hicolor/32x32/apps/net.random-projects.kristall.png +share/icons/hicolor/64x64/apps/net.random-projects.kristall.png +share/icons/hicolor/scalable/apps/net.random-projects.kristall.svg +share/man/man1/kristall.1.gz +share/mime/packages/kristall.xml