Dnia 2015-02-02, o godz. 15:06:40
Michał Górny <mgo...@gentoo.org> napisał(a):

> Hi, everyone.
> 
> Just after the news item got published, user Wes mailed me with
> a suggestion. While I think someone mentioned it earlier
> in the bikesheds over ffmpeg, I have completely forgotten about it
> and now I'd like to reconsider it. For this reason, I've reverted
> the news item while it's still fresh and p.masked the revbumps.
> 
> The idea is that instead of having USE=libav (that's tangential to
> USE=ffmpeg and confusing) to use a USE_EXPAND like FFMPEG_IMPL taking
> either ffmpeg or libav. Now, why...

Oh, in case we go this way as the forums poll suggests [1], I'm
attaching the updated news item for review.

[1]:http://forums.gentoo.org/viewtopic-t-1009988.html

-- 
Best regards,
Michał Górny
Title: ffmpeg/libav conflict management: USE=libav
Author: Michał Górny <mgo...@gentoo.org>
Content-Type: text/plain
Posted: 2015-02-01
Revision: 2
News-Item-Format: 1.0
Display-If-Installed: media-video/ffmpeg
Display-If-Installed: media-video/libav

The support for automatic choice between ffmpeg and libav is going to be
deprecated in favor of explicit choice via USE flags. This change aims
to solve multiple repeating issues, including Portage undesirably
wanting to replace one package with the other, lack of proper reverse
dependency on ffmpeg/libav upgrades and some of the hard-to-understand
upgrade failures involving blockers. It also may be used to make ffmpeg
and libav co-installable in the future.

The current USE=ffmpeg will maintain its role of enabling optional
support for ffmpeg or a replacement implementation (libav) in a package.
However, whenever appropriate additional FFMPEG_IMPL flags will be
introduced to control the preference of one implementation over
the other(s).

Users who currently use libav (the Gentoo default) do not have to
perform any action since FFMPEG_IMPL=libav is set by default. Users who
prefer ffmpeg instead need to specify FFMPEG_IMPL=ffmpeg in make.conf.
It should be noted that the FFMPEG_IMPL flags are descendants
of USE=ffmpeg, and therefore USE=ffmpeg still needs to be enabled
whenever a package has optional ffmpeg/libav support.

Please also note that some packages support only one of the two
implementations. An attempt to install one of those packages may result
in blockers requiring the user changes the value of FFMPEG_IMPL.
The most notable example of such package is media-video/mplayer.
media-video/mpv may be used as a replacement for users who prefer libav.

Please do not alter the state of FFMPEG_IMPL on a per-package basis
(e.g. via package.use). The flags need to be set globally to have
consistent value throughout all packages. Otherwise, blockers will
occur and prevent upgrades.

Attachment: pgp4tyAUhaIna.pgp
Description: OpenPGP digital signature

Reply via email to