From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev+bounces-103237-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 5FD2C1582EF
	for <garchives@archives.gentoo.org>; Tue, 11 Mar 2025 04:38:45 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 3B0AB343137
	for <garchives@archives.gentoo.org>; Tue, 11 Mar 2025 04:38:45 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 11C711103E2;
	Tue, 11 Mar 2025 04:38:02 +0000 (UTC)
Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id 3F9B811037F
	for <gentoo-dev@lists.gentoo.org>; Tue, 11 Mar 2025 04:38:01 +0000 (UTC)
Received: from list by ciao.gmane.io with local (Exim 4.92)
	(envelope-from <lnx-gentoo-dev@m.gmane-mx.org>)
	id 1trrNO-000ASh-RC
	for gentoo-dev@lists.gentoo.org; Tue, 11 Mar 2025 05:37:58 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: gentoo-dev@lists.gentoo.org
From: Duncan <1i5t5.duncan@cox.net>
Subject: [gentoo-dev] Re: [PATCH] ffmpeg-compat.eclass: new eclass
Date: Tue, 11 Mar 2025 04:37:50 -0000 (UTC)
Message-ID: <pan$3c5b4$22e4ff72$9366dbd4$8be0c105@cox.net>
References: <20250309033514.576-1-ionen@gentoo.org>
	<Z83tW7LbwTXZrqWg@eversor>
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
User-Agent: Pan/0.162 (Pokrosvk; 0a913ba36f6ce7a58fc950ca885cd9fb4c87f016)
X-Archives-Salt: 420cdc88-0058-41d8-975a-dec163b64004
X-Archives-Hash: 23a6a8b569b142c1cca019eaccd68bd5

Ionen Wolkens posted on Sun, 9 Mar 2025 15:34:51 -0400 as excerpted:

> On Sat, Mar 08, 2025 at 10:34:31PM -0500, Ionen Wolkens wrote:
>> Sending this to dev ML in advance given it's simple and "probably"
>> won't need to change the code further.

So the will-be-slot tracker bugs may in the (long) bug list at the bottom 
of the PR, but I didn't see them specifically named either here or in the 
PR.  In the interest of preventing duplicated effort here's what I found

https://bugs.gentoo.org/831437  ffmpeg-5 (4 compat)

One remaining open bug.  media-sound/moc.  Latest in-tree is a 2016 
alpha.  There are active users and newer overlay versions with ffmpeg-6 
compat at least.  Alternatives are killing USE=ffmpeg or last-riting.

Bottom line:  As the PM says a 4-compat slot is likely to be short-lived.

https://bugs.gentoo.org/901257  ffmpeg-6.0 (5 compat)

Again just one open bug, and shorter list in general.  But that bug is 
media-libs/gegl (gimp dep).  Test not build failure and upstream 
apparently says no big deal.  Again killing USE=ffmpeg is one (bad?) 
alternative.  From the bug it's almost good with ffmpeg-7 (one remaining 
test failure.)

Bottom line:  An ffmpeg-6 compat slot /could/ be short-lived as well, and 
if not, certainly the slot should indeed be very limited usage (gegl only 
unless something else pops up).

https://bugs.gentoo.org/928905  ffmpeg-7.0 (6 compat, deps on the above 
two also)

As might be expected ffmpeg-7 still has a decent number of open bugs, tho 
a scan suggests ~2/3 are fixed already.  The 6-compat slot would thus get 
more usage including (as of my last sync) both xine-lib and mplayer latest 
(non-live) in-tree, so many users will likely need it.

>> If interested in the whole deal, see the PR instead:
>> https://github.com/gentoo/gentoo/pull/40942
> On a side-note, the ffmpeg ebuild was also rewritten in that PR which
> may be of more interest than the slotting to some.

> See the `rewrite live ebuild` commit message if want details, some
> changes are debatable and may anger some users, albeit I'm mostly aiming
> for stabler ffmpeg.

Having looked over that live ebuild commit message, LGTM; yes a bunch of 
changes but no "anger some users" here! =:^)

(FWIW I'm on ffmpeg-live (due to firefox/youtube stalls on the last 
release I checked that are fixed in live) and seem to have 1/2-2/3 the USE 
flag changes set already.  I'll likely set the others on next update (as 
you surely already know the ffmpeg-live commit-stream's a firehose so it's 
a virtually guaranteed smart-live-rebuild), whether the rewrite's in-tree 
or not by then.)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman