ffmpeg package on debian-multimedia.org

Reinhard Tartler siretart at tauware.de
Sun Nov 16 20:42:02 UTC 2008


Christian Marillat <marillat at debian.org> writes:

> Now another problem, some of my packages requires a ffmpeg package with
> the encoding capabilities. How to depends on "my" package if we have
> the same package number version ? Pinning ? Bad idea I don't want to
> receiv bug report every 5 minutes because the 'bad' ffmpeg pacjkage
> has been installed.

I'm glad you ask. The solution to this problem we've come up [1], and
that has been sucessfully implemented in ubuntu 8.10 is to provide a
tricky shlibs file and replacement packages. Packages that get build
against the ffmpeg package produce dependencies like this:

libavcodec51 (>= 3:0.svn20080206-8) | libavcodec-unstripped-51 (>= 3:0.svn20080206-8)

The libavcodec-unstripped-51 package then conflicts/replaces the
libavcodec51 package, since it installs the "uncrippled" version of
libavcodec.

[1] well, the idea came originally from Loïc Minier, and I've
implemented and tested it.

To answer your question: If you have packages that depend on the
"uncrippled" version of ffmpeg, you install a shlib.local file
overriding the alternate dependency.

> Popcon see at least 10429 users (for debian-multimedia-keyring
> package) for my repository :
>
> http://popcon.debian.org/unknown/by_inst

I'm aware of that. I'm very interested in collaboration with you because
of that. I do hope that the trickery with the replacement packages and
the alternate dependencies allow us to provide a common and maintainable
packaging across distributions and extra repositories like
debian-multimedia.org and medibuntu.org.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



More information about the pkg-multimedia-maintainers mailing list