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

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jan 25 22:34:43 UTC 2009


The following commit has been merged in the master branch:
commit 36e813c1d4dca3ba9b8ce8738e7818cf48ba7b41
Author: Fabian Greffrath <greffrath at leat.rub.de>
Date:   Sun Jan 25 10:52:40 2009 +0100

    I have rebuilt the ffmpeg packages from experimental with the attached
    file as debian/shlibs.local.
    
    As a result the dependencies for e.g. the libavcodec52 package have
    changed from
    
    Depends: libavutil49 (>= 3:0.svn20081101-1) | libavutil-unstripped-49
    (>= 3:0.svn20081101-1), [...]
    
    to
    
    Depends: libavutil49 (= 3:0.svn20090119-1), [...]
    
    Then I have rebuilt a package depending on libavcodec-dev
    (alsa-plugins-1.0.18, because ffmpeg2theora FTBFS with the ffmpeg
    packages from experimental) against these newly created packages and its
    resulting dependencies are as before:
    
    Depends: [...], libavcodec52 (>= 3:0.svn20081101-1) |
    libavcodec-unstripped-52 (>= 3:0.svn20081101-1), [...]
    
    I have learnt two things from this experiment:
    
    - By introducing an shlibs.local file in the ffmpeg Debian package we
    make sure that the ffmpeg libraries only depend on other ffmpeg
    libraries that have the same binary:Version. External packages that are
    built against these ffmpeg libraries are not affected.
    
    - We can additionally make sure that the unstripped flavours of the
    libraries only depend on the unstripped flavours of the other ffmpeg
    libraries. For this the contents of the shlibs.local file has to depend
    on which packages we want to build. It will contain e.g. "libavutil 49
    libavutil49 (= ${binary:Version})" for the ffmpeg-debian version and
    "libavutil 49 libavutil-unstripped-49 (= ${binary:Version})" for the
    unstripped ffmpeg flavour.

diff --git a/debian/shlibs.local b/debian/shlibs.local
new file mode 100644
index 0000000..0949ad1
--- /dev/null
+++ b/debian/shlibs.local
@@ -0,0 +1,7 @@
+libavutil 49 libavutil49 (= ${binary:Version})
+libavcodec 52 libavcodec52 (= ${binary:Version})
+libavdevice 52 libavdevice52 (= ${binary:Version})
+libavformat 52 libavformat52 (= ${binary:Version})
+libavfilter 0 libavfilter0 (= ${binary:Version})
+libpostproc 51 libpostproc51 (= ${binary:Version})
+libswscale 0 libswscale0 (= ${binary:Version})

-- 
FFmpeg packaging



More information about the pkg-multimedia-commits mailing list