Hello community, here is the log from the commit of package mpv for openSUSE:Factory checked in at 2018-06-26 10:37:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mpv (Old) and /work/SRC/openSUSE:Factory/.mpv.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mpv" Tue Jun 26 10:37:01 2018 rev:46 rq:613658 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/mpv/mpv.changes 2018-03-20 22:01:44.150709987 +0100 +++ /work/SRC/openSUSE:Factory/.mpv.new/mpv.changes 2018-06-26 10:37:06.323496370 +0200 @@ -1,0 +2,163 @@ +Sat Jun 2 09:45:30 UTC 2018 - [email protected] + +- Updated mpv-bash-completion to 3.3.17 + * Added the ability to filter media file completion suggestions + by multimedia file extensions (see README). + Bug fixes: + * --show-profile argument completion now suggests the list of + existing profile names. + +------------------------------------------------------------------- +Mon May 21 13:39:02 UTC 2018 - [email protected] + +- Drop libguess from BuildRequires (unused) +- Actually use optflags for build + +------------------------------------------------------------------- +Sat Apr 21 13:58:32 UTC 2018 - [email protected] + +- Update to version 0.28.2 + Added features: + * Add DRM_PRIME Format Handling and Display for RockChip MPP + decoders + * csputils: Add support for Display P3 primaries + * demux: support multiple seekable cached ranges, display + cache ranges on OSC + * demux_playlist: support .url files (#5107) + * dvb: Add multiple frontends support (up to 8) + * dvb: implement parsing of modulation for VDR-style channels + config + * hwdec: add mediacodec hardware decoder for IMGFMT_MEDIACODEC + frames, + * rename mediacodec to mediacodec-copy + * lua: integrate stats.lua script (bound to i/I by default) + * vd_lavc: add support for nvdec hwaccel + * vo_gpu: add android opengl backend + * vo_gpu: initial d3d11 support + * vo_gpu: vulkan support + Removed features: + * af: remove deprecated audio filters (channels, equalizer, + pan, volume; + * replacements in lavfi) + * vf: remove most GPL video filters (crop, dsize, expand, + flip, gradfun, mirror, + * noformat, pullup, rotate, scale, stereo3d, yadif; + replacements in lavfi) + * vf_buffer: remove this filter + * video: remove automatic stereo3d filter insertion + * vo_gpu: remove hwdec_vaglx interop + * vo_opengl: refactor into vo_gpu + * vo_wayland: remove + Added options and commands: + * demux: add option to create CC tracks eagerly + (--sub-create-cc-track) + * options: add --start=none to reset previously set start time + * options: add --vlang switch + Changed options and commands: + * cache: lower default size to 2*10MB + * demux: bump the demuxer cache readahead duration to 10 hours + * demux: use seekable cache for network by default, bump + prefetch limit + * msg: make --msg-level affect --log-file too + * player/misc.c: allow both --length and --end to control play + endpoint + * player: match subtitles with language tags with + --sub-auto=exact + * rename --opengl-hwdec-interop to --gpu-hwdec-interop (now + mostly useless) + * vd_lavc: prefer nvdec over vdpau with --hwdec=auto (better + codec and surface + * format support) + * vd_lavc: rename --hwdec=rpi to --hwdec=mmal + Removed options and commands: + * options: remove --heartbeat-cmd and --heartbeat-interval + * (incidentally fixes #4888) + Fixes and Minor Enhancements + * TOOLS/autoload.lua: add ogm, ogg and opus extensions + * Use /dev/tty instead of stdin for terminal input (#4190) + * audio: add audio softvol processing to AO (replaces + previously GPL’d code) + * audio: fix channel conversion with NA channels (e.g. with + ALSA) + * audio: fix missing volume update on init and reinit + * csputils: Fix DCI P3 primaries white point + * demux: don't allow subtitles to mess up buffered time display + * demux: fix .cue files with audio files that contain attached + pictures + * demux: fix accounting for seekable ranges on track switches + (fixes missing + * audio when cycling through audio tracks with e.g. EDL, + --merge-files, ordered + * chapters and youtube-dl pseudo DASH) + * demux: fix crash with cue/ordered chapter files (#5027) + * demux: speed up cache seeking with a coarse index + * demux_lavf: always give libavformat the filename when probing + * (helps with mp3 files) + * demux_mkv: add V_SNOW tag to mkv_video_tags + * dvb: Fix long channel switching: next/prev channel + * dvb: fixes for ATSC tuning + * lavc_conv: clamp timestamps to positive (#5047) + * mp_image: always copy color attributes on hw download (#4804) + * mp_image: select an explicit fallback for chroma location + (#4804) + * msg: bump log level of --log-file to -v -v + * msg: reinterpret a bunch of message levels + * osc: fix rare stack overflow when changing visibility mode + * osdep/io: add android-related bullshit to fix files >2 GiB + * player/playloop.c: respect playback start time when using + --loop-file + * player: allow seeking in cached parts of unseekable streams + * player: make track language matching case insensitive (#5272) + * player: use start timestamp for ab-looping if --ab-loop-a is + absent + * player: when loading external file, always add all track + types (#5132) + * restore-old-bindings.conf: add old macOS/Wayland AXIS + bindings + * screenshot: create directories from template + * scripting: report dlerror() output + * sd_ass: accept RFC8081 font media types + * sd_ass: accept otc as fallback OpenType collection file + extension + * stream_libarchive: work around various types of locale + braindeath + * (https://git.io/vbiFJ) + * subprocess-win: don't change the mouse cursor when creating + processes + * video: add a hack to avoid missing subtitles with vf_sub + (#5194) + * video: fix alpha handling (#4983) + * video: fix memory leaks (roughly 1 KB per decoded frame) + with hwdec copy modes + * video: fix rotation and deinterlace auto filters + * video: properly pass through ICC data + * vo: add support for externally driven renderloop and make + wayland use it + * (partially fixes display-sync under wayland; disables + rendering when window + * is invisible) + * vo_gpu: change --tone-mapping-desaturate algorithm + * vo_gpu: enable 3DLUTs in dumb mode + * vo_gpu: fix gamma scale + * vo_gpu: fix mobius tone mapping compatibility to GLSL 120 + (#5069) + * vo_gpu: fix video sometimes not being rerendered on + equalizer change + * vo_gpu: kill off FBOTEX_FUZZY (#1814) + * vo_gpu: opengl: fix possible screenshot window crash (#4905) + * vo_gpu: opengl: use GLX_MESA_swap_control where available + * vo_gpu: reduce the --alpha=blend-tiles checkerboard intensity + * vo_gpu: win: remove exclusive-fullscreen detection hack + * vo_lavc: remove messy delayed subtitle rendering logic + (#4689) + * wayland_common: implement output tracking, many cleanups and + bugfixes + (#4711) + * ytdl_hook: don't prepend ytdl:// to non-youtube links in + playlists (#5003) + +- Refreshed mpv-make-ffmpeg-version-check-non-fatal.patch + +- Dropped mpv-vaapi2.patch (no longer necessary) + +------------------------------------------------------------------- Old: ---- mpv-0.27.2.tar.gz mpv-bash-completion-3.3.16.tar.gz mpv-vaapi2.patch New: ---- mpv-0.28.2.tar.gz mpv-bash-completion-3.3.17.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mpv.spec ++++++ --- /var/tmp/diff_new_pack.fw2mfa/_old 2018-06-26 10:37:07.219463437 +0200 +++ /var/tmp/diff_new_pack.fw2mfa/_new 2018-06-26 10:37:07.223463290 +0200 @@ -20,8 +20,8 @@ %define _waf_ver 1.9.13 -%define _mbc_ver 3.3.16 -%define _mpv_ver 0.27.2 +%define _mbc_ver 3.3.17 +%define _mpv_ver 0.28.2 %define lname libmpv1 Name: mpv Version: %{_mpv_ver} @@ -37,8 +37,6 @@ Source3: https://github.com/2ion/mpv-bash-completion/archive/%{_mbc_ver}.tar.gz#/mpv-bash-completion-%{_mbc_ver}.tar.gz # PATCH-FIX-OPENSUSE do not require equal libav versions, obs rebuilds as needed Patch0: mpv-make-ffmpeg-version-check-non-fatal.patch -# PATCH-FIx-UPSTREAM mpv-vaapi2.patch [email protected] -- Fix build with vaapi 2.0 -Patch1: mpv-vaapi2.patch BuildRequires: bash BuildRequires: hicolor-icon-theme BuildRequires: libjpeg-devel @@ -60,11 +58,11 @@ BuildRequires: pkgconfig(lcms2) >= 2.6 BuildRequires: pkgconfig(libarchive) >= 3.0.0 BuildRequires: pkgconfig(libass) >= 0.12.1 -BuildRequires: pkgconfig(libavcodec) >= 57.64.100 +BuildRequires: pkgconfig(libavcodec) >= 58.7.100 BuildRequires: pkgconfig(libavdevice) >= 57.0.0 -BuildRequires: pkgconfig(libavfilter) >= 6.65.100 -BuildRequires: pkgconfig(libavformat) >= 57.56.100 -BuildRequires: pkgconfig(libavutil) >= 55.34.100 +BuildRequires: pkgconfig(libavfilter) >= 7.0.101 +BuildRequires: pkgconfig(libavformat) >= 58.0.102 +BuildRequires: pkgconfig(libavutil) >= 56.6.100 BuildRequires: pkgconfig(libbluray) >= 0.3.0 BuildRequires: pkgconfig(libcdio) BuildRequires: pkgconfig(libcdio_cdda) @@ -73,8 +71,8 @@ BuildRequires: pkgconfig(libiso9660) BuildRequires: pkgconfig(libkms) BuildRequires: pkgconfig(libpulse) >= 1.0 -BuildRequires: pkgconfig(libswresample) >= 2.3.100 -BuildRequires: pkgconfig(libswscale) >= 4.2.100 +BuildRequires: pkgconfig(libswresample) >= 3.0.100 +BuildRequires: pkgconfig(libswscale) >= 5.0.101 BuildRequires: pkgconfig(libudf) BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(libva) >= 0.36.0 @@ -104,13 +102,14 @@ # Obsoletion of mplayer2 that is dead for 2 years now Provides: mplayer2 = 20140101 Obsoletes: mplayer2 < 20140101 -%if 0%{?suse_version} > 1320 +%if 0%{?suse_version} >= 1500 BuildRequires: pkgconfig(lua5.1) +BuildRequires: pkgconfig(wayland-protocols) %else BuildRequires: pkgconfig(lua) %endif # JIT for lua. -%if 0%{?suse_version} > 1320 +%if 0%{?suse_version} >= 1500 %ifarch aarch64 %{ix86} x86_64 BuildRequires: pkgconfig(luajit) %else @@ -124,7 +123,6 @@ # BuildRequires: pkgconfig(cmocka) >= 0.4.1 # Wayland and libguess. BuildRequires: pkgconfig(egl) -BuildRequires: pkgconfig(libguess) BuildRequires: pkgconfig(wayland-client) >= 1.6.0 BuildRequires: pkgconfig(wayland-cursor) >= 1.6.0 BuildRequires: pkgconfig(wayland-egl) >= 9.0.0 @@ -200,7 +198,6 @@ %prep %setup -q -a 3 -n %{name}-%{_mpv_ver} %patch0 -p1 -%patch1 -p1 # As we downloaded specific waf version we need to put and prepare it in place. cp -f %{SOURCE1} waf @@ -218,7 +215,7 @@ myopts+=" --disable-build-date" # Debug just adds -g and we do that over optflags anyway. myopts+=" --disable-debug" -export CCFLAGS="%{optflags}" +export CFLAGS="%{optflags}" python3 ./waf configure \ --prefix="%{_prefix}" \ --bindir="%{_bindir}" \ @@ -277,7 +274,7 @@ %postun -n %{lname} -p /sbin/ldconfig %files -%license LICENSE +%license LICENSE.GPL %doc Copyright README.md RELEASE_NOTES %doc %{_defaultdocdir}/%{name}/input.conf %doc %{_defaultdocdir}/%{name}/mplayer-input.conf ++++++ mpv-0.27.2.tar.gz -> mpv-0.28.2.tar.gz ++++++ ++++ 73384 lines of diff (skipped) ++++++ mpv-bash-completion-3.3.16.tar.gz -> mpv-bash-completion-3.3.17.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mpv-bash-completion-3.3.16/README.mkd new/mpv-bash-completion-3.3.17/README.mkd --- old/mpv-bash-completion-3.3.16/README.mkd 2017-10-24 18:53:22.000000000 +0200 +++ new/mpv-bash-completion-3.3.17/README.mkd 2018-06-01 14:28:59.000000000 +0200 @@ -1,6 +1,6 @@ # mpv-bash-completion -Latest release: **[3.3.15](https://github.com/2ion/mpv-bash-completion/releases/tag/3.3.15)** +Latest release: **[3.3.16](https://github.com/2ion/mpv-bash-completion/releases/tag/3.3.16)** [](https://repology.org/metapackage/mpv-bash-completion) [](https://repology.org/metapackage/mpv-bash-completion) @@ -68,7 +68,7 @@ * xrandr: for dynamic resolution detection and completion under X11 and xwayland -### Supporting inputrc configuration +## Supporting inputrc configuration We recommend the following setting for snappier and more luxurious completion experience: To the file `~/.inputrc`, add the lines @@ -81,6 +81,31 @@ ``` Launch a new shell to use the setting. +## Enable media file filtering + +By default, when you tab-complete an input media file, the completion +does not filter media file arguments by extension. You may optionally +enable filtering and override the default filter glob expression. + +You may set the following shell variables to control this functionality +(for example, in ~/.bashrc or ~/.bash_profile). It doesn't matter if the +variables are set before or after the Bash completion code is loaded. + +```bash +# Enable filtering. +_mpv_use_media_globexpr=1 + +# Override the default media glob expression. +# Display the default value using `echo $_mpv_media_globexpr`. +_mpv_media_globexpr='@(mkv)' +``` + +You should have extglob enabled for the default filter to work +correctly (e.g. in ~/.bashrc): + +``` +shopt -s extglob +``` ## Installation You can just generate the completion script or build a package for one @@ -88,7 +113,7 @@ ### Platform-agnostic method -```sh +```bash # You may set the following environment variables beforehand: # export MPV_BASHCOMPGEN_VERBOSE=1 # verbose debug/progress output # export MPV_BASHCOMPGEN_MPV_CMD=mpv # path or command to execute mpv, defaults to 'mpv' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mpv-bash-completion-3.3.16/gen.lua new/mpv-bash-completion-3.3.17/gen.lua --- old/mpv-bash-completion-3.3.16/gen.lua 2017-10-24 18:53:22.000000000 +0200 +++ new/mpv-bash-completion-3.3.17/gen.lua 2018-06-01 14:28:59.000000000 +0200 @@ -315,7 +315,7 @@ end -- Override for dynamic profile list expansion - if o:match("^profile") then + if o:match("^profile") or o == "show-profile" then ot = "Profile" end @@ -494,6 +494,8 @@ emit([[### LOOKUP TABLES AND CACHES ### declare _mpv_xrandr_cache +declare _mpv_use_media_globexpr=0 +declare _mpv_media_globexpr='@(mp?(e)g|MP?(E)G|wm[av]|WM[AV]|avi|AVI|asf|ASF|vob|VOB|bin|BIN|dat|DAT|vcd|VCD|ps|PS|pes|PES|fl[iv]|FL[IV]|fxm|FXM|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[234]|MP[234]|m4[av]|M4[AV]|og[gmavx]|OG[GMAVX]|w?(a)v|W?(A)V|dump|DUMP|mk[av]|MK[AV]|m4a|M4A|aac|AAC|m[24]v|M[24]V|dv|DV|rmvb|RMVB|mid|MID|t[ps]|T[PS]|3g[p2]|3gpp?(2)|mpc|MPC|flac|FLAC|vro|VRO|divx|DIVX|aif?(f)|AIF?(F)|m2t?(s)|M2T?(S)|vdr|VDR|xvid|XVID|ape|APE|gif|GIF|nut|NUT|bik|BIK|webm|WEBM|amr|AMR|awb|AWB|iso|ISO|opus|OPUS)?(.part)' declare -A _mpv_fargs declare -A _mpv_pargs]]) local fargs = getmetatable(olist).fargs @@ -723,7 +725,13 @@ table.concat(all, " "))) emit("fi") - emit("_filedir") + emit([=[ +if [[ $_mpv_use_media_globexpr -eq 1 && -n "$_mpv_media_globexpr" ]] ; then + _filedir "$_mpv_media_globexpr" +else + _filedir +fi +]=]) emit("}", "complete -o nospace -F _mpv "..basename(MPV_CMD)) return table.concat(lines, "\n") ++++++ mpv-make-ffmpeg-version-check-non-fatal.patch ++++++ --- /var/tmp/diff_new_pack.fw2mfa/_old 2018-06-26 10:37:07.923437560 +0200 +++ /var/tmp/diff_new_pack.fw2mfa/_new 2018-06-26 10:37:07.923437560 +0200 @@ -2,13 +2,13 @@ We already enforce mpv rebuilds when ffmpeg/libav SONAME changes. -Index: mpv-0.25.0/player/main.c +Index: mpv-0.28.2/player/main.c =================================================================== ---- 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); +--- mpv-0.28.2.orig/player/main.c ++++ mpv-0.28.2/player/main.c +@@ -428,18 +428,6 @@ int mp_initialize(struct MPContext *mpct + if (handle_help_options(mpctx)) + return -2; - if (!print_libav_versions(mp_null_log, 0)) { - // Using mismatched libraries can be legitimate, but even then it's
