pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/drawterm



Module Name:    pkgsrc
Committed By:   pin
Date:           Mon Jul  4 20:56:48 UTC 2022

Added Files:
        pkgsrc/x11/drawterm: DESCR Makefile PLIST distinfo

Log Message:
x11/drawterm: import package

Packaged in wip by Paolo Vincenzo Olivo.

Drawterm  is a program that users of non-Plan 9 systems can use to
establish graphical cpu(1) connections with Plan 9 CPU servers.  Just as
a real Plan 9 terminal does, drawterm serves its local name space as
well as some devices (the keyboard, mouse, and screen) to a remote CPU
server, which mounts this name space on /mnt/term and starts a shell.
Typically, either explicitly or via the profile, one uses the shell to
start rio(1).

This is a fork of Russ Cox's drawterm to incorporate features from
Plan9front (http://9front.org), most importantly DP9IK authentication
support (see authsrv(6)) and the TLS based rcpu(1) protocol.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/drawterm/DESCR pkgsrc/x11/drawterm/Makefile \
    pkgsrc/x11/drawterm/PLIST pkgsrc/x11/drawterm/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/x11/drawterm/DESCR
diff -u /dev/null pkgsrc/x11/drawterm/DESCR:1.1
--- /dev/null   Mon Jul  4 20:56:48 2022
+++ pkgsrc/x11/drawterm/DESCR   Mon Jul  4 20:56:48 2022
@@ -0,0 +1,11 @@
+Drawterm  is a program that users of non-Plan 9 systems can use to
+establish graphical cpu(1) connections with Plan 9 CPU servers.  Just as
+a real Plan 9 terminal does, drawterm serves its local name space as
+well as some devices (the keyboard, mouse, and screen) to a remote CPU
+server, which mounts this name space on /mnt/term and starts a shell.
+Typically, either explicitly or via the profile, one uses the shell to
+start rio(1).
+
+This is a fork of Russ Cox's drawterm to incorporate features from
+Plan9front (http://9front.org), most importantly DP9IK authentication
+support (see authsrv(6)) and the TLS based rcpu(1) protocol.
Index: pkgsrc/x11/drawterm/Makefile
diff -u /dev/null pkgsrc/x11/drawterm/Makefile:1.1
--- /dev/null   Mon Jul  4 20:56:48 2022
+++ pkgsrc/x11/drawterm/Makefile        Mon Jul  4 20:56:48 2022
@@ -0,0 +1,93 @@
+# $NetBSD: Makefile,v 1.1 2022/07/04 20:56:48 pin Exp $
+
+DISTNAME=      snap
+BUILD=         20220603
+PKGNAME=       drawterm-${BUILD}
+CATEGORIES=    x11 plan9
+DIST_SUBDIR=   ${PKGNAME_NOREV}-${BUILD}
+MASTER_SITES=  https://git.9front.org/git/plan9front/drawterm/bee4db6507fdf31bddfa98d26a673e135dfd28ad/
+
+MAINTAINER=    vms%retrobsd.ddns.net@localhost
+HOMEPAGE=      https://drawterm.9front.org/
+COMMENT=       Utility to connect to Plan9 CPU servers
+LICENSE=       mit
+
+USE_LANGUAGES= c c99
+
+MAKEFLAGS+=    X11=${X11BASE} CFLAGS=${CFLAGS:Q}
+MAKEFLAGS+=    LDFLAGS=${LDFLAGS:Q}
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${PKGSRC_COMPILER:Mgcc}
+CFLAGS+=       -Wall -Wno-missing-braces -ggdb
+CFLAGS+=       -I${WRKSRC} -I${WRKSRC}/include -I${WRKSRC}/kern
+CFLAGS+=       -c -I${X11}/include -D_THREAD_SAFE ${PTHREAD} -O2
+LDFLAGS+=      ${PTHREAD} -lpthread
+.else
+CFLAGS+=       -I{WRKSRC} -I${WRKSRC}/include -I${WRKSRC}/kern
+CFLAGS+=       -g -c -I${X11}/include -D_THREAD_SAFE -O2
+LDFLAGS+=      -lpthread
+.endif
+
+.if ${OPSYS:M*BSD}
+MAKEFLAGS+=            CONF=${LOWER_OPSYS}
+.  if ${OPSYS} == OpenBSD
+MAKEFLAGS+=            CC?=cc
+.  elif ${OPSYS} == FreeBSD
+MAKEFLAGS+=            CC?=clang
+.  endif
+.endif
+
+.if ${OPSYS} == "Linux"
+.include "../../audio/alsa-lib/buildlink3.mk"
+MAKEFLAGS+=    CONF=unix AUDIO=alsa
+LD_ADD=        "-L${X11}/lib64 -L${X11}/lib -lX11 -ggdb -lm -lasound"
+
+.elif ${OPSYS} == "Darwin"
+MAKEFLAGS+=    CONF=osx-x11 CC?=clang PTHREAD=''
+LD_ADD=                "-L${X11}/lib -lX11 -ggdb"
+
+.elif ${OPSYS} == "IRIX" && !empty(PKGSRC_COMPILER:Mmipspro*)
+MAKEFLAGS+=    CONF=irix CFLAGS+=-DIRIX
+.endif
+
+.if ${OPSYS} == "SunOS"
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_FILES.paths+=    Make.unix
+SUBST_SED.paths=       -e 's,i.86/386,i86pc/amd64,'
+
+LD_ADD=                "-L${X11}/lib/64 -L${X11}/lib -lX11 \
+                       -lrt -lpthread -lsocket -lnsl"
+
+.  if ${OPSYS_VERSION} <= 051000
+MAKEFLAGS+=    AUDIO=sun
+.  else
+MAKEFLAGS+=    AUDIO=unix
+.  endif
+
+.  if ${OPSYS} == "SunOS" && !empty(PKGSRC_COMPILER:Msunpro)
+MAKEFLAGS+=    CONF=sun
+.  else
+MAKEFLAGS+=    CONF=unix
+.  endif
+.endif
+
+.if defined(LD_ADD)
+MAKEFLAGS+=    LDADD=${LD_ADD}
+.endif
+
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+
+WRKSRC=        ${WRKDIR}/drawterm
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/drawterm ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/drawterm.1                                                             \
+       ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/x11/drawterm/PLIST
diff -u /dev/null pkgsrc/x11/drawterm/PLIST:1.1
--- /dev/null   Mon Jul  4 20:56:48 2022
+++ pkgsrc/x11/drawterm/PLIST   Mon Jul  4 20:56:48 2022
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2022/07/04 20:56:48 pin Exp $
+bin/drawterm
+man/man1/drawterm.1
Index: pkgsrc/x11/drawterm/distinfo
diff -u /dev/null pkgsrc/x11/drawterm/distinfo:1.1
--- /dev/null   Mon Jul  4 20:56:48 2022
+++ pkgsrc/x11/drawterm/distinfo        Mon Jul  4 20:56:48 2022
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/07/04 20:56:48 pin Exp $
+
+BLAKE2s (drawterm-20220603-20220603/snap.tar.gz) = 22416509dfe89320a1119b5a539c8f66828cfabccd9fa70e0cacd961d1c7aaf9
+SHA512 (drawterm-20220603-20220603/snap.tar.gz) = 89db21fff1459bb74b65b57a9b7f418bc0df6c00b8c6a1bcc448e58436c637b87c8f50191960d5c185f5f074d5bc7e803388afefbdc0f16446a3cece3a78181f
+Size (drawterm-20220603-20220603/snap.tar.gz) = 606935 bytes



Home | Main Index | Thread Index | Old Index