Hello community, here is the log from the commit of package gstreamer-plugins-good for openSUSE:Factory checked in at 2019-02-08 13:46:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gstreamer-plugins-good (Old) and /work/SRC/openSUSE:Factory/.gstreamer-plugins-good.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gstreamer-plugins-good" Fri Feb 8 13:46:54 2019 rev:61 rq:672686 version:1.14.4 Changes: -------- --- /work/SRC/openSUSE:Factory/gstreamer-plugins-good/gstreamer-plugins-good.changes 2018-10-11 11:42:43.662994844 +0200 +++ /work/SRC/openSUSE:Factory/.gstreamer-plugins-good.new.28833/gstreamer-plugins-good.changes 2019-02-08 13:46:58.818805811 +0100 @@ -1,0 +2,8 @@ +Tue Feb 5 09:02:44 UTC 2019 - bjorn....@gmail.com + +- Add gstreamer-plugins-good-fix-vpx-build.patch: Fix build with + libvpx 1.8.0. +- Add libtool BuildRequires and pass autogen.sh, as the above patch + touches the buildsystem. + +------------------------------------------------------------------- New: ---- gstreamer-plugins-good-fix-vpx-build.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gstreamer-plugins-good.spec ++++++ --- /var/tmp/diff_new_pack.HguoTH/_old 2019-02-08 13:46:59.926805467 +0100 +++ /var/tmp/diff_new_pack.HguoTH/_new 2019-02-08 13:46:59.930805465 +0100 @@ -1,7 +1,7 @@ # # spec file for package gstreamer-plugins-good # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -35,6 +35,8 @@ Source0: https://gstreamer.freedesktop.org/src/gst-plugins-good/%{_name}-%{version}.tar.xz Source1: gstreamer-plugins-good.appdata.xml Source99: baselibs.conf +# PATCH-FIX-UPSTREAM gstreamer-plugins-good-fix-vpx-build.patch -- Fix build with libvpx 1.8.0 and newer +Patch0: gstreamer-plugins-good-fix-vpx-build.patch BuildRequires: Mesa-libGLESv2-devel BuildRequires: Mesa-libGLESv3-devel @@ -42,6 +44,7 @@ BuildRequires: gtk-doc >= 1.12 BuildRequires: libICE-devel BuildRequires: libSM-devel +BuildRequires: libtool BuildRequires: libmp3lame-devel # used by libgstvideo4linux2.so BuildRequires: libXv-devel @@ -166,10 +169,12 @@ %prep %autosetup -n %{_name}-%{version} -p1 + translation-update-upstream po gst-plugins-good-%{gst_branch} %build export PYTHON=%{_bindir}/python3 +NOCONFIGURE=1 ./autogen.sh %configure \ --with-package-name='openSUSE GStreamer-plugins-good package' \ --with-package-origin='http://download.opensuse.org' \ ++++++ gstreamer-plugins-good-fix-vpx-build.patch ++++++ >From b6e6f1ae73375ef66a5748069843aaed1a83e6a6 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" <jan.steff...@gmail.com> Date: Tue, 5 Feb 2019 22:14:18 +0100 Subject: [PATCH] vpx: Fix build against libvpx 1.8 The deprecated debug visualizer was removed. --- configure.ac | 4 ++++ ext/vpx/gstvpxdec.c | 2 ++ ext/vpx/meson.build | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/configure.ac b/configure.ac index 5e4cff126..8c20e5081 100644 --- a/configure.ac +++ b/configure.ac @@ -1054,6 +1054,10 @@ AG_GST_CHECK_FEATURE(VPX, [VPX decoder], vpx, [ AC_DEFINE(HAVE_VPX_1_4, 1, [Defined if the VPX library version is 1.4 or bigger]) ], [true]) + PKG_CHECK_MODULES(VPX_180, vpx >= 1.8.0, [ + AC_DEFINE(HAVE_VPX_1_8, 1, [Defined if the VPX library version is 1.8 or bigger]) + ], [true]) + LIBS="$OLD_LIBS" CFLAGS="$OLD_CFLAGS" fi diff --git a/ext/vpx/gstvpxdec.c b/ext/vpx/gstvpxdec.c index c3f0f625f..da4322513 100644 --- a/ext/vpx/gstvpxdec.c +++ b/ext/vpx/gstvpxdec.c @@ -62,6 +62,7 @@ gst_vpx_dec_post_processing_flags_get_type (void) {C_FLAGS (VP8_DEBLOCK), "Deblock", "deblock"}, {C_FLAGS (VP8_DEMACROBLOCK), "Demacroblock", "demacroblock"}, {C_FLAGS (VP8_ADDNOISE), "Add noise", "addnoise"}, +#ifndef HAVE_VPX_1_8 {C_FLAGS (VP8_DEBUG_TXT_FRAME_INFO), "Print frame information", "visualize-frame-info"}, @@ -74,6 +75,7 @@ gst_vpx_dec_post_processing_flags_get_type (void) {C_FLAGS (VP8_DEBUG_TXT_RATE_INFO), "Print video rate info", "visualize-rate-info"}, +#endif {C_FLAGS (VP8_MFQE), "Multi-frame quality enhancement", "mfqe"}, {0, NULL, NULL} }; diff --git a/ext/vpx/meson.build b/ext/vpx/meson.build index 6ed440728..0d2340b32 100644 --- a/ext/vpx/meson.build +++ b/ext/vpx/meson.build @@ -48,6 +48,10 @@ if vpx_dep.found() vpx_args += '-DHAVE_VPX_1_4' endif + if dependency('vpx', version : '>=1.8.0', required : false).found() + vpx_args += '-DHAVE_VPX_1_8' + endif + gstvpx = library('gstvpx', vpx_sources, c_args : gst_plugins_good_args + vpx_args, -- 2.18.1