pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/nx-libs



Module Name:    pkgsrc
Committed By:   hauke
Date:           Wed Feb 24 18:38:43 UTC 2021

Added Files:
        pkgsrc/x11/nx-libs: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/x11/nx-libs/patches: patch-nxcomp_src_Socket.cpp

Log Message:
NX X11 protocol compression library, for use with x2go


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/nx-libs/DESCR pkgsrc/x11/nx-libs/Makefile \
    pkgsrc/x11/nx-libs/PLIST pkgsrc/x11/nx-libs/buildlink3.mk \
    pkgsrc/x11/nx-libs/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/nx-libs/patches/patch-nxcomp_src_Socket.cpp

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

Added files:

Index: pkgsrc/x11/nx-libs/DESCR
diff -u /dev/null pkgsrc/x11/nx-libs/DESCR:1.1
--- /dev/null   Wed Feb 24 18:38:43 2021
+++ pkgsrc/x11/nx-libs/DESCR    Wed Feb 24 18:38:42 2021
@@ -0,0 +1,2 @@
+nxcomp is a library for compressing X commands to be passed over a
+network, for use with x2go.
Index: pkgsrc/x11/nx-libs/Makefile
diff -u /dev/null pkgsrc/x11/nx-libs/Makefile:1.1
--- /dev/null   Wed Feb 24 18:38:43 2021
+++ pkgsrc/x11/nx-libs/Makefile Wed Feb 24 18:38:42 2021
@@ -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"
Index: pkgsrc/x11/nx-libs/PLIST
diff -u /dev/null pkgsrc/x11/nx-libs/PLIST:1.1
--- /dev/null   Wed Feb 24 18:38:43 2021
+++ pkgsrc/x11/nx-libs/PLIST    Wed Feb 24 18:38:42 2021
@@ -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
Index: pkgsrc/x11/nx-libs/buildlink3.mk
diff -u /dev/null pkgsrc/x11/nx-libs/buildlink3.mk:1.1
--- /dev/null   Wed Feb 24 18:38:43 2021
+++ pkgsrc/x11/nx-libs/buildlink3.mk    Wed Feb 24 18:38:42 2021
@@ -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
Index: pkgsrc/x11/nx-libs/distinfo
diff -u /dev/null pkgsrc/x11/nx-libs/distinfo:1.1
--- /dev/null   Wed Feb 24 18:38:43 2021
+++ pkgsrc/x11/nx-libs/distinfo Wed Feb 24 18:38:42 2021
@@ -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

Index: pkgsrc/x11/nx-libs/patches/patch-nxcomp_src_Socket.cpp
diff -u /dev/null pkgsrc/x11/nx-libs/patches/patch-nxcomp_src_Socket.cpp:1.1
--- /dev/null   Wed Feb 24 18:38:43 2021
+++ pkgsrc/x11/nx-libs/patches/patch-nxcomp_src_Socket.cpp      Wed Feb 24 18:38:43 2021
@@ -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