[vlc-devel] [PATCH] Check libavcodec and libavutil for existence of

Rémi Denis-Courmont remi at remlab.net
Tue Apr 2 16:12:01 CEST 2013


On Tue, 2 Apr 2013 15:52:01 +0200, Maarten Vergouwe <mvergouwe at telenet.be>
wrote:
> If two different packages provide the same library but with a different
> versioning, you're screwed with pkg-config. I wasn't part of any debate,
> but checking against a version number is downright stupid.

Version numbers when they are *meant* to check features. Writing and
maintaining complex brittle configure tests is a waste of time. Even if
someone is willing to waste their time writing the tests, the maintainance
burden will still fall on the core VLC developers. This is unacceptable to
me.

> If you want to stay with version checking, you need to at least
communicate
> to the user which version of ffmpeg you need or which version of libav.

If both libav and FFmpeg had internally consistent but externally
conflicting version numbers, we could have a long flame war about which
numbers to use. Currently only libav has consistent version numbers so the
subject is moot; VLC follows libav version numbers.

The potential solutions and work-arounds have already been discussed on
this mailing list and IRC, so I will not go through them again.

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list