Hello community, here is the log from the commit of package DVDStyler for openSUSE:Factory checked in at 2019-02-14 14:36:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/DVDStyler (Old) and /work/SRC/openSUSE:Factory/.DVDStyler.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "DVDStyler" Thu Feb 14 14:36:32 2019 rev:5 rq:674859 version:3.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/DVDStyler/DVDStyler.changes 2018-05-19 15:44:13.582763844 +0200 +++ /work/SRC/openSUSE:Factory/.DVDStyler.new.28833/DVDStyler.changes 2019-02-14 14:36:35.971564559 +0100 @@ -1,0 +2,7 @@ +Wed Feb 13 23:20:24 UTC 2019 - [email protected] + +- Add DVDStyler-fix-build-ffmpeg4.patch: Fix build with ffmpeg v4. + Following this, no longer enforce ffmpeg3 versions of + pkgconfig(libav*). + +------------------------------------------------------------------- New: ---- DVDStyler-fix-build-ffmpeg4.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ DVDStyler.spec ++++++ --- /var/tmp/diff_new_pack.Utng7B/_old 2019-02-14 14:36:36.979564105 +0100 +++ /var/tmp/diff_new_pack.Utng7B/_new 2019-02-14 14:36:36.979564105 +0100 @@ -1,7 +1,7 @@ # # spec file for package DVDStyler # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012-2014 Mariusz Fik <[email protected]> # Copyright (c) 2011-2012 Pascal Bleser <[email protected]> # Copyright (c) 2007-2011 Detlef Reichelt <[email protected]> @@ -16,7 +16,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -30,6 +30,9 @@ Url: https://www.dvdstyler.org Source: https://sourceforge.net/projects/dvdstyler/files/dvdstyler/%{version}/%{name}-%{version}.tar.bz2 Source1: gpl-3.0.txt +# PATCH-FIX-UPSTREAM DVDStyler-fix-build-ffmpeg4.patch -- Fix build with ffmpeg v4 +Patch0: DVDStyler-fix-build-ffmpeg4.patch + BuildRequires: bison #!BuildIgnore: cdrkit-cdrtools-compat BuildRequires: dvd+rw-tools @@ -44,13 +47,13 @@ BuildRequires: wxWidgets-3_0-devel BuildRequires: xmlto BuildRequires: zip -BuildRequires: pkgconfig(libavcodec) = 57.107.100 -BuildRequires: pkgconfig(libavfilter) = 6.107.100 -BuildRequires: pkgconfig(libavformat) = 57.83.100 -BuildRequires: pkgconfig(libavutil) = 55.78.100 +BuildRequires: pkgconfig(libavcodec) +BuildRequires: pkgconfig(libavfilter) +BuildRequires: pkgconfig(libavformat) +BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(libjpeg) -BuildRequires: pkgconfig(libswscale) = 4.8.100 +BuildRequires: pkgconfig(libswscale) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(libwxsvg) >= 1.5.11 BuildRequires: pkgconfig(mjpegtools) @@ -97,6 +100,7 @@ %prep %setup -q +%patch0 -p1 # do not install docs sed -i '/^doc_DATA/d' Makefile.in cp -v %{SOURCE1} . ++++++ DVDStyler-fix-build-ffmpeg4.patch ++++++ --- a/src/mediaenc_ffmpeg.cpp +++ b/src/mediaenc_ffmpeg.cpp @@ -223,7 +223,7 @@ c->time_base = (AVRational){ 1, c->sample_rate }; // some formats want stream headers to be separate if(m_outputCtx->oformat->flags & AVFMT_GLOBALHEADER) - c->flags |= CODEC_FLAG_GLOBAL_HEADER; + c->flags |= AV_CODEC_FLAG_GLOBAL_HEADER; return true; }
