diff --git a/net/farsight/Makefile b/net/farsight/Makefile new file mode 100644 index 00000000000..33c98fd2660 --- /dev/null +++ b/net/farsight/Makefile @@ -0,0 +1,38 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2007/10/27 23:11:50 jasper Exp $ + +COMMENT= audio/video communications framework + +DISTNAME= farsight-0.1.25 +SHARED_LIBS += farsight-0.1 0.0 # .2.0 +CATEGORIES= net + +HOMEPAGE= http://farsight.freedesktop.org/ + +# LGPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${HOMEPAGE}/releases/farsight/ + +WANTLIB= glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 m pcre z + +LIB_DEPENDS= gstreamer-0.10::multimedia/gstreamer-0.10/core \ + xml2::textproc/libxml + +MODULES= devel/gettext + +USE_GMAKE= Yes +USE_LIBTOOL= Yes +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= --disable-check \ + --disable-clinkc \ + --disable-jingle-p2p + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/farsight + ${INSTALL_DATA} ${WRKSRC}/{gstcodecs,gstelements}.conf \ + ${PREFIX}/share/farsight + +.include diff --git a/net/farsight/distinfo b/net/farsight/distinfo new file mode 100644 index 00000000000..deb60a11e3a --- /dev/null +++ b/net/farsight/distinfo @@ -0,0 +1,5 @@ +MD5 (farsight-0.1.25.tar.gz) = MCPlAT5hLH3rxXY+FMeBIw== +RMD160 (farsight-0.1.25.tar.gz) = gopWJy3XMvrjmbUwcvrL2y3HZos= +SHA1 (farsight-0.1.25.tar.gz) = Zb+74x//cavPWU2aFYkRlii0T20= +SHA256 (farsight-0.1.25.tar.gz) = O2AsYfxndXYOeXUPU4PjRC6zT3wdisfYFWFixxBLRuY= +SIZE (farsight-0.1.25.tar.gz) = 576788 diff --git a/net/farsight/patches/patch-configure b/net/farsight/patches/patch-configure new file mode 100644 index 00000000000..71b94daf974 --- /dev/null +++ b/net/farsight/patches/patch-configure @@ -0,0 +1,12 @@ +$OpenBSD: patch-configure,v 1.1.1.1 2007/10/27 23:11:50 jasper Exp $ +--- configure.orig Sun Oct 28 00:05:22 2007 ++++ configure Sun Oct 28 00:06:12 2007 +@@ -22203,7 +22203,7 @@ else + fi + + +-ERROR_CFLAGS="-Wall -Wdeclaration-after-statement" ++ERROR_CFLAGS="" + + + diff --git a/net/farsight/patches/patch-farsight_helpers_farsight-interfaces_c b/net/farsight/patches/patch-farsight_helpers_farsight-interfaces_c new file mode 100644 index 00000000000..398a8e82b3b --- /dev/null +++ b/net/farsight/patches/patch-farsight_helpers_farsight-interfaces_c @@ -0,0 +1,22 @@ +$OpenBSD: patch-farsight_helpers_farsight-interfaces_c,v 1.1.1.1 2007/10/27 23:11:50 jasper Exp $ +--- farsight/helpers/farsight-interfaces.c.orig Sun Oct 28 00:08:44 2007 ++++ farsight/helpers/farsight-interfaces.c Sun Oct 28 00:10:43 2007 +@@ -33,8 +33,10 @@ + #if defined(__APPLE__) && defined(__MACH__) + #include + #endif ++#include + #include + #include ++#include + #include + + /** +@@ -280,6 +282,6 @@ gchar * farsight_get_ip_for_interface(gchar *interface + + + #else /* G_OS_WIN32 */ +-#error Can\'t use this method for retreiving ip list from OS other than unix or windows ++#error Cannot use this method for retreiving ip list from OS other than unix or windows + #endif /* G_OS_WIN32 */ + #endif /* G_OS_UNIX */ diff --git a/net/farsight/patches/patch-farsight_transmitters_rawudp_udp-transmitter_c b/net/farsight/patches/patch-farsight_transmitters_rawudp_udp-transmitter_c new file mode 100644 index 00000000000..7629a041de8 --- /dev/null +++ b/net/farsight/patches/patch-farsight_transmitters_rawudp_udp-transmitter_c @@ -0,0 +1,11 @@ +$OpenBSD: patch-farsight_transmitters_rawudp_udp-transmitter_c,v 1.1.1.1 2007/10/27 23:11:50 jasper Exp $ +--- farsight/transmitters/rawudp/udp-transmitter.c.orig Sun Oct 28 00:21:56 2007 ++++ farsight/transmitters/rawudp/udp-transmitter.c Sun Oct 28 00:22:14 2007 +@@ -33,6 +33,7 @@ + #include + + #ifndef G_OS_WIN32 ++# include + # include + # include + # include diff --git a/net/farsight/pkg/DESCR b/net/farsight/pkg/DESCR new file mode 100644 index 00000000000..50bbc406fe6 --- /dev/null +++ b/net/farsight/pkg/DESCR @@ -0,0 +1,10 @@ +The 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 Farsight are Instant Messaging applications. +These applications should be able to use Farsight for all their +Audio/Video conferencing needs without having to worry about any of the +lower level streaming and NAT traversal issues. diff --git a/net/farsight/pkg/PFRAG.shared b/net/farsight/pkg/PFRAG.shared new file mode 100644 index 00000000000..272ba8d5348 --- /dev/null +++ b/net/farsight/pkg/PFRAG.shared @@ -0,0 +1,4 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/10/27 23:11:50 jasper Exp $ +lib/farsight-0.1-2/librawudp-transmitter.so +lib/farsight-0.1-2/librtp-session.so +@lib lib/libfarsight-0.1.so.${LIBfarsight-0.1_VERSION} diff --git a/net/farsight/pkg/PLIST b/net/farsight/pkg/PLIST new file mode 100644 index 00000000000..c601cb77450 --- /dev/null +++ b/net/farsight/pkg/PLIST @@ -0,0 +1,44 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2007/10/27 23:11:50 jasper Exp $ +%%SHARED%% +include/farsight-0.1/ +include/farsight-0.1/farsight/ +include/farsight-0.1/farsight/farsight-codec.h +include/farsight-0.1/farsight/farsight-interfaces.h +include/farsight-0.1/farsight/farsight-plugin.h +include/farsight-0.1/farsight/farsight-session.h +include/farsight-0.1/farsight/farsight-stream.h +include/farsight-0.1/farsight/farsight-transmitter.h +include/farsight-0.1/farsight/farsight-transport.h +include/farsight-0.1/farsight/farsight.h +lib/farsight-0.1-2/ +lib/farsight-0.1-2/librawudp-transmitter.a +lib/farsight-0.1-2/librawudp-transmitter.la +lib/farsight-0.1-2/librtp-session.a +lib/farsight-0.1-2/librtp-session.la +lib/libfarsight-0.1.a +lib/libfarsight-0.1.la +lib/pkgconfig/ +lib/pkgconfig/farsight-0.1.pc +share/farsight/ +@sample ${SYSCONFDIR}/farsight/ +share/farsight/gstcodecs.conf +@sample ${SYSCONFDIR}/farsight/gstcodecs.conf +share/farsight/gstelements.conf +@sample ${SYSCONFDIR}/farsight/gstelements.conf +share/gtk-doc/ +share/gtk-doc/html/ +share/gtk-doc/html/farsight/ +share/gtk-doc/html/farsight/FarsightSession.html +share/gtk-doc/html/farsight/FarsightStream.html +share/gtk-doc/html/farsight/ch01.html +share/gtk-doc/html/farsight/farsight-FarsightCodec.html +share/gtk-doc/html/farsight/farsight-FarsightPlugin.html +share/gtk-doc/html/farsight/farsight.devhelp +share/gtk-doc/html/farsight/farsight.devhelp2 +share/gtk-doc/html/farsight/home.png +share/gtk-doc/html/farsight/index.html +share/gtk-doc/html/farsight/index.sgml +share/gtk-doc/html/farsight/left.png +share/gtk-doc/html/farsight/right.png +share/gtk-doc/html/farsight/style.css +share/gtk-doc/html/farsight/up.png