summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorwiz <wiz>2009-08-17 21:13:03 +0000
committerwiz <wiz>2009-08-17 21:13:03 +0000
commit44cf2c5d6d5a126f59d57021dba50eb0ceef2838 (patch)
tree17a58a76b457420a5a4f9eb05fdab2f1c785e4c7 /multimedia
parentfb53b2ddf53c3bf72170addd55cfd973e6f0a20c (diff)
downloadpkgsrc-44cf2c5d6d5a126f59d57021dba50eb0ceef2838.tar.gz
Initial import of farsight2-0.0.14:
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. Farsight forms an integral part of the Telepathy framework. It is used by Empathy through the Telepathy-Farsight library. It can also be easily used on embedded platforms by using Stream-Engine. The Telepathy-Farsight library binds it to the Connection Managers via D-Bus and the Telepathy Media Stream Spec and is used for all their streaming requirements.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/farsight2/DESCR18
-rw-r--r--multimedia/farsight2/Makefile47
-rw-r--r--multimedia/farsight2/PLIST84
-rw-r--r--multimedia/farsight2/buildlink3.mk24
-rw-r--r--multimedia/farsight2/distinfo14
-rw-r--r--multimedia/farsight2/patches/patch-aa15
-rw-r--r--multimedia/farsight2/patches/patch-ab14
-rw-r--r--multimedia/farsight2/patches/patch-ac15
-rw-r--r--multimedia/farsight2/patches/patch-ad15
-rw-r--r--multimedia/farsight2/patches/patch-ae15
-rw-r--r--multimedia/farsight2/patches/patch-af15
-rw-r--r--multimedia/farsight2/patches/patch-ag15
-rw-r--r--multimedia/farsight2/patches/patch-ah15
-rw-r--r--multimedia/farsight2/patches/patch-ai15
14 files changed, 321 insertions, 0 deletions
diff --git a/multimedia/farsight2/DESCR b/multimedia/farsight2/DESCR
new file mode 100644
index 00000000000..12568bc062b
--- /dev/null
+++ b/multimedia/farsight2/DESCR
@@ -0,0 +1,18 @@
+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.
+
+Farsight forms an integral part of the Telepathy framework. It is
+used by Empathy through the Telepathy-Farsight library. It can also
+be easily used on embedded platforms by using Stream-Engine. The
+Telepathy-Farsight library binds it to the Connection Managers via
+D-Bus and the Telepathy Media Stream Spec and is used for all their
+streaming requirements.
diff --git a/multimedia/farsight2/Makefile b/multimedia/farsight2/Makefile
new file mode 100644
index 00000000000..ab686ddd4ee
--- /dev/null
+++ b/multimedia/farsight2/Makefile
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/17 21:13:03 wiz Exp $
+#
+
+DISTNAME= farsight2-0.0.14
+CATEGORIES= chat multimedia
+MASTER_SITES= http://farsight.freedesktop.org/releases/farsight2/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://farsight.freedesktop.org/wiki/
+COMMENT= Audio/video communications framework
+LICENSE= gnu-lgpl-v2.1
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake pkg-config
+
+PKGCONFIG_OVERRIDE+= farsight2.pc.in
+
+# optionally for gstreamer unit tests
+# gstreamer-check-0.10 >= 0.10.23 (GStreamer Check unittest Library)
+
+PY_PATCHPLIST= yes
+PYTHON_VERSIONS_ACCEPTED= 26 25 24
+.include "../../lang/python/pyversion.mk"
+
+BUILDLINK_API_DEPENDS.pygobject+= ${PYPKGPREFIX}-gobject>=2.16
+.include "../../devel/py-gobject/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+BUILDLINK_API_DEPENDS.glib2+= glib2>=2.16.0
+.include "../../devel/glib2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gst-plugins0.10-bad+= gst-plugins0.10-bad>=0.10.12
+.include "../../multimedia/gst-plugins0.10-bad/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gst-plugins0.10-base+= gst-plugins0.10-base>=0.10.23
+.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gst-plugins0.10-good+= gst-plugins0.10-good>=0.10.7
+.include "../../multimedia/gst-plugins0.10-good/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gstreamer0.10+= gstreamer0.10>=0.10.23
+.include "../../multimedia/gstreamer0.10/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gst-python+= ${PYPKGPREFIX}-gstreamer0.10>=0.10.10
+.include "../../multimedia/py-gstreamer0.10/buildlink3.mk"
+.include "../../net/gupnp-igd/buildlink3.mk"
+.include "../../net/libnice/buildlink3.mk"
+.include "../../textproc/gtk-doc/buildlink3.mk"
+.include "../../x11/py-gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/farsight2/PLIST b/multimedia/farsight2/PLIST
new file mode 100644
index 00000000000..49e836f2004
--- /dev/null
+++ b/multimedia/farsight2/PLIST
@@ -0,0 +1,84 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/17 21:13:04 wiz Exp $
+include/gstreamer-0.10/gst/farsight/fs-base-conference.h
+include/gstreamer-0.10/gst/farsight/fs-candidate.h
+include/gstreamer-0.10/gst/farsight/fs-codec.h
+include/gstreamer-0.10/gst/farsight/fs-conference-iface.h
+include/gstreamer-0.10/gst/farsight/fs-element-added-notifier.h
+include/gstreamer-0.10/gst/farsight/fs-enum-types.h
+include/gstreamer-0.10/gst/farsight/fs-interfaces.h
+include/gstreamer-0.10/gst/farsight/fs-participant.h
+include/gstreamer-0.10/gst/farsight/fs-plugin.h
+include/gstreamer-0.10/gst/farsight/fs-session.h
+include/gstreamer-0.10/gst/farsight/fs-stream-transmitter.h
+include/gstreamer-0.10/gst/farsight/fs-stream.h
+include/gstreamer-0.10/gst/farsight/fs-transmitter.h
+lib/farsight2-0.0/libmulticast-transmitter.la
+lib/farsight2-0.0/libnice-transmitter.la
+lib/farsight2-0.0/librawudp-transmitter.la
+lib/gstreamer-0.10/libfsfunnel.la
+lib/gstreamer-0.10/libfsmsnconference.la
+lib/gstreamer-0.10/libfsrtcpfilter.la
+lib/gstreamer-0.10/libfsrtpconference.la
+lib/gstreamer-0.10/libfsvideoanyrate.la
+lib/libgstfarsight-0.10.la
+lib/pkgconfig/farsight2-0.10.pc
+${PYSITELIB}/farsight.la
+share/gtk-doc/html/farsight2-libs-0.10/FsBaseConference.html
+share/gtk-doc/html/farsight2-libs-0.10/FsConference.html
+share/gtk-doc/html/farsight2-libs-0.10/FsElementAddedNotifier.html
+share/gtk-doc/html/farsight2-libs-0.10/FsParticipant.html
+share/gtk-doc/html/farsight2-libs-0.10/FsSession.html
+share/gtk-doc/html/farsight2-libs-0.10/FsStream.html
+share/gtk-doc/html/farsight2-libs-0.10/FsStreamTransmitter.html
+share/gtk-doc/html/farsight2-libs-0.10/FsTransmitter.html
+share/gtk-doc/html/farsight2-libs-0.10/ch01.html
+share/gtk-doc/html/farsight2-libs-0.10/ch02.html
+share/gtk-doc/html/farsight2-libs-0.10/ch03.html
+share/gtk-doc/html/farsight2-libs-0.10/ch04.html
+share/gtk-doc/html/farsight2-libs-0.10/ch05.html
+share/gtk-doc/html/farsight2-libs-0.10/ch06.html
+share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-0.10.devhelp
+share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-0.10.devhelp2
+share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-FsCandidate.html
+share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-FsCodec.html
+share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-FsPlugin.html
+share/gtk-doc/html/farsight2-libs-0.10/farsight2-libs-Network-interfaces-discovery.html
+share/gtk-doc/html/farsight2-libs-0.10/home.png
+share/gtk-doc/html/farsight2-libs-0.10/index.html
+share/gtk-doc/html/farsight2-libs-0.10/index.sgml
+share/gtk-doc/html/farsight2-libs-0.10/left.png
+share/gtk-doc/html/farsight2-libs-0.10/pt01.html
+share/gtk-doc/html/farsight2-libs-0.10/pt02.html
+share/gtk-doc/html/farsight2-libs-0.10/right.png
+share/gtk-doc/html/farsight2-libs-0.10/style.css
+share/gtk-doc/html/farsight2-libs-0.10/up.png
+share/gtk-doc/html/farsight2-plugins-0.10/ch01.html
+share/gtk-doc/html/farsight2-plugins-0.10/ch02.html
+share/gtk-doc/html/farsight2-plugins-0.10/ch03.html
+share/gtk-doc/html/farsight2-plugins-0.10/farsight2-plugins-0.10.devhelp
+share/gtk-doc/html/farsight2-plugins-0.10/farsight2-plugins-0.10.devhelp2
+share/gtk-doc/html/farsight2-plugins-0.10/farsight2-plugins-FsFunnel.html
+share/gtk-doc/html/farsight2-plugins-0.10/farsight2-plugins-FsMsnCamCamRecvConference.html
+share/gtk-doc/html/farsight2-plugins-0.10/farsight2-plugins-FsMsnCamSendConference.html
+share/gtk-doc/html/farsight2-plugins-0.10/farsight2-plugins-FsMsnConference.html
+share/gtk-doc/html/farsight2-plugins-0.10/farsight2-plugins-FsMsnParticipant.html
+share/gtk-doc/html/farsight2-plugins-0.10/farsight2-plugins-FsMsnSession.html
+share/gtk-doc/html/farsight2-plugins-0.10/farsight2-plugins-FsMsnStream.html
+share/gtk-doc/html/farsight2-plugins-0.10/farsight2-plugins-FsMulticastStreamTransmitter.html
+share/gtk-doc/html/farsight2-plugins-0.10/farsight2-plugins-FsNiceStreamTransmitter.html
+share/gtk-doc/html/farsight2-plugins-0.10/farsight2-plugins-FsRawUdpStreamTransmitter.html
+share/gtk-doc/html/farsight2-plugins-0.10/farsight2-plugins-FsRtpConference.html
+share/gtk-doc/html/farsight2-plugins-0.10/farsight2-plugins-FsRtpParticipant.html
+share/gtk-doc/html/farsight2-plugins-0.10/farsight2-plugins-FsRtpSession.html
+share/gtk-doc/html/farsight2-plugins-0.10/farsight2-plugins-FsRtpStream.html
+share/gtk-doc/html/farsight2-plugins-0.10/farsight2-plugins-GstVideoanyrate.html
+share/gtk-doc/html/farsight2-plugins-0.10/home.png
+share/gtk-doc/html/farsight2-plugins-0.10/index.html
+share/gtk-doc/html/farsight2-plugins-0.10/index.sgml
+share/gtk-doc/html/farsight2-plugins-0.10/left.png
+share/gtk-doc/html/farsight2-plugins-0.10/pt01.html
+share/gtk-doc/html/farsight2-plugins-0.10/pt02.html
+share/gtk-doc/html/farsight2-plugins-0.10/pt03.html
+share/gtk-doc/html/farsight2-plugins-0.10/right.png
+share/gtk-doc/html/farsight2-plugins-0.10/style.css
+share/gtk-doc/html/farsight2-plugins-0.10/up.png
diff --git a/multimedia/farsight2/buildlink3.mk b/multimedia/farsight2/buildlink3.mk
new file mode 100644
index 00000000000..40097a14e9c
--- /dev/null
+++ b/multimedia/farsight2/buildlink3.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/08/17 21:13:03 wiz Exp $
+
+BUILDLINK_TREE+= farsight2
+
+.if !defined(FARSIGHT2_BUILDLINK3_MK)
+FARSIGHT2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.farsight2+= farsight2>=0.0.14
+BUILDLINK_PKGSRCDIR.farsight2?= ../../multimedia/farsight2
+
+# unsure which are needed exactly
+#.include "../../devel/py-gobject/buildlink3.mk"
+#.include "../../devel/glib2/buildlink3.mk"
+#.include "../../multimedia/gst-plugins0.10-bad/buildlink3.mk"
+.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
+#.include "../../multimedia/gst-plugins0.10-good/buildlink3.mk"
+.include "../../multimedia/gstreamer0.10/buildlink3.mk"
+#.include "../../multimedia/py-gstreamer0.10/buildlink3.mk"
+#.include "../../net/gupnp-igd/buildlink3.mk"
+#.include "../../net/libnice/buildlink3.mk"
+#.include "../../x11/py-gtk2/buildlink3.mk"
+.endif # FARSIGHT2_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -farsight2
diff --git a/multimedia/farsight2/distinfo b/multimedia/farsight2/distinfo
new file mode 100644
index 00000000000..e9440c06989
--- /dev/null
+++ b/multimedia/farsight2/distinfo
@@ -0,0 +1,14 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/17 21:13:04 wiz Exp $
+
+SHA1 (farsight2-0.0.14.tar.gz) = 2f8b382747efb467cdb9acd833bb88fe9bf02dc8
+RMD160 (farsight2-0.0.14.tar.gz) = 5f8816831fb6790c3185479cca43713fd552d4cd
+Size (farsight2-0.0.14.tar.gz) = 1054752 bytes
+SHA1 (patch-aa) = 71d75037d2e8c5ee7cf0068673da67e74e4a6aa9
+SHA1 (patch-ab) = 6314047a6a55016d95f2aff25c05e89ce115f712
+SHA1 (patch-ac) = ff7eabcbbad1a81eb10ff91ea459d439866edaee
+SHA1 (patch-ad) = 5ac692556fbfd04d905481707ffd552c9a2682ef
+SHA1 (patch-ae) = ec01d23b7ba4f09ffb71e6043b49eab44d871b60
+SHA1 (patch-af) = 213cba839532d09f15c73e09e622af5a8622e46e
+SHA1 (patch-ag) = 2b4c4c1f5c48fc2bcec2c283473c03cbb9a13efc
+SHA1 (patch-ah) = d9093fe379fd2a7a4422e88d466cbb2fb73679dd
+SHA1 (patch-ai) = 6459729f80f592a2a333d683b05a139b499f46c6
diff --git a/multimedia/farsight2/patches/patch-aa b/multimedia/farsight2/patches/patch-aa
new file mode 100644
index 00000000000..ca1b7e10229
--- /dev/null
+++ b/multimedia/farsight2/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/08/17 21:13:04 wiz Exp $
+
+https://bugs.freedesktop.org/show_bug.cgi?id=23378
+
+--- configure.orig 2009-08-03 20:33:06.000000000 +0000
++++ configure
+@@ -24712,7 +24712,7 @@ rm -f core conftest.err conftest.$ac_obj
+ $as_echo "$flag_ok" >&6; }
+
+
+- if test "x$ERROR_CFLAGS" == "x"
++ if test "x$ERROR_CFLAGS" = "x"
+ then
+
+ { $as_echo "$as_me:$LINENO: checking to see if compiler understands -errwarn=%all" >&5
diff --git a/multimedia/farsight2/patches/patch-ab b/multimedia/farsight2/patches/patch-ab
new file mode 100644
index 00000000000..b05f8a38db3
--- /dev/null
+++ b/multimedia/farsight2/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/08/17 21:13:04 wiz Exp $
+
+https://bugs.freedesktop.org/show_bug.cgi?id=23377
+
+--- transmitters/rawudp/fs-rawudp-transmitter.c.orig 2009-08-03 20:20:07.000000000 +0000
++++ transmitters/rawudp/fs-rawudp-transmitter.c
+@@ -53,6 +53,7 @@
+ #else /*G_OS_WIN32*/
+ # include <netdb.h>
+ # include <sys/socket.h>
++# include <netinet/in_systm.h>
+ # include <netinet/ip.h>
+ # include <arpa/inet.h>
+ #endif /*G_OS_WIN32*/
diff --git a/multimedia/farsight2/patches/patch-ac b/multimedia/farsight2/patches/patch-ac
new file mode 100644
index 00000000000..d7fb8453820
--- /dev/null
+++ b/multimedia/farsight2/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2009/08/17 21:13:04 wiz Exp $
+
+https://bugs.freedesktop.org/show_bug.cgi?id=23378
+
+--- common/glib-gen.mak.orig 2009-07-21 01:09:25.000000000 +0000
++++ common/glib-gen.mak
+@@ -26,7 +26,7 @@ enum_headers=$(foreach h,$(glib_enum_hea
+ $^ > $@
+
+ %-enumtypes.c: $(glib_enum_headers)
+- @if test "x$(glib_enum_headers)" == "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
++ @if test "x$(glib_enum_headers)" = "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
+ glib-mkenums \
+ --fhead "#include \"$*-enumtypes.h\"\n$(enum_headers)" \
+ --fprod "\n/* enumerations from \"@filename@\" */" \
diff --git a/multimedia/farsight2/patches/patch-ad b/multimedia/farsight2/patches/patch-ad
new file mode 100644
index 00000000000..8fb0e87e6a7
--- /dev/null
+++ b/multimedia/farsight2/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1.1.1 2009/08/17 21:13:04 wiz Exp $
+
+https://bugs.freedesktop.org/show_bug.cgi?id=23378
+
+--- common-modified/glib-gen.mak.orig 2009-07-28 17:38:43.000000000 +0000
++++ common-modified/glib-gen.mak
+@@ -26,7 +26,7 @@ enum_headers=$(foreach h,$(glib_enum_hea
+ $^ > $@
+
+ %-enum-types.c: $(glib_enum_headers) Makefile
+- @if test "x$(glib_enum_headers)" == "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
++ @if test "x$(glib_enum_headers)" = "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
+ glib-mkenums \
+ --fhead "#include \"$*-enum-types.h\"\n$(enum_headers)" \
+ --fprod "\n/* enumerations from \"@filename@\" */" \
diff --git a/multimedia/farsight2/patches/patch-ae b/multimedia/farsight2/patches/patch-ae
new file mode 100644
index 00000000000..ff6ee4c686a
--- /dev/null
+++ b/multimedia/farsight2/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1.1.1 2009/08/17 21:13:04 wiz Exp $
+
+https://bugs.freedesktop.org/show_bug.cgi?id=23378
+
+--- gst-libs/gst/farsight/Makefile.in.orig 2009-08-03 20:33:01.000000000 +0000
++++ gst-libs/gst/farsight/Makefile.in
+@@ -860,7 +860,7 @@ fs-marshal.list: $(libgstfarsight_@GST_M
+ $^ > $@
+
+ %-enum-types.c: $(glib_enum_headers) Makefile
+- @if test "x$(glib_enum_headers)" == "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
++ @if test "x$(glib_enum_headers)" = "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
+ glib-mkenums \
+ --fhead "#include \"$*-enum-types.h\"\n$(enum_headers)" \
+ --fprod "\n/* enumerations from \"@filename@\" */" \
diff --git a/multimedia/farsight2/patches/patch-af b/multimedia/farsight2/patches/patch-af
new file mode 100644
index 00000000000..04946625216
--- /dev/null
+++ b/multimedia/farsight2/patches/patch-af
@@ -0,0 +1,15 @@
+$NetBSD: patch-af,v 1.1.1.1 2009/08/17 21:13:04 wiz Exp $
+
+https://bugs.freedesktop.org/show_bug.cgi?id=23378
+
+--- gst/fsrtpconference/Makefile.in.orig 2009-08-03 20:33:02.000000000 +0000
++++ gst/fsrtpconference/Makefile.in
+@@ -746,7 +746,7 @@ fs-rtp-marshal.list: $(libfsrtpconferenc
+ $^ > $@
+
+ %-enum-types.c: $(glib_enum_headers) Makefile
+- @if test "x$(glib_enum_headers)" == "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
++ @if test "x$(glib_enum_headers)" = "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
+ glib-mkenums \
+ --fhead "#include \"$*-enum-types.h\"\n$(enum_headers)" \
+ --fprod "\n/* enumerations from \"@filename@\" */" \
diff --git a/multimedia/farsight2/patches/patch-ag b/multimedia/farsight2/patches/patch-ag
new file mode 100644
index 00000000000..6f21cc32073
--- /dev/null
+++ b/multimedia/farsight2/patches/patch-ag
@@ -0,0 +1,15 @@
+$NetBSD: patch-ag,v 1.1.1.1 2009/08/17 21:13:04 wiz Exp $
+
+https://bugs.freedesktop.org/show_bug.cgi?id=23378
+
+--- gst/rtcpfilter/Makefile.in.orig 2009-08-03 20:33:02.000000000 +0000
++++ gst/rtcpfilter/Makefile.in
+@@ -635,7 +635,7 @@ fs-rtcp-filter-marshal.list: $(libfsrtcp
+ $^ > $@
+
+ %-enum-types.c: $(glib_enum_headers) Makefile
+- @if test "x$(glib_enum_headers)" == "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
++ @if test "x$(glib_enum_headers)" = "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
+ glib-mkenums \
+ --fhead "#include \"$*-enum-types.h\"\n$(enum_headers)" \
+ --fprod "\n/* enumerations from \"@filename@\" */" \
diff --git a/multimedia/farsight2/patches/patch-ah b/multimedia/farsight2/patches/patch-ah
new file mode 100644
index 00000000000..dc8fbcc7c48
--- /dev/null
+++ b/multimedia/farsight2/patches/patch-ah
@@ -0,0 +1,15 @@
+$NetBSD: patch-ah,v 1.1.1.1 2009/08/17 21:13:04 wiz Exp $
+
+https://bugs.freedesktop.org/show_bug.cgi?id=23378
+
+--- transmitters/rawudp/Makefile.in.orig 2009-08-03 20:33:04.000000000 +0000
++++ transmitters/rawudp/Makefile.in
+@@ -699,7 +699,7 @@ fs-rawudp-marshal.list: $(librawudp_tran
+ $^ > $@
+
+ %-enum-types.c: $(glib_enum_headers) Makefile
+- @if test "x$(glib_enum_headers)" == "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
++ @if test "x$(glib_enum_headers)" = "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
+ glib-mkenums \
+ --fhead "#include \"$*-enum-types.h\"\n$(enum_headers)" \
+ --fprod "\n/* enumerations from \"@filename@\" */" \
diff --git a/multimedia/farsight2/patches/patch-ai b/multimedia/farsight2/patches/patch-ai
new file mode 100644
index 00000000000..a43afb0de68
--- /dev/null
+++ b/multimedia/farsight2/patches/patch-ai
@@ -0,0 +1,15 @@
+$NetBSD: patch-ai,v 1.1.1.1 2009/08/17 21:13:04 wiz Exp $
+
+https://bugs.freedesktop.org/show_bug.cgi?id=23377
+
+--- transmitters/multicast/fs-multicast-transmitter.c.orig 2009-08-03 20:20:07.000000000 +0000
++++ transmitters/multicast/fs-multicast-transmitter.c
+@@ -53,6 +53,8 @@
+ #else /*G_OS_WIN32*/
+ # include <netdb.h>
+ # include <sys/socket.h>
++# include <netinet/in.h>
++# include <netinet/in_systm.h>
+ # include <netinet/ip.h>
+ # include <arpa/inet.h>
+ #endif /*G_OS_WIN32*/