Bug#842840: libavfilter-extra6: should provide libavfilter6
Andreas Cadhalpun
andreas.cadhalpun at googlemail.com
Tue Nov 1 18:21:50 UTC 2016
Control: tags -1 moreinfo
Hi Jonas,
On 01.11.2016 17:52, Jonas Smedegaard wrote:
> libavfilter-extra6 is a superset of libavfilter6, and should therefore
> declare that it "Provides: libavfilter6" to not effectively conflict
> with all consumers of libavfilter6.
That wouldn't help, because the dependencies on libavfilter6 are versioned.
So it would have to be generated dynamically, e.g.:
"Provides: libavfilter6 (= $(DEB_VERSION))"
I'd rather avoid that complexity.
However, currently this is implemented differently (also for libavcodec-extra).
Packages depending on libavfilter6 should depend alternatively on the extra
flavor e.g.:
"Depends: libavfilter6 (>= 7:3.1.5) | libavfilter-extra6 (>= 7:3.1.5)"
This is done automatically via shlibs.
So the effective conflict between libavfilter6 and libavfilter-extra6 can
and should be solved by rebuilding all packages depending solely on
libavfilter6.
Aside from this one-time problem, are there any benefits of the approach
to use versioned provides?
Best regards,
Andreas
More information about the pkg-multimedia-maintainers
mailing list