[SCM] FFmpeg packaging branch, ubuntu.extra, updated. extra/debian/0.6.svn20100505-1ubuntu1

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Wed May 26 06:14:16 UTC 2010


The following commit has been merged in the ubuntu.extra branch:
commit 4c5da39844bb19297e71f0af7746a2dea2d4b073
Merge: c07755ca8130b9fd733a68c05617667448ac52ef b3122e8a49917c1ec992b5e56716a4ed11b8418e
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Wed May 26 07:45:56 2010 +0200

    Merge branch 'ubuntu' into ubuntu.extra
    
    Conflicts:
    	debian/changelog
    	debian/control
    	debian/gbp.conf
    	debian/rules

diff --combined debian/changelog
index e8eaa00,10dae84..394f2f4
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,10 -1,28 +1,35 @@@
+ ffmpeg (4:0.6~svn20100505-1ubuntu1) maverick; urgency=low
+ 
+   * merge from debian/experimental. remaining changes:
+     - don't disable encoders
+     - don't build against libfaad, libdirac and libopenjpeg (all in universe)
+ 
+  -- Reinhard Tartler <siretart at tauware.de>  Wed, 26 May 2010 00:01:17 +0200
+ 
+ ffmpeg (4:0.6~svn20100505-1) experimental; urgency=low
+ 
+   * update to new upstream. Closes: #569727
+     - fixes various segfaults and other minor feature improvements
+       Closes: #374931, #522449, #501891, #559712, #420231, #369127, #538082,
+               #298095, #294422, #561553, #525385, #495274, #420230
+       LP: #305286, #457106, #529200, #301723, #305315, #336479, #420230,
+           #412063, #428912, #432181, #440591, #453732, #453732, #453732,
+    	  #514259, #515243, #521472, #530186, #530186, #197842, #483317,
+   	  #483317, #539407, #280098, #331255, #566107, #569823, #570305,
+   	  #573190
+   * Fixup lintian overrides for new upstream snapshot
+   * Bump Standards-Version to 3.8.4
+   * Many upstream changes, see upstream Changelog for details
+ 
+  -- Reinhard Tartler <siretart at tauware.de>  Sun, 24 Jan 2010 21:24:56 +0100
+ 
 +ffmpeg-extra (4:0.5.1-1ubuntu1) lucid; urgency=low
 +
 +  * merge from 'main' package. Changes
 +    - build against faad, dirac, libopenjpeg, x264, mp3lame and xvidcore
 +
 + -- Reinhard Tartler <siretart at tauware.de>  Thu, 04 Mar 2010 13:08:25 +0100
 +
  ffmpeg (4:0.5.1-1ubuntu1) lucid; urgency=low
  
    * merge from debian. remaining changes:
@@@ -43,33 -61,15 +68,33 @@@ ffmpeg (4:0.5+svn20090706-6) unstable; 
  
   -- Reinhard Tartler <siretart at tauware.de>  Sun, 31 Jan 2010 16:53:47 +0100
  
 -ffmpeg (4:0.5+svn20090706-5ubuntu2) lucid; urgency=low
 +ffmpeg-extra (4:0.5+svn20090706-5ubuntu4) lucid; urgency=low
  
    * tighten build dependency on new x264 package
 -  * add x264 backport for ffmpeg 0.5
 +  * add libx264 wrapper backport for ffmpeg 0.5
    * install presets in 'libavcodec package' instead of 'ffmpeg' binary,
      see git history for rationale of this change
  
   -- Reinhard Tartler <siretart at tauware.de>  Wed, 17 Feb 2010 08:37:17 +0100
  
 +ffmpeg-extra (4:0.5+svn20090706-5ubuntu3) lucid; urgency=low
 +
 +  * rebuild for ffmpeg versioned symbols
 +
 + -- Reinhard Tartler <siretart at tauware.de>  Tue, 19 Jan 2010 20:55:30 +0100
 +
 +ffmpeg-extra (4:0.5+svn20090706-5ubuntu2) lucid; urgency=low
 +
 +  * No-change rebuild against new dirac package synced from Debian 
 +
 + -- Iain Lane <laney at ubuntu.com>  Sun, 17 Jan 2010 17:41:48 +0000
 +
 +ffmpeg-extra (4:0.5+svn20090706-5ubuntu1) lucid; urgency=low
 +
 +  * merge from 'ubuntu' branch
 +
 + -- Reinhard Tartler <siretart at tauware.de>  Sun, 17 Jan 2010 09:34:54 +0100
 +
  ffmpeg (4:0.5+svn20090706-5ubuntu1) lucid; urgency=low
  
    * merge from debian, remaining changes:
@@@ -173,12 -173,6 +198,12 @@@ ffmpeg (4:0.5+svn20090706-2ubuntu4) luc
  
   -- Reinhard Tartler <siretart at tauware.de>  Mon, 21 Dec 2009 23:57:34 +0100
  
 +ffmpeg-extra (4:0.5+svn20090706-2ubuntu4) lucid; urgency=low
 +
 +  * merge from 'ffmpeg' package
 +
 + -- Reinhard Tartler <siretart at tauware.de>  Tue, 10 Nov 2009 13:18:24 +0100
 +
  ffmpeg (4:0.5+svn20090706-2ubuntu3) lucid; urgency=low
  
    * security backports from ffmpeg trunk (Closes: #550442)
@@@ -193,27 -187,14 +218,27 @@@
  
   -- Reinhard Tartler <siretart at tauware.de>  Thu, 05 Nov 2009 20:31:29 +0100
  
 -ffmpeg (4:0.5+svn20090706-2ubuntu2) karmic; urgency=low
 +ffmpeg-extra (4:0.5+svn20090706-2ubuntu3) karmic; urgency=low
 +
 +  * make the conflicts/replaces on the former -unstripped- variants
 +    versioned so the -unstripped- and -extra- variants can actually be
 +    coinstalled.
 +  * remove references to obsolete 'cvs' packages. these have never existed
 +    in ubuntu after all.
 +
 + -- Reinhard Tartler <siretart at tauware.de>  Fri, 16 Oct 2009 10:29:16 +0200
 +
 +ffmpeg-extra (4:0.5+svn20090706-2ubuntu2) karmic; urgency=low
  
    [ Reinhard Tartler ]
 +  * merge from the 'ffmpeg' package
    * Make arguments of av_set_pts_info() unsigned.
    * update debian/changelog
    * use patch for issue1245 from git.ffmpeg.org
    * Support constant-quant encoding for libtheora, LP: #356322
    * increase swscale compile time width (VOF/VOFW), LP: #443264
 +  * Add missing Conflicts/Replaces to ensure a working upgrade patch from
 +    intrepid/jaunty. LP: #418785
  
    [ Loïc Minier ]
    * Update config for karmic's armel toolchain.
@@@ -223,19 -204,7 +248,19 @@@
    * Pass proper --cpu and --extra-flags on armel.
    * Pass -fPIC -DPIC to neon pass.
  
 - -- Loïc Minier <loic.minier at ubuntu.com>  Tue, 13 Oct 2009 23:56:04 +0200
 + -- Reinhard Tartler <siretart at tauware.de>  Wed, 14 Oct 2009 09:15:50 +0200
 +
 +ffmpeg-extra (4:0.5+svn20090706-2ubuntu1) karmic; urgency=low
 +
 +  * merge from the 'ffmpeg' package
 +  * enable dirac, libopenjpeg
 +  * reintroduce the formats.txt file
 +  * reintroduce "missing" codecs: LP: #419103
 +  * is co-installable with the -dev packages LP: #416436, #418168
 +  * should now have the proper replaces lines: LP: #418789, #418799, #418807, #323789
 +  * don't build doxygen documentation, it is not installed anyway
 +
 + -- Reinhard Tartler <siretart at tauware.de>  Wed, 26 Aug 2009 11:50:32 +0200
  
  ffmpeg (4:0.5+svn20090706-2ubuntu1) karmic; urgency=low
  
@@@ -364,15 -333,6 +389,15 @@@ ffmpeg-debian (4:0.5+svn20090609-1ubunt
  
   -- Reinhard Tartler <siretart at tauware.de>  Fri, 24 Jul 2009 21:53:47 +0200
  
 +ffmpeg (4:0.5+svn20090609-1ubuntu1+unstripped1) karmic; urgency=low
 +
 +  * prepare new upload
 +  * update gbp.conf
 +  * move gbp.conf to debian/
 +  * regroup build dependencies to minimize the diff
 +
 + -- Reinhard Tartler <siretart at tauware.de>  Fri, 24 Jul 2009 19:45:26 +0200
 +
  ffmpeg-debian (4:0.5+svn20090609-1ubuntu1) karmic; urgency=low
  
    * merge from debian. Remaining changes:
@@@ -578,24 -538,6 +603,24 @@@ ffmpeg-debian (3:0.svn20090204-3) unsta
  
   -- Reinhard Tartler <siretart at tauware.de>  Sun, 22 Feb 2009 09:32:49 +0100
  
 +ffmpeg (3:0.svn20090204-2ubuntu1+unstripped3) jaunty; urgency=low
 +
 +  * add conflicts replaces for libavfilter0, LP: #322570
 +
 + -- Reinhard Tartler <siretart at tauware.de>  Mon, 09 Mar 2009 18:24:56 +0100
 +
 +ffmpeg (3:0.svn20090204-2ubuntu1+unstripped2) jaunty; urgency=low
 +
 +  * add correct epoch in the "internal" shlibs generation
 +
 + -- Reinhard Tartler <siretart at tauware.de>  Fri, 06 Feb 2009 15:24:58 +0100
 +
 +ffmpeg (3:0.svn20090204-2ubuntu1+unstripped1) jaunty; urgency=low
 +
 +  * rebuild using a clean, uncrippled ffmpeg tarball
 +
 + -- Reinhard Tartler <siretart at tauware.de>  Thu, 05 Feb 2009 21:45:05 +0100
 +
  ffmpeg-debian (3:0.svn20090204-2ubuntu1) jaunty; urgency=low
  
    * merge from debian. Remaining changes:
@@@ -653,21 -595,6 +678,21 @@@ ffmpeg-debian (3:0.svn20090204-1) exper
  
   -- Reinhard Tartler <siretart at tauware.de>  Sun, 01 Feb 2009 19:54:27 +0100
  
 +ffmpeg (3:0.svn20090119-1ubuntu1+unstripped2) jaunty; urgency=low
 +
 +  * add conflicts/replaces on libavfilter0. LP: #323789
 +
 + -- Reinhard Tartler <siretart at tauware.de>  Sun, 01 Feb 2009 18:45:46 +0100
 +
 +ffmpeg (3:0.svn20090119-1ubuntu1+unstripped1) jaunty; urgency=low
 +
 +  * merge with the ubuntu.jaunty branch
 +  * reenable x264 LP: #303537
 +  * build against vdpau
 +  * enable xvmc support
 +  
 + -- Reinhard Tartler <siretart at tauware.de>  Tue, 20 Jan 2009 17:51:19 +0100
 +
  ffmpeg-debian (3:0.svn20090119-1ubuntu1) jaunty; urgency=low
  
    * merge from debian. LP: #318501
@@@ -705,16 -632,6 +730,16 @@@ ffmpeg-debian (3:0.svn20090110-1) exper
  
   -- Reinhard Tartler <siretart at tauware.de>  Sun, 11 Jan 2009 20:55:48 +0100
  
 +ffmpeg (3:0.svn20081115-1ubuntu1+unstripped1) jaunty; urgency=low
 +
 +  * build unstripped version for multiverse.
 +  * enable additional external libraries:
 +      - libmp3lame-dev
 +      - libfaac-dev
 +      - libxvidcore-dev
 +
 + -- Reinhard Tartler <siretart at tauware.de>  Sat, 15 Nov 2008 19:50:42 +0100
 +
  ffmpeg-debian (3:0.svn20081115-1ubuntu1) jaunty; urgency=low
  
    * merge from debian.
diff --combined debian/confflags
index 6e5b644,8244db0..d3d08b8
--- a/debian/confflags
+++ b/debian/confflags
@@@ -70,7 -70,6 +70,6 @@@ ende
  # Configuration flags causing the libs to be GPL tainted
  gpl_confflags += --enable-gpl
  gpl_confflags += --enable-postproc
- gpl_confflags += --enable-swscale
  gpl_confflags += --enable-x11grab
  
  # there is no libfaad in ubuntu/main, on in ubuntu/multiverse
@@@ -83,9 -82,7 +82,9 @@@ confflags += --enable-avfilte
  confflags += --enable-avfilter-lavf
  confflags += --enable-vdpau
  confflags += --enable-bzlib
 +confflags += --enable-libdirac
  confflags += --enable-libgsm
 +confflags += --enable-libopenjpeg
  confflags += --enable-libschroedinger
  confflags += --enable-libspeex
  confflags += --enable-libtheora
@@@ -93,7 -90,6 +92,6 @@@ confflags += --enable-libvorbi
  confflags += --enable-pthreads
  confflags += --enable-zlib
  confflags += --disable-stripping
- confflags += --disable-vhook
  confflags += --enable-runtime-cpudetect
  ifeq      ($(DEB_HOST_ARCH),armel)
  # this is required on Ubuntu lucid as it defaults to thumb2 and ffmpeg has
diff --combined debian/control
index 3cbc6b4,e8b73cd..d96bafa
--- a/debian/control
+++ b/debian/control
@@@ -1,4 -1,4 +1,4 @@@
 -Source: ffmpeg
 +Source: ffmpeg-extra
  Section: libs
  Priority: optional
  Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss at lists.ubuntu.com>
@@@ -9,28 -9,18 +9,28 @@@ Uploaders: Sam Hocevar (Debian packages
             Fabian Greffrath <fabian+debian at greffrath.com>,
             Andres Mejia <mcitadel at gmail.com>
  DM-Upload-Allowed: yes
- Standards-Version: 3.8.3
+ Standards-Version: 3.8.4
  Vcs-Git: git://git.debian.org/git/pkg-multimedia/ffmpeg.git
  Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/ffmpeg.git;a=summary
  Homepage: http://ffmpeg.org/
  Build-Depends-Indep: doxygen
  Build-Depends: debhelper (>= 7),
                 libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
 +               libavcodec-dev,
 +               libavfilter-dev,
 +               libavformat-dev,
 +               libavutil-dev,
                 libbz2-dev,
                 libdc1394-22-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
 +               libdirac-dev,
 +               libfaad-dev | libfaad2-dev,
                 libfreetype6-dev,
                 libgsm1-dev,
 +               libopenjpeg-dev,
                 libimlib2-dev,
 +               libmp3lame-dev,
 +               libopenjpeg-dev,
 +               libpostproc-dev,
                 libraw1394-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
                 libschroedinger-dev,
                 libsdl1.2-dev,
@@@ -38,9 -28,7 +38,9 @@@
                 libtheora-dev (>> 0.0.0.alpha4),
                 libvorbis-dev,
                 libx11-dev,
 +               libx264-dev (>> 1:0.svn20100213+gitfcf70c),
                 libxext-dev,
 +               libxvidcore-dev | libxvidcore4-dev,
                 libvdpau-dev,
                 libxvmc-dev,
                 quilt,
@@@ -48,136 -36,217 +48,128 @@@
                 yasm [i386 amd64],
                 zlib1g-dev
  
 -Package: ffmpeg
 -Section: video
 -Architecture: any
 -Depends: ${shlibs:Depends},
 -         ${misc:Depends}
 -Description: multimedia player, server and encoder
 - This package contains the ffplay multimedia player, the ffserver streaming
 - server and the ffmpeg audio and video encoder. They support most existing
 - file formats (AVI, MPEG, OGG, Matroska, ASF...) and encoding formats (MPEG,
 - DivX, MPEG4, AC3, DV...).
 -
 -Package: ffmpeg-dbg
 -Section: debug
 -Priority: extra
 -Architecture: any
 -Depends: libavutil50 (= ${binary:Version}),
 -         libavcodec52 (= ${binary:Version}),
 -         libavdevice52 (= ${binary:Version}),
 -         libpostproc51 (= ${binary:Version}),
 -         libavformat52 (= ${binary:Version}),
 -         libswscale0 (= ${binary:Version}),
 -         ffmpeg (= ${binary:Version}),
 -         ${misc:Depends}
 -Description: Debug symbols for ffmpeg related packages
 - This package contains debug data of the ffmpeg related shared libraries.
 - .
 - Most people will not need this package. Please install it to produce useful
 - stacktraces to help debugging the ffmpeg library.
 -
 -Package: ffmpeg-doc
 -Section: doc
 -Architecture: all
 -Depends: ${misc:Depends}
 -Description: documentation of the ffmpeg API
 - This package contains the html doxygen documentation of the ffmpeg API.
 -
 -Package: libavutil50
 +Package: libavutil-extra-49
  Architecture: any
  Depends: ${shlibs:Depends},
           ${misc:Depends}
 +Conflicts: libavutil49, libavutil-unstripped-49 (<< ${binary:Version})
 +Replaces: libavutil49, libavutil-unstripped-49 (<< ${binary:Version})
  Description: ffmpeg utility library
   This is the common utility library from the ffmpeg project. It is required
   by all other ffmpeg libraries.
   .
 - This package contains a Debian-specific version of the libavutil shared
 + This package contains a unrestricted version of the libavutil shared
   object that should only be used by Debian packages.
  
 -Package: libavcodec52
 +Package: libavutil-unstripped-49
 +Architecture: any
 +Depends: libavutil-extra-49 (= ${binary:Version})
 +Description: ffmpeg utility library - transitional package
 + This package can be safely removed if no other packages depend on this
 +
 +Package: libavcodec-extra-52
  Architecture: any
  Depends: ${shlibs:Depends},
           ${misc:Depends}
 -Replaces: ffmpeg (<< 4:0.5.1-1)
 +Suggests: libfaad0
 +Conflicts: libavcodec52, libavcodec-unstripped-52 (<< ${binary:Version})
 +Replaces: libavcodec52, libavcodec-unstripped-52 (<< ${binary:Version}), ffmpeg (<< 4:0.5.1-1)
  Description: ffmpeg codec library
   This is the codec library from the ffmpeg project. It supports most existing
   encoding formats (MPEG, DivX, MPEG4, AC3, DV...).
   .
 - This package contains a Debian-specific version of the libavcodec shared
 + This package contains a unrestricted version of the libavcodec shared
   object that should only be used by Debian packages.
  
 -Package: libavdevice52
 +Package: libavcodec-unstripped-52
 +Architecture: any
 +Depends: libavcodec-extra-52 (= ${binary:Version})
 +Description: ffmpeg utility library - transitional package
 + This package can be safely removed if no other packages depend on this
 +
 +Package: libavdevice-extra-52
  Architecture: any
  Depends: ${shlibs:Depends},
           ${misc:Depends}
 +Conflicts: libavdevice52, libavdevice-unstripped-52 (<< ${binary:Version})
 +Replaces: libavdevice52, libavdevice-unstripped-52 (<< ${binary:Version})
  Description: ffmpeg device handling library
   This is the device handling library from the ffmpeg project.
   .
 - This package contains a Debian-specific version of the libavdevice shared
 + This package contains a unrestricted version of the libavdevice shared
   object that should only be used by Debian packages.
  
 -Package: libavformat52
 +Package: libavdevice-unstripped-52
  Architecture: any
 -Depends: ${shlibs:Depends},
 -         ${misc:Depends}
 -Breaks: libavcodec51 (<< 3:0.svn20090303-1)
 -Description: ffmpeg file format library
 - This is the demuxer library from the ffmpeg project. It supports most
 - existing file formats (AVI, MPEG, OGG, Matroska, ASF...).
 - .
 - This package contains a Debian-specific version of the libavformat shared
 - object that should only be used by Debian packages.
 +Depends: libavdevice-extra-52 (= ${binary:Version})
 +Description: ffmpeg utility library - transitional package
 + This package can be safely removed if no other packages depend on this
  
- Package: libavfilter-extra-0
 -Package: libavfilter1
++Package: libavfilter-extra-1
  Architecture: any
  Depends: ${shlibs:Depends},
           ${misc:Depends}
- Conflicts: libavfilter0, libavfilter-unstripped-0 (<< ${binary:Version})
- Replaces: libavfilter0, libavfilter-unstripped-0 (<< ${binary:Version})
++Conflicts: libavfilter1
++Replaces: libavfilter1
  Description: ffmpeg video filtering library
   This is the video filtering library from the ffmpeg project.
   .
 - This package contains a Debian-specific version of the libavfilter shared
 + This package contains a unrestricted version of the libavfilter shared
   object that should only be used by Debian packages.
  
- Package: libavfilter-unstripped-0
- Architecture: any
- Conflicts: libavfilter0
- Replaces: libavfilter0
- Depends: libavfilter-extra-0 (= ${binary:Version})
- Description: ffmpeg utility library - transitional package
-  This package can be safely removed if no other packages depend on this
- 
 -Package: libpostproc51
 +Package: libpostproc-extra-51
  Architecture: any
  Depends: ${shlibs:Depends},
           ${misc:Depends}
 +Conflicts: libpostproc51, libpostproc-unstripped-51 (<< ${binary:Version})
 +Replaces: libpostproc51, libpostproc-unstripped-51 (<< ${binary:Version})
  Description: ffmpeg video postprocessing library
   This is the video postprocessing library from the ffmpeg project.
   .
 - This package contains a Debian-specific version of the libpostproc shared
 - object that should only be used by Debian packages.
 -
 -Package: libswscale0
 -Architecture: any
 -Depends: ${shlibs:Depends},
 -         ${misc:Depends}
 -Description: ffmpeg video scaling library
 - This is the video scaling library from the ffmpeg project.
 - .
 - This package contains a Debian-specific version of the libswscale shared
 + This package contains a unrestricted version of the libpostproc shared
   object that should only be used by Debian packages.
  
 -Package: libavutil-dev
 -Section: libdevel
 -Architecture: any
 -Depends: libavutil50 (>= ${binary:Version}) | libavutil-extra-50 (>= ${source:Upstream-Version}),
 -         libavutil50 (<= ${source:Upstream-Version}-99) | libavutil-extra-50 (<= ${source:Upstream-Version}-99),
 -         ${misc:Depends}
 -Description: development files for libavutil
 - This is the common utility library from the ffmpeg project. It is required
 - by all other ffmpeg libraries.
 - .
 - This package contains the header files and static libraries needed to
 - compile applications or shared objects that use libavutil.
 -
 -Package: libavcodec-dev
 -Section: libdevel
 +Package: libpostproc-unstripped-51
  Architecture: any
 -Depends: libavcodec52 (>= ${binary:Version}) | libavcodec-extra-52 (>= ${source:Upstream-Version}),
 -         libavcodec52 (<= ${source:Upstream-Version}-99) | libavcodec-extra-52 (<= ${source:Upstream-Version}-99),
 -         libavutil-dev (= ${binary:Version}),
 -         ${misc:Depends}
 -Suggests: libfaad-dev,
 -          libgsm1-dev,
 -          libogg-dev,
 -          libschroedinger-dev,
 -          libspeex-dev,
 -          libtheora-dev (>> 0.0.0.alpha4),
 -          libvorbis-dev,
 -          libx11-dev,
 -          libxext-dev,
 -          zlib1g-dev,
 -          ${lib1394-dev}
 -Description: development files for libavcodec
 - This is the codec library from the ffmpeg project. It supports most existing
 - encoding formats (MPEG, DivX, MPEG4, AC3, DV...).
 - .
 - This package contains the header files and static libraries needed to
 - compile applications or shared objects that use libavcodec.
 +Depends: libpostproc-extra-51 (= ${binary:Version})
 +Description: ffmpeg utility library - transitional package
 + This package can be safely removed if no other packages depend on this
  
 -Package: libavdevice-dev
 -Section: libdevel
 +Package: libavformat-extra-52
  Architecture: any
 -Depends: libavdevice52 (>= ${binary:Version}) | libavdevice-extra-52 (>= ${source:Upstream-Version}),
 -         libavdevice52 (<= ${source:Upstream-Version}-99) | libavdevice-extra-52 (<= ${source:Upstream-Version}-99),
 -         libavformat-dev (= ${binary:Version}),
 -         ${misc:Depends}
 -Description: development files for libavdevice
 - This is the device handling library from the ffmpeg project.
 - .
 - This package contains the header files and static libraries needed to
 - compile applications or shared objects that use libavdevice.
 -
 -Package: libavformat-dev
 -Section: libdevel
 -Architecture: any
 -Depends: libavformat52 (>= ${binary:Version}) | libavformat-extra-52 (>= ${source:Upstream-Version}),
 -         libavformat52 (<= ${source:Upstream-Version}-99) | libavformat-extra-52 (<= ${source:Upstream-Version}-99),
 -         libavcodec-dev (= ${binary:Version}),
 +Depends: ${shlibs:Depends},
           ${misc:Depends}
 -Description: development files for libavformat
 +Conflicts: libavformat52, libavformat-unstripped-52 (<< ${binary:Version})
 +Replaces: libavformat52, libavformat-unstripped-52 (<< ${binary:Version})
 +Breaks: libavcodec51
 +Description: ffmpeg file format library
   This is the demuxer library from the ffmpeg project. It supports most
   existing file formats (AVI, MPEG, OGG, Matroska, ASF...).
   .
 - This package contains the header files and static libraries needed to
 - compile applications or shared objects that use libavformat.
 + This package contains a unrestricted version of the libavformat shared
 + object that should only be used by Debian packages.
  
 -Package: libavfilter-dev
 -Section: libdevel
 +Package: libavformat-unstripped-52
  Architecture: any
 -Depends: libavfilter1 (>= ${binary:Version}) | libavfilter-extra-0 (>= ${source:Upstream-Version}),
 -         libavfilter1 (<= ${source:Upstream-Version}-99) | libavfilter-extra-1 (<= ${source:Upstream-Version}-99),
 -         libavcodec-dev (= ${binary:Version}),
 -         ${misc:Depends}
 -Description: development files for libavfilter
 - This is the video filtering library from the ffmpeg project.
 - .
 - This package contains the header files and static libraries needed to
 - compile applications or shared objects that use libavfilter.
 +Depends: libavformat-extra-52 (= ${binary:Version})
 +Description: ffmpeg utility library - transitional package
 + This package can be safely removed if no other packages depend on this
  
 -Package: libpostproc-dev
 -Section: libdevel
 +Package: libswscale-extra-0
  Architecture: any
 -Depends: libpostproc51 (>= ${binary:Version}) | libpostproc-extra-51 (>= ${source:Upstream-Version}),
 -         libpostproc51 (<= ${source:Upstream-Version}-99) | libpostproc-extra-51 (<= ${source:Upstream-Version}-99),
 -         libavutil-dev (= ${binary:Version}),
 +Depends: ${shlibs:Depends},
           ${misc:Depends}
 -Description: development files for libpostproc
 - This is the video postprocessing library from the ffmpeg project.
 +Conflicts: libswscale0, libswscale-unstripped-0 (<< ${binary:Version})
 +Replaces: libswscale0, libswscale-unstripped-0 (<< ${binary:Version})
 +Description: ffmpeg video scaling library
 + This is the video scaling library from the ffmpeg project.
   .
 - This package contains the header files and static libraries needed to
 - compile applications or shared objects that use libpostproc.
 + This package contains a unrestricted version of the libswscale shared
 + object that should only be used by Debian packages.
  
 -Package: libswscale-dev
 -Section: libdevel
 +Package: libswscale-unstripped-0
  Architecture: any
 -Depends: libswscale0 (>= ${binary:Version}) | libswscale-extra-0 (>= ${source:Upstream-Version}),
 -         libswscale0 (<= ${source:Upstream-Version}-99) | libswscale-extra-0 (<= ${source:Upstream-Version}-99),
 -         libavutil-dev (= ${binary:Version}),
 -         ${misc:Depends}
 -Description: development files for libswscale
 - This is the video scaling library from the ffmpeg project.
 - .
 - This package contains the header files and static libraries needed to
 - compile applications or shared objects that use libswscale.
 +Depends: libswscale-extra-0 (= ${binary:Version})
 +Description: ffmpeg utility library - transitional package
 + This package can be safely removed if no other packages depend on this
 +
diff --combined debian/gbp.conf
index 58d23d2,d6bc349..cc8019e
--- a/debian/gbp.conf
+++ b/debian/gbp.conf
@@@ -1,6 -1,6 +1,6 @@@
  [DEFAULT]
- upstream-branch = upstream-0.5
+ upstream-branch = upstream
 -debian-branch = ubuntu
 +debian-branch = ubuntu.extra
  upstream-tag = upstream/%(version)s
 -debian-tag = debian/%(version)s
 +debian-tag = extra/debian/%(version)s
  pristine-tar = True
diff --combined debian/rules
index 4ee3948,eb434a5..829250c
--- a/debian/rules
+++ b/debian/rules
@@@ -6,8 -6,12 +6,12 @@@ EPOCH=4
  DEB_SOURCE := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
  DEB_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
  UPSTREAM_VERSION := $(shell echo $(DEB_VERSION) | sed -r 's/[^:]+://; s/-[^-]+$$//')
- SHLIBS_VERSION := 4:0.5.1-1
+ SVN_VERSION := $(shell echo $(UPSTREAM_VERSION) | sed -nr 's/^[0-9.:-]+[+.~]+svn([0-9]+)$$/\1/p')
+ SHLIBS_VERSION := 4:0.6~svn20100505-1
  
+ ifeq ($(SVN_VERSION),)
+ $(error UPSTREAM_VERSION: $(UPSTREAM_VERSION) - but SVN_VERSION is empty! - check debian/rules)
+ endif
  
  LIB_PKGS := $(shell sed -nr 's/^Package:[[:space:]]*(lib(avutil|avcodec|avdevice|avformat|avfilter|postproc|swscale)(-extra-)?[0-9]+)[[:space:]]*$$/\1/p' debian/control)
  
@@@ -29,11 -33,15 +33,15 @@@ $(info FLAVORS = $(FLAVORS)
  $(info DEB_BUILD_OPTIONS = $(DEB_BUILD_OPTIONS))
  $(info CFLAGS = $(CFLAGS))
  
+ snapshot_version:
+ 	[ ! -r .svnrevision ] || \
+ 		cp .svnrevision $@
+ 	touch $@
+ 
  configure-%: configure-stamp-%
- configure-stamp-%: $(QUILT_STAMPFN)
+ configure-stamp-%: $(QUILT_STAMPFN) snapshot_version
  	dh_testdir
  	mkdir -p debian-$*
- 	echo $(UPSTREAM_VERSION) > debian-$*/snapshot_version
  	cd debian-$* && CFLAGS="$(CFLAGS)" $(CURDIR)/configure \
  		$($*_build_confflags) $(extra_$*_build_confflags)
  	touch $@
@@@ -67,6 -75,10 +75,10 @@@ clean-real
  	rm -rf $(addprefix debian-, $(FLAVORS)) doxy
  	dh_clean
  
+ get-orig-source:
+ 	dh_testdir
+ 	sh debian/get-orig-source.sh -d $(SVN_VERSION)
+ 
  # The trailing newline is important!
  define install_flavor
  	$(MAKE) -C debian-$(1) install DESTDIR=$(CURDIR)/debian/tmp \
@@@ -87,50 -99,48 +99,46 @@@ install: buil
  	install -m 644 -D doc/ffserver.conf debian/tmp/etc/
  	install -m 644 -D debian-shared/tools/qt-faststart debian/tmp/usr/bin/qt-faststart
  	dh_install -Xusr/share/doc/ffmpeg-doc -Xusr/share/doc/ffmpeg \
 -		--fail-missing --sourcedir=debian/tmp
 +		--list-missing --sourcedir=debian/tmp
  
  formats.txt: install
  	env LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):$(CURDIR)/debian/tmp/usr/lib" \
  	debian/tmp/usr/bin/ffmpeg -formats | tee $@
  
+ codecs.txt: install
+ 	env LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):$(CURDIR)/debian/tmp/usr/lib" \
+ 	debian/tmp/usr/bin/ffmpeg -codecs | tee $@
+ 
 -binary-indep: build-doxy install
 +binary-indep: install
  
- binary-arch: build install formats.txt
+ binary-arch: build install codecs.txt formats.txt
  	dh_testdir
  	dh_testroot
  	dh_installman -pffmpeg debian/qt-faststart.1
  	dh_installdocs $(extradoc) doc/optimization.txt
  	dh_installdocs -A MAINTAINERS CREDITS doc/TODO
  	dh_installdocs -A debian/README.Debian
- 	dh_installdocs RELEASE
- 	dh_installdocs -p libavcodec-extra-52 formats.txt
 -	dh_installdocs -p libavcodec52 codecs.txt
 -	dh_installdocs -p libavformat52 formats.txt
++	dh_installdocs -p libavcodec-extra-52 codecs.txt
++	dh_installdocs -p libavformat-extra-52 formats.txt
  	dh_installexamples -pffmpeg doc/ffserver.conf debian/recordshow.sh
- 	dh_installexamples -plibavcodec-dev libavcodec/apiexample.c
+ 	dh_installexamples -plibavcodec-dev libavcodec/api-example.c
  	dh_installchangelogs Changelog
  	dh_lintian
  	dh_link
  	dh_compress
  	dh_fixperms
 -	dh_strip --dbg-package=ffmpeg-dbg
 +	dh_strip
  
- # We generate the shlibs file twice: First time for the internal
- # dependencies, and then we regenerate them for inclusion in the
- # packages. The point of this excercice is to have the 'internal'
- # dependencies more strict than 'external' ones. We have implemented this
- # so that mixing ffmpeg libraries with the unofficial ones from
- # debian-multimedia.org will be harder.
- 
  # strict internal dependencies
  	for pkg in $(LIB_PKGS); do \
 -	    upkg=$$(echo "$$pkg" | sed -r 's/([0-9]+)$$/-extra-\1/'); \
 -	    dh_makeshlibs -p"$$pkg" -V"$$pkg (>= $(DEB_VERSION)) | $$upkg (>= $(DEB_VERSION)), $$pkg (< $(EPOCH)$(UPSTREAM_VERSION)-99) | $$upkg (< $(EPOCH)$(UPSTREAM_VERSION)-99)"; \
 +	    dh_makeshlibs -p"$$pkg" -V"$$pkg (>= $(EPOCH)$(UPSTREAM_VERSION)), $$pkg (<< $(EPOCH)$(UPSTREAM_VERSION)-99)"; \
  	done
  	env LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):$(CURDIR)/debian/tmp/usr/lib" \
  	dh_shlibdeps
  # target dependencies for external packages
  	for pkg in $(LIB_PKGS); do \
 -	    upkg=$$(echo "$$pkg" | sed -r 's/([0-9]+)$$/-extra-\1/'); \
 -	    dh_makeshlibs -p"$$pkg" -V"$$pkg (>= $(SHLIBS_VERSION)) | $$upkg (>= $(SHLIBS_VERSION))"; \
 +	    dh_makeshlibs -p"$$pkg" -V"$$pkg (>= $(SHLIBS_VERSION))"; \
  	done
- 
  	dh_installdeb
  	dh_gencontrol -- -Vlib1394-dev="$(lib1394-dev)"
  	dh_md5sums

-- 
FFmpeg packaging



More information about the pkg-multimedia-commits mailing list