From eb76782685254bd32601c262d16b6e85c053dd632f7f7fed36a505d13a6f0215 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Fri, 14 Apr 2017 14:02:07 +0000 Subject: [PATCH 1/7] Accepting request 487967 from home:alois:branches:multimedia:apps OBS-URL: https://build.opensuse.org/request/show/487967 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=90 --- mpv-bash-completion-3.3.12.tar.gz | 3 --- mpv-bash-completion-3.3.13.tar.gz | 3 +++ mpv.changes | 10 ++++++++++ mpv.spec | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) delete mode 100644 mpv-bash-completion-3.3.12.tar.gz create mode 100644 mpv-bash-completion-3.3.13.tar.gz diff --git a/mpv-bash-completion-3.3.12.tar.gz b/mpv-bash-completion-3.3.12.tar.gz deleted file mode 100644 index 6013753..0000000 --- a/mpv-bash-completion-3.3.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9291ef730af6f69cc0efc82e88d170d43d79266a1500461b08719130507870ef -size 19310 diff --git a/mpv-bash-completion-3.3.13.tar.gz b/mpv-bash-completion-3.3.13.tar.gz new file mode 100644 index 0000000..2a8374b --- /dev/null +++ b/mpv-bash-completion-3.3.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65172975bfca59f9921afd9788c1e1532c734c068a6af21517eeec63b9a1ea34 +size 19726 diff --git a/mpv.changes b/mpv.changes index ac21da2..e019761 100644 --- a/mpv.changes +++ b/mpv.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Apr 14 13:25:27 UTC 2017 - aloisio@gmx.com + +- Update mpv-bash-completion to 3.3.13 + * Dynamic completion for --drm-connector based on currently + connected displays + * Fixes for options audio-demuxer, audio-spdif, cscale-window, + demuxer, dscale, dscale-window, opengl-hwdec-interop, + scale-window, sub-demuxer + ------------------------------------------------------------------- Fri Apr 7 18:24:27 UTC 2017 - aloisio@gmx.com diff --git a/mpv.spec b/mpv.spec index 1e10bf3..0135729 100644 --- a/mpv.spec +++ b/mpv.spec @@ -19,7 +19,7 @@ # -%define _mbc_ver 3.3.12 +%define _mbc_ver 3.3.13 %define _mpv_ver 0.24.0 %define lname libmpv1 Name: mpv From c931bb57a45867a78f7a7e88689775d02e270c8faec625be221ad81a66458c35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 15 Apr 2017 19:12:06 +0000 Subject: [PATCH 2/7] - Enable luajit on aarch64 and update bit the conditional for wayland OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=91 --- mpv.changes | 5 +++++ mpv.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/mpv.changes b/mpv.changes index e019761..4d44773 100644 --- a/mpv.changes +++ b/mpv.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Apr 15 19:11:46 UTC 2017 - tchvatal@suse.com + +- Enable luajit on aarch64 and update bit the conditional for wayland + ------------------------------------------------------------------- Fri Apr 14 13:25:27 UTC 2017 - aloisio@gmx.com diff --git a/mpv.spec b/mpv.spec index 0135729..858c745 100644 --- a/mpv.spec +++ b/mpv.spec @@ -107,11 +107,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build # JIT for lua. %if 0%{?suse_version} > 1320 BuildRequires: python-rst2pdf -%ifarch %{ix86} x86_64 +%ifarch aarch64 %{ix86} x86_64 BuildRequires: pkgconfig(luajit) %endif %endif -%if 0%{?suse_version} != 1315 +%if 0%{?suse_version} >= 1315 # Testing framework: disabled for now as it runs just 1 test # BuildRequires: pkgconfig(cmocka) >= 0.4.1 # Wayland and libguess. From cb94f2b7937913c2c81b6695f76babc2be5810071c2e9c1c0d58c0f3fe8e724e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 19 Apr 2017 11:54:17 +0000 Subject: [PATCH 3/7] - Use localy present waf to adhere upstream requirements OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=92 --- .gitattributes | 2 ++ mpv.changes | 5 +++++ mpv.spec | 13 +++++++++---- waf-1.9.9 | 3 +++ 4 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 waf-1.9.9 diff --git a/.gitattributes b/.gitattributes index 9b03811..744859e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -21,3 +21,5 @@ *.xz filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text +## Specific LFS patterns +waf-1.9.9 filter=lfs diff=lfs merge=lfs -text diff --git a/mpv.changes b/mpv.changes index 4d44773..d557c53 100644 --- a/mpv.changes +++ b/mpv.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 19 11:48:00 UTC 2017 - tchvatal@suse.com + +- Use localy present waf to adhere upstream requirements + ------------------------------------------------------------------- Sat Apr 15 19:11:46 UTC 2017 - tchvatal@suse.com diff --git a/mpv.spec b/mpv.spec index 858c745..bf23ec1 100644 --- a/mpv.spec +++ b/mpv.spec @@ -19,6 +19,7 @@ # +%define _waf_ver 1.9.9 %define _mbc_ver 3.3.13 %define _mpv_ver 0.24.0 %define lname libmpv1 @@ -30,6 +31,7 @@ License: GPL-2.0+ Group: Productivity/Multimedia/Video/Players Url: http://mpv.io/ Source: http://github.com/mpv-player/%{name}/archive/v%{_mpv_ver}.tar.gz#/%{name}-%{_mpv_ver}.tar.gz +Source1: https://waf.io/waf-%{_waf_ver} Source2: %{name}.changes # mpv-bash-completion is licensed with GPL-3.0+ Source3: https://github.com/2ion/mpv-bash-completion/archive/%{_mbc_ver}.tar.gz#/mpv-bash-completion-%{_mbc_ver}.tar.gz @@ -48,7 +50,6 @@ BuildRequires: perl BuildRequires: pkgconfig BuildRequires: python-docutils BuildRequires: update-desktop-files -BuildRequires: waf BuildRequires: yasm BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(caca) @@ -193,6 +194,10 @@ features. %setup -q -a 3 -n %{name}-%{_mpv_ver} %patch0 -p1 +# As we downloaded specific waf version we need to put and prepare it in place. +cp -f %{SOURCE1} waf +chmod a+x waf + # I hate UNKNOWN so lets put decent info there. MODIFIED="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE2}")" DATE="$(date -d "$MODIFIED" "+%%b %%e %%Y")" @@ -206,7 +211,7 @@ myopts+=" --disable-build-date" # Debug just adds -g and we do that over optflags anyway. myopts+=" --disable-debug" export CCFLAGS="%{optflags}" -waf configure \ +./waf configure \ --prefix="%{_prefix}" \ --bindir="%{_bindir}" \ --mandir="%{_mandir}" \ @@ -224,7 +229,7 @@ waf configure \ %endif ${myopts} -waf build --verbose %{?_smp_mflags} +./waf build --verbose %{?_smp_mflags} pushd mpv-bash-completion-%{_mbc_ver} export MPV_BASHCOMPGEN_MPV_CMD=../build/mpv @@ -232,7 +237,7 @@ make %{?_smp_mflags} popd %install -waf --destdir=%{buildroot} install +./waf --destdir=%{buildroot} install pushd mpv-bash-completion-%{_mbc_ver} %make_install diff --git a/waf-1.9.9 b/waf-1.9.9 new file mode 100644 index 0000000..2f16636 --- /dev/null +++ b/waf-1.9.9 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32fa8b9468c87ee900def85fb41da8bdf50e68001e266d8edafae747fd15d459 +size 100910 From 2133c770d3a65c9781476e8acd41538622f26526dd81f5e190218e581a33f832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Sun, 23 Apr 2017 08:02:06 +0000 Subject: [PATCH 4/7] Accepting request 489993 from home:alois:branches:multimedia:apps Update to 0.25.0 (depends on sr#488001) OBS-URL: https://build.opensuse.org/request/show/489993 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=93 --- mpv-0.24.0.tar.gz | 3 -- mpv-0.25.0.tar.gz | 3 ++ mpv.changes | 109 ++++++++++++++++++++++++++++++++++++++++++++++ mpv.spec | 16 +++---- 4 files changed, 120 insertions(+), 11 deletions(-) delete mode 100644 mpv-0.24.0.tar.gz create mode 100644 mpv-0.25.0.tar.gz diff --git a/mpv-0.24.0.tar.gz b/mpv-0.24.0.tar.gz deleted file mode 100644 index 76536a1..0000000 --- a/mpv-0.24.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a41854fa0ac35b9c309ad692aaee67c8d4495c3546f11cb4cdd0a124195d3f15 -size 2835920 diff --git a/mpv-0.25.0.tar.gz b/mpv-0.25.0.tar.gz new file mode 100644 index 0000000..4a23566 --- /dev/null +++ b/mpv-0.25.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:07423ffad6921ec4da32f703cd7fbfb27012301dcb736ac8542ac8e6083b0bce +size 2874584 diff --git a/mpv.changes b/mpv.changes index d557c53..acc2381 100644 --- a/mpv.changes +++ b/mpv.changes @@ -1,3 +1,112 @@ +------------------------------------------------------------------- +Sun Apr 23 07:18:05 UTC 2017 - aloisio@gmx.com + +- Update to version 0.25.0 + * Support for some optical media functionality (DVD/CD) is now + disabled by default. + * More parts of the player are now licensed under LGPL. In + particular: + + OSD symbol font + + ass_mp, sd_ass + + common.h + + demux/packet + + demux_mkv (with minor exceptions), ebml, matroska.h + + sd_lavc + + sub/osd + Thanks to all contributors who have agreed to relicensing of + their changes! See #2033 for details. + * Starting with this release, releases will be tagged on the + master branch. The release/current branch is thus abandoned. + Added features: + * TOOLS: add acompressor.lua script for runtime acompressor ffmpeg + filter control + * dvb: add support for DVB-T2 + * lavfi: support hwdec filters for --lavfi-complex + * osc: add volume button (mouse wheel to change volume) + * sub: add SDH subtitle filter + * vo_opengl: add experimental vdpauglx backend + Removed features: + * image_writer: remove useless formats (PPM, PGM, TGA) + * af_drc: remove (use --af=acompressor instead; higher quality) + Added options and commands: + * --demuxer-lavf-probe-info + * --sub-filter-sdh, --sub-filter-sdh-harder + * add automatic libavfilter bridges to option parsing + * command: add better runtime filter toggling method + * command: add demux-start-time property + * command: add property notifications for hwdec properties (#4289) + * input: add "async" flag + * osc: add user_opts.boxmaxchars for box layout title limit + * player: add --keep-open-pause=no option + * va_vavpp: reversal-bug=no + * vo_opengl: --opengl-es=force2 + * vo_opengl: add --opengl-shader-cache-dir option for caching + shaders on disk (mostly for ANGLE) + * vo_opengl: angle: add --angle-flip to set the ANGLE present model + Changed options and features: + * command: update sub-fps etc. options on runtime changes + * vo_opengl: prefer X11 backends over Wayland backends + * options: change --audio-file-auto default to not to load any + files + Deprecated options and features: + * audio: deprecate most non-lavfi audio filters + (channels, equalizer, pan, volume) + * video: deprecate almost all non-lavfi video filters + (buffer, crop, dlopen, dsize, eq, expand, flip, gradfun, mirror, + noformat, pullup, rotate, scale, stereo3d, sub, yadif) + * options: deprecate --loop semantics (planned alias to + --loop-file) + Fixes and minor enhancements: + * ao_alsa: close lost audio devices (#4189) + * ao_alsa: filter fewer devices + * ao_alsa: fix an error check (#4188) + * ao_jack: update latency on buffer_size/graph change + * ao_wasapi: do not pass nonsense to drivers with double precision + formats + * ass_mp: reallocate cached subtitle image data on format changes + (#4325) + * build: decouple dvdnav check from dvdread (#4290) + * build: encode_lavc: fix build failure after libavcodec major bump + * build: fix build with HAVE_GL==0 + * build: replace android-gl check with a standard GLES3 check + * build: update bundled waf to 1.9.8 + * build: vd_lavc: fix potential build failure with vaapi + * demux_lavf: disable half-working mp4 edit list support in + libavcodec + * demux_lavf: skip avformat_find_stream_info() for some formats + (hls, mp4, mkv by default) + * etc/encoding_profiles.conf: update and remove deprecated stuff + * etc/mpv.conf: remove deprecated options + * external_files: actually try to autoload from fallback paths + * external_files: enable autoloading with URLs (#3264) + * image_writer: make it work with libavcodec's jpg encoder + * osc: bottom/topbar: add fullscreen button + * osc: bottom/topbar: don't clip title vertically + * osc: bottom/topbar: increase timecodes width a bit (#3952) + * osc: fix PlayResX undefined warning when aspect is 0 + * osc: fix window dragging with showwindowed=no (#1819) + * osc: make title configurable and use property expansion on it + (#4221) + * osc: refactor osc message scaling (#4081, #4083, #4102) + * player: don't block playback stop when seeking + * player: enable "buffering" pausing for DASH streams too + * player: fix core-idle and eof-reached update notifcations + * player: make screenshot commands honor the async flag (#4250) + * player: reduce blocking on VO when switching pause (#4152) + * sd_ass: disable --sub-fix-timing if sub style override is fully + disabled + * stream/stream_dvdnav: don't ignore setting title (#4283) + * stream_dvd: fix subs/audio detection on DVDs containing + multi-PGC titles + * vf_vavpp: add advanced deint bug compatibility for Intel vaapi + drivers + * vf_vavpp: fix first-field mode + * vo_opengl: fix crash with temporal dithering in dumb mode + * vo_opengl: hwdec_d3d11egl: make it work with some ANGLE DLL + versions + * vo_x11: reduce flickering on playlist navigation + * wayland: correctly map mouse buttons + ------------------------------------------------------------------- Wed Apr 19 11:48:00 UTC 2017 - tchvatal@suse.com diff --git a/mpv.spec b/mpv.spec index bf23ec1..7755ae0 100644 --- a/mpv.spec +++ b/mpv.spec @@ -21,7 +21,7 @@ %define _waf_ver 1.9.9 %define _mbc_ver 3.3.13 -%define _mpv_ver 0.24.0 +%define _mpv_ver 0.25.0 %define lname libmpv1 Name: mpv Version: %{_mpv_ver} @@ -52,7 +52,7 @@ BuildRequires: python-docutils BuildRequires: update-desktop-files BuildRequires: yasm BuildRequires: pkgconfig(alsa) -BuildRequires: pkgconfig(caca) +BuildRequires: pkgconfig(caca) >= 0.99.beta18 BuildRequires: pkgconfig(dri) BuildRequires: pkgconfig(dvdnav) >= 4.2.0 BuildRequires: pkgconfig(dvdread) >= 4.1.0 @@ -78,17 +78,17 @@ BuildRequires: pkgconfig(libswresample) >= 2.3.100 BuildRequires: pkgconfig(libswscale) >= 4.2.100 BuildRequires: pkgconfig(libudf) BuildRequires: pkgconfig(libv4l2) -BuildRequires: pkgconfig(libva) -BuildRequires: pkgconfig(libva-x11) +BuildRequires: pkgconfig(libva) >= 0.36.0 +BuildRequires: pkgconfig(libva-x11) >= 0.36.0 BuildRequires: pkgconfig(lua) BuildRequires: pkgconfig(openal) >= 1.13 BuildRequires: pkgconfig(portaudio-2.0) BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(smbclient) BuildRequires: pkgconfig(vdpau) -BuildRequires: pkgconfig(xext) -BuildRequires: pkgconfig(xinerama) -BuildRequires: pkgconfig(xrandr) +BuildRequires: pkgconfig(xext) >= 1.0.0 +BuildRequires: pkgconfig(xinerama) >= 1.0.0 +BuildRequires: pkgconfig(xrandr) >= 1.2.0 BuildRequires: pkgconfig(xscrnsaver) BuildRequires: pkgconfig(xv) BuildRequires: pkgconfig(xxf86vm) @@ -120,7 +120,7 @@ BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(libguess) BuildRequires: pkgconfig(wayland-client) >= 1.6.0 BuildRequires: pkgconfig(wayland-cursor) >= 1.6.0 -BuildRequires: pkgconfig(wayland-egl) +BuildRequires: pkgconfig(wayland-egl) >= 9.0.0 BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(wayland-server) BuildRequires: pkgconfig(xkbcommon) >= 0.3.0 From 0772c81ffe1445f42ef77684427b91ab0491993441387837ca434ad566c1e75c Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sun, 23 Apr 2017 18:24:58 +0000 Subject: [PATCH 5/7] Accepting request 490029 from home:alois:branches:multimedia:apps minor changes OBS-URL: https://build.opensuse.org/request/show/490029 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=94 --- mpv.changes | 8 ++++++++ mpv.spec | 3 --- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/mpv.changes b/mpv.changes index acc2381..c748cc7 100644 --- a/mpv.changes +++ b/mpv.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Apr 23 15:42:03 UTC 2017 - aloisio@gmx.com + +- Dropped openal. It's pointless these days and it creates + a problem when used with pulse (gh#mpv-player/mpv#4311) +- Removed portaudio requirement (support was dropped in + 0.8.0!) + ------------------------------------------------------------------- Sun Apr 23 07:18:05 UTC 2017 - aloisio@gmx.com diff --git a/mpv.spec b/mpv.spec index 7755ae0..23d2eea 100644 --- a/mpv.spec +++ b/mpv.spec @@ -81,8 +81,6 @@ BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(libva) >= 0.36.0 BuildRequires: pkgconfig(libva-x11) >= 0.36.0 BuildRequires: pkgconfig(lua) -BuildRequires: pkgconfig(openal) >= 1.13 -BuildRequires: pkgconfig(portaudio-2.0) BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(smbclient) BuildRequires: pkgconfig(vdpau) @@ -218,7 +216,6 @@ export CCFLAGS="%{optflags}" --libdir="%{_libdir}" \ --docdir="%{_docdir}/%{name}" \ --confdir="%{_sysconfdir}/%{name}" \ - --enable-openal \ --enable-cdda \ --enable-libmpv-shared \ --enable-zsh-comp \ From 5d4f910c0a3d5a9e555f1bde813755ac3ade1f66e70fc0f7802aeb7dc91da088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 2 May 2017 14:02:59 +0000 Subject: [PATCH 6/7] - Remove the pdf build, it is same as manpage - Switch to python3 subpkgs as we use python3 anyway (Fixes TW build) OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=95 --- mpv.changes | 6 ++++++ mpv.spec | 10 +--------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/mpv.changes b/mpv.changes index c748cc7..ca427f8 100644 --- a/mpv.changes +++ b/mpv.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 2 14:02:12 UTC 2017 - tchvatal@suse.com + +- Remove the pdf build, it is same as manpage +- Switch to python3 subpkgs as we use python3 anyway (Fixes TW build) + ------------------------------------------------------------------- Sun Apr 23 15:42:03 UTC 2017 - aloisio@gmx.com diff --git a/mpv.spec b/mpv.spec index 23d2eea..cc5871c 100644 --- a/mpv.spec +++ b/mpv.spec @@ -48,7 +48,7 @@ BuildRequires: lua BuildRequires: ncurses-devel BuildRequires: perl BuildRequires: pkgconfig -BuildRequires: python-docutils +BuildRequires: python3-docutils BuildRequires: update-desktop-files BuildRequires: yasm BuildRequires: pkgconfig(alsa) @@ -102,10 +102,8 @@ Recommends: youtube-dl Provides: mplayer2 = 20140101 Obsoletes: mplayer2 < 20140101 BuildRoot: %{_tmppath}/%{name}-%{version}-build -# PDF manual. # JIT for lua. %if 0%{?suse_version} > 1320 -BuildRequires: python-rst2pdf %ifarch aarch64 %{ix86} x86_64 BuildRequires: pkgconfig(luajit) %endif @@ -221,9 +219,6 @@ export CCFLAGS="%{optflags}" --enable-zsh-comp \ --enable-manpage-build \ --enable-libarchive \ -%if 0%{?suse_version} > 1320 - --enable-pdf-build \ -%endif ${myopts} ./waf build --verbose %{?_smp_mflags} @@ -256,9 +251,6 @@ install -D -m 0644 etc/mpv.conf %{buildroot}%{_sysconfdir}/%{name}/mpv.conf %files %defattr(-,root,root) -%if 0%{?suse_version} > 1320 -%doc build/DOCS/man/mpv.pdf -%endif %doc Copyright LICENSE README.md RELEASE_NOTES %doc %{_defaultdocdir}/%{name}/input.conf %doc %{_defaultdocdir}/%{name}/mplayer-input.conf From e912558e980ff103a53e46946bbfcf7dcf6cfe7ae9d801d5bdd218b3d7618239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 9 May 2017 15:34:59 +0000 Subject: [PATCH 7/7] - Refresh patch mpv-make-ffmpeg-version-check-non-fatal.patch * Rather delete the warning as whole, in OBS concept we detect abi changes and it misleads the users of stable distributions to worry something broke OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=96 --- mpv-make-ffmpeg-version-check-non-fatal.patch | 29 +++++++++---------- mpv.changes | 8 +++++ 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/mpv-make-ffmpeg-version-check-non-fatal.patch b/mpv-make-ffmpeg-version-check-non-fatal.patch index c324467..a87c8c8 100644 --- a/mpv-make-ffmpeg-version-check-non-fatal.patch +++ b/mpv-make-ffmpeg-version-check-non-fatal.patch @@ -2,14 +2,17 @@ player: make ffmpeg/libav version check non-fatal We already enforce mpv rebuilds when ffmpeg/libav SONAME changes. -Index: mpv-0.21.0/player/main.c +Index: mpv-0.25.0/player/main.c =================================================================== ---- mpv-0.21.0.orig/player/main.c -+++ mpv-0.21.0/player/main.c -@@ -432,13 +432,12 @@ int mp_initialize(struct MPContext *mpct - if (!print_libav_versions(mp_null_log, 0)) { - // Using mismatched libraries can be legitimate, but even then it's - // a bad idea. We don't acknowledge its usefulness and stability. +--- mpv-0.25.0.orig/player/main.c ++++ mpv-0.25.0/player/main.c +@@ -438,18 +438,6 @@ int mp_initialize(struct MPContext *mpct + + handle_deprecated_options(mpctx); + +- if (!print_libav_versions(mp_null_log, 0)) { +- // Using mismatched libraries can be legitimate, but even then it's +- // a bad idea. We don't acknowledge its usefulness and stability. - print_libav_versions(mpctx->log, MSGL_FATAL); - MP_FATAL(mpctx, "\nmpv was compiled against a different version of " - "FFmpeg/Libav than the shared\nlibrary it is linked against. " @@ -17,12 +20,8 @@ Index: mpv-0.21.0/player/main.c - "misbehavior and crashes.\n\nmpv does not support this " - "configuration and will not run - rebuild mpv instead.\n"); - return -1; -+ print_libav_versions(mpctx->log, MSGL_WARN); -+ MP_WARN(mpctx, "\nmpv was compiled against a different version of " -+ "FFmpeg/Libav than the shared\nlibrary it is linked against. " -+ "This is most likely a broken build and could\nresult in " -+ "misbehavior and crashes.\n\nUpstream does not support this " -+ "configuration.\nPlease rebuild mpv in case of any problems.\n"); - } - +- } +- if (!mpctx->playlist->first && !opts->player_idle_mode) + return -3; + diff --git a/mpv.changes b/mpv.changes index ca427f8..35c4a29 100644 --- a/mpv.changes +++ b/mpv.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue May 9 15:35:17 UTC 2017 - tchvatal@suse.com + +- Refresh patch mpv-make-ffmpeg-version-check-non-fatal.patch + * Rather delete the warning as whole, in OBS concept we detect + abi changes and it misleads the users of stable distributions + to worry something broke + ------------------------------------------------------------------- Tue May 2 14:02:12 UTC 2017 - tchvatal@suse.com