Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mpv for openSUSE:Factory checked in at 2022-11-19 18:09:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mpv (Old) and /work/SRC/openSUSE:Factory/.mpv.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mpv" Sat Nov 19 18:09:32 2022 rev:112 rq:1036749 version:0.35+git.20221118.d3a61cfe Changes: -------- --- /work/SRC/openSUSE:Factory/mpv/mpv.changes 2022-06-09 14:12:01.924547283 +0200 +++ /work/SRC/openSUSE:Factory/.mpv.new.1597/mpv.changes 2022-11-19 18:09:40.530558775 +0100 @@ -1,0 +2,447 @@ +Sat Nov 19 02:48:45 UTC 2022 - Mia Herkt <m...@0x0.st> + +- Use Meson for build where possible as waf will be dropped in a + future version + +------------------------------------------------------------------- +Sat Nov 19 00:49:40 UTC 2022 - m...@0x0.st + +- Refresh mpv-make-ffmpeg-version-check-non-fatal.patch +- _service: obs_scm -> obs_tar +- Do not require libsixel and mujs where no appropriate versions + are packaged +- Vulkan requires recent libplacebo; disable on Leap <= 15.3 +- Update to version 0.35+git.20221118.d3a61cfe: + * wayland: also log refresh rate on surface entrance + * drm: remove legacy API + * wayland: add support for content-type protocol + * player/video: add VOCTRL_CONTENT_TYPE + * player/main: log libplacebo version if built with it + * common/av_log: move general FFmpeg version before library versions + * vo: hwdec: remove legacy_names + * player: add --force-render option + * wayland: error out if essential protocol support is missing + * meson: fix capitalization of "OpenGL" + * ao_pipewire: log version information and metadata + * DOCS: update release policy to match reality + +------------------------------------------------------------------- +Sun Nov 13 10:23:53 UTC 2022 - ec...@opensuse.org + +- Update to version 0.35+git.20221112.2f747341: + * Update VERSION + * Release 0.35.0 + * meson: fix macos-touchbar check + * github/workflows: force deletion of existing upstream python symlinks on macOS + * vo_gpu_next: add tunable shader parameters + * vo_gpu: mark --gamma-factor and --gamma-auto with deprecation warnings + * wayland, x11: fix possibly unsafe bstr usage + * ao_pipewire: reload ao on stream disconnect + * ao_pipewire: explicitly remove stream hook + * ao_pipewire: log generic stream errors + * Revert "ao/audiounit: include AVAudioSession buffer in latency calc" + * vo_dmabuf_wayland: improve error handling exporting VA surface + * hwdec_vaapi: only set VADisplay resource if entire init process has succeeded + * github/workflows: remove seccomp disablement + * github/workflows: bump linux jobs to Ubuntu 22.04 base VM + * github/workflows: move all build jobs to checkout V3 + * github/workflows: remove xcode 13.0 to xcode 13.1 override + * github/workflows: remove macOS 10.15 image usage + * sd_ass: never mangle colours on RGB video + * meson: move dmabuf-wayland specific files under the right check + * gpu/context: properly guard wldmabuf context + * console: add history deduplication + * github/workflows: remove pip usage in mingw CI + * vo_gpu_next: set background transparency + * ci: upload resulting binary of mingw64 build + * ci/mingw64: refresh build scripts + * ytdl_hook: reverse order of tracks + * demux/codec_tags: support more WAVEFORMATEXTENSIBLE tags + * wayland_common: always zero out presentation context when destroying it + * wayland: correct braindead comment (no-op) + * wayland: hack around presentation_feedback weirdness + * wayland: free dmabuf_feedback object + * test: update to reflect that Vulkan is a generic format again + * filters/f_hwtransfer: remove VAAPI <-> Vulkan mapping for now + * build: add an additional check for wayland-protocols 1.24 + * meson: add more hardcoded values to configuration + * meson: use 'dl' instead of 'libdl' in find_library + * ci: use meson setup build instead of meson build + * ao_coreaudio: specify UTF-8 as text encoding for CFString conversions + * options: log profile name if there is no restore data + * console: respect the top margin shared script property + * vo_dmabuf_wayland: use special ra_ctx_create_by_name + * vo_dmabuf_wayland: load all hwdecs in preinit + * wayland: always do a display_roundtrip at the end of init + * github/workflows: print error logs on freebsd + * ci/build-freebsd.sh: remove nonexistent option + * vo_dmabuf_wayland: fix DRM builds with no VAAPI + * video/out/wayland_common: adjust decoration disagreement log level + * video/out/wayland_common: clear decoration request even if compositor disagrees + * video/out/wayland_common: don't pass a negative of border flag into ternary + * video/out/wayland_common: make decoration state usage explicit + * ao_pipewire: compatibility for libpipewire 0.3.19 + * ci: require pipewire to be enabled for Tumbleweed Linux builds + * wayland: bump dmabuf protocol to version 4 + * vo_vaapi_wayland: remove, as it is superceded by vo_dmabuf_wayland + * vo_dmabuf_wayland: wayland VO displaying dmabuf buffers + * wayland: clean wp_presentation_feedback in discard callback to avoid leak + * build_image_converter - use full image format list to create hw_upload + * mp_imgfmt: move DRMPRIME format to end of enum + * DOCS: document E to cycle through Editions + * ao: promote ao_pipewire + * ao_pipewire: test for session to contain audio sinks + * ao_pipewire: init_boilerplate(): simplify errorhandling + * TOOLS/lua/autoload: fix incorrect duplicate file loading behavior + * audio/format: fix Type 'struct entry' has incompatible definitions in different translation units + * vo_gpu/hwdec: add NULL check for legacy_name + * hwdec_aimagereader: fix incorrect return values + * demux_mkv: add AVS2 and AVS3 to tag list + * wscript: remove some bogus configure options + * demux_mf: add support for QOI, PHM and HDR images + * f_hwtransfer: allow hw uploads to implicitly convert formats + * f_hwtransfer: accept non-power-of-2 hw uploads + * hwdec/dmabuf_interop_gl: work-around implicit rgba swizzling + * f_hwtransfer: get rid of the shit list + * hwdec/vaapi: improve probing of supported sw formats + * vo_gpu_next: fix crash on uninit after startup failure + * sd_ass: improve handling of subtitles with unknown duration + * DOCS: fix minor typo with keep-open description + * draw_bmp: fix out of bounds access in mark_rect + * vo_gpu/hwdec: rename and introduce legacy names for some interops + * x11: fix --on-all-workspaces option + * vo_gpu_next: vulkan: libplacebo: unify log prefix + * github/workflows: explicitly install Xinerama on FreeBSD + * x11: fix a couple of memory leaks + * ao_pipewire: allow specification of remote name + * ao_pipewire: small cleanups and restructring + * osc: scale rendered aspect ratio with window aspect ratio + * wayland: correctly handle non-CLOCK_MONOTONIC clocks + * vulkan: remove --vulkan-disable-events + * vo: hwdec_aimagereader: add missing image format specifier + * vo_gpu: hwdec: add Android hwdec utilizing AImageReader + * DOCS: deprecate --gamma-factor and --gamma-auto + * vo_gpu_next: respect --blend-subtitles=<yes/no> + * ao_pipewire: don't try to lock nonexistent loop + * ao_pipewire: use target.object + * mp_image: strip DoVi metadata that requires an EL + * manpage: document bt.2390 parameter + * vo_gpu_next: fix screenshots of rotated sources + * DOCS/man/vf.rst : replace the outdated syntax + * vo_gpu_next: use static assert for array size + * vo_gpu_next: update render_info for upstream API change + * vo_gpu_next: implement --video-output-levels + * TOOLS/lua/autoload: add various extra file extensions + * TOOLS/lua/autoload: alphebatize auto-loaded file extensions + * ytdl_hook: use subtitle `name` as title if available + * af_scaletempo2: fix crash when the number of channels increases + * build: update waf to 2.0.24 + * f_hwtransfer: mp_image_pool: support HW -> HW mapping + * f_autoconvert: f_hwtransfer: support HW -> HW uploads + * filters: lavfi: allow hwdec_interop selection for filters + * filters: support loading new hwdec_interops from filters + * vo: hwdec: do hwdec interop lookup by image format + * demux_lavf: extract is_image function + * demux_lavf: detect avif images + * DOCS/man/options.rst: replace some legacy single-hyphen syntax + * vo_gpu_next: support error diffusion dithering + * sub: use Unicode linebreaking for non-ASS subs and OSD + * ao_audiounit: get the channel layout from the AU itself + * mac: avoid unnecessary unsafe conversions; fixes crash in debug builds + * TOOLS/lua/autoload: add `m2ts` extension * `.m2ts` used for the Blu-ray disc container file format + * ytdl_hook: simplify exclude option parsing + * vo_gpu_next: only require full pixel byte alignment + * vo_gpu_next: implement ICC 3DLUT caching + * vo_gpu_next: use correct pixel size when mapping formats + * ao_pipewire: listen to hotplug events + * ao_pipewire: use proper hotplug init APIs + * ao_pipewire: create is_sink_node helper + * audio: list devices for all AOs with hotplug_init + * audio: try to use playback AO as hotplug AO first + * ta: increase size of names printed + * ao_pipewire: handle AOCONTROL_UPDATE_MEDIA_ROLE + * audio: add AOCONTROL_UPDATE_MEDIA_ROLE + * ao_pipewire: fix indent + * repack: add repacker for ccc16x16 formats + * mpv.metainfo.xml: add XDG appstream metadata manifest + * DOCS: Mention "mono" audio channels option + * DOCS/libmpv: fix typo in linkage section + * w32: fix typo in F23 mapping + * vo_gpu_next: fix typo affecting --target-trc option + * macos: add support for F13-F20 keys + * w32: add support for F13-F24 keys + * x11: add support for F13-F24 keys + * wayland: add support for F13-F24 keys + * input: add function keys F13-F24 + * ad_lavc: strip non-normalized floats + * vo_gpu_next: display subtitles without video stream + * DOCS/options: update vd-lavc-skiploopfilter, skipidct and related descriptions + * DOCS/mpv: remove spaces at EOL, ensure 80 cols + * DOCS/mpv: added COMMAND INTERFACE refs to INTERACTIVE CONTROL + * ao_pipewire: for_each_sink(): report errors + * meson: fix condition for enabling vaapi-egl + * meson: fix libplacebo check + * audio: fix lack of reinitialization on format change with pull AOs + * player/audio: remove explicit drain on EOF + * ao_pipewire: make sure not to exceed the available buffer + * audio: don't try to drain non-existent AO + * vo_gpu_next: pass GL get_proc_addr pointer to libplacebo + * ao_pipewire: test on FreeBSD + * mpv.desktop: add RIST protocol to desktop entry + * osxbundle: add RIST protocol support to app metadata + * stream_lavf: enable RIST protocol support via ffmpeg + * ao_pipewire: restructure logic a bit + * ao_pipewire: only try to read requested data + * ao_pipewire: report all available info about chunk + * ytdl_hook: improve track detection + * misc/random: add xoshiro random number implementation ++++ 250 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/mpv/mpv.changes ++++ and /work/SRC/openSUSE:Factory/.mpv.new.1597/mpv.changes Old: ---- mpv-0.34.1+git.20220203T182214.5d31c7310c.obscpio mpv.obsinfo waf-2.0.23 New: ---- mpv-0.35+git.20221118.d3a61cfe.tar.xz waf-2.0.24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mpv.spec ++++++ --- /var/tmp/diff_new_pack.YbNkYo/_old 2022-11-19 18:09:41.374563546 +0100 +++ /var/tmp/diff_new_pack.YbNkYo/_new 2022-11-19 18:09:41.378563568 +0100 @@ -19,16 +19,16 @@ # -%define _waf_ver 2.0.23 +%define _waf_ver 2.0.24 %define lname libmpv2 Name: mpv -Version: 0.34.1+git.20220203T182214.5d31c7310c +Version: 0.35+git.20221118.d3a61cfe Release: 0 Summary: Advanced general-purpose multimedia player License: GPL-2.0-or-later Group: Productivity/Multimedia/Video/Players URL: http://mpv.io -Source: %{name}-%{version}.tar +Source: %{name}-%{version}.tar.xz Source1: https://waf.io/waf-%{_waf_ver} Source2: %{name}.changes # PATCH-FIX-OPENSUSE do not require equal libav versions, obs rebuilds as needed @@ -37,6 +37,9 @@ BuildRequires: hicolor-icon-theme BuildRequires: libjpeg-devel BuildRequires: linux-kernel-headers +%if 0%{?suse_version} > 1500 +BuildRequires: meson >= 0.60.3 +%endif # Needed any lua to convert the bash-completion BuildRequires: lua BuildRequires: perl @@ -49,7 +52,7 @@ BuildRequires: pkgconfig(dvdnav) >= 4.2.0 BuildRequires: pkgconfig(egl) >= 1.4 BuildRequires: pkgconfig(ffnvcodec) >= 8.2.15.7 -BuildRequires: pkgconfig(gbm) +BuildRequires: pkgconfig(gbm) >= 17.1.0 BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(lcms2) >= 2.6 @@ -58,8 +61,14 @@ BuildRequires: pkgconfig(libavcodec) >= 58.12.100 BuildRequires: pkgconfig(libavdevice) >= 57.0.0 BuildRequires: pkgconfig(libavfilter) >= 7.14.100 +%if 0%{?suse_version} > 1500 +BuildRequires: pkgconfig(libavformat) >= 59.27.100 +BuildRequires: pkgconfig(libavif) >= 0.11.1 +BuildRequires: pkgconfig(libavutil) >= 57.24.100 +%else BuildRequires: pkgconfig(libavformat) >= 58.9.100 BuildRequires: pkgconfig(libavutil) >= 56.12.100 +%endif BuildRequires: pkgconfig(libbluray) >= 0.3.0 BuildRequires: pkgconfig(libcdio) BuildRequires: pkgconfig(libcdio_cdda) @@ -74,10 +83,14 @@ BuildRequires: pkgconfig(libva) >= 1.1.0 BuildRequires: pkgconfig(libva-x11) >= 1.1.0 BuildRequires: pkgconfig(lua5.1) +BuildRequires: pkgconfig(openal) >= 1.13 # Testing framework: disabled for now as it runs just 1 test # BuildRequires: pkgconfig(cmocka) >= 0.4.1 BuildRequires: pkgconfig(python3) -BuildRequires: pkgconfig(rubberband) >= 1.8.0 +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150400 +BuildRequires: pkgconfig(libsixel) >= 1.5 +%endif +BuildRequires: pkgconfig(rubberband) >= 3.0.0 BuildRequires: pkgconfig(uchardet) BuildRequires: pkgconfig(vapoursynth) >= 24 BuildRequires: pkgconfig(vapoursynth-script) >= 23 @@ -85,6 +98,7 @@ BuildRequires: pkgconfig(xext) >= 1.0.0 BuildRequires: pkgconfig(xinerama) >= 1.0.0 BuildRequires: pkgconfig(xkbcommon) >= 0.3.0 +BuildRequires: pkgconfig(xpresent) >= 1.0.0 BuildRequires: pkgconfig(xrandr) >= 1.2.0 BuildRequires: pkgconfig(xscrnsaver) BuildRequires: pkgconfig(xv) @@ -105,10 +119,9 @@ %if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150300 BuildRequires: pkgconfig(libplacebo) >= 4.157 %endif -%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150400 +%if 0%{?suse_version} > 1500 BuildRequires: pkgconfig(mujs) %endif -%if 0%{?suse_version} > 1500 BuildRequires: pkgconfig(libva-wayland) >= 1.1.0 BuildRequires: pkgconfig(vulkan) >= 1.0.61 BuildRequires: pkgconfig(wayland-client) >= 1.15.0 @@ -117,9 +130,8 @@ BuildRequires: pkgconfig(wayland-protocols) >= 1.15 BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(wayland-server) -%endif %if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300 -BuildRequires: pkgconfig(libpipewire-0.3) +BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.19 %endif # JIT for lua. %ifarch aarch64 %{ix86} x86_64 @@ -190,12 +202,73 @@ sed -i "s|UNKNOWN|$DATE|g;s|VERSION|\"%{version}\"|g" common/version.c %build +%if 0%{?suse_version} > 1500 +# We don't want to rebuild all the time. +myopts=" -Dbuild-date=false" +# Disable pipwire for Leap because of build error +%if 0%{?suse_version} <= 1500 +myopts+=" -Dpipewire=disabled" +%endif +%meson \ + -Dlibmpv=true \ + -Dmanpage-build=enabled \ + -Dcdda=enabled \ + -Ddvbin=enabled \ + -Ddvdnav=enabled \ + -Dopenal=enabled \ + -Dandroid-media-ndk=disabled \ + -Daudiounit=disabled \ + -Dcocoa=disabled \ + -Dcoreaudio=disabled \ + -Dd3d-hwaccel=disabled \ + -Dd3d11=disabled \ + -Dd3d9-hwaccel=disabled \ + -Ddirect3d=disabled \ + -Degl-android=disabled \ + -Degl-angle-lib=disabled \ + -Degl-angle-win32=disabled \ + -Degl-angle=disabled \ + -Dgl-cocoa=disabled \ + -Dgl-dxinterop-d3d9=disabled \ + -Dgl-dxinterop=disabled \ + -Dgl-win32=disabled \ + -Dios-gl=disabled \ + -Dmacos-10-11-features=disabled \ + -Dmacos-10-12-2-features=disabled \ + -Dmacos-10-14-features=disabled \ + -Dmacos-cocoa-cb=disabled \ + -Dmacos-media-player=disabled \ + -Dmacos-touchbar=disabled \ + -Dopensles=disabled \ + -Doss-audio=disabled \ + -Drpi-mmal=disabled \ + -Dsdl2-audio=disabled \ + -Dsdl2-gamepad=disabled \ + -Dsdl2-video=disabled \ + -Dsndio=disabled \ + -Dspirv-cross=disabled \ + -Dswift-build=disabled \ + -Dvideotoolbox-gl=disabled \ + -Dwasapi=disabled \ + -Dwin32-internal-pthreads=disabled \ + ${myopts} + +%meson_build +%else # SDL: disable as it is pointless to have on Linux, it is Windows/OS X fallback. myopts="--disable-sdl2" # We don't want to rebuild all the time. myopts+=" --disable-build-date" # Debug just adds -g and we do that over optflags anyway. myopts+=" --disable-debug" +# Disable pipwire for Leap because of build error +%if 0%{?suse_version} <= 1500 +myopts+=" --disable-pipewire" +%endif +# Vulkan support needs recent libplacebo +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150300 +myopts+=" --enable-vulkan" +%endif export CFLAGS="%{optflags}" python3 ./waf configure \ --prefix="%{_prefix}" \ @@ -212,14 +285,9 @@ --enable-dvbin \ --enable-drm \ --enable-x11 \ -%if 0%{?suse_version} > 1500 + --enable-openal \ --enable-wayland \ --enable-gl-wayland \ - --enable-vulkan \ -%endif -%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300 - --enable-pipewire \ -%endif --enable-gl-x11 \ --enable-egl-x11 \ --enable-egl-drm \ @@ -227,9 +295,16 @@ ${myopts} python3 ./waf build --verbose %{?_smp_mflags} +%endif %install +%if 0%{?suse_version} > 1500 +%meson_install +install -dm755 %{buildroot}%{_defaultdocdir} +mv %{buildroot}%{_datadir}/doc/mpv %{buildroot}%{_defaultdocdir}/%{name} +%else python3 ./waf --destdir=%{buildroot} install +%endif install -D -m 0644 etc/input.conf %{buildroot}%{_sysconfdir}/%{name}/input.conf install -D -m 0644 etc/mpv.conf %{buildroot}%{_sysconfdir}/%{name}/mpv.conf @@ -254,6 +329,7 @@ %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor +%{_datadir}/metainfo/mpv.metainfo.xml %{_mandir}/man?/%{name}.?%{?ext_man} %files zsh-completion ++++++ _service ++++++ --- /var/tmp/diff_new_pack.YbNkYo/_old 2022-11-19 18:09:41.414563772 +0100 +++ /var/tmp/diff_new_pack.YbNkYo/_new 2022-11-19 18:09:41.418563794 +0100 @@ -1,15 +1,25 @@ +<!-- +# vim: set syntax=xml +--> + <services> - <service name="obs_scm" mode="disabled"> + + <service name="tar_scm" mode="disabled"> <param name="url">https://github.com/mpv-player/mpv.git</param> <param name="scm">git</param> <param name="filename">mpv</param> - <param name="revision">5d31c7310c02767e35bfd82d1cc635427518a298</param> <!-- SET REVISION TO TAG, REMOVE THIS LINE TO UPDATE TO THE LAST COMMIT --> - <param name="versionprefix">0.34.1+git</param> - <param name="versionformat">%ci.%h</param> + <param name="revision">master</param> + <param name="versionprefix">0.35+git</param> + <param name="versionformat">%cd.%h</param> <param name="changesgenerate">enable</param> </service> + <service name="set_version" mode="disabled"/> + <service name="tar" mode="disabled"/> + <service name="recompress" mode="disabled"> + <param name="file">*.tar</param> + <param name="compression">xz</param> + </service> - <service name="tar" mode="buildtime"/> </services> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.YbNkYo/_old 2022-11-19 18:09:41.434563884 +0100 +++ /var/tmp/diff_new_pack.YbNkYo/_new 2022-11-19 18:09:41.438563907 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/mpv-player/mpv.git</param> - <param name="changesrevision">5d31c7310c02767e35bfd82d1cc635427518a298</param></service></servicedata> + <param name="changesrevision">d3a61cfe9844b78362bfce6e5a8280ad6514dbce</param></service></servicedata> (No newline at EOF) ++++++ mpv-make-ffmpeg-version-check-non-fatal.patch ++++++ --- /var/tmp/diff_new_pack.YbNkYo/_old 2022-11-19 18:09:41.450563975 +0100 +++ /var/tmp/diff_new_pack.YbNkYo/_new 2022-11-19 18:09:41.450563975 +0100 @@ -1,14 +1,25 @@ -Index: mpv/common/av_log.c -=================================================================== ---- mpv.orig/common/av_log.c -+++ mpv/common/av_log.c -@@ -200,7 +200,7 @@ void check_library_versions(struct mp_lo +From b5bd081c1e3752969241efdff866fc3c1bd48d03 Mon Sep 17 00:00:00 2001 +From: Mia Herkt <m...@0x0.st> +Date: Sat, 19 Nov 2022 02:08:38 +0100 +Subject: [PATCH] av_log: make FFmpeg version check non-fatal + +--- + common/av_log.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/common/av_log.c b/common/av_log.c +index 15d17aff..ae173592 100644 +--- a/common/av_log.c ++++ b/common/av_log.c +@@ -207,7 +207,6 @@ void check_library_versions(struct mp_log *log, int v) { fprintf(stderr, "%s: %d.%d.%d -> %d.%d.%d\n", l->name, V(l->buildv), V(l->runv)); - abort(); -+ //abort(); } } - + } +-- +2.38.1 +