Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cmus for openSUSE:Factory checked in at 2023-05-25 23:52:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cmus (Old) and /work/SRC/openSUSE:Factory/.cmus.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cmus" Thu May 25 23:52:20 2023 rev:15 rq:1088919 version:2.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/cmus/cmus.changes 2022-07-08 14:03:02.438525083 +0200 +++ /work/SRC/openSUSE:Factory/.cmus.new.1533/cmus.changes 2023-05-25 23:52:34.095622093 +0200 @@ -1,0 +2,6 @@ +Wed May 24 22:46:20 UTC 2023 - Mia Herkt <[email protected]> + +- Add ffmpeg-6-compat.patch + See https://github.com/cmus/cmus/pull/1254 + +------------------------------------------------------------------- Old: ---- v2.10.0.tar.gz New: ---- cmus-2.10.0.tar.gz ffmpeg-6-compat.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cmus.spec ++++++ --- /var/tmp/diff_new_pack.14tzw6/_old 2023-05-25 23:52:34.639625287 +0200 +++ /var/tmp/diff_new_pack.14tzw6/_new 2023-05-25 23:52:34.647625334 +0200 @@ -1,7 +1,7 @@ # # spec file for package cmus # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2007-2012 Pascal Bleser <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -25,7 +25,9 @@ License: GPL-2.0-only Group: Productivity/Multimedia/Sound/Players URL: https://cmus.github.io/ -Source: https://github.com/cmus/cmus/archive/v%{version}.tar.gz +Source: https://github.com/cmus/cmus/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM Remove AV_CODEC_{CAP,FLAG}_TRUNCATED (not needed) for FFmpeg 6 -- PR 1254 +Patch0: https://patch-diff.githubusercontent.com/raw/cmus/cmus/pull/1254.patch#/ffmpeg-6-compat.patch BuildRequires: libmpcdec-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files @@ -201,7 +203,7 @@ This package pulls in all the plugins for the C* Music Player. %prep -%setup -q +%autosetup -p1 %build # not autoconf ++++++ ffmpeg-6-compat.patch ++++++ >From 565b7726d3791b804ae52000deb25c886bf6c6a3 Mon Sep 17 00:00:00 2001 From: Gavin Troy <[email protected]> Date: Sun, 16 Apr 2023 22:32:52 +0100 Subject: [PATCH] Remove AV_CODEC_{CAP,FLAG}_TRUNCATED for FFmpeg 6 compatibility Closes #1251 --- ip/ffmpeg.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ip/ffmpeg.c b/ip/ffmpeg.c index 09ed3fc4..ea0b26fb 100644 --- a/ip/ffmpeg.c +++ b/ip/ffmpeg.c @@ -202,9 +202,6 @@ static int ffmpeg_open(struct input_plugin_data *ip_data) break; } - if (codec->capabilities & AV_CODEC_CAP_TRUNCATED) - cc->flags |= AV_CODEC_FLAG_TRUNCATED; - if (avcodec_open2(cc, codec, NULL) < 0) { d_print("could not open codec: %d, %s\n", cc->codec_id, avcodec_get_name(cc->codec_id)); err = -IP_ERROR_UNSUPPORTED_FILE_TYPE;
