From owner-dev-commits-ports-all@freebsd.org Tue May 11 09:44:34 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1AC3462FB51; Tue, 11 May 2021 09:44:34 +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 4FfY0y0J3Cz3QqS; Tue, 11 May 2021 09:44:34 +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 E6EC316081; Tue, 11 May 2021 09:44:33 +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 14B9iXDO022032; Tue, 11 May 2021 09:44:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14B9iXxd022031; Tue, 11 May 2021 09:44:33 GMT (envelope-from git) Date: Tue, 11 May 2021 09:44:33 GMT Message-Id: <202105110944.14B9iXxd022031@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 7034613152e3 - main - SpiritVNC is FLTK-based multi-view VNC client. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7034613152e365155bf3cbe0aa4bef0d1ba9514c Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2021 09:44:34 -0000 The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=7034613152e365155bf3cbe0aa4bef0d1ba9514c commit 7034613152e365155bf3cbe0aa4bef0d1ba9514c Author: Alexey Dokuchaev AuthorDate: 2021-05-11 09:42:48 +0000 Commit: Alexey Dokuchaev CommitDate: 2021-05-11 09:43:18 +0000 SpiritVNC is FLTK-based multi-view VNC client. --- net/Makefile | 1 + net/spiritvnc/Makefile | 28 ++++++++++++++++++++++++++++ net/spiritvnc/distinfo | 3 +++ net/spiritvnc/files/patch-Makefile | 27 +++++++++++++++++++++++++++ net/spiritvnc/files/patch-src_spiritvnc.cxx | 24 ++++++++++++++++++++++++ net/spiritvnc/pkg-descr | 10 ++++++++++ 6 files changed, 93 insertions(+) diff --git a/net/Makefile b/net/Makefile index 3da3edd8b87e..c17cbdefea30 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1408,6 +1408,7 @@ SUBDIR += socketpipe SUBDIR += socketw SUBDIR += sofia-sip + SUBDIR += spiritvnc SUBDIR += spoofer SUBDIR += spread SUBDIR += spread-j diff --git a/net/spiritvnc/Makefile b/net/spiritvnc/Makefile new file mode 100644 index 000000000000..825b2d238d2e --- /dev/null +++ b/net/spiritvnc/Makefile @@ -0,0 +1,28 @@ +# Created by: Alexey Dokuchaev + +PORTNAME= spiritvnc +PORTVERSION= 0.4.5 +CATEGORIES= net + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Multi-view FLTK-based VNC client + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \ + libfontconfig.so:x11-fonts/fontconfig \ + libpng.so:graphics/png \ + libssh2.so:security/libssh2 \ + libvncclient.so:net/libvncserver + +USES= jpeg pkgconfig xorg +USE_GITHUB= yes +USE_XORG= x11 xcursor xext xfixes xft xinerama xpm xrender + +GH_ACCOUNT= willbprog127 +GH_PROJECT= ${PORTNAME}-fltk + +PLIST_FILES= bin/${PORTNAME} + +.include diff --git a/net/spiritvnc/distinfo b/net/spiritvnc/distinfo new file mode 100644 index 000000000000..161ecbfc1237 --- /dev/null +++ b/net/spiritvnc/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1613369131 +SHA256 (willbprog127-spiritvnc-fltk-0.4.5_GH0.tar.gz) = 6589a06de86396e8335a4477fc25871d90542bf63320f1f2a5977a8a87c3108e +SIZE (willbprog127-spiritvnc-fltk-0.4.5_GH0.tar.gz) = 47866 diff --git a/net/spiritvnc/files/patch-Makefile b/net/spiritvnc/files/patch-Makefile new file mode 100644 index 000000000000..577e48df3ca3 --- /dev/null +++ b/net/spiritvnc/files/patch-Makefile @@ -0,0 +1,27 @@ +--- Makefile.orig 2021-02-15 06:05:31 UTC ++++ Makefile +@@ -1,5 +1,5 @@ + CC = c++ +-CFLAGS = -O2 -Wall -lpthread `fltk-config --use-images --cxxflags --ldflags` \ ++CFLAGS += -Wall -lpthread -lXpm `fltk-config --use-images --cxxflags --ldflags` \ + `pkg-config --cflags --libs libvncclient libvncserver libssh2` + DEBUGFLGS= -g -O0 + BINDIR = /usr/local/bin +@@ -7,6 +7,8 @@ TARGET = spiritvnc-fltk + SRC = `ls src/*.cxx` + PKGCONF = `which pkg-config` + ++all: spiritvnc-fltk ++ + spiritvnc-fltk: + @if [ -z ${PKGCONF} ]; then \ + echo " " ; \ +@@ -30,7 +32,7 @@ clean:: + rm -f $(TARGET) + + install: +- install -c -s -o root -m 555 $(TARGET) $(BINDIR) ++ $(BSD_INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(BINDIR)/spiritvnc + + uninstall: + @if [ -f ${BINDIR}"/"${TARGET} ] ; then \ diff --git a/net/spiritvnc/files/patch-src_spiritvnc.cxx b/net/spiritvnc/files/patch-src_spiritvnc.cxx new file mode 100644 index 000000000000..987c78f698c7 --- /dev/null +++ b/net/spiritvnc/files/patch-src_spiritvnc.cxx @@ -0,0 +1,24 @@ +--- src/spiritvnc.cxx.orig 2021-02-15 06:05:31 UTC ++++ src/spiritvnc.cxx +@@ -46,6 +46,8 @@ + #include + #include "app.h" + #include "consts_enums.h" ++#include ++#include "../spiritvnc.xpm" + + + AppVars * app = new AppVars(); +@@ -79,6 +81,12 @@ int main (int argc, char **argv) + + // set app icons + svCreateAppIcons(); ++ ++ // set window's icon ++ Pixmap xpm, mask; ++ XpmCreatePixmapFromData(fl_display, DefaultRootWindow(fl_display), ++ spiritvnc_xpm, &xpm, &mask, NULL); ++ app->mainWin->icon(reinterpret_cast(xpm)); + + // manually trigger misc events callback + svPositionWidgets(); diff --git a/net/spiritvnc/pkg-descr b/net/spiritvnc/pkg-descr new file mode 100644 index 000000000000..56fc8d144128 --- /dev/null +++ b/net/spiritvnc/pkg-descr @@ -0,0 +1,10 @@ +SpiritVNC is FLTK-based VNC viewer that allows to have many simultaneous +connections opened and allows to switch between them efficiently. + +Besides regular VNC connections, SpiritVNC also supports VNC-through-SSH +for encryption and more secure connections. Also supported are reverse +or "listening" VNC connections as well as an auto-scanning function that +displays one VNC viewer for a user-defined time, then automatically +displays the next connected viewer, and so-on. + +WWW: https://www.pismotek.com/brainout/content/spiritvnc.php