update to 0.2.8-30-g092d884d (#1556950i, #1647672)

This commit is contained in:
Stefan Becker 2019-07-16 21:49:41 +03:00
parent 09a77ba5e8
commit 7e67a4cdeb
3 changed files with 7188 additions and 9 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,33 @@
From 573e29a3f6b379c1bd1dba8c73c65a5f885176a0 Mon Sep 17 00:00:00 2001
From: Stefan Becker <chemobejk@gmail.com>
Date: Thu, 4 Jul 2019 10:54:03 +0300
Subject: [PATCH] configure: add check for glib-mkenums
This fixes build failure for latest source with autoconf. Add the check
glib-mkenums and definition of GLIB_MKENUMS to configure.ac
Fixes #16
---
configure.ac | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/configure.ac b/configure.ac
index 31be2770..431aa2da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -264,6 +264,12 @@ FS_PREFIX="`$PKG_CONFIG --variable=prefix farstream-$FS_APIVERSION`"
AC_SUBST(GLIB_PREFIX)
AC_SUBST(FS_PREFIX)
+dnl Check for glib-2.0 tools
+AC_MSG_CHECKING([for glib-mkenums])
+GLIB_MKENUMS="`$PKG_CONFIG --variable=glib_mkenums glib-2.0`"
+AC_SUBST(GLIB_MKENUMS)
+AC_MSG_RESULT($GLIB_MKENUMS)
+
dnl *** set variables based on configure arguments ***
dnl set license and copyright notice
--
2.21.0

View File

@ -4,20 +4,26 @@
Name: %{far}02
Version: 0.2.8
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Libraries for videoconferencing
# Package is LGPLv2 except for a few files in /common/coverage/
License: LGPLv2+ and GPLv2+
URL: http://www.freedesktop.org/wiki/Software/Farstream
Source0: http://freedesktop.org/software/%{far}/releases/%{far}/%{far}-%{version}.tar.gz
URL: https//www.freedesktop.org/wiki/Software/Farstream
Source0: https://freedesktop.org/software/%{far}/releases/%{far}/%{far}-%{version}.tar.gz
# generated with format-patch, edited to remove changes to files not in tarball
Patch1: farstream-0.2.8-30-g092d884d.patch
# patch for upstream issue https://gitlab.freedesktop.org/farstream/farstream/issues/16
Patch2: farstream-0.2.8-configure-add-check-for-glib-mkenums.patch
BuildRequires: libnice-devel >= 0.1.3
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libnice-devel >= 0.1.8
BuildRequires: glib2-devel
BuildRequires: gstreamer1-devel >= %{gst_ver}
BuildRequires: gstreamer1-plugins-base-devel >= %{gst_plugins_base_ver}
BuildRequires: gupnp-igd-devel
BuildRequires: gobject-introspection-devel
BuildRequires: python-devel
Requires: gstreamer1-plugins-good >= 1.0.0
Requires: gstreamer1-plugins-bad-free >= 1.0.0
@ -44,6 +50,8 @@ developing applications that use %{name}.
%prep
%setup -q -n %{far}-%{version}
%patch1 -p1
%patch2 -p1
%check
@ -51,9 +59,10 @@ developing applications that use %{name}.
%build
%configure \
--with-package-name='Fedora Farstream-0.2 package' \
--with-package-origin='http://download.fedoraproject.org' \
autoreconf --force --install
%configure \
--with-package-name='Fedora Farstream-0.2 package' \
--with-package-origin='http://download.fedoraproject.org' \
--disable-static
make %{?_smp_mflags}
@ -74,7 +83,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_libdir}/%{far}-0.2/libnice-transmitter.so
%{_libdir}/%{far}-0.2/librawudp-transmitter.so
%{_libdir}/%{far}-0.2/libshm-transmitter.so
%{_libdir}/gstreamer-1.0/libfsmsnconference.so
%{_libdir}/gstreamer-1.0/libfsrawconference.so
%{_libdir}/gstreamer-1.0/libfsrtpxdata.so
%{_libdir}/gstreamer-1.0/libfsrtpconference.so
@ -98,6 +106,15 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%changelog
* Tue Jul 16 2019 Stefan Becker <chemobejk@gmail.com> - 0.2.8-4
- update to 0.2.8-30-g092d884d (#1647672)
- add patch for upstream issue #16
- raise BR libnice >= 0.1.8 (#1556950)
- add BR glib2-devel
- drop unnecessary BR python-devel
- remove MSN plugin - it was dropped upstream
- update URLs
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild