[SCM] FFmpeg packaging branch, master, updated. upstream/0.svn20090119-38-g4098a63

Loïc Minier lool at dooz.org
Mon Jan 26 12:02:54 UTC 2009


On Mon, Jan 26, 2009, Loïc Minier wrote:
>  It's fine; most of the time I'm sharing my advice on packaging without
>  contributing much to the actual implementations; I hope you don't mind
>  my obnoxious comments in random discussions either.  :-)
> 
>  However shlibs.local shouldn't be used anymore; this mechanism was put
>  in place when there were no shlibs in the archive to smooth the
>  transition.
>    This was brought up on debian-qa@ recently:
>  http://lists.debian.org/debian-qa/2008/12/msg00063.html and following
>  messages.

 Just for the record, I tried it out to build ffmpeg-debian.git without
 debian/shlibs.local and with manual ${binary:Version} interdependencies
 and it works fine; e.g. after this change:
@@ -70,7 +70,8 @@ Package: libavcodec52
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends},
-         ${misc:Depends}
+         ${misc:Depends},
+         libavutil49 (= ${binary:Version}) | libavutil-unstripped-49 (= ${binar
 Description: ffmpeg codec library
  This is the codec library from the ffmpeg project. It supports most existing
  encoding formats (MPEG, DivX, MPEG4, AC3, DV...).

 (and dropping shlibs.local and updating control)  I got this change in
 the .deb:
Control files of package libavcodec52: lines which differ (wdiff format)
------------------------------------------------------------------------
Depends: libavutil49 [-(>= 3:0.svn20090119)-] {+(= 3:0.svn20090119-2)+} | libavutil-unstripped-49 [-(>= 3:0.svn20090119),-] {+(= 3:0.svn20090119-2),+} libc6 (>= 2.7-1), libfaad0 (>= 2.6.1), libgsm1 (>= 1.0.12), libschroedinger-1.0-0 (>= 1.0.0), libtheora0 (>= 0.0.0.alpha7.dfsg-1.1), libvorbis0a (>= 1.1.2), libvorbisenc2 (>= 1.1.2), zlib1g (>= 1:1.1.4)


 Now there's a high number of libs in ffmpeg{-debian,}, so I guess
 shlibs.local is easier in that we wont have to maintain
 inter-dependencies ourselves.

 Another thing which we could do to avois a debian/shlibs.local file is:
     dh_makeshlibs -V<very-strict-inter-deps>
     dh_shlibdeps
     dh_makeshlibs -V<target-deps-for-other-packages>
 but it's almost as ugly as debian/shlibs.local.   :-/

   Cheers,
-- 
Loïc Minier



More information about the pkg-multimedia-maintainers mailing list