import farstream 0.1.2

The Farstream (formerly Farsight) project is an effort to create a
framework to deal with all known audio/video conferencing protocols. On
one side it offers a generic API that makes it possible to write plugins
for different streaming protocols, on the other side it offers an API
for clients to use those plugins.

(farsight2 is dead, long live farstream!)

ok aja@
This commit is contained in:
jasper 2012-04-05 16:02:30 +00:00
parent 6a2ea507b5
commit 61a8ae3fa4
9 changed files with 259 additions and 0 deletions

48
net/farstream/Makefile Normal file
View File

@ -0,0 +1,48 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/04/05 16:02:30 jasper Exp $
COMMENT= audio/video communications framework
DISTNAME= farstream-0.1.2
CATEGORIES= net devel
SHARED_LIBS += farstream-0.1 0.0 # 0.1
HOMEPAGE= http://www.freedesktop.org/wiki/Software/Farstream
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.freedesktop.org/software/farstream/releases/farstream/
MODULES= devel/gettext \
lang/python
MODPY_ADJ_FILES= configure
WANTLIB += e2fs-uuid ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gssdp-1.0 gstbase-0.10 gstnetbuffer-0.10 gstreamer-0.10
WANTLIB += gstrtp-0.10 gthread-2.0 gupnp-1.0 gupnp-igd-1.0 m nice
WANTLIB += pcre soup-2.4 xml2 z
BUILD_DEPENDS= devel/gobject-introspection \
multimedia/gstreamer-0.10/py-gstreamer
LIB_DEPENDS= multimedia/gstreamer-0.10/plugins-base \
net/gupnp/igd \
net/libnice
RUN_DEPENDS= multimedia/gstreamer-0.10/py-gstreamer
USE_GMAKE= Yes
USE_LIBTOOL= Yes
AUTOCONF_VERSION= 2.68
# regen configure so it will detect the right python version
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--enable-gupnp \
--enable-python \
--enable-introspection
.include <bsd.port.mk>

5
net/farstream/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (farstream-0.1.2.tar.gz) = XW5WGzaI0NDIkG/sTzVt8w==
RMD160 (farstream-0.1.2.tar.gz) = 4CN7+Z4BrOlha79Iw2yRdy6OREs=
SHA1 (farstream-0.1.2.tar.gz) = 4LlRm9M0MF+jtAbk9ubV7SYrY6o=
SHA256 (farstream-0.1.2.tar.gz) = +lpAWXtHtZ0ST3/Vf2ZwSwMNV2zcDZDhB8elkvBec9k=
SIZE (farstream-0.1.2.tar.gz) = 1265972

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-tests_check_testutils_c,v 1.1.1.1 2012/04/05 16:02:30 jasper Exp $
--- tests/check/testutils.c.orig Wed Apr 4 22:57:20 2012
+++ tests/check/testutils.c Wed Apr 4 22:57:51 2012
@@ -28,6 +28,7 @@
#ifdef HAVE_GETIFADDRS
#include <sys/socket.h>
+ #include <netinet/in.h>
#include <ifaddrs.h>
#include <net/if.h>
#include <arpa/inet.h>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-tests_check_transmitter_stunalternd_c,v 1.1.1.1 2012/04/05 16:02:30 jasper Exp $
--- tests/check/transmitter/stunalternd.c.orig Wed Apr 4 22:58:18 2012
+++ tests/check/transmitter/stunalternd.c Wed Apr 4 22:58:33 2012
@@ -38,6 +38,7 @@
#include <getopt.h>
#include <errno.h>
#include <limits.h>
+#include <sys/uio.h>
#include <pthread.h>

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-transmitters_multicast_fs-multicast-transmitter_c,v 1.1.1.1 2012/04/05 16:02:30 jasper Exp $
--- transmitters/multicast/fs-multicast-transmitter.c.orig Wed Apr 4 22:48:14 2012
+++ transmitters/multicast/fs-multicast-transmitter.c Wed Apr 4 22:48:35 2012
@@ -53,7 +53,10 @@
#else /*G_OS_WIN32*/
# include <netdb.h>
# include <sys/socket.h>
-# include <netinet/ip.h>
+# include <netinet/in.h>
+# ifndef __OpenBSD__
+# include <netinet/ip.h>
+# endif /* !__OpenBSD__ */
# include <arpa/inet.h>
#endif /*G_OS_WIN32*/

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-transmitters_rawudp_fs-rawudp-transmitter_c,v 1.1.1.1 2012/04/05 16:02:30 jasper Exp $
--- transmitters/rawudp/fs-rawudp-transmitter.c.orig Wed Apr 4 22:43:39 2012
+++ transmitters/rawudp/fs-rawudp-transmitter.c Wed Apr 4 22:43:45 2012
@@ -53,7 +53,10 @@
#else /*G_OS_WIN32*/
# include <netdb.h>
# include <sys/socket.h>
-# include <netinet/ip.h>
+# include <netinet/in.h>
+# ifndef __OpenBSD__
+# include <netinet/ip.h>
+# endif
# include <arpa/inet.h>
#endif /*G_OS_WIN32*/

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-transmitters_rawudp_fs-rawudp-transmitter_h,v 1.1.1.1 2012/04/05 16:02:30 jasper Exp $
--- transmitters/rawudp/fs-rawudp-transmitter.h.orig Mon Dec 5 21:19:49 2011
+++ transmitters/rawudp/fs-rawudp-transmitter.h Wed Apr 4 22:49:08 2012
@@ -34,6 +34,13 @@
#ifdef G_OS_WIN32
# include <ws2tcpip.h>
#else /*G_OS_WIN32*/
+# include <sys/types.h>
+# include <netdb.h>
+# include <sys/socket.h>
+# include <netinet/in.h>
+# ifndef __OpenBSD__
+# include <netinet/ip.h>
+# endif /* !__OpenBSD__ */
# include <arpa/inet.h>
#endif /*G_OS_WIN32*/

10
net/farstream/pkg/DESCR Normal file
View File

@ -0,0 +1,10 @@
The Farstream (formerly Farsight) project is an effort to create a
framework to deal with all known audio/video conferencing protocols. On
one side it offers a generic API that makes it possible to write plugins
for different streaming protocols, on the other side it offers an API
for clients to use those plugins.
The main target clients for Farstream are Instant Messaging
applications. These applications should be able to use Farstream for all
their Audio/Video conferencing needs without having to worry about any
of the lower level streaming and NAT traversal issues.

127
net/farstream/pkg/PLIST Normal file
View File

@ -0,0 +1,127 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/04/05 16:02:30 jasper Exp $
@conflict farsight2-*
include/farstream-0.1/
include/farstream-0.1/farstream/
include/farstream-0.1/farstream/fs-candidate.h
include/farstream-0.1/farstream/fs-codec.h
include/farstream-0.1/farstream/fs-conference.h
include/farstream-0.1/farstream/fs-element-added-notifier.h
include/farstream-0.1/farstream/fs-enumtypes.h
include/farstream-0.1/farstream/fs-participant.h
include/farstream-0.1/farstream/fs-plugin.h
include/farstream-0.1/farstream/fs-rtp.h
include/farstream-0.1/farstream/fs-session.h
include/farstream-0.1/farstream/fs-stream-transmitter.h
include/farstream-0.1/farstream/fs-stream.h
include/farstream-0.1/farstream/fs-transmitter.h
include/farstream-0.1/farstream/fs-utils.h
lib/farstream-0.1/
@comment lib/farstream-0.1/libmulticast-transmitter.a
@comment lib/farstream-0.1/libmulticast-transmitter.la
lib/farstream-0.1/libmulticast-transmitter.so
@comment lib/farstream-0.1/libnice-transmitter.a
@comment lib/farstream-0.1/libnice-transmitter.la
lib/farstream-0.1/libnice-transmitter.so
@comment lib/farstream-0.1/librawudp-transmitter.a
@comment lib/farstream-0.1/librawudp-transmitter.la
lib/farstream-0.1/librawudp-transmitter.so
@comment lib/farstream-0.1/libshm-transmitter.a
@comment lib/farstream-0.1/libshm-transmitter.la
lib/farstream-0.1/libshm-transmitter.so
lib/girepository-1.0/Farstream-0.1.typelib
lib/gstreamer-0.10/libfsfunnel.a
@comment lib/gstreamer-0.10/libfsfunnel.la
lib/gstreamer-0.10/libfsfunnel.so
lib/gstreamer-0.10/libfsmsnconference.a
@comment lib/gstreamer-0.10/libfsmsnconference.la
lib/gstreamer-0.10/libfsmsnconference.so
lib/gstreamer-0.10/libfsrawconference.a
@comment lib/gstreamer-0.10/libfsrawconference.la
lib/gstreamer-0.10/libfsrawconference.so
lib/gstreamer-0.10/libfsrtcpfilter.a
@comment lib/gstreamer-0.10/libfsrtcpfilter.la
lib/gstreamer-0.10/libfsrtcpfilter.so
lib/gstreamer-0.10/libfsrtpconference.a
@comment lib/gstreamer-0.10/libfsrtpconference.la
lib/gstreamer-0.10/libfsrtpconference.so
lib/gstreamer-0.10/libfsvideoanyrate.a
@comment lib/gstreamer-0.10/libfsvideoanyrate.la
lib/gstreamer-0.10/libfsvideoanyrate.so
lib/libfarstream-0.1.a
lib/libfarstream-0.1.la
@lib lib/libfarstream-0.1.so.${LIBfarstream-0.1_VERSION}
lib/pkgconfig/farstream-0.1.pc
@comment lib/python${MODPY_VERSION}/site-packages/farstream.a
@comment lib/python${MODPY_VERSION}/site-packages/farstream.la
lib/python${MODPY_VERSION}/site-packages/farstream.so
share/farstream/
share/farstream/0.1/
share/farstream/0.1/fsrawconference/
share/farstream/0.1/fsrawconference/default-element-properties
share/farstream/0.1/fsrtpconference/
share/farstream/0.1/fsrtpconference/default-codec-preferences
share/farstream/0.1/fsrtpconference/default-element-properties
share/gir-1.0/Farstream-0.1.gir
share/gtk-doc/html/farstream-libs-0.10/
share/gtk-doc/html/farstream-libs-0.10/FsConference.html
share/gtk-doc/html/farstream-libs-0.10/FsElementAddedNotifier.html
share/gtk-doc/html/farstream-libs-0.10/FsParticipant.html
share/gtk-doc/html/farstream-libs-0.10/FsSession.html
share/gtk-doc/html/farstream-libs-0.10/FsStream.html
share/gtk-doc/html/farstream-libs-0.10/FsStreamTransmitter.html
share/gtk-doc/html/farstream-libs-0.10/FsTransmitter.html
share/gtk-doc/html/farstream-libs-0.10/ch01.html
share/gtk-doc/html/farstream-libs-0.10/ch02.html
share/gtk-doc/html/farstream-libs-0.10/ch03.html
share/gtk-doc/html/farstream-libs-0.10/ch04.html
share/gtk-doc/html/farstream-libs-0.10/ch05.html
share/gtk-doc/html/farstream-libs-0.10/farstream-libs-0.10.devhelp2
share/gtk-doc/html/farstream-libs-0.10/farstream-libs-FsCandidate.html
share/gtk-doc/html/farstream-libs-0.10/farstream-libs-FsCodec.html
share/gtk-doc/html/farstream-libs-0.10/farstream-libs-FsPlugin.html
share/gtk-doc/html/farstream-libs-0.10/farstream-libs-RTP-Specific-types.html
share/gtk-doc/html/farstream-libs-0.10/farstream-libs-Utility-functions.html
share/gtk-doc/html/farstream-libs-0.10/home.png
share/gtk-doc/html/farstream-libs-0.10/index.html
share/gtk-doc/html/farstream-libs-0.10/index.sgml
share/gtk-doc/html/farstream-libs-0.10/left.png
share/gtk-doc/html/farstream-libs-0.10/pt01.html
share/gtk-doc/html/farstream-libs-0.10/pt02.html
share/gtk-doc/html/farstream-libs-0.10/right.png
share/gtk-doc/html/farstream-libs-0.10/style.css
share/gtk-doc/html/farstream-libs-0.10/up.png
share/gtk-doc/html/farstream-plugins-0.1/
share/gtk-doc/html/farstream-plugins-0.1/ch01.html
share/gtk-doc/html/farstream-plugins-0.1/ch02.html
share/gtk-doc/html/farstream-plugins-0.1/ch03.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-0.10.devhelp2
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsFunnel.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsMsnCamCamRecvConference.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsMsnCamSendConference.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsMsnConference.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsMsnParticipant.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsMsnSession.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsMsnStream.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsMulticastStreamTransmitter.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsNiceStreamTransmitter.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsRawConference.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsRawParticipant.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsRawSession.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsRawStream.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsRawUdpStreamTransmitter.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsRtpConference.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsRtpParticipant.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsRtpSession.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsRtpStream.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-FsShmStreamTransmitter.html
share/gtk-doc/html/farstream-plugins-0.1/farstream-plugins-GstVideoanyrate.html
share/gtk-doc/html/farstream-plugins-0.1/home.png
share/gtk-doc/html/farstream-plugins-0.1/index.html
share/gtk-doc/html/farstream-plugins-0.1/index.sgml
share/gtk-doc/html/farstream-plugins-0.1/left.png
share/gtk-doc/html/farstream-plugins-0.1/pt01.html
share/gtk-doc/html/farstream-plugins-0.1/pt02.html
share/gtk-doc/html/farstream-plugins-0.1/pt03.html
share/gtk-doc/html/farstream-plugins-0.1/right.png
share/gtk-doc/html/farstream-plugins-0.1/style.css
share/gtk-doc/html/farstream-plugins-0.1/up.png