Permalink
Browse files

Add SPICE/QEMU bits from nahamu.

  • Loading branch information...
1 parent ed8c14a commit e91a360787bc1173962cdeb57e258f7cf0c71f9d @jperkin jperkin committed Feb 1, 2013
View
@@ -0,0 +1,7 @@
+CELT is an ultra-low-delay audio codec designed for high-quality
+communications. Its potential uses include video-conferencing and
+network music performance. The code is still in early stage, so it may
+be broken from time to time.
+
+NOTE: The API is not frozen yet, so it is different from one version to
+another.
View
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.3 2012/09/11 23:59:28 asau Exp $
+#
+
+DISTNAME= celt-0.5.1.3
+PKGNAME= celt051-${DISTNAME:S/celt-//}
+CATEGORIES= joyent
+MASTER_SITES= http://downloads.us.xiph.org/releases/celt/
+
+MAINTAINER= nshalman-pkgsrc@elys.com
+HOMEPAGE= http://celt-codec.org/
+COMMENT= Ultra-low-delay, high-quality audio codec (experimental)
+LICENSE= modified-bsd
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+PKGCONFIG_OVERRIDE+= celt.pc.in
+
+USE_MULTIARCH=lib
+
+.include "../../mk/bsd.prefs.mk"
+.include "../../mk/oss.buildlink3.mk"
+
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "Solaris"
+###
+### XXX Remove this definition if DEVSUNAUDIO is placed in default mk.conf.
+###
+DEVSUNAUDIO?= /dev/audio
+BUILD_DEFS+= DEVSUNAUDIO
+CFLAGS+= -DDEVSUNAUDIO=\"${DEVSUNAUDIO:U/dev/audio}\"
+.elif ${OSS_TYPE} != "none"
+MAKE_ENV+= LIBOSSAUDIO=${LIBOSSAUDIO:Q}
+CFLAGS+= -DDEVOSSAUDIO=\"${DEVOSSAUDIO:U/dev/dsp}\"
+.endif
+
+.include "../../mk/bsd.pkg.mk"
View
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.3 2012/08/14 07:02:09 wiz Exp $
+include/celt051/celt.h
+include/celt051/celt_types.h
+include/celt051/celt_header.h
+lib/libcelt051.la
+lib/libcelt051.so.0.0.0
+lib/libcelt051.so
+lib/libcelt051.a
+lib/libcelt051.so.0
+lib/pkgconfig/celt051.pc
View
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.3 2012/08/14 07:02:09 wiz Exp $
+
+BUILDLINK_TREE+= celt051
+
+.if !defined(CELT051_BUILDLINK3_MK)
+CELT051_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.celt051+= celt051>=0.5.1.3
+BUILDLINK_PKGSRCDIR.celt051?= ../../joyent/celt051
+pkgbase:= celt051
+. include "../../mk/pkg-build-options.mk"
+
+.endif # CELT051_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -celt051
View
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.2 2012/08/14 07:02:09 wiz Exp $
+
+SHA1 (celt-0.5.1.3.tar.gz) = eb05030108c36cb063c3f026c349f16d78e0a497
+RMD160 (celt-0.5.1.3.tar.gz) = a411d9cb256cd05a7033ad7b2fed814a9eabc637
+Size (celt-0.5.1.3.tar.gz) = 440772 bytes
+SHA1 (patch-Makefile.in) = 628d8e8ffa6993437ad4a0452c48ab94390d94e4
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- Makefile.in.orig 2009-05-06 20:44:56.000000000 +0000
++++ Makefile.in
+@@ -206,8 +206,8 @@ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = 1.6
+
+ #Fools KDevelop into including all files
+-SUBDIRS = libcelt tests @tools@
+-DIST_SUBDIRS = libcelt tests tools
++SUBDIRS = libcelt @tools@
++DIST_SUBDIRS = libcelt tools
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = celt@PACKAGE_APPEND@.pc
+ EXTRA_DIST = celt@PACKAGE_APPEND@.pc.in Doxyfile Doxyfile.devel
View
@@ -0,0 +1,14 @@
+The Spice project aims to provide a complete open source solution for
+interaction with virtualized desktop devices.The Spice project deals
+with both the virtualized devices and the front-end. Interaction between
+front-end and back-end is done using VD-Interfaces. The VD-Interfaces
+(VDI) enable both ends of the solution to be easily utilized by a
+third-party component.
+
+Currently, the project main focus is to provide high-quality remote
+access to QEMU virtual machine. Seeking to help break down the barriers
+to virtualization adoption by overcoming traditional desktop
+virtualization challenges, emphasizing user experience. For this
+purpose, Red Hat introduced the SPICE remote computing protocol that is
+used for Spice client-server communication. Other components developed
+include QXL display device and driver, etc.
View
@@ -0,0 +1,37 @@
+# $NetBSD$
+#
+
+DISTNAME= spice-0.12.2
+PKGNAME= lib${DISTNAME}
+CATEGORIES= joyent
+MASTER_SITES= http://spice-space.org/download/releases/
+EXTRACT_SUFX= .tar.bz2
+
+USE_MULTIARCH=lib
+MAINTAINER= nshalman-pkgsrc@elys.com
+HOMEPAGE= http://spice-space.org/
+COMMENT= Spice server code library for QEMU
+LICENSE= gnu-lgpl-v2.1
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+CONFIGURE_ARGS+= --disable-client --enable-smartcard=no
+
+PKGCONFIG_OVERRIDE+= spice-common/spice-protocol/spice-protocol.pc.in
+PKGCONFIG_OVERRIDE+= spice-server.pc.in
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../x11/pixman/buildlink3.mk"
+.include "../../joyent/celt051/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../graphics/libjpeg-turbo/buildlink3.mk"
+
+.include "../../lang/python/extension.mk"
+PYTHON_FOR_BUILD_ONLY=yes
+#BUILD_DEPENDS+= python${PYVERSSUFFIX}:../../lang/python27
+BUILD_DEPENDS+= py${PYTHON_VERSION_DEFAULT}-parsing:../../wip/py-parsing
+
+.include "../../mk/bsd.pkg.mk"
View
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+lib/libspice-server.so.1.6.0
+lib/libspice-server.a
+lib/libspice-server.so
+lib/libspice-server.so.1
+lib/pkgconfig/spice-server.pc
+lib/libspice-server.la
+include/spice-server/spice-experimental.h
+include/spice-server/spice.h
View
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.3 2012/08/14 07:02:09 wiz Exp $
+
+BUILDLINK_TREE+= libspice
+
+.if !defined(LIBSPICE_BUILDLINK3_MK)
+LIBSPICE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libspice+= libspice>=0.12
+BUILDLINK_PKGSRCDIR.libspice?= ../../joyent/libspice
+pkgbase:= libspice
+. include "../../mk/pkg-build-options.mk"
+
+.endif # LIBSPICE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libspice
View
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (spice-0.12.2.tar.bz2) = 6cd2a5a71a5f72ac5a53a024b2a8df37fe425e4d
+RMD160 (spice-0.12.2.tar.bz2) = 46ccddb9956fbc00327881f33f3ac2e4ff67c870
+Size (spice-0.12.2.tar.bz2) = 1685684 bytes
View
@@ -0,0 +1,14 @@
+The Spice project aims to provide a complete open source solution for
+interaction with virtualized desktop devices.The Spice project deals
+with both the virtualized devices and the front-end. Interaction between
+front-end and back-end is done using VD-Interfaces. The VD-Interfaces
+(VDI) enable both ends of the solution to be easily utilized by a
+third-party component.
+
+Currently, the project main focus is to provide high-quality remote
+access to QEMU virtual machine. Seeking to help break down the barriers
+to virtualization adoption by overcoming traditional desktop
+virtualization challenges, emphasizing user experience. For this
+purpose, Red Hat introduced the SPICE remote computing protocol that is
+used for Spice client-server communication. Other components developed
+include QXL display device and driver, etc.
View
@@ -0,0 +1,20 @@
+# $NetBSD$
+#
+
+DISTNAME= spice-protocol-0.12.3
+CATEGORIES= joyent
+MASTER_SITES= http://spice-space.org/download/releases/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= nshalman-pkgsrc@elys.com
+HOMEPAGE= http://spice-space.org/
+COMMENT= Spice Protocol headers
+LICENSE= modified-bsd
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= # none
+
+PKGCONFIG_OVERRIDE+= spice-protocol.pc.in
+
+.include "../../mk/bsd.pkg.mk"
View
@@ -0,0 +1,18 @@
+@comment $NetBSD$
+share/pkgconfig/spice-protocol.pc
+include/spice-1/spice/enums.h
+include/spice-1/spice/types.h
+include/spice-1/spice/stats.h
+include/spice-1/spice/foreign_menu_prot.h
+include/spice-1/spice/start-packed.h
+include/spice-1/spice/ipc_ring.h
+include/spice-1/spice/end-packed.h
+include/spice-1/spice/macros.h
+include/spice-1/spice/controller_prot.h
+include/spice-1/spice/error_codes.h
+include/spice-1/spice/vdi_dev.h
+include/spice-1/spice/barrier.h
+include/spice-1/spice/qxl_dev.h
+include/spice-1/spice/qxl_windows.h
+include/spice-1/spice/protocol.h
+include/spice-1/spice/vd_agent.h
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.3 2012/08/14 07:02:09 wiz Exp $
+
+BUILDLINK_TREE+= spice-protocol
+
+.if !defined(SPICE_PROTOCOL_BUILDLINK3_MK)
+SPICE_PROTOCOL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.spice-protocol+= spice-protocol>=0.12
+BUILDLINK_PKGSRCDIR.spice-protocol?= ../../joyent/spice-protocol
+pkgbase:= spice-protocol
+. include "../../mk/pkg-build-options.mk"
+
+.endif # SPICE_PROTOCOL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -spice-protocol
View
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (spice-protocol-0.12.3.tar.bz2) = 3f53f5c751bd943d3be0e3dae6d93642743d7988
+RMD160 (spice-protocol-0.12.3.tar.bz2) = 7adb6315794403bf64b1d26acaedc7acd4ac15e4
+Size (spice-protocol-0.12.3.tar.bz2) = 69854 bytes
View
@@ -0,0 +1,10 @@
+usbredir is the name of a network protocol for sending usb device
+traffic over a network connection. It is also the name of the software
+package offering a parsing library, a usbredirhost library and several
+utilities implementing this protocol.
+
+usbredir was created for use with Spice, which is why it is hosted on
+spice-space.org, but the protocol and the usbredirhost are completely
+independent of spice, they could for example also be used to create a
+vnc extension for redirecting usb devices over a vnc connection to a
+qemu virtual machine.
View
@@ -0,0 +1,22 @@
+# $NetBSD$
+#
+
+DISTNAME= usbredir-0.4.4
+CATEGORIES= joyent
+MASTER_SITES= http://spice-space.org/download/usbredir/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= nshalman-pkgsrc@elys.com
+HOMEPAGE= http://spice-space.org/page/UsbRedir
+COMMENT= USB redirection library
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+PKGCONFIG_OVERRIDE+= usbredirhost/libusbredirhost.pc.in
+PKGCONFIG_OVERRIDE+= usbredirparser/libusbredirparser.pc.in
+USE_MULTIARCH=lib
+
+.include "../../mk/bsd.pkg.mk"
View
@@ -0,0 +1,10 @@
+@comment $NetBSD$
+lib/libusbredirparser.so
+lib/pkgconfig/libusbredirparser.pc
+lib/libusbredirparser.la
+lib/libusbredirparser.so.0.0.0
+lib/libusbredirparser.so.0
+lib/libusbredirparser.a
+include/usbredirparser.h
+include/usbredirproto.h
+include/usbredirfilter.h
View
@@ -0,0 +1,12 @@
+These patches were creating with a sledgehammer...
+
+Clone from git:
+git clone git://anongit.freedesktop.org/spice/usbredir.git -b usbredir-0.4.x
+
+Apply sledgehammer to remove libusb dependency:
+cd usbredir
+gsed '/libusb-/d' -i configure.ac && \
+echo "SUBDIRS = usbredirparser" > Makefile.am && \
+./autogen.sh && \
+
+Then diff against the tarball contents to produce patches.
View
@@ -0,0 +1,18 @@
+$NetBSD$
+
+SHA1 (usbredir-0.4.4.tar.bz2) = 692209bce64d276accd8f7c4a646f8c21c6ef6fa
+RMD160 (usbredir-0.4.4.tar.bz2) = ae0f15d426519f36b1d195eed52a5a1eb1c89f17
+Size (usbredir-0.4.4.tar.bz2) = 301660 bytes
+SHA1 (patch-Makefile.am) = 6b75caf16926414cd88bab4d4c2eceed19af566f
+SHA1 (patch-Makefile.in) = ff4f8f1fa7b98b21f1c24adc55d2429916542d16
+SHA1 (patch-aclocal.m4) = df61b2aff860ff72ed9989f14d27a5dd6e653e83
+SHA1 (patch-config.guess) = 3f1047e02c1f192f5aca0690b1d1f5599913dc31
+SHA1 (patch-config.sub) = d83d87590e24829fd03bc519cb5db1f05c151636
+SHA1 (patch-configure) = 98efd29d960ff64ad38b799b44ff661451a822f2
+SHA1 (patch-configure.ac) = 4584f6f422ce4a3bfae31d6b708b1b68c702812e
+SHA1 (patch-depcomp) = 49838075afff8a3e34f779c4b6afc1f8d767ef35
+SHA1 (patch-ltmain.sh) = fd448113cb92ac77655510a87cfe54c58356b3b8
+SHA1 (patch-usbredirhost_Makefile.in) = 3ba4d109a505f84a5f12e66e66ec19936b0591c6
+SHA1 (patch-usbredirparser_Makefile.in) = c4542427080cfbfc1b50b2a356aa7098acccf7fd
+SHA1 (patch-usbredirserver_Makefile.in) = 92cbbcca1eebc04055b78e6a21dadecc3658ef68
+SHA1 (patch-usbredirtestclient_Makefile.in) = 5cdfba39890e26bdee547fc61f3956d3f9ba06d6
@@ -0,0 +1,9 @@
+$NetBSD$
+
+--- Makefile.am.orig 2013-01-22 18:11:37.917863392 +0000
++++ Makefile.am
+@@ -1,2 +1 @@
+-SUBDIRS = usbredirparser usbredirhost usbredirserver usbredirtestclient
+-EXTRA_DIST = README.multi-thread usb-redirection-protocol.txt
+\ No newline at end of file
++SUBDIRS = usbredirparser
Oops, something went wrong.

0 comments on commit e91a360

Please sign in to comment.