diff --git a/.farstream.metadata b/.farstream.metadata new file mode 100644 index 0000000..91a6557 --- /dev/null +++ b/.farstream.metadata @@ -0,0 +1 @@ +e0b9519bd334305fa3b406e4f6e6d5ed262b63aa SOURCES/farstream-0.1.2.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ebf5e39 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/farstream-0.1.2.tar.gz diff --git a/SOURCES/0001-Gtk-doc-tags-belong-after-the-description.patch b/SOURCES/0001-Gtk-doc-tags-belong-after-the-description.patch new file mode 100644 index 0000000..7010eda --- /dev/null +++ b/SOURCES/0001-Gtk-doc-tags-belong-after-the-description.patch @@ -0,0 +1,132 @@ +From 39450457190675716c8e66700e35b05334a6a1a0 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= +Date: Fri, 25 May 2012 17:06:59 -0400 +Subject: [PATCH] Gtk-doc tags belong after the description + +--- + farstream/fs-session.c | 16 +++++++--------- + farstream/fs-stream.c | 15 ++++++--------- + 2 files changed, 13 insertions(+), 18 deletions(-) + +diff --git a/farstream/fs-session.c b/farstream/fs-session.c +index 80794d1..abb1bc3 100644 +--- a/farstream/fs-session.c ++++ b/farstream/fs-session.c +@@ -270,9 +270,6 @@ fs_session_class_init (FsSessionClass *klass) + /** + * FsSession:codec-preferences: + * +- * Type: GLib.List(FsCodec) +- * Transfer: full +- * + * This is the current preferences list for the local codecs. It is + * set by the user to specify the codec options and priorities. The user may + * change its value with fs_session_set_codec_preferences() at any time +@@ -283,6 +280,9 @@ fs_session_class_init (FsSessionClass *klass) + * or %FS_CODEC_ID_ANY. If the encoding name is "reserve-pt", then the + * payload type of the codec will be "reserved" and not be used by any + * dynamically assigned payload type. ++ * ++ * Type: GLib.List(FsCodec) ++ * Transfer: full + */ + g_object_class_install_property (gobject_class, + PROP_CODEC_PREFERENCES, +@@ -296,9 +296,6 @@ fs_session_class_init (FsSessionClass *klass) + /** + * FsSession:codecs: + * +- * Type: GLib.List(FsCodec) +- * Transfer: full +- * + * This is the list of codecs used for this session. It will include the + * codecs and payload type used to receive media on this session. It will + * also include any configuration parameter that must be transmitted reliably +@@ -317,6 +314,8 @@ fs_session_class_init (FsSessionClass *klass) + * It is a #GList of #FsCodec. User must free this codec list using + * fs_codec_list_destroy() when done. + * ++ * Type: GLib.List(FsCodec) ++ * Transfer: full + */ + g_object_class_install_property (gobject_class, + PROP_CODECS, +@@ -329,9 +328,6 @@ fs_session_class_init (FsSessionClass *klass) + /** + * FsSession:codecs-without-config: + * +- * Type: GLib.List(FsCodec) +- * Transfer: full +- * + * This is the same list of codecs as #FsSession:codecs without + * the configuration information that describes the data sent. It is suitable + * for configurations where a list of codecs is shared by many senders. +@@ -349,6 +345,8 @@ fs_session_class_init (FsSessionClass *klass) + * It is a #GList of #FsCodec. User must free this codec list using + * fs_codec_list_destroy() when done. + * ++ * Type: GLib.List(FsCodec) ++ * Transfer: full + */ + g_object_class_install_property (gobject_class, + PROP_CODECS_WITHOUT_CONFIG, +diff --git a/farstream/fs-stream.c b/farstream/fs-stream.c +index b9e1320..110641d 100644 +--- a/farstream/fs-stream.c ++++ b/farstream/fs-stream.c +@@ -176,13 +176,12 @@ fs_stream_class_init (FsStreamClass *klass) + /** + * FsStream:remote-codecs: + * +- * Type: GLib.List(FsCodec) +- * Transfer: full +- * + * This is the list of remote codecs for this stream. They must be set by the + * user as soon as they are known using fs_stream_set_remote_codecs() + * (generally through external signaling). It is a #GList of #FsCodec. + * ++ * Type: GLib.List(FsCodec) ++ * Transfer: full + */ + g_object_class_install_property (gobject_class, + PROP_REMOTE_CODECS, +@@ -195,15 +194,14 @@ fs_stream_class_init (FsStreamClass *klass) + /** + * FsStream:negotiated-codecs: + * +- * Type: GLib.List(FsCodec) +- * Transfer: full +- * + * This is the list of negotiatied codecs, it is the same list as the list + * of #FsCodec from the parent #FsSession, except that the codec config data + * has been replaced with the data from the remote codecs for this stream. + * This is the list of #FsCodec used to receive data from this stream. + * It is a #GList of #FsCodec. + * ++ * Type: GLib.List(FsCodec) ++ * Transfer: full + */ + g_object_class_install_property (gobject_class, + PROP_NEGOTIATED_CODECS, +@@ -216,9 +214,6 @@ fs_stream_class_init (FsStreamClass *klass) + /** + * FsStream:current-recv-codecs: + * +- * Type: GLib.List(FsCodec) +- * Transfer: full +- * + * This is the list of codecs that have been received by this stream. + * The user must free the list if fs_codec_list_destroy(). + * The "farstream-recv-codecs-changed" message is send on the #GstBus +@@ -228,6 +223,8 @@ fs_stream_class_init (FsStreamClass *klass) + * also be emitted if the pad already exists, but the source material that + * will come to it is different. + * ++ * Type: GLib.List(FsCodec) ++ * Transfer: full + */ + g_object_class_install_property (gobject_class, + PROP_CURRENT_RECV_CODECS, +-- +1.8.2 + diff --git a/SOURCES/farstream-prefer-vp8.patch b/SOURCES/farstream-prefer-vp8.patch new file mode 100644 index 0000000..67009a8 --- /dev/null +++ b/SOURCES/farstream-prefer-vp8.patch @@ -0,0 +1,12 @@ +diff -urNp farstream-0.1.1.orig/gst/fsrtpconference/default-codec-preferences farstream-0.1.1/gst/fsrtpconference/default-codec-preferences +--- farstream-0.1.1.orig/gst/fsrtpconference/default-codec-preferences 2012-03-20 12:12:22.644324485 +0100 ++++ farstream-0.1.1/gst/fsrtpconference/default-codec-preferences 2012-03-21 09:32:04.468634455 +0100 +@@ -41,6 +41,8 @@ feedback:nack/pli= + [video/H263] + feedback:nack/pli= + ++[video/VP8-DRAFT-IETF-01] ++ + [video/THEORA] + #feedback:tfrc= + feedback:nack/pli= diff --git a/SPECS/farstream.spec b/SPECS/farstream.spec new file mode 100644 index 0000000..e300d4f --- /dev/null +++ b/SPECS/farstream.spec @@ -0,0 +1,181 @@ +%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +%define gst_ver 0.10.33 +%define gst_plugins_base_ver 0.10.33 + +Name: farstream +Version: 0.1.2 +Release: 8%{?dist} +Summary: Libraries for videoconferencing + +License: LGPLv2+ +URL: http://www.freedesktop.org/wiki/Software/Farstream +Source0: http://freedesktop.org/software/%{name}/releases/%{name}/%{name}-%{version}.tar.gz +Patch0: farstream-prefer-vp8.patch +Patch1: 0001-Gtk-doc-tags-belong-after-the-description.patch + +BuildRequires: libnice-devel >= 0.1.0 +BuildRequires: gstreamer-devel >= %{gst_ver} +BuildRequires: gstreamer-plugins-base-devel >= %{gst_plugins_base_ver} +BuildRequires: gupnp-igd-devel +BuildRequires: gobject-introspection-devel +BuildRequires: python-devel +BuildRequires: gstreamer-python-devel +BuildRequires: pygobject2-devel + +Requires: gstreamer-plugins-good >= 0.10.29 +Requires: gstreamer-plugins-bad-free >= 0.10.23 + +## Obsolete farsight2 with Fedora 17. +Provides: farsight2 = %{version} +Obsoletes: farsight2 < 0.0.32 + + +%description +%{name} is a collection of GStreamer modules and libraries for +videoconferencing. + + +%package python +Summary: Python binding for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +## Obsolete farsight2 with Fedora 17. +Provides: farsight2-python = %{version} +Obsoletes: farsight2-python < 0.0.32 + + +%description python +Python bindings for %{name}. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-python = %{version}-%{release} +Requires: gstreamer-devel >= %{gst_ver} +Requires: gstreamer-plugins-base-devel >= %{gst_plugins_base_ver} +Requires: pkgconfig + +## Obsolete farsight2 with Fedora 17. +Provides: farsight2-devel = %{version} +Obsoletes: farsight2-devel < 0.0.32 + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q +%patch0 -p1 -b .vp8 +%patch1 -p1 + + +%build +%configure \ + --with-package-name='Fedora Farstream package' \ + --with-package-origin='http://download.fedoraproject.org' \ + --disable-static +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files +%doc COPYING NEWS AUTHORS +%{_libdir}/*.so.* +%dir %{_libdir}/%{name}-0.1 +%{_libdir}/%{name}-0.1/libmulticast-transmitter.so +%{_libdir}/%{name}-0.1/libnice-transmitter.so +%{_libdir}/%{name}-0.1/librawudp-transmitter.so +%{_libdir}/%{name}-0.1/libshm-transmitter.so +%{_libdir}/gstreamer-0.10/libfsfunnel.so +%{_libdir}/gstreamer-0.10/libfsmsnconference.so +%{_libdir}/gstreamer-0.10/libfsrawconference.so +%{_libdir}/gstreamer-0.10/libfsrtcpfilter.so +%{_libdir}/gstreamer-0.10/libfsrtpconference.so +%{_libdir}/gstreamer-0.10/libfsvideoanyrate.so +%{_libdir}/girepository-1.0/Farstream-0.1.typelib +%dir %{_datadir}/%{name} +%dir %{_datadir}/%{name}/0.1 +%dir %{_datadir}/%{name}/0.1/fsrtpconference +%dir %{_datadir}/%{name}/0.1/fsrawconference +%{_datadir}/%{name}/0.1/fsrtpconference/default-codec-preferences +%{_datadir}/%{name}/0.1/fsrtpconference/default-element-properties +%{_datadir}/%{name}/0.1/fsrawconference/default-element-properties + + +%files python +%{python_sitearch}/farstream.so + + +%files devel +%{_libdir}/libfarstream-0.1.so +%{_libdir}/pkgconfig/%{name}-0.1.pc +%{_includedir}/%{name}-0.1/%{name}/ +%{_datadir}/gir-1.0/Farstream-0.1.gir +%{_datadir}/gtk-doc/html/%{name}-libs-0.10/ +%{_datadir}/gtk-doc/html/%{name}-plugins-0.1/ + + +%changelog +* Fri Feb 28 2014 Matthias Clasen - 0.1.2-8 +- Rebuild +Resolves: #1070804 + +* Fri Jan 24 2014 Daniel Mach - 0.1.2-7 +- Mass rebuild 2014-01-24 + Related: #1056145 + +* Fri Dec 27 2013 Daniel Mach - 0.1.2-6 +- Mass rebuild 2013-12-27 + +* Thu Apr 18 2013 Debarshi Ray - 0.1.2-5 +- Fix build failure due broken annotations. + +* Wed Feb 13 2013 Fedora Release Engineering - 0.1.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 0.1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Mar 24 2012 Brian Pepple - 0.1.2-2 +- Add patch to prefer vp8. Thanks, Debarshi. + +* Fri Mar 23 2012 Brian Pepple - 0.1.2-1 +- Update to 0.1.2. +- Drop patch to ignore config while comparing send codecs. Fixed upstream. + +* Thu Mar 22 2012 Brian Pepple - 0.1.1-6 +- Build gobject-introspection. + +* Tue Mar 13 2012 Brian Pepple - 0.1.1-5 +- Add provides/obsoletes for python subpackage. + +* Mon Mar 5 2012 Brian Pepple - 0.1.1-4 +- Use version macro in provides. + +* Sat Mar 3 2012 Brian Pepple - 0.1.1-3 +- Backport patch to ignore config while comparing send codecs. + +* Tue Feb 28 2012 Brian Pepple - 0.1.1-2 +- Appended isa macro to name in devel subpackage. +- Add obsolete/provide to devel subpackage. +- Correct package origin url. + +* Sat Feb 25 2012 Brian Pepple - 0.1.1-1 +- Initial Fedora spec. +