update to 1.16.2

This commit is contained in:
jinzhimin369 2020-08-18 18:44:39 +08:00
parent 24feaa765f
commit 09f2a844bc
5 changed files with 29 additions and 18 deletions

View File

@ -0,0 +1,13 @@
diff -Nuar gstreamer-1.16.2/common/gst-glib-gen.mak b/common/gst-glib-gen.mak
--- gstreamer-1.16.2/common/gst-glib-gen.mak 2019-04-19 17:16:18.000000000 +0800
+++ b/common/gst-glib-gen.mak 2020-08-04 15:27:22.980652961 +0800
@@ -8,7 +8,8 @@
#glib_gen_decl_banner=GST_EXPORT
#glib_gen_decl_include=\#include <gst/foo/foo-prelude.h>
-enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
+hash:=\#
+enum_headers=$(foreach h,$(glib_enum_headers),\n$(hash)include \"$(h)\")
# these are all the rules generating the relevant files
$(glib_gen_basename)-marshal.h: $(glib_gen_basename)-marshal.list

View File

@ -1,11 +0,0 @@
--- a/gst-libs/gst/rtsp/gstrtspconnection.c 2012-02-17 09:49:52.000000000 -0500
+++ b/gst-libs/gst/rtsp/gstrtspconnection_1.c 2019-05-07 07:54:18.894000000 -0400
@@ -2007,7 +2007,7 @@ build_next (GstRTSPBuilder * builder, Gs
maxlen = sizeof (conn->session_id) - 1;
/* the sessionid can have attributes marked with ;
* Make sure we strip them */
- for (i = 0; session_id[i] != '\0'; i++) {
+ for (i = 0; i < maxlen && session_id[i] != '\0'; i++) {
if (session_id[i] == ';') {
maxlen = i;
/* parse timeout */

Binary file not shown.

Binary file not shown.

View File

@ -2,20 +2,24 @@
%global gst_mm gstreamer-%{majorminor}
Name: gstreamer1-plugins-base
Version: 1.14.4
Release: 3
Version: 1.16.2
Release: 1
Summary: GStreamer streaming media framework base plugins
License: LGPLv2+
URL: http://gstreamer.freedesktop.org/
Source0: http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.xz
Patch0: 0001-missing-plugins-Remove-the-mpegaudioversion-field.patch
Patch6000: CVE-2019-9928.patch
Patch1: Adapt-to-backwards-incompatible-change-in-GUN.patch
BuildRequires: gcc-c++ gstreamer1-devel >= %{version} gobject-introspection-devel >= 1.31.1 iso-codes-devel alsa-lib-devel
BuildRequires: cdparanoia-devel libogg-devel >= 1.0 libtheora-devel >= 1.1 libvisual-devel libvorbis-devel >= 1.0 libXv-devel
BuildRequires: orc-devel >= 0.4.18 pango-devel pkgconfig opus-devel gtk-doc >= 1.3 libxslt gdb
BuildRequires: automake gettext-devel libtool chrpath mesa-libGL-devel mesa-libGLES-devel mesa-libGLU-devel mesa-libEGL-devel wayland-devel
BuildRequires: automake gettext-devel libtool chrpath mesa-libGL-devel libglvnd-devel mesa-libGLU-devel mesa-libEGL-devel wayland-devel egl-wayland-devel
BuildRequires: pkgconfig(wayland-client) >= 1.0
BuildRequires: pkgconfig(wayland-cursor) >= 1.0
BuildRequires: pkgconfig(wayland-egl) >= 9.0
BuildRequires: pkgconfig(wayland-protocols) >= 1.15
Requires: iso-codes
@ -28,7 +32,6 @@ GStreamer is a graphics library for built-in media processing components. BasePl
Summary: GStreamer Base Plugins Development files
Requires: %{name} = %{version}-%{release}
Provides: tools
Obsoletes: tools
%description devel
This package contains static libraries and header files.
@ -38,7 +41,6 @@ Summary: Developer documentation for GStreamer Base plugins library
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
Provides: devel-docs
Obsoletes: devel-docs
%description help
This package provides manual for developpers.
@ -46,7 +48,7 @@ This package provides manual for developpers.
%prep
%setup -q -n gst-plugins-base-%{version}
%patch0 -p1
%patch6000 -p1
%patch1 -p1
%build
NOCONFIGURE=1 \
@ -133,6 +135,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
%{_includedir}/%{gst_mm}/gst/audio/audio-quantize.h
%{_includedir}/%{gst_mm}/gst/audio/audio-resampler.h
%{_includedir}/%{gst_mm}/gst/audio/audio.h
%{_includedir}/%{gst_mm}/gst/audio/audio-buffer.h
%{_includedir}/%{gst_mm}/gst/audio/audio-prelude.h
%{_includedir}/%{gst_mm}/gst/audio/gstaudioaggregator.h
%{_includedir}/%{gst_mm}/gst/audio/gstaudiobasesink.h
@ -188,6 +191,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
%{_includedir}/%{gst_mm}/gst/rtp/gstrtp-enumtypes.h
%{_includedir}/%{gst_mm}/gst/rtp/gstrtphdrext.h
%{_includedir}/%{gst_mm}/gst/rtp/gstrtppayloads.h
%{_includedir}/%{gst_mm}/gst/rtp/gstrtpmeta.h
%{_includedir}/%{gst_mm}/gst/rtp/rtp.h
%{_includedir}/%{gst_mm}/gst/rtp/rtp-prelude.h
%dir %{_includedir}/%{gst_mm}/gst/rtsp
@ -227,8 +231,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
%{_includedir}/%{gst_mm}/gst/video/gstvideosink.h
%{_includedir}/%{gst_mm}/gst/video/gstvideotimecode.h
%{_includedir}/%{gst_mm}/gst/video/gstvideoutils.h
%{_includedir}/%{gst_mm}/gst/video/gstvideoaggregator.h
%{_includedir}/%{gst_mm}/gst/video/navigation.h
%{_includedir}/%{gst_mm}/gst/video/video-blend.h
%{_includedir}/%{gst_mm}/gst/video/video-anc.h
%{_includedir}/%{gst_mm}/gst/video/video-overlay-composition.h
%{_includedir}/%{gst_mm}/gst/video/video-chroma.h
%{_includedir}/%{gst_mm}/gst/video/video-color.h
@ -264,6 +270,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
%{_mandir}/man1/gst-device-monitor-*.gz
%changelog
* Tue Aug 18 2020 zhanzhimin <zhanzhimin@huawei.com> - 1.16.2-1
- update to 1.16.2
* Fri Mar 20 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.14.4-3
- add gdb in buildrequires