pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/nx-libs NX X11 protocol compression library, for u...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7b8f28e53af3
branches: trunk
changeset: 447659:7b8f28e53af3
user: hauke <hauke%pkgsrc.org@localhost>
date: Wed Feb 24 18:38:42 2021 +0000
description:
NX X11 protocol compression library, for use with x2go
diffstat:
x11/nx-libs/DESCR | 2 +
x11/nx-libs/Makefile | 40 +++++++++++++++++++++++++
x11/nx-libs/PLIST | 11 ++++++
x11/nx-libs/buildlink3.mk | 12 +++++++
x11/nx-libs/distinfo | 7 ++++
x11/nx-libs/patches/patch-nxcomp_src_Socket.cpp | 24 +++++++++++++++
6 files changed, 96 insertions(+), 0 deletions(-)
diffs (120 lines):
diff -r 0297af12cef7 -r 7b8f28e53af3 x11/nx-libs/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/nx-libs/DESCR Wed Feb 24 18:38:42 2021 +0000
@@ -0,0 +1,2 @@
+nxcomp is a library for compressing X commands to be passed over a
+network, for use with x2go.
diff -r 0297af12cef7 -r 7b8f28e53af3 x11/nx-libs/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/nx-libs/Makefile Wed Feb 24 18:38:42 2021 +0000
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2021/02/24 18:38:42 hauke Exp $
+
+DISTNAME= nx-libs-${PKGVER}-lite
+PKGNAME= nx-libs-${PKGVER}
+PKGVER= 3.5.99.22
+MASTER_SITES= https://code.x2go.org/releases/source/nx-libs/
+CATEGORIES= x11 devel
+
+MAINTAINER= hauke%NetBSD.org@localhost
+HOMEPAGE= https://wiki.x2go.org/doku.php
+COMMENT= NX X11 protocol compression library
+
+LICENSE= gnu-gpl-v2
+
+WRKSRC= ${WRKDIR}/nx-libs-${PKGVER}
+NXDIRS= nxcomp nxproxy
+
+.include "../../mk/bsd.prefs.mk"
+
+USE_TOOLS+= aclocal automake autoconf pkg-config gmake
+USE_LANGUAGES+= c c++
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+
+CONFIGURE_DIRS= ${NXDIRS}
+BUILD_DIRS= ${NXDIRS}
+INSTALL_DIRS= ${NXDIRS}
+
+pre-configure:
+.for nxd in ${NXDIRS}
+ cd ${WRKSRC}/${nxd} && autoreconf -vfsi
+.endfor
+
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../x11/xorgproto/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 0297af12cef7 -r 7b8f28e53af3 x11/nx-libs/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/nx-libs/PLIST Wed Feb 24 18:38:42 2021 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2021/02/24 18:38:42 hauke Exp $
+bin/nxproxy
+include/nx/MD5.h
+include/nx/NX.h
+include/nx/NXalert.h
+include/nx/NXpack.h
+include/nx/NXproto.h
+include/nx/NXvars.h
+lib/libXcomp.la
+lib/pkgconfig/nxcomp.pc
+man/man1/nxproxy.1
diff -r 0297af12cef7 -r 7b8f28e53af3 x11/nx-libs/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/nx-libs/buildlink3.mk Wed Feb 24 18:38:42 2021 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/02/24 18:38:42 hauke Exp $
+
+BUILDLINK_TREE+= nx-libs
+
+.if !defined(NX_LIBS_BUILDLINK3_MK)
+NX_LIBS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.nx-libs+= nx-libs>=3.5.99
+BUILDLINK_PKGSRCDIR.nx-libs?= ../../hauke/nx-libs
+.endif # NX_LIBS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -nx-libs
diff -r 0297af12cef7 -r 7b8f28e53af3 x11/nx-libs/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/nx-libs/distinfo Wed Feb 24 18:38:42 2021 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2021/02/24 18:38:42 hauke Exp $
+
+SHA1 (nx-libs-3.5.99.22-lite.tar.gz) = 8b1170000541be9c567de9b582a201258c7b1e50
+RMD160 (nx-libs-3.5.99.22-lite.tar.gz) = 33db4dcc1d54e956f875b5531637ef2123b154f4
+SHA512 (nx-libs-3.5.99.22-lite.tar.gz) = 161587f87e52bf274ac7fbad59ceaf8ad111666a966b26d4f9a063fbb53f80f48a7844d343b7d19bf22e48707e925797e126058dbae6081b27dbb22a3346cd90
+Size (nx-libs-3.5.99.22-lite.tar.gz) = 740152 bytes
+SHA1 (patch-nxcomp_src_Socket.cpp) = dce79c91ede78fbc0367f5f9de81a7dbca5ba928
diff -r 0297af12cef7 -r 7b8f28e53af3 x11/nx-libs/patches/patch-nxcomp_src_Socket.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/nx-libs/patches/patch-nxcomp_src_Socket.cpp Wed Feb 24 18:38:42 2021 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-nxcomp_src_Socket.cpp,v 1.1 2021/02/24 18:38:43 hauke Exp $
+
+Add NetBSD conditional where we find FreeBSD's.
+
+--- nxcomp/src/Socket.cpp.orig 2019-08-27 13:46:39.000000000 +0000
++++ nxcomp/src/Socket.cpp
+@@ -30,7 +30,7 @@
+ #include <sys/types.h>
+ #include <sys/utsname.h>
+
+-#if defined(__CYGWIN32__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun)
++#if defined(__CYGWIN32__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__sun)
+ #include <netinet/in_systm.h>
+ #endif
+
+@@ -51,7 +51,7 @@
+ // System specific defines.
+ //
+
+-#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun)
++#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__sun)
+ #define SOL_IP IPPROTO_IP
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index