pkgsrc-WIP-changes archive

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

spice-server: Imported to pkgsrc



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Thu Feb 6 23:09:03 2020 +0100
Changeset:	d7245acc2fb653ca0ca90c04ef5dc8afbf4e2bbb

Removed Files:
	spice-server/DESCR
	spice-server/Makefile
	spice-server/PLIST
	spice-server/buildlink3.mk
	spice-server/distinfo
	spice-server/patches/patch-server_red-stream.c
	spice-server/patches/patch-server_red-worker.c
	spice-server/patches/patch-tools_reds__stat.c

Log Message:
spice-server: Imported to pkgsrc

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d7245acc2fb653ca0ca90c04ef5dc8afbf4e2bbb

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

diffstat:
 spice-server/DESCR                             |  4 ----
 spice-server/Makefile                          | 26 ------------------------
 spice-server/PLIST                             | 14 -------------
 spice-server/buildlink3.mk                     | 18 -----------------
 spice-server/distinfo                          |  9 ---------
 spice-server/patches/patch-server_red-stream.c | 28 --------------------------
 spice-server/patches/patch-server_red-worker.c | 18 -----------------
 spice-server/patches/patch-tools_reds__stat.c  | 18 -----------------
 8 files changed, 135 deletions(-)

diffs:
diff --git a/spice-server/DESCR b/spice-server/DESCR
deleted file mode 100644
index 600e78f5bb..0000000000
--- a/spice-server/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-SPICE is a remote display system built for virtual environments which
-allows you to view a computing 'desktop' environment not only on the
-machine where it is running, but from anywhere on the Internet and
-from a wide variety of machine architectures.
diff --git a/spice-server/Makefile b/spice-server/Makefile
deleted file mode 100644
index 8ec391b1fe..0000000000
--- a/spice-server/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	spice-0.14.2
-PKGNAME=	${DISTNAME:S/spice/spice-server/}
-CATEGORIES=	sysutils
-MASTER_SITES=	https://www.spice-space.org/download/releases/
-EXTRACT_SUFX=	.tar.bz2
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://www.spice-space.org/download/releases/
-COMMENT=	Simple Protocol for Independent Computing Environments
-LICENSE=	gnu-lgpl-v2.1
-
-GNU_CONFIGURE=	yes
-USE_LIBTOOL=	yes
-USE_TOOLS+=	gmake pkg-config
-
-PKGCONFIG_OVERRIDE+=	spice-server.pc.in
-
-.include "../../audio/libopus/buildlink3.mk"
-.include "../../devel/glib2/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
-.include "../../sysutils/spice-protocol/buildlink3.mk"
-.include "../../x11/pixman/buildlink3.mk"
-.include "../../mk/jpeg.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/spice-server/PLIST b/spice-server/PLIST
deleted file mode 100644
index a0dbdef354..0000000000
--- a/spice-server/PLIST
+++ /dev/null
@@ -1,14 +0,0 @@
-@comment $NetBSD$
-include/spice-server/spice-audio.h
-include/spice-server/spice-char.h
-include/spice-server/spice-core.h
-include/spice-server/spice-experimental.h
-include/spice-server/spice-input.h
-include/spice-server/spice-migration.h
-include/spice-server/spice-qxl.h
-include/spice-server/spice-replay.h
-include/spice-server/spice-server.h
-include/spice-server/spice-version.h
-include/spice-server/spice.h
-lib/libspice-server.la
-lib/pkgconfig/spice-server.pc
diff --git a/spice-server/buildlink3.mk b/spice-server/buildlink3.mk
deleted file mode 100644
index ad93412334..0000000000
--- a/spice-server/buildlink3.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+=	spice-server
-
-.if !defined(SPICE_SERVER_BUILDLINK3_MK)
-SPICE_SERVER_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.spice-server+=	spice-server>=0.14.2
-BUILDLINK_PKGSRCDIR.spice-server?=	../../wip/spice-server
-
-.include "../../audio/libopus/buildlink3.mk"
-.include "../../devel/glib2/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
-.include "../../sysutils/spice-protocol/buildlink3.mk"
-.include "../../x11/pixman/buildlink3.mk"
-.endif	# SPICE_SERVER_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-spice-server
diff --git a/spice-server/distinfo b/spice-server/distinfo
deleted file mode 100644
index fa60b54eb6..0000000000
--- a/spice-server/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD$
-
-SHA1 (spice-0.14.2.tar.bz2) = 83a93e47546d496cf2dcc3f4641db3a285044b9e
-RMD160 (spice-0.14.2.tar.bz2) = 30aaafe30af5a9781d630b9f076973dbc4f59eac
-SHA512 (spice-0.14.2.tar.bz2) = 1093b618ea4a7ff31944429ce2903abecfc8d20c35f2d9c8c837a6e053ee429c0115e40665542637a717869209523ac05d15cdb5e77563102d5d3915e4aaaf76
-Size (spice-0.14.2.tar.bz2) = 1406009 bytes
-SHA1 (patch-server_red-stream.c) = 453ee9b8e5007c552f2ef3b46f508c7cdba6d14c
-SHA1 (patch-server_red-worker.c) = f684dafdc9eab808e36759fba19340586c90cb62
-SHA1 (patch-tools_reds__stat.c) = 3464bbb8b25aa871adfbc501412f84ad925f6509
diff --git a/spice-server/patches/patch-server_red-stream.c b/spice-server/patches/patch-server_red-stream.c
deleted file mode 100644
index b90c818081..0000000000
--- a/spice-server/patches/patch-server_red-stream.c
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD$
-
-Add NetBSD support.
-
---- server/red-stream.c.orig	2019-04-30 08:51:11.000000000 +0000
-+++ server/red-stream.c
-@@ -27,6 +27,9 @@
- #include <sys/socket.h>
- #include <netinet/tcp.h>
- #endif
-+#ifdef __NetBSD__
-+#include <netinet/in.h>
-+#endif
- 
- #include <glib.h>
- 
-@@ -109,7 +112,11 @@ struct RedStreamPrivate {
- static int socket_set_cork(int socket, int enabled)
- {
-     SPICE_VERIFY(sizeof(enabled) == sizeof(int));
-+#if defined(__NetBSD__)
-+    return 1; /* Not supported */
-+#else
-     return setsockopt(socket, IPPROTO_TCP, TCP_CORK, &enabled, sizeof(enabled));
-+#endif
- }
- 
- static ssize_t stream_write_cb(RedStream *s, const void *buf, size_t size)
diff --git a/spice-server/patches/patch-server_red-worker.c b/spice-server/patches/patch-server_red-worker.c
deleted file mode 100644
index 6147b9c4a9..0000000000
--- a/spice-server/patches/patch-server_red-worker.c
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD$
-
-Add NetBSD support.
-
---- server/red-worker.c.orig	2019-04-30 08:51:11.000000000 +0000
-+++ server/red-worker.c
-@@ -1161,7 +1161,11 @@ bool red_worker_run(RedWorker *worker)
-         spice_error("create thread failed %d", r);
-     }
-     pthread_sigmask(SIG_SETMASK, &curr_sig_mask, NULL);
-+#if defined(__NetBSD__)
-+    pthread_setname_np(worker->thread, "%s", (void *)"SPICE Worker");
-+#else
-     pthread_setname_np(worker->thread, "SPICE Worker");
-+#endif
- 
-     return r == 0;
- }
diff --git a/spice-server/patches/patch-tools_reds__stat.c b/spice-server/patches/patch-tools_reds__stat.c
deleted file mode 100644
index 497a50067d..0000000000
--- a/spice-server/patches/patch-tools_reds__stat.c
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD$
-
-Add NetBSD support.
-
---- tools/reds_stat.c.orig	2019-04-30 08:51:05.000000000 +0000
-+++ tools/reds_stat.c
-@@ -144,7 +144,11 @@ int main(int argc, char **argv)
-             num_of_nodes = reds_stat->num_of_nodes;
-             shm_old_size = shm_size;
-             shm_size = header_size + num_of_nodes * sizeof(SpiceStatNode);
-+#if defined(__NetBSD__)
-+            reds_stat = mremap(reds_stat, shm_old_size, NULL, shm_size, 0);
-+#else
-             reds_stat = mremap(reds_stat, shm_old_size, shm_size, MREMAP_MAYMOVE);
-+#endif
-             if (reds_stat == (SpiceStat *)MAP_FAILED) {
-                 perror("mremap");
-                 goto error;


Home | Main Index | Thread Index | Old Index