--- ffmpeg-debian-0.svn20080206.orig/debian/copyright +++ ffmpeg-debian-0.svn20080206/debian/copyright @@ -0,0 +1,95 @@ +This package was downloaded from the ffmpeg CVS by Sam Hocevar . + +Upstream Authors: Fabrice Bellard + Alex Beregszaszi + BERO + Mario Brito + Ronald Bultje + Tim Ferguson + Brian Foley + Arpad Gereoffy + Philip Gladstone + Vladimir Gneushev + Wolfgang Hesseler + Falk Hueffner + Zdenek Kabelac + Robin Kay + Todd Kirby + Nick Kurshev + Mike Melanson + Michael Niedermayer + François Revol + Roman Shaposhnik + Dieter Shirley + Juan J. Sierralta + Ewald Snel + Leon van Stuivenberg + Roberto Togni + Lionel Ulmer + +Copyright (c) 2000-2004 Fabrice Bellard et al. + +The following files are licensed under the GNU GPL, as clarified below: + + * ffmpeg.c + * libavcodec: + + dtsdec.c + + i386/idct_mmx.c + + liba52/*.[ch] + * libavformat: + + x11grab.c + + gxfenc.c + * libpostproc: + + postprocess_internal.h + + postprocess_altivec_template.c + + postprocess.h + + postprocess_template.c + + postprocess.c + + mangle.h + * libswscale: + + swscale.c + + swscale-example.c + + yuv2rgb_template.c + + swscale_altivec_template.c + + yuv2rgb_altivec.c + + swscale_template.c + + rgb2rgb_template.c + + rgb2rgb.c + + cs_test.c + + yuv2rgb_mlib.c + + yuv2rgb.c + + | This library is free software; you can redistribute it and/or + | modify it under the terms of the GNU General Public License as + | published by the Free Software Foundation; either version 2 of + | the License, or (at your option) any later version. + | + | This library is distributed in the hope that it will be useful, + | but WITHOUT ANY WARRANTY; without even the implied warranty of + | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + | Lesser General Public License for more details. + | + | You should have received a copy of the GNU General Public License + | along with this program; if not, write to the Free Software + | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +The rest of the code is licensed under the GNU LGPL: + + | This library is free software; you can redistribute it and/or + | modify it under the terms of the GNU Lesser General Public License as + | published by the Free Software Foundation; either version 2.1 of + | the License, or (at your option) any later version. + | + | This library is distributed in the hope that it will be useful, + | but WITHOUT ANY WARRANTY; without even the implied warranty of + | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + | Lesser General Public License for more details. + | + | You should have received a copy of the GNU General Public License + | along with this program; if not, write to the Free Software + | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License can be found in `/usr/share/common-licenses/GPL' and the text of the +GNU Lesser General Public License is in `/usr/share/common-licenses/LGPL'. + --- ffmpeg-debian-0.svn20080206.orig/debian/rules +++ ffmpeg-debian-0.svn20080206/debian/rules @@ -0,0 +1,136 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +#export DH_VERBOSE=1 + +DEB_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: //p') +SRC_VERSION := $(shell echo $(DEB_VERSION) | cut -d '-' -f 1) +SVN_VERSION := $(shell echo $(SRC_VERSION) | sed -ne 's/^[0-9]\.[a-z]*//p') + +LIBS := libavutil libavcodec libpostproc libavformat libavdevice libswscale + +include debian/confflags + +$(info Building FFmpeg for flavors: $(FLAVORS)) +$(info DEB_BUILD_OPTIONS are: $(DEB_BUILD_OPTIONS)) +$(info Using as CFLAGS: $(CFLAGS)) + +config-extra-includes.h: + sh debian/fixup-config.sh > $@ + +configure-%: configure-%-stamp +configure-%-stamp: $(QUILT_STAMPFN) config-extra-includes.h + dh_testdir + mkdir -p debian-$* + cd debian-$* && CFLAGS="$(CFLAGS)" ../configure $($*_build_confflags) +ifeq (,$(findstring internalencoders,$(DEB_BUILD_OPTIONS))) + echo "#include \"config-extra-includes.h\"" >> debian-$*/config.h +endif + touch $@ + +build-%: build-%-stamp +build-%-stamp: configure-%-stamp + dh_testdir + $(MAKE) -C debian-$* -j $(NJOBS) + touch $@ + +debian-shared/tools/qt-faststart: build-shared-stamp + $(MAKE) -C debian-shared tools/qt-faststart + +build-doxy: build-doxy-stamp +build-doxy-stamp: $(QUILT_STAMPFN) + dh_testdir + doxygen + touch $@ + +BUILD_STAMPS=$(foreach flavor,$(FLAVORS),build-$(flavor)-stamp) +build: build-stamp +build-stamp: $(BUILD_STAMPS) debian-shared/tools/qt-faststart + touch $@ + +clean: clean-real unpatch +clean-real: + dh_testdir + dh_testroot + rm -f build-stamp build-*-stamp configure-*-stamp patch-stamp + rm -rf $(foreach flavor,$(FLAVORS),debian-$(flavor)) doxy + dh_clean config-extra-includes.h debian/tmp.debhelper.log + +get-orig-source: + dh_testdir +ifeq (,$(findstring internalencoders,$(DEB_BUILD_OPTIONS))) + # Disable potentially dangerous patented code + chmod +x debian/strip.sh + sh debian/get-orig-source.sh -r{$(SVN_VERSION)} \ + -c $(CURDIR)/debian/strip.sh \ + -o ../ffmpeg-debian_$(SRC_VERSION).orig.tar.gz +else + sh debian/get-orig-source.sh -r{$(SVN_VERSION)} \ + -o ../ffmpeg_$(SRC_VERSION).orig.tar.gz +endif + +define install_flavor + $(MAKE) -C debian-$(1) install DESTDIR=$(CURDIR)/debian/tmp/ \ + mandir=$(CURDIR)/debian/tmp/usr/share/man + +endef + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs -ptmp usr/share/doc/ffmpeg/html etc + dh_installdirs -ptmp usr/share/doc/ffmpeg-doc/html + $(foreach flavor,$(FLAVORS),$(call install_flavor,$(flavor))) + cp -a libavcodec/dsputil.h debian/tmp/usr/include/ffmpeg + cp debian-shared/doc/*.html debian/tmp/usr/share/doc/ffmpeg/html/ +# dont fail on binary-indep only builds. + if test -d doxy; then \ + cp doxy/html/* debian/tmp/usr/share/doc/ffmpeg-doc/html/; \ + fi + cp doc/ffserver.conf debian/tmp/etc/ + cp debian-shared/tools/qt-faststart debian/tmp/usr/bin/qt-faststart + dh_install --fail-missing --sourcedir=debian/tmp + +binary-indep: build-doxy install + +define call_dh_makeshlibs + dh_makeshlibs -p $(1)$(2) \ + -V "$(1)$(2) (>= $(SRC_VERSION)-8) | $(1)-unstripped-$(2) (>= $(SRC_VERSION)-8)" +endef + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs $(extradoc) doc/optimization.txt + dh_installdocs -A MAINTAINERS CREDITS doc/TODO + dh_installdocs -A debian/patents.txt debian/README.Debian + dh_installexamples -pffmpeg doc/ffserver.conf debian/recordshow.sh + dh_installexamples -plibavcodec-dev libavcodec/apiexample.c + dh_installchangelogs Changelog + dh_link + dh_strip --dbg-package=ffmpeg-dbg + dh_compress + dh_fixperms +# NB: The following is pretty whitespace sensitive + $(call call_dh_makeshlibs,libavutil,49) + $(call call_dh_makeshlibs,libavcodec,51) + $(call call_dh_makeshlibs,libavdevice,52) + $(call call_dh_makeshlibs,libpostproc,51) + $(call call_dh_makeshlibs,libavformat,52) + $(call call_dh_makeshlibs,libswscale,0) + dh_installdeb + dh_shlibdeps + dh_gencontrol -- -Vlib1394-dev="$(lib1394-dev)" + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +.PHONY: build build-shared build-static build-doxy \ + clean clean-real \ + configure configure-shared configure-static \ + binary binary-indep binary-arch \ + install \ + patch --- ffmpeg-debian-0.svn20080206.orig/debian/README.Debian +++ ffmpeg-debian-0.svn20080206/debian/README.Debian @@ -0,0 +1,169 @@ +FFmpeg names +============ + +The ffmpeg packaging has seen many renames in the course of its history. +Looking for more stable names, the ffmpeg maintainers agreed on moving to +a naming scheme which would fit known use cases and avoid confusion. + +Some of the constraints and proposed solutions on the new names follow: + + 1. Distributions such as Debian and Ubuntu want to carry multiple version of + the source package to fit component divisions and please users; e.g. an + Ubuntu/universe and an Ubuntu/multiverse version, or a Debian/main and a + Debian/non-free version. It is conceived that there are usually two + sources in these distributions: a) the vanilla upstream source shipped in + the most permissible component if possible and b) a stripped source + suitable for the most constrained component. It seems natural to use the + "ffmpeg" source package name for the former and a branch package name for + the later such as "ffmpeg-debian". + + For details why such a stripping is necessary in the first place, please + look further below in this document ("Disabled MPEG encoders"). + + 2. Packages from distributions and third party repositories such as the popular + debian-multimedia.org shouldn't interfere but coexist nicely. If these + repositories want to provide an alternate version of the source package, + they could do so with their own source and binary package names. It is + hoped that providing the vanilla source in one of the source packages will + remove the need to fork ffmpeg in these third party repositories. + + 3. The libraries built by various source packages shall be ABI compatible as + to allow packages built against the most constrained component to run + against the more permissible components; for instance vlc if built against + ffmpeg in main shall be able to run against the ffmpeg libraries from + non-free. The plan here is to use shlibs tricks to allow to install one + lib or the other. The shlibs would look like: + lib-name-in-main-99 (>= 1.2.3) | lib-name-in-non-free-99 (>= 1.2.3) + This scheme can be extended for third party repositories if it still needs + to be. + +These new package names were imaginated at the time where the package names +were as follow in Debian and Ubuntu (July 2008). +debian: + ffmpeg | 0.cvs20050313-2sarge1 | oldstable + ffmpeg | 0.cvs20060823-8 | stable +ffmpeg-free | 0.svn20080206-8 | testing +ffmpeg-debian | 0.svn20080206-9 | unstable +ubuntu: + ffmpeg | 3:0.cvs20070307-5ubuntu4 | gutsy + ffmpeg | 3:0.cvs20070307-5ubuntu7 | hardy +ffmpeg-debian | 3:0.svn20080206-9ubuntu1 | intrepid + +Source Version Binaries +------------------------------------------------ +ffmpeg 0.cvs20050313-2sarge1 ffmpeg, libavcodec-dev, + libavformat-dev, libpostproc-dev +ffmpeg 0.cvs20060823-8 ffmpeg, libavcodec-dev, libavcodec0d, + libavformat-dev, libavformat0d, + libpostproc-dev, libpostproc0d +ffmpeg-debian 0.svn20080206-9 ffmpeg, ffmpeg-dbg, libavutil49, + libavcodec51, libavdevice52, + libpostproc51, libavformat52, + libswscale0, libavutil-dev, + libavcodec-dev, libavdevice-dev, + libpostproc-dev, libavformat-dev, + libswscale-dev + +For consistency at this date, Debian is missing a ffmpeg unstripped +source package and Ubuntu had two source packages in the same component +for a short time. The binary package names are not unified and shlibs +do not allow to install one or the other library. + +To avoid gratuitous package renames, the proposed changes against the above +packages are: + + * The renaming of the binary packages in main will be postponed until + the next SONAME bump to avoid unnecessary renaming. + + * For Debian and Ubuntu the binary packages in the 'main' will be named on + the next soname change: + + - libavcodec-stripped-52 + - libavformat-stripped-52 + - libavdevice-stripped-52 + - libavutil-stripped-52 + - libpostproc-stripped-52 + + and so on. + + * the unstripped replacement package in the 'non-free' (Debian) and + 'multiverse' (ubuntu) component will be named as above without the + '-stripped-' marker in the name. + + * Only until the next SONAME bump happens: an unstripped replacement package + for the stripped 'libavcodec51' can provided e.g. in ubuntu multiverse with + the name 'libavcodec-unstripped-51'. This is implemented by generating an + shlibs file containing an alternative depedency. + + * Ubuntu will track the ffmpeg packages in Debian and tries to minimize the + diff for maintenance reason. + + * If you disagree with the naming, please speak up on + pkg-multimedia-maintainers@lists.alioth.debian.org + + + -- Reinhard Tartler Wed, 02 Jul 2008 08:08:56 +0200 + + +Disabled MPEG encoders +====================== + +On Debconf 7, the ffmpeg maintainers had a conversation with James Troup +from the ftpteam about mpeg encoders in the ffmpeg package. The ftpteam +was pretty surprised about the accepted encoders, and admitted that they +were accepted by accident. We therefore had no choice but removing +them. We agreed on a plan that rather disables than removes the +encoders, for details see debian/strip.sh, rendering those encoders +unusable. + +In order to make this fact visible, the source package was renamed from +ffmpeg to ffmpeg-free. The plan is to provide a source package called +'ffmpeg' (without the -free) suffix, which builds drop-in replacement +binary package with the mpeg encoders enabled. Ideally, we would be +allowed to include those mpeg encoders enabled in non-free, but we +haven't heared back from the ftpteam about that idea. + + -- Reinhard Tartler , Sun, 20 Apr 2008 08:43:23 +0200 + + +Notes for the Debian ffmpeg packages +==================================== + + The license for the whole work is the GPL, not the LGPL, because GPL-only +parts of ffmpeg were activated. If you need LGPL versions of the libraries, +please comment out the appropriate lines in debian/confflags. + + +Summary of the patent issues with ffmpeg +======================================== + + The only patents related to ffmpeg which seem to be enforced against open +source software cover the following codec technologies and file formats: + + * MP3 encoding + * AAC encoding + * the ASF file format + + I did not activate MP3 encoding (through LAME) in libavcodec, nor AAC +encoding (through FAAC). However, since I have found no real enforcement +of the mysterious ASF file format patents, I did not deactivate ASF support in +libavformat. See more details in the patents.txt file. + + +Differences with unofficial ffmpeg packages +=========================================== + + There are popular unofficial ffmpeg packages at the following URL: + + http://www.debian-multimedia.org/ + + I have nothing to do with these packages and it would be very tedious +for me to track their changes. Given that my official packages use a +Debian-specific naming scheme for libraries, you should be able to +install at least the shared library packages together. + + Before submitting a bug report, please make sure it is related to the +Debian packages and not those unofficial packages. + + + -- Sam Hocevar Thu, 30 Mar 2006 10:23:16 +0200 --- ffmpeg-debian-0.svn20080206.orig/debian/control +++ ffmpeg-debian-0.svn20080206/debian/control @@ -0,0 +1,256 @@ +Source: ffmpeg-debian +Section: libs +Priority: optional +Maintainer: Reinhard Tartler +Original-Maintainer: Debian multimedia packages maintainers +Uploaders: Sam Hocevar (Debian packages) , + Loic Minier , + Reinhard Tartler , + Fabian Greffrath +Build-Depends: debhelper (>= 5.0.0), + doxygen, + libdc1394-22-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386] | libdc1394-13-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], + libfreetype6-dev, + libgsm1-dev, + libimlib2-dev, + libraw1394-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], + libsdl1.2-dev, + libtheora-dev (>> 0.0.0.alpha4), + libvorbis-dev, + libx11-dev, + libxext-dev, + quilt, + texi2html, + zlib1g-dev +Standards-Version: 3.7.3 +Vcs-Svn: svn://svn.debian.org/pkg-multimedia/unstable/ffmpeg/debian/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-multimedia/unstable/ffmpeg/debian/ +Homepage: http://ffmpeg.mplayerhq.hu/ + +Package: ffmpeg +Section: graphics +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: libs +Priority: extra +Architecture: any +Depends: libavutil49 (= ${binary:Version}), + libavcodec51 (= ${binary:Version}), + libavdevice52 (= ${binary:Version}), + libpostproc51 (= ${binary:Version}), + libavformat52 (= ${binary:Version}), + libswscale0 (= ${binary:Version}), + ffmpeg (= ${binary:Version}) +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: libavutil49 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Conflicts: libavutilcvs49 +Replaces: libavutilcvs49 +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 + object that should only be used by Debian packages. + +Package: libavcodec51 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Conflicts: libavcodeccvs51 +Replaces: libavcodeccvs51 +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 + object that should only be used by Debian packages. + +Package: libavdevice52 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Conflicts: libavdevicecvs52 +Replaces: libavdevicecvs52 +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 + object that should only be used by Debian packages. + +Package: libpostproc51 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Conflicts: libpostproccvs51 +Replaces: libpostproccvs51 +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: libavformat52 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Conflicts: libavformatcvs52 +Replaces: libavformatcvs52 +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. + +Package: libswscale0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Conflicts: libswscalecvs0 +Replaces: libswscalecvs0 +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 + object that should only be used by Debian packages. + +Package: libavutil-dev +Section: libdevel +Architecture: any +Depends: libavutil49 (= ${binary:Version}) +Conflicts: libavformat-dev (<< 3:0.cvs20060329-4), + libavcodec-dev (<< 0.svn20080206-7), + libavutilcvs49-dev, + libavutilcvs-dev +Replaces: libavformat-dev (<< 3:0.cvs20060329-4), + libavcodec-dev (<< 3:0.svn20080206-7), + libavutilcvs49-dev, + libavutilcvs-dev +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 +Architecture: any +Depends: libavcodec51 (= ${binary:Version}), + libavutil-dev (= ${binary:Version}), + libgsm1-dev, + libogg-dev, + libtheora-dev (>> 0.0.0.alpha4), + libvorbis-dev, + zlib1g-dev, + ${lib1394-dev} +Conflicts: libavformat-dev (<< 3:0.cvs20060329-4), + libavutil-dev (<< 3:0.svn20080206-8), + libavcodeccvs51-dev, + libavcodeccvs-dev +Replaces: libavformat-dev (<< 3:0.cvs20060329-4), + libavutil-dev (<< 3:0.svn20080206-8), + libavcodeccvs51-dev, + libavcodeccvs-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. + +Package: libavdevice-dev +Section: libdevel +Architecture: any +Depends: libavdevice52 (= ${binary:Version}), + libavformat-dev (= ${binary:Version}) +Conflicts: libavformat-dev (<< 3:0.cvs20060329-4), + libavdevicecvs52-dev, + libavdevicecvs-dev +Replaces: libavformat-dev (<< 3:0.cvs20060329-4), + libavdevicecvs52-dev, + libavdevicecvs-dev +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: libpostproc-dev +Section: libdevel +Architecture: any +Depends: libpostproc51 (= ${binary:Version}), + libavcodec-dev (= ${binary:Version}) +Conflicts: libpostproccvs51-dev, + libpostproccvs-dev +Replaces: libpostproccvs51-dev, + libpostproccvs-dev +Description: development files for libpostproc + This is the video postprocessing library from the ffmpeg project. + . + This package contains the header files and static libraries needed to + compile applications or shared objects that use libpostproc. + +Package: libavformat-dev +Section: libdevel +Architecture: any +Depends: libavformat52 (= ${binary:Version}), + libavcodec-dev (= ${binary:Version}) +Conflicts: libavcodec-dev (<< 3:0.cvs20060306-1), + libavformatcvs51-dev, + libavformatcvs52-dev, + libavformatcvs-dev +Replaces: libavcodec-dev (<< 3:0.cvs20060306-1), + libavformatcvs51-dev, + libavformatcvs52-dev, + libavformatcvs-dev +Description: development files for libavformat + 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. + +Package: libswscale-dev +Section: libdevel +Architecture: any +Depends: libswscale0 (= ${binary:Version}), + libavutil-dev (= ${binary:Version}) +Conflicts: libswscalecvs0-dev, + libswscalecvs-dev +Replaces: libswscalecvs0-dev, + libswscalecvs-dev +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. --- ffmpeg-debian-0.svn20080206.orig/debian/get-orig-source.sh +++ ffmpeg-debian-0.svn20080206/debian/get-orig-source.sh @@ -0,0 +1,99 @@ +#!/bin/sh +# +# Script to create a 'pristine' tarball for the debian ffmpeg source package +# Copyright (C) 2008, Reinhard Tartler +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +set -eu + +usage() { + cat >&2 <&2 +} + +error () { + echo "$1" >&2 + exit 1; +} + +set +e +PARAMS=`getopt hr:c:o: "$@"` +if test $? -ne 0; then usage; exit 1; fi; +set -e + +eval set -- "$PARAMS" + +DEBUG=false +REVISION= +CLEANUPSCRIPT= +TARBALL= + +while test $# -gt 0 +do + case $1 in + -h) usage; exit 1 ;; + -r) REVISION=$2; shift ;; + -c) CLEANUPSCRIPT=$2; shift ;; + -o) TARBALL=$2; shift ;; + --) shift ; break ;; + *) echo "Internal error!" ; exit 1 ;; + esac + shift +done + +if [ -z $REVISION ]; then + error "you need to specify an svn revision" +fi + +if [ -z $TARBALL ]; then + error "you need to specify a tarballname" +fi + +if [ -n $CLEANUPSCRIPT ] && [ -f $CLEANUPSCRIPT ]; then + if [ ! -x $CLEANUPSCRIPT ]; then + error "$CLEANUPSCRIPT must be executable" + fi +fi + +TMPDIR=`mktemp -d` +trap 'rm -rf ${TMPDIR}' EXIT + +svn export -r${REVISION} \ + svn://svn.mplayerhq.hu/ffmpeg/trunk \ + ${TMPDIR}/ffmpeg + +# libswscale is just an unversioned redirect, so we have to export it properly by hand +rm -rf ${TMPDIR}/ffmpeg/libswscale + +svn export -r${REVISION} \ + svn://svn.mplayerhq.hu/mplayer/trunk/libswscale \ + ${TMPDIR}/ffmpeg/libswscale + +if [ -n ${CLEANUPSCRIPT} ]; then + ( cd ${TMPDIR}/ffmpeg && ${CLEANUPSCRIPT} ) +fi + +tar czf ${TARBALL} -C ${TMPDIR} ffmpeg + --- ffmpeg-debian-0.svn20080206.orig/debian/confflags +++ ffmpeg-debian-0.svn20080206/debian/confflags @@ -0,0 +1,143 @@ +# -*- mode: makefile -*- +# +# build a static version on every architecture +# shared is generic, i.e. without arch specific opcodes +FLAVORS := static shared + +export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +export DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) + +# the other flavors always build dynamic versions +ifeq ($(DEB_HOST_ARCH),i386) +FLAVORS += cmov +else ifeq ($(DEB_HOST_ARCH),powerpc) +FLAVORS += altivec +else ifeq ($(DEB_HOST_ARCH),sparc) +FLAVORS += vis +endif + +# Comment out the following lines for LGPL versions of the libraries +gpl_confflags := --enable-gpl +gpl_confflags += --enable-pp +gpl_confflags += --enable-swscaler +gpl_confflags += --enable-x11grab + +# Common configuration flags +confflags := $(gpl_confflags) +confflags += --prefix=/usr +confflags += --enable-libgsm +confflags += --enable-libtheora +confflags += --enable-libvorbis +confflags += --enable-pthreads +confflags += --disable-strip + +# Enable IEEE 1394 (FireWire) support on Linux only +ifneq (,$(findstring linux,$(DEB_HOST_GNU_TYPE))) + confflags += --enable-libdc1394 + lib1394-dev = libraw1394-dev, libdc1394-22-dev | libdc1394-13-dev +else + lib1394-dev = +endif + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS := +# Various parts of ffmpeg (and swscale) FTBFS when compiling with -fPIC +# and with mmx code enabled. + confflags += --disable-optimizations + confflags += --disable-mmx +else + CFLAGS := +endif + +# Support for additional external codecs +ifneq (,$(findstring externalcodecs,$(DEB_BUILD_OPTIONS))) +# Uncomment the following lines to allow the use of nonfree code, +# the resulting packages will be unredistributable! +# weak-build-deps += libamrnb-dev +# confflags += --enable-nonfree --enable-libamr-nb +# weak-build-deps += libamrwb-dev +# confflags += --enable-nonfree --enable-libamr-wb + weak-build-deps += libmp3lame-dev | liblame-dev + confflags += --enable-libmp3lame + weak-build-deps += libfaac-dev + confflags += --enable-libfaac + weak-build-deps += libxvidcore-dev | libxvidcore4-dev + confflags += --enable-gpl --enable-libxvid + weak-build-deps += libx264-dev + confflags += --enable-gpl --enable-libx264 + $(warning Make sure these packages are installed: $(weak-build-deps)) +endif + +# Disable architecture-specific optimizations for default shared build +nooptflags += --disable-armv5te --disable-armv6 +nooptflags += --disable-altivec +nooptflags += --disable-vis + +# Configuration flags for the static libraries +static_build_confflags := $(confflags) +static_build_confflags += --disable-ffmpeg +static_build_confflags += --disable-vhook +static_build_confflags += --disable-ffserver +static_build_confflags += --disable-ffplay + +# Configuration flags for the non-optimized shared libraries +shared_build_confflags := $(confflags) +# amd64 has no problems with optimized shared libs. i386 and arm do. +ifneq ($(DEB_HOST_ARCH),amd64) +shared_build_confflags += $(nooptflags) +endif +shared_build_confflags += --enable-shared +shared_build_confflags += --disable-static + +## i386 architecture specific +# Configuration flags for the optimized shared libraries +cmov_build_confflags := $(confflags) +cmov_build_confflags += $(nooptflags) +cmov_build_confflags += --shlibdir=/usr/lib/i686/cmov +cmov_build_confflags += --cpu='i686' +cmov_build_confflags += --enable-shared +cmov_build_confflags += --disable-static +cmov_build_confflags += --disable-ffmpeg +cmov_build_confflags += --disable-vhook +cmov_build_confflags += --disable-ffserver +cmov_build_confflags += --disable-ffplay + +## powerpc architecture specific +# Configuration flags for the optimized shared libraries +altivec_build_confflags := $(confflags) +altivec_build_confflags += --shlibdir=/usr/lib/altivec +altivec_build_confflags += --cpu='g4' +altivec_build_confflags += --enable-shared +altivec_build_confflags += --disable-static +altivec_build_confflags += --extra-cflags="-fPIC -DPIC" +altivec_build_confflags += --enable-altivec +altivec_build_confflags += --disable-ffmpeg +altivec_build_confflags += --disable-vhook +altivec_build_confflags += --disable-ffserver +altivec_build_confflags += --disable-ffplay + +## sparc architecture specific +# Configuration flags for the optimized shared libraries +vis_build_confflags := $(confflags) +vis_build_confflags += --shlibdir=/usr/lib/v9 +vis_build_confflags += --cpu='sparc64' +vis_build_confflags += --enable-shared +vis_build_confflags += --disable-static +vis_build_confflags += --extra-cflags="-fPIC -DPIC" +vis_build_confflags += --disable-ffmpeg +vis_build_confflags += --disable-vhook +vis_build_confflags += --disable-ffserver +vis_build_confflags += --disable-ffplay + +# Support multiple makes at once (taken from the qemu package) +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NJOBS := $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +else + NJOBS := 1 +endif + +# Additional documentation for PowerPC +ifneq (,$(findstring powerpc,$(DEB_BUILD_GNU_TYPE))) + extradoc = doc/ffmpeg_powerpc_performance_evaluation_howto.txt +endif --- ffmpeg-debian-0.svn20080206.orig/debian/libavcodec51.install +++ ffmpeg-debian-0.svn20080206/debian/libavcodec51.install @@ -0,0 +1 @@ +usr/lib/{,*/,*/*/}libavcodec.so.* --- ffmpeg-debian-0.svn20080206.orig/debian/patches/010_proper_rpath.diff +++ ffmpeg-debian-0.svn20080206/debian/patches/010_proper_rpath.diff @@ -0,0 +1,15 @@ +This can be dropped on the next ffmpeg update. (20080606) + +Index: ffmpeg.20080206/configure +=================================================================== +--- ffmpeg.20080206.orig/configure 2008-03-15 22:51:31.000000000 +0100 ++++ ffmpeg.20080206/configure 2008-03-15 22:51:58.000000000 +0100 +@@ -922,7 +922,7 @@ + # build settings + SHFLAGS='-shared -Wl,-soname,$@' + VHOOKSHFLAGS='$(SHFLAGS)' +-LDLATEFLAGS='-Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil' ++LDLATEFLAGS='-Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil -Wl,-rpath-link,\$(BUILD_ROOT)/libswscale' + FFSERVERLDFLAGS=-Wl,-E + LDCONFIG="ldconfig" + LIBPREF="lib" --- ffmpeg-debian-0.svn20080206.orig/debian/patches/series +++ ffmpeg-debian-0.svn20080206/debian/patches/series @@ -0,0 +1,7 @@ +010_proper_rpath.diff +013_strip_unneeded_linker_flags.diff +015_reenable-img_convert.diff +020_fix_libswscale_pic_code +020_bug489965_bufferoverflow_str_demuxer.diff +300_c++_compliant_headers.diff +900_doxyfile --- ffmpeg-debian-0.svn20080206.orig/debian/patches/300_c++_compliant_headers.diff +++ ffmpeg-debian-0.svn20080206/debian/patches/300_c++_compliant_headers.diff @@ -0,0 +1,29 @@ +The following patch has been discussed on #ffmpeg-devel on 2008-06-03: + +16:30:04 <@DonDiego> 300_c++_compliant_headers.diff +16:30:13 <@DonDiego> siretart: this patch is wrong for two reasons +16:31:21 <@DonDiego> 1) the header is not #included everywhere that INT64_C is used +16:31:44 <@DonDiego> 2) if this is required for C++, then C++ programs should add the definition themselves +16:31:53 <@DonDiego> it has no place in a C-only library + +Todo: Check if any package actually relies on that. + +Index: ffmpeg.20080206/libavcodec/avcodec.h +=================================================================== +--- ffmpeg.20080206.orig/libavcodec/avcodec.h 2008-03-15 22:59:25.000000000 +0100 ++++ ffmpeg.20080206/libavcodec/avcodec.h 2008-03-15 23:12:06.000000000 +0100 +@@ -30,6 +30,14 @@ + #include "avutil.h" + #include /* size_t */ + ++#if !defined INT64_C ++#if defined __WORDSIZE && __WORDSIZE == 64 ++#define INT64_C(c) c ## L ++#else ++#define INT64_C(c) c ## LL ++#endif ++#endif ++ + #define AV_STRINGIFY(s) AV_TOSTRING(s) + #define AV_TOSTRING(s) #s + --- ffmpeg-debian-0.svn20080206.orig/debian/patches/015_reenable-img_convert.diff +++ ffmpeg-debian-0.svn20080206/debian/patches/015_reenable-img_convert.diff @@ -0,0 +1,58 @@ +This patch reenables build imgressample. Unlike previous version of this +patch, this uses a more lightweight approach. + +With building imgresample, a few symbol clashes occur with libswscale. We +therefore strip off symbols that are already provided by libswscale. + +References: + + +http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/ffmpeg/current/SOURCES/ffmpeg-reenable-imgresample.patch?revision=207573&view=markup + +--- a/libavcodec/Makefile ++++ b/libavcodec/Makefile +@@ -351,9 +351,7 @@ OBJS-$(HAVE_W32THREADS) + + + OBJS-$(HAVE_XVMC_ACCEL) += xvmcvideo.o + +-ifneq ($(CONFIG_SWSCALER),yes) + OBJS += imgresample.o +-endif + + # processor-specific code + ifeq ($(HAVE_MMX),yes) +--- a/libavcodec/imgconvert.c ++++ b/libavcodec/imgconvert.c +@@ -2324,7 +2324,7 @@ int img_pad(AVPicture *dst, const AVPict + } + #endif + +-#ifndef CONFIG_SWSCALER ++#if 1 + /* XXX: always use linesize. Return -1 if not supported */ + int img_convert(AVPicture *dst, int dst_pix_fmt, + const AVPicture *src, int src_pix_fmt, +--- a/libavcodec/imgresample.c ++++ b/libavcodec/imgresample.c +@@ -512,6 +512,12 @@ void img_resample_close(ImgReSampleConte + av_free(s); + } + ++/* ++ * the following symbols are provided by libswscale. Disable them in ++ * libavcodec so that applications can actually link against both ++ * avcodec and libswscale. ++ */ ++#if 0 + struct SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, + int dstW, int dstH, int dstFormat, + int flags, SwsFilter *srcFilter, +@@ -688,7 +694,7 @@ the_end: + av_free(buf2); + return res; + } +- ++#endif + + #ifdef TEST + #include --- ffmpeg-debian-0.svn20080206.orig/debian/patches/013_strip_unneeded_linker_flags.diff +++ ffmpeg-debian-0.svn20080206/debian/patches/013_strip_unneeded_linker_flags.diff @@ -0,0 +1,37 @@ +The following patch has been discussed on #ffmpeg-devel on 2008-06-03: + +16:35:29 <@DonDiego> 013_strip_unneeded_linker_flags.diff +16:35:33 <@DonDiego> won't apply anymore +16:35:41 <@DonDiego> and i think it is unnecessary now +16:35:55 <@DonDiego> we did enough fixes for pkg-config recently +16:37:04 < siretart> what does 'recently' mean? ;) +16:37:38 <@DonDiego> during the past weeks +16:37:50 <@DonDiego> the last one yesterday +16:37:59 <@DonDiego> no known pkg-config bugs remain +16:38:07 < siretart> I noticed that nowadays configure has completly rewritten pkgconfig_generate shell functions. +16:38:14 <@DonDiego> yes +16:38:23 < siretart> ah, okay, this mean I can drop it next time I update ffmpeg. I'll make a note about this in the patch header +16:38:25 <@DonDiego> courtesy of myself +16:38:38 < siretart> thanks! + + +Index: ffmpeg/configure +=================================================================== +--- ffmpeg.orig/configure 2008-05-29 15:39:38.000000000 +0200 ++++ ffmpeg/configure 2008-05-29 15:39:43.000000000 +0200 +@@ -2170,11 +2170,11 @@ + pkgconfig_generate libavutil "FFmpeg utility library" "$lavu_version" -lavutil "" ffmpeg + pkgconfig_generate_uninstalled libavutil "FFmpeg utility library" "$lavu_version" + +-pkgconfig_generate libavcodec "FFmpeg codec library" "$lavc_version" "-lavcodec $extralibs" "$pkg_requires libavutil = $lavu_version" ffmpeg +-pkgconfig_generate_uninstalled libavcodec "FFmpeg codec library" "$lavc_version" "$extralibs" "$pkg_requires libavutil = $lavu_version" ++pkgconfig_generate libavcodec "FFmpeg codec library" "$lavc_version" "-lavcodec" "$pkg_requires libavutil = $lavu_version" ffmpeg ++pkgconfig_generate_uninstalled libavcodec "FFmpeg codec library" "$lavc_version" "" "$pkg_requires libavutil = $lavu_version" + +-pkgconfig_generate libavformat "FFmpeg container format library" "$lavf_version" "-lavformat $extralibs" "$pkg_requires libavcodec = $lavc_version" ffmpeg +-pkgconfig_generate_uninstalled libavformat "FFmpeg container format library" "$lavf_version" "$extralibs" "$pkg_requires libavcodec = $lavc_version" ++pkgconfig_generate libavformat "FFmpeg container format library" "$lavf_version" "-lavformat" "$pkg_requires libavcodec = $lavc_version" ffmpeg ++pkgconfig_generate_uninstalled libavformat "FFmpeg container format library" "$lavf_version" "" "$pkg_requires libavcodec = $lavc_version" + + pkgconfig_generate libavdevice "FFmpeg device handling library" "$lavd_version" "-lavdevice $extralibs" "$pkg_requires libavformat = $lavf_version" ffmpeg + pkgconfig_generate_uninstalled libavdevice "FFmpeg device handling library" "$lavd_version" "$extralibs" "$pkg_requires libavformat = $lavf_version" --- ffmpeg-debian-0.svn20080206.orig/debian/patches/900_doxyfile +++ ffmpeg-debian-0.svn20080206/debian/patches/900_doxyfile @@ -0,0 +1,13 @@ +Index: ffmpeg-0.svn20080626/Doxyfile +=================================================================== +--- ffmpeg-0.svn20080626.orig/Doxyfile 2008-06-26 15:36:33.000000000 +0100 ++++ ffmpeg-0.svn20080626/Doxyfile 2008-06-26 15:37:40.000000000 +0100 +@@ -359,7 +359,7 @@ + # excluded from the INPUT source files. This way you can easily exclude a + # subdirectory from a directory tree whose root is specified with the INPUT tag. + +-EXCLUDE = ++EXCLUDE = debian debian-shared debian-static debian-cmov .pc + + # The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories + # that are symbolic links (a Unix filesystem feature) are excluded from the input. --- ffmpeg-debian-0.svn20080206.orig/debian/patches/020_fix_libswscale_pic_code +++ ffmpeg-debian-0.svn20080206/debian/patches/020_fix_libswscale_pic_code @@ -0,0 +1,36 @@ +The following patch has been discussed on #ffmpeg-devel on 2008-06-02: + +03:14:18 <@astrange> swscale+mmx2+x86-64 was fixed a while ago +03:15:03 <@DonDiego> siretart: one less patch for you.. +12:44:59 < siretart> DonDiego: however, do you know what 'some time ago' means? + a commit number or at least a month would help me to + determine if the snapshot I have in debian is affected + or not +12:45:35 <@DonDiego> or wait, let me look at the logs.. +12:46:40 <@DonDiego> r26270 | diego | 2008-03-22 19:22:53 +0100 (Sat, 22 Mar 2008) | 3 lines + +status: still needs investigation/backport of that revision and a testbuild on amd64. + + +Index: ffmpeg.20080206/libswscale/swscale.c +=================================================================== +--- ffmpeg.20080206.orig/libswscale/swscale.c 2008-01-29 15:58:10.000000000 +0100 ++++ ffmpeg.20080206/libswscale/swscale.c 2008-03-15 23:11:50.000000000 +0100 +@@ -1357,7 +1357,7 @@ + return 0; + } + +-#ifdef COMPILE_MMX2 ++#if defined (COMPILE_MMX2) && !defined(ARCH_X86_64) + static void initMMX2HScaler(int dstW, int xInc, uint8_t *funnyCode, int16_t *filter, int32_t *filterPos, int numSplits) + { + uint8_t *fragmentA; +@@ -2300,7 +2300,7 @@ + srcFilter->chrH, dstFilter->chrH, c->param); + + #define MAX_FUNNY_CODE_SIZE 10000 +-#if defined(COMPILE_MMX2) ++#if defined (COMPILE_MMX2) && !defined(ARCH_X86_64) + // can't downscale !!! + if (c->canMMX2BeUsed && (flags & SWS_FAST_BILINEAR)) + { --- ffmpeg-debian-0.svn20080206.orig/debian/patches/020_bug489965_bufferoverflow_str_demuxer.diff +++ ffmpeg-debian-0.svn20080206/debian/patches/020_bug489965_bufferoverflow_str_demuxer.diff @@ -0,0 +1,76 @@ +From: Moritz Muehlenhoff +Subject: Bug#489965: libavformat52: Buffer overflow in STR demuxer +To: Debian Bug Tracking System +Date: Wed, 09 Jul 2008 01:08:43 +0200 +Resent-From: Moritz Muehlenhoff +Reply-To: Moritz Muehlenhoff , 489965@bugs.debian.org + +Package: libavformat52 +Version: 0.svn20080206-9 +Severity: grave +Tags: security +Justification: user security hole + +I noticed the following issue when browsing ffmpeg commit logs: + +http://svn.mplayerhq.hu/ffmpeg?view=rev&revision=13993 +https://roundup.mplayerhq.hu/roundup/ffmpeg/issue311 + + + + + +The following patch is taken from upstream svn, revision 13993. + +--- a/libavformat/psxstr.c ++++ b/libavformat/psxstr.c +@@ -276,12 +276,23 @@ static int str_read_packet(AVFormatConte + int current_sector = AV_RL16(§or[0x1C]); + int sector_count = AV_RL16(§or[0x1E]); + int frame_size = AV_RL32(§or[0x24]); +- int bytes_to_copy; ++ ++ if(!( frame_size>=0 ++ && current_sector < sector_count ++ && sector_count*VIDEO_DATA_CHUNK_SIZE >=frame_size)){ ++ av_log(s, AV_LOG_ERROR, "Invalid parameters %d %d %d\n", current_sector, sector_count, frame_size); ++ return AVERROR_INVALIDDATA; ++ } ++ + // printf("%d %d %d\n",current_sector,sector_count,frame_size); + /* if this is the first sector of the frame, allocate a pkt */ + pkt = &str->tmp_pkt; +- if (current_sector == 0) { +- if (av_new_packet(pkt, frame_size)) ++ ++ if(pkt->size != sector_count*VIDEO_DATA_CHUNK_SIZE){ ++ if(pkt->data) ++ av_log(s, AV_LOG_ERROR, "missmatching sector_count\n"); ++ av_free_packet(pkt); ++ if (av_new_packet(pkt, sector_count*VIDEO_DATA_CHUNK_SIZE)) + return AVERROR(EIO); + + pkt->pos= url_ftell(pb) - RAW_CD_SECTOR_SIZE; +@@ -295,15 +306,15 @@ static int str_read_packet(AVFormatConte + str->pts += (90000 / 15); + } + +- /* load all the constituent chunks in the video packet */ +- bytes_to_copy = frame_size - current_sector*VIDEO_DATA_CHUNK_SIZE; +- if (bytes_to_copy>0) { +- if (bytes_to_copy>VIDEO_DATA_CHUNK_SIZE) bytes_to_copy=VIDEO_DATA_CHUNK_SIZE; +- memcpy(pkt->data + current_sector*VIDEO_DATA_CHUNK_SIZE, +- sector + VIDEO_DATA_HEADER_SIZE, bytes_to_copy); +- } ++ memcpy(pkt->data + current_sector*VIDEO_DATA_CHUNK_SIZE, ++ sector + VIDEO_DATA_HEADER_SIZE, ++ VIDEO_DATA_CHUNK_SIZE); ++ + if (current_sector == sector_count-1) { ++ pkt->size= frame_size; + *ret_pkt = *pkt; ++ pkt->data= NULL; ++ pkt->size= -1; + return 0; + } + --- ffmpeg-debian-0.svn20080206.orig/debian/libswscale-dev.install +++ ffmpeg-debian-0.svn20080206/debian/libswscale-dev.install @@ -0,0 +1,5 @@ +usr/lib/pkgconfig/libswscale.pc +usr/include/ffmpeg/swscale.h +usr/include/ffmpeg/rgb2rgb.h +usr/lib/libswscale.a +usr/lib/{,*/,*/*/}libswscale.so --- ffmpeg-debian-0.svn20080206.orig/debian/strip.sh +++ ffmpeg-debian-0.svn20080206/debian/strip.sh @@ -0,0 +1,9 @@ + +# strip/clean the code from potentially dangerous patented code +for codec in 'h26.*' mpeg2video mpeg4 'msmpeg4.*'; do + F=libavcodec/allcodecs.c + sed -i "/REGISTER_ENCODER.*\\<$codec\\>/d" $F + sed -i "s/REGISTER_ENCDEC\\(.*\\<$codec\\>\\)/REGISTER_DECODER\\1/" $F + F=libavcodec/*.c + sed -i "/AVCodec *${codec}_encoder *=/,/^[[:space:]]*}/d" $F +done --- ffmpeg-debian-0.svn20080206.orig/debian/libavutil-dev.install +++ ffmpeg-debian-0.svn20080206/debian/libavutil-dev.install @@ -0,0 +1,20 @@ +usr/lib/pkgconfig/libavutil.pc +usr/include/ffmpeg/adler32.h +usr/include/ffmpeg/avstring.h +usr/include/ffmpeg/avutil.h +usr/include/ffmpeg/base64.h +usr/include/ffmpeg/common.h +usr/include/ffmpeg/crc.h +usr/include/ffmpeg/fifo.h +usr/include/ffmpeg/intfloat_readwrite.h +usr/include/ffmpeg/log.h +usr/include/ffmpeg/lzo.h +usr/include/ffmpeg/mathematics.h +usr/include/ffmpeg/md5.h +usr/include/ffmpeg/mem.h +usr/include/ffmpeg/opt.h +usr/include/ffmpeg/random.h +usr/include/ffmpeg/rational.h +usr/include/ffmpeg/sha1.h +usr/lib/libavutil.a +usr/lib/{,*/,*/*/}libavutil.so --- ffmpeg-debian-0.svn20080206.orig/debian/libpostproc51.install +++ ffmpeg-debian-0.svn20080206/debian/libpostproc51.install @@ -0,0 +1 @@ +usr/lib/{,*/,*/*/}libpostproc.so.* --- ffmpeg-debian-0.svn20080206.orig/debian/fixup-config.sh +++ ffmpeg-debian-0.svn20080206/debian/fixup-config.sh @@ -0,0 +1,15 @@ +# +# debian/strip.sh forcefully removes certain encoders which are expected +# to be available in some parts of the code. They aren't used if they +# are disabled properly, but certain macros do need to be defined. +# +# This script fixes up the build by adding adding required #defines to +# config.h + +EXPECTED_CODECS="H261 H263 H263P MSMPEG4V1 MSMPEG4V2 MSMPEG4V3 MPEG4 MPEG2VIDEO" +echo "#ifndef FIXUP_CONFIG_" +echo "#define FIXUP_CONFIG_" +for codec in $EXPECTED_CODECS; do + echo "#define ENABLE_${codec}_ENCODER 0" +done +echo "#endif" --- ffmpeg-debian-0.svn20080206.orig/debian/compat +++ ffmpeg-debian-0.svn20080206/debian/compat @@ -0,0 +1 @@ +5 --- ffmpeg-debian-0.svn20080206.orig/debian/libavdevice-dev.install +++ ffmpeg-debian-0.svn20080206/debian/libavdevice-dev.install @@ -0,0 +1,4 @@ +usr/lib/pkgconfig/libavdevice.pc +usr/include/ffmpeg/avdevice.h +usr/lib/libavdevice.a +usr/lib/{,*/,*/*/}libavdevice.so --- ffmpeg-debian-0.svn20080206.orig/debian/libswscale0.install +++ ffmpeg-debian-0.svn20080206/debian/libswscale0.install @@ -0,0 +1 @@ +usr/lib/{,*/,*/*/}libswscale.so.* --- ffmpeg-debian-0.svn20080206.orig/debian/libavdevice52.install +++ ffmpeg-debian-0.svn20080206/debian/libavdevice52.install @@ -0,0 +1 @@ +usr/lib/{,*/,*/*/}libavdevice.so.* --- ffmpeg-debian-0.svn20080206.orig/debian/libavformat52.install +++ ffmpeg-debian-0.svn20080206/debian/libavformat52.install @@ -0,0 +1 @@ +usr/lib/{,*/,*/*/}libavformat.so.* --- ffmpeg-debian-0.svn20080206.orig/debian/patents.txt +++ ffmpeg-debian-0.svn20080206/debian/patents.txt @@ -0,0 +1,88 @@ + +The MP3 audio coding format +=========================== + + Much has already been said about MP3 and the huge patent portfolio of +the MPEG members, especially the Fraunhofer institute. Eric Scheirer's +MPEG, Patents, and Audio Coding FAQ [1.1] is an attempt to "inject +some sanity in what is becoming an increasingly heated discussion +about patent rights surrounding MPEG technology, especially for audio +compression". It also has a few words about other patented products +covered in this document. + +[1.1] http://web.media.mit.edu/~eds/mpeg-patents-faq + + +The AAC audio coding format +=========================== + + Dolby's AAC (Advanced Audio Coding) is covered by patents owned by +Dolby Laboratories, AT&T Laboratories, Fraunhofer Institute and Sony +Corp. + + The FAAC project was threatened by the AAC license consortium. Press +report about how "an opensource project was closed down due to pressures +from the AAC license consortium which requires a lumpsum payment of +10,000 USD plus a per-copy payment of 1.35 USD, thus effectively banning +free software implementations. The policies surrounding AAC also harm +interoperability [2.2]." This was related by Heise [2.3] and FFII has +a page about the Dolby threat [2.1] as well as additional information +about MPEG-related patents [2.4]. + + The author stopped distributing the FAAC binaries, but still provides +full source code and CVS access. To my knowledge he has not been +threatened again. I also read on a web forum [2.5] that Cisco's lawyers +claim that their LGPL distribution of AAC software in MPEG4IP is +completely legal and that Dolby cannot forbid such distribution. + +[2.1] http://swpat.ffii.org/patents/effects/dolby/index.en.html +[2.2] http://www.xiph.org/archives/vorbis-dev/200011/0286.html +[2.3] http://www.heise.de/newsticker/data/vza-20.11.00-000/ +[2.4] http://swpat.ffii.org/patents/effects/mpeg/index.en.html +[2.5] http://www.hydrogenaudio.org/index.php?showtopic=310& + + +The ASF file encapsulation format +================================= + + Microsoft obtained a patent on the ASF (Active Stream Format) audio +file format on March 21, 2000: + + | United States Patent 6,041,345 Levi , et al. March 21, 2000 + | + | Active stream format for holding multiple media streams + | + | Abstract An active stream format is defined and adopted for a + | logical structure that encapsulates multiple data streams. The data + | streams may be of different media. The data of the data streams + | is partitioned into packets that are suitable for transmission + | over a transport medium. The packets may include error correcting + | information. The packets may also include clock licenses for + | dictating the advancement of a clock when the data streams are + | rendered. The format of ASF facilitates flexibility and choice + | of packet size and in specifying maximum bit rate at which data + | may be rendered. Error concealment strategies may be employed in + | the packetization of data to distribute portions of samples to + | multiple packets. Property information may be replicated and stored + | in separate packets to enhance its error tolerance. The format + | facilitates dynamic definition of media types and the packetization + | of data in such dynamically defined data types within the format. + + This patent is rumoured to have been enforced at least once, though +only through what I'd call non-hostile intimidation. Avery Lee, the +VirtualDub author, removed ASF support from his software after a phone +call from a Microsoft employee that he relates in his 5/12/2000 news +[3.1]. + + However I could not find evidence of an official threat: all I could +find on the web seemed to be interpretations of the VirtualDub author's +article, for instance on Advogato [3.2], CPT [3.3] or FFII [3.4]. Avery +Lee states that the phone call was from a programmer, not from the +legal department. There does not seem to be an official statement from +Microsoft. + +[3.1] http://web.archive.org/web/20000817222620/http://www.geocities.com/virtualdub/virtualdub_news.html +[3.2] http://www.advogato.com/article/101.html +[3.3] http://www.cptech.org/ip/business/software/audio.html +[3.4] http://swpat.ffii.org/patents/effects/asf/index.en.html + --- ffmpeg-debian-0.svn20080206.orig/debian/ffmpeg.install +++ ffmpeg-debian-0.svn20080206/debian/ffmpeg.install @@ -0,0 +1,10 @@ +etc/ffserver.conf +usr/lib/vhook +usr/bin/ffmpeg +usr/bin/ffserver +usr/bin/ffplay +usr/bin/qt-faststart +usr/share/doc/ffmpeg +usr/share/man/man1/ffmpeg.1 +usr/share/man/man1/ffserver.1 +usr/share/man/man1/ffplay.1 --- ffmpeg-debian-0.svn20080206.orig/debian/libavformat-dev.install +++ ffmpeg-debian-0.svn20080206/debian/libavformat-dev.install @@ -0,0 +1,7 @@ +usr/lib/pkgconfig/libavformat.pc +usr/include/ffmpeg/avformat.h +usr/include/ffmpeg/avio.h +usr/include/ffmpeg/rtsp.h +usr/include/ffmpeg/rtspcodes.h +usr/lib/libavformat.a +usr/lib/{,*/,*/*/}libavformat.so --- ffmpeg-debian-0.svn20080206.orig/debian/libavutil49.install +++ ffmpeg-debian-0.svn20080206/debian/libavutil49.install @@ -0,0 +1 @@ +usr/lib/{,*/,*/*/}libavutil.so.* --- ffmpeg-debian-0.svn20080206.orig/debian/ffmpeg-doc.install +++ ffmpeg-debian-0.svn20080206/debian/ffmpeg-doc.install @@ -0,0 +1 @@ +usr/share/doc/ffmpeg-doc --- ffmpeg-debian-0.svn20080206.orig/debian/libpostproc-dev.install +++ ffmpeg-debian-0.svn20080206/debian/libpostproc-dev.install @@ -0,0 +1,4 @@ +usr/lib/pkgconfig/libpostproc.pc +usr/include/postproc/postprocess.h +usr/lib/libpostproc.a +usr/lib/{,*/,*/*/}libpostproc.so --- ffmpeg-debian-0.svn20080206.orig/debian/recordshow.sh +++ ffmpeg-debian-0.svn20080206/debian/recordshow.sh @@ -0,0 +1,58 @@ +#!/bin/bash + +# Copyright 2008, Daniel Dickinson +# +# This script script (which depends on xawtv for the v4lctl command to +# select channel) and crontab show how one can record tv shows using +# ffmpeg. + +STATION="$1" +TODAY=$(date +"%A %B %d %Y") +SHOWLENGTH="$2" +SHOWDIR="$3" +SHOWNAME="$4" + +function err_exit { + EXITCODE=$1 + shift + echo $* 1>&2 + exit $EXITCODE +} + +BADPARAM=FALSE + +if [ -z "STATION" ]; then + BADPARAM=TRUE +fi + +if [ -z "$SHOWDIR" ]; then + BADPARAM=TRUE +fi + +if [ -z "$SHOWLENGTH" ]; then + BADPARAM=TRUE +fi + +if [ "$BADPARAM" != "FALSE" ]; then + err_exit 2 "Usage: recordshow.sh station show-length show-dir [show-name]" +fi + +if [ -z "$SHOWNAME" ]; then + BASEFILENAME="$SHOWDIR/$TODAY" +else + BASEFILENAME="$SHOWDIR/$SHOWNAME-$TODAY" +fi + +SECONDS=$(echo $SHOWLENGTH | cut -f3 -d:) +MINUTES=$(echo $SHOWLENGTH | cut -f2 -d:) +HOURS=$(echo $SHOWLENGTH | cut -f1 -d:) + +TOTALSECONDS=0 + +TOTALSECONDS=$(expr $(expr $(expr $HOURS '*' 3600) + $(expr $MINUTES '*' 60)) + $SECONDS) + +/usr/bin/v4lctl setstation $1 >/dev/null || err_exit 1 "Unable to set station (channel) $STATION" +/usr/bin/v4lctl volume mute off >/dev/null || err_exit 4 "Unable to unmute audio" +/usr/bin/ffmpeg -y -tvstd ntsc -t "$TOTALSECONDS" -s 480x352 -re -deinterlace -f video4linux2 -i /dev/video0 -f audio_device -i /dev/dsp -ac 2 -s 768x576 -f mpegts -acodec mp2 -vcodec mpeg1video "$BASEFILENAME.mpegts" >/dev/null 2>&1 || err_exit 3 "Error recording show $BASEFILENAME to mpeg2 transport stream" +/usr/bin/v4lctl volume mute on >/dev/null || err_exit 5 "Unable to mute audio" + --- ffmpeg-debian-0.svn20080206.orig/debian/changelog +++ ffmpeg-debian-0.svn20080206/debian/changelog @@ -0,0 +1,944 @@ +ffmpeg-debian (3:0.svn20080206-10ubuntu1) intrepid; urgency=low + + * Resyncronize with debian. Remaining changes: + - add epoch needed for ubuntu. + - debian/control: drop build dependencies on libfaad, + both not in ubuntu/main. + - debian/control: adjust dependency for coping with annoying epoch. + - Set myself in the maintainer field. + * add epochs for conflicts/replaces entries in debian/control as well. + + -- Reinhard Tartler Fri, 11 Jul 2008 13:05:47 +0200 + +ffmpeg-debian (0.svn20080206-10) unstable; urgency=high + + * enable mmx and sse3 in builds. These CPU features are autodetected + at runtime on amd64 and i386 using the 'cpuid' instrcution. + (Closes: #489732) + * disable support for liba52-dev. ffmpeg has its own implementation. + * don't add -fPIC -DPIC forcefully to ./configure. upstream claim that + the configure script gets this right on all architectures itself. + * Add patch 020_bug489965_bufferoverflow_str_demuxer.diff. Fixes a + buffer overflow in the STR demuxer. Thanks to Moritz Muehlenhoff for + reporting the issue. (Closes: #489965) + * Raising severity to high because of security issue. + * rework the shlibs file. Make applications linking against libraries + produced by this source package generate an alternate dependency on + the 'unstripped' variants of this package. They actually do not exist + yet at this point, but this way reverse dependencies are enabled to + use them when they eventually appear. + + -- Reinhard Tartler Wed, 09 Jul 2008 14:04:06 +0200 + +ffmpeg-debian (0.svn20080206-9) unstable; urgency=low + + [ Reinhard Tartler ] + * cleanup 010_proper_rpath.diff: remove spurious linker search paths. + * debian/strip.sh: no need to remove the glue code for x264 and xvid. + However, since that code is not built in debian anyway, the orig.tar.gz + was not rebuilt with this change. + * provide mmx-enabled shared objects on amd64. AFAIK all amd64 machines + do support MMX. + * Provide optimized versions of the libraries along the unoptimized + ones. They are installed in machines and architecture specific + directories. Optimized for further target will be added per request, + please file bugs to request them. + * rename the source package (again), this time on upstream's request. + The former name was considered insulting by upstream, because it + somewhat indicated the original source was somehow 'non-free', which is + not the case. The new name now represents that we modified the package + so that it becomes acceptable for debian. + * Cleanups in debian/rules file. + * Add verbose explanations about the renaming in README.Debian. + + [ Fabian Greffrath ] + * debian/control: + + Added Conflicts and Replaces against obsolete library packages from + wearing the 'cvs' suffix in their names + (Closes: #484585, #484586, #484587, #484776, #484778). + + Added doxygen to Build-Depends. + + Introduced new package 'ffmpeg-doc' that contains html doxygen + documentation of the ffmpeg API (Closes: #438369). + + Changed Build-Depends from libdc1394-13-dev to libdc1394-22-dev, + which is supported upstream since r11501. + * debian/ffmpeg-doc.install: + + Added. + * debian/rules: + + Build and install html doxygen documentation. + + Avoid dependency of build-stamp rule on phony targets. + * debian/libavutil-dev.install, debian/rules, + debian/patches/010_ffmpeg-config.diff: + + Removed ffmpeg-config, use pkg-config instead (maintainers of affected + packages have been informed, see #487917 to #487922). + + [ Darren Salt ] + * Added patch 900_doxyfile: tell doxyfile to ignore debian* directories. + * debian/rules: + - Reworked building so that separate source & build directories are + used. This makes cleanup simpler and speeds up maintenance by avoiding + complete rebuilds when using "debuild binary". + - Removed some file installation 'cp' commands, made unnecessary due to + the build reworking. + - Unpatching is now done *after* cleaning. + + -- Reinhard Tartler Mon, 30 Jun 2008 15:27:50 +0200 + +ffmpeg-free (0.svn20080206-8) unstable; urgency=low + + [ Fabian Greffrath ] + + * debian/control: + + Added Conflicts and Replaces on libavutil-dev (<< 0.svn20080206-7) + to libavcodec-dev (Closes: #483548). + + [ Reinhard Tartler ] + + * remove patches from the debian package as disussed with upstream: + - 005_runtime_cpudetect.diff: it is supposed to fix runtime cpu detection + on i386. The code (and the define) has undergone large refactoring wrt. + the define RUNTIME_CPUDETECT. It is very likely to have undisired + side-effects with this version of ffmpeg. It therefore seem more safe + to me to actually remove this patch for now, and reinvestigate the + problems that occur, if they do. (Related to: #482717) + - 005_m68k_workaround.diff: works around bugs in gcc for m68k. + - 006_mips_pthreads.diff: was an workaround for (now fixed) #428741. + - 020_fix_sws_scale_crash: patch has been rejected upstream: + http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-May/047846.html + - 054_h264_mmx_chroma_mc_crash.diff. According to upstream, this has + been fixed in a different way and is not reproducible. Verified that + the file referenced in bug #404176 does not crash anymore even + without this patch. + * new patch: 015_reenable-img_convert.diff. Unlike previous version of this + patch, this uses a more lightweight approach. With building imgresample, a + few symbol clashes occur with libswscale. We therefore strip off symbols + that are already provided by libswscale. (Closes: #483960). + * remove 011_link_plugins.diff. It is completely unnecessary now. + * refactor quilt usage: use /usr/share/quilt/quilt.make. + * support building in paralell. make snippet taken from the qemu package. + * cleanups in debian/rules. + * Move ffmpeg-config back to libavutil. This way we can avoid a circular + dependency between libavutil-dev and libavcodec-dev. (Closes: #484132). + libavcodec uses libavutil internally, so this dependency cannot be avoided. + * disable altivec, at least for now. (Closes: #482717) + * always compile with --disable-strip. We strip the binaries afterwards using + dh_strip anyways. + * Remove depdency substitutions ${shlibs:Depends} and ${misc:Depends} from the + -dev packages. + + -- Reinhard Tartler Wed, 04 Jun 2008 00:04:08 +0200 + +ffmpeg-free (3:0.svn20080206-7ubuntu2) intrepid; urgency=low + + [ Fabian Greffrath ] + + * debian/control: + + Added Conflicts and Replaces on libavutil-dev (<< 0.svn20080206-7) + to libavcodec-dev (Closes: #483548). + + [ Reinhard Tartler ] + + * preview upload from unstable + * remove patches from the debian package as disussed with upstream: + - 005_m68k_workaround.diff: works around bugs in gcc for m68k. + - 006_mips_pthreads.diff: *should* be fixed in debian's gcc + - 020_fix_sws_scale_crash: patch has been rejected upstream: + http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-May/047846.html + - 054_h264_mmx_chroma_mc_crash.diff. According to upstream, this has + been fixed in a different way and is not reproducible. Verified that + the file referenced in bug #404176 does not crash anymore even + without this patch. + + -- Reinhard Tartler Thu, 29 May 2008 16:17:54 +0200 + +ffmpeg-free (3:0.svn20080206-7ubuntu1) intrepid; urgency=low + + * Resyncronize with debian. Remaining changes: + - add epoch needed for ubuntu. + - debian/control: drop build dependencies on liba52 and libfaad, + both not in ubuntu/main + - debian/rules: disable liba52 and libfaad support + - debian/control: remove dependency on liba52-dev from libavcodec-dev + - Set myself in the maintainer field. + + -- Reinhard Tartler Thu, 29 May 2008 09:44:19 +0200 + +ffmpeg-free (0.svn20080206-7) unstable; urgency=low + + * debian/control: + + Removed unnecessary Conflicts and Replaces from libswscale0 + (Closes: #481908), thanks Guillem Jover. + + Made libavutil-dev depend on libavcodec-dev. + * debian/libavcodec.install, debian/libavutil.install: + + Moved ffmpeg-config (script and manpage) from libavutil-dev to + libavcodec-dev (really Closes: #482213, #482214). + + -- Fabian Greffrath Tue, 28 May 2008 16:02:03 +0200 + +ffmpeg-free (0.svn20080206-6) unstable; urgency=low + + * Bug fix: "libavg: FTBFS: ld: cannot find -ldts", thanks to Lucas + Nussbaum (Closes: #482213, 482214). Fixed by removing -ldts from + ffmpeg-config. + + -- Reinhard Tartler Tue, 27 May 2008 12:45:10 +0200 + +ffmpeg-free (0.svn20080206-5) unstable; urgency=low + + [ Fabian Greffrath ] + * debian/control: + + Fixed dependency typo, libswscale0 conflicts with libswsacle1d but not + libswscale1d (Closes: #481908). + + [ Reinhard Tartler ] + * disable 015_build_imgresample.diff. Please port all applications + needing the symbols sws_{scale,getContext}, + sws_{getCachedContext,freeContext} to use libswscale instead. + * downgrade debhelper depencency to level 5. We don't use any of the + level 6 features, and level 5 faciliates backporting to earlier + releases massively. + * remove unapplied patches from source to reduce the size of the + .diff.gz. The old patches can be retrieved from branches in our svn. + + -- Reinhard Tartler Thu, 22 May 2008 09:26:06 +0200 + +ffmpeg-free (3:0.svn20080206-4ubuntu3) intrepid; urgency=low + + * remove dependency on liba52-dev from libavcodec-dev. fixes ftbfs of + packages in main like 'xine-lib'. + + -- siretart Mon, 19 May 2008 13:00:00 +0200 + +ffmpeg-free (3:0.svn20080206-4ubuntu2) intrepid; urgency=low + + * lower debhelper compatibility from 6 to 5 + + -- Reinhard Tartler Fri, 16 May 2008 15:49:16 +0200 + +ffmpeg-free (3:0.svn20080206-4ubuntu1) intrepid; urgency=low + + * add epoch needed for ubuntu. + * bring changes from debian/unstable to intrepid + * reproduce changes in ubuntu based on information from the debian/changelog + of the old 'ffmpeg' source package. In future, please coordinate changes + to this package with the pkg-multimedia team. + * debian/control: drop build dependencies on liba52 and libfaad, + both not in ubuntu/main + * debian/rules: disable liba52 and libfaad support + * Set myself in the maintainer field. + + -- Reinhard Tartler Fri, 02 May 2008 13:42:30 +0200 + +ffmpeg-free (0.svn20080206-4) unstable; urgency=low + + * debian/rules: + + Moved confflags, that result in GPL versions of the libraries, into a + dedicated variable gpl_confflags. Add this to the common confflags. + + Moved --prefix=/usr to the common confflags. + + Added some comments and whitespace (nothing special). + + Renamed the "risky" keyword to "internalencoders". Set this in + DEB_BUILD_OPTIONS in order to create and build from an unstripped tarball + in the get-orig-source and build rules (Closes: #478010). + + Introduced the "externalcodecs" keyword. Set this in DEB_BUILD_OPTIONS to + enable support for additional codecs via external libraries. + + Commented out the amr?b codecs among the external codecs, because the + resulting packages will be unredistributable. + + -- Fabian Greffrath Tue, 29 Apr 2008 09:07:11 +0100 + +ffmpeg-free (0.svn20080206-3) experimental; urgency=low + + * install qt-faststart. Thanks Stefan Hermann for the patch from ubuntu. + (Closes: #470484) + * Reenable 020_fix_libswscale_pic_code, fixes FTBFS on amd64. + * Reenable altivec, fixes FTBFS on powerpc. + * Add some notes about the removed mpeg encoders (Closes: #440702) + + -- Reinhard Tartler Fri, 18 Apr 2008 23:02:24 +0200 + +ffmpeg-free (0.svn20080206-2) experimental; urgency=low + + [ Reinhard Tartler ] + * patches/020_fix_sws_scale_crash: if sws_scale is given an invalid context + (e.g. a null pointer), the function will crash because of a null pointer + dereference. Add a check for that here. + * add Conflicts/Replaces for libswscale1d. + * Due to the fact that we no longer build the shared version of ffmpeg with + mmx optimisations, the following patches have been dropped: + - 020_mmx_optims.diff + - 020_mmx_pic_code.diff + - 020_disable_snow_mmx_in_pic.diff + - 020_fix_libswscale_pic_code + + [ Fabian Greffrath ] + * debian/control: + + Added libx11-dev and libxext-dev to Build-Depends. + * debian/rules: + + Build with --enable-x11grab (Closes: #441983). + + Build ffmpeg and shared libraries with --extra-cflags="-fPIC -DPIC" + (feeling confident that this closes: #472613) and "drop the surgery + regarding Makefile.pic and config.mak.pic". + + In this context, cleaned up build rule: Run '$(MAKE)' and '$(MAKE) clean' + from the top source directory instead of diving into the library + directories; force move during backup and recovery of the static + libraries; let the build rule itself depend on config-extra-includes.h + (instead of build-stamp) to avoid being run again from the binary rule; + some more minor changes of cosmetic type. + + Renamed config-extra-includes rule to config-extra-includes.h to + reflect the file name of the created file (also changed to override it + instead of appending) and to avoid the rule to be run twice. + + Disabled all architecture-specific optimizations for the time being. + + -- Fabian Greffrath Fri, 1 Apr 2008 17:22:00 +0100 + +ffmpeg-free (0.svn20080206-1) experimental; urgency=low + + [ Reinhard Tartler ] + * new upstream release (Closes: #471136) + * refreshed patches + * libogg was dropped upstream + * no longer install integer.h, as it is not part of the public API (see + upstream r11642). + * no longer install rtp.h, as it is not part of the public API (see + upstream r11505). + * install crc.h and sha1.h to libavutil-dev, since it is part of the + public API now. + * introduce new package: libavdevice52 and libavdevice-dev. + * Implemented debian/get-orig-source.sh and adjusted the get-orig-source + target in debian/rules to use that. + * fix invocation of the testsuite. + * bump standards version to 3.7.3 (no changes needed). + * add script recordshow.sh (Closes: 461434). Thanks to + Daniel Dickinson + * Introdcue binary package ffmpeg-dbg, which contains debugging symbols + of the shared library packages. + + [ Fabian Greffrath ] + * debian/changelog: + + Source is exported from SVN, not CVS. Reflect this in the versioning + scheme (Closes: #468319). + * debian/control: + + Changed Build-Depends to liba52-0.7.4-dev | liba52-dev. + + Improved descriptions and dependencies for libavdevice packages. + * debian/control, debian/compat: + + Bumped debhelper Build-Depends to (>= 6.0.0). + * debian/control, debian/*.install: + + Adopted shared library package names to upstream SONAMEs. + * debian/README.Debian: + + Updated, since AAC decoding (through FAAD) is now enabled. + + Updated URL for unofficial ffmpeg packages. + * debian/rules: + + Reordered confflags to optionally build LGPL versions of the libraries. + + Removed trailing whitespace. + + Removed unused strip rule. + + Added libxvidcore4-dev to weak-build-deps and fixed confflags + in DEB_BUILD_OPTIONS=risky accordingly. + + Added a get-orig-source rule to reproduce the source tarball. Produce an + unstripped tarball if DEB_BUILD_OPTIONS=risky. + + Do not run debian/fixup-config.sh if DEB_BUILD_OPTIONS=risky. + * debian/patches/011_link_plugins.diff: + + Updated to link all plugins against libavutil since they all use symbols + from this library. Resolves "symbols found in none of the libraries" + warnings from dpkg-shlibdeps. + + -- Reinhard Tartler Thu, 20 Mar 2008 17:57:21 +0100 + +ffmpeg-free (0.cvs20071007-4) experimental; urgency=low + + [ Fabian Greffrath ] + * debian/control: + + Wrapped Uploaders, Build-Depends and Depends, + Conflicts and Replaces fields. + + Added libfaad-dev to Build-Depends. + + Added Homepage field. + + Added ${misc:Depends} to all Depends. + * debian/rules: + + Enabled faad support via libfaad + (Closes: #400094, #418230, #447089, #448068, #449387). + + Added libmp3lame-dev to weak-build-deps in DEB_BUILD_OPTIONS=risky. + + Added support for amrnb, amrwb and x264 (Closes: #432170) in + DEB_BUILD_OPTIONS=risky. + + [ Reinhard Tartler ] + * added Fabian Greffrath to Uploaders + + -- Reinhard Tartler Thu, 20 Mar 2008 15:55:11 +0100 + +ffmpeg-free (0.cvs20071007-3) experimental; urgency=low + + * disable armv6 code generation. Thanks to Joey Hess for the patch + (Closes: #438923). + + -- Reinhard Tartler Sun, 13 Jan 2008 23:28:25 +0100 + +ffmpeg-free (0.cvs20071007-2) experimental; urgency=low + + * restore soname on libavutil. got dropped on previous upload. + * Bug fix: "needs libavutil-dev headers but doesn't depend on it", + thanks to rmh@aybabtu.com (Closes: #434494). This was actually already + fixed in a previous upload. + * build dependencies in debian/control are now multiline. + * Drop the XS- from the Vcs-Browser and Vcs-Svn field. + + -- Reinhard Tartler Sun, 16 Dec 2007 21:36:49 +0100 + +ffmpeg-free (0.cvs20071007-1) experimental; urgency=low + + * new upstream snapshot, using the same day as the mplayer release + * Refreshing patches: + -005_altivec_flags.diff: dropped, merged upstream + -005_m68k_workaround.diff: refreshed + -005_runtime_cpudetect.diff: refreshed + -006_mips_pthreads.diff: refreshed + -010_proper_rpath.diff: refreshed + -010_shared_library_versioning.diff: refreshed + -011_link_plugins.diff: refreshed (moved to top level makefile) + -015_build_imgresample.diff: refreshed + -020_disable_snow_mmx_in_pic.diff: refreshed + -020_fix_libswscale_pic_code.diff: refreshed + -020_mmx_optims.diff: refreshed + -020_mmx_pic_code.diff: refreshed + -040_early_altivec_detection.diff: disabled, doesn't apply anymore + -040_only_use_maltivec_when_needed.diff disabled, (causes ftbfs, needs revising) + -040_only_use_maltivec_when_needed.diff: refresh + -051_mjpeg_gray_support.diff, removed applied upstream + -053_rm_demux_crash.diff removed, applied upstream. + -060_fix_avi_skip.diff removed, does not apply anymore + * remove --enable-libdts. ffmpeg now has an internal dts decoder since + r9051 (2007-05-17). It seems that at least some packages link to libdts and + rely on the transitive dependency via ffmpeg. Please add explicit dependencies + on libdts instead! + * Don't ignore errors in upstream Makefile. Bug found via lintian. + + -- Reinhard Tartler Wed, 05 Dec 2007 17:33:34 +0100 + +ffmpeg-free (0.cvs20070307-7) UNRELEASED; urgency=low + + * debian/patches/051_mjpeg_gray_support.diff: + + Support grayscale MJPEG streams as sent by Axis cameras. + + -- Sam Hocevar (Debian packages) Tue, 31 Jul 2007 18:55:31 +0200 + +ffmpeg-free (0.cvs20070307-6) unstable; urgency=low + + * Rename the source package. We are (again) no longer shipping the + 'real' upstream source of ffmpeg. + * Add debian/strip.sh to strip ffmpeg upstream source disabling mpeg + based encoders as discussed with ftp-master at debconf7 + * update XS-Vcs tags in debian/control. + * make ffmpeg binNMU-able by using ${binary:Version} rather than + ${Source-Version} + + -- Reinhard Tartler Sat, 23 Jun 2007 15:11:21 +0100 + +ffmpeg (0.cvs20070307-5) unstable; urgency=low + + * upload to unstable + * remove x264 support, as it has been removed from unstable + + -- Reinhard Tartler Wed, 30 May 2007 15:19:20 +0200 + +ffmpeg (0.cvs20070307-4) experimental; urgency=low + + * added myself to uploaders + + * 020_fix_libswscale_pic_code: + + added, avoid some MMX code to avoid PIC code + + [ Sam Hocevar ] + + * fixed path in library installation. + + -- Reinhard Tartler Wed, 11 Apr 2007 23:17:47 +0200 + +ffmpeg (0.cvs20070307-3) experimental; urgency=low + + * debian/patches/015_build_imgresample.diff: + + Build imgresample functions even with swscaler activated, or legacy + applications will stop working. + + * debian/patches/053_rm_demux_crash.diff: + + New patch: fix a double free with corrupted rm files (Closes: #379922). + + * debian/patches/054_h264_mmx_chroma_mc_crash.diff: + + New patch: workaround for a buffer overflow in the MMX H264 chroma + motion compensation until upstream fixes it properly (Closes: #404176). + + * debian/patches/300_c++_compliant_headers.diff: + + Define INT64_C() when the system headers don't provide it, for instance + when building C++ code. + + * debian/control: + + Set pkg-multimedia-maintainers as main maintainer. + + Updated VCS fields. + * debian/rules: + + Huge cleanup. + + -- Sam Hocevar (Debian packages) Wed, 14 Mar 2007 19:40:42 +0100 + +ffmpeg (0.cvs20070307-2) experimental; urgency=low + + * debian/rules: + + Activate x264 support now that it is in unstable. + * debian/control: + + Build-depend on libx264-dev. + + -- Sam Hocevar (Debian packages) Mon, 12 Mar 2007 21:10:45 +0100 + +ffmpeg (0.cvs20070307-1) experimental; urgency=low + + [ Sam Hocevar ] + + * New upstream snapshot (Closes: #403330, #404788). + * This snapshot fixes numerous file parsing crashes (Closes: #404176, + Closes: #407003, #396282, #365006, #403398). + + * debian/patches/010_proper_rpath.diff: + + New patch. Link objects with the libraries that we generate, not the + ones installed on the system. + + * debian/patches/010_shared_library_versioning.diff: + + Strip unneeded prefix from .pc files (Closes: #404758). + + * debian/patches/011_link_plugins.diff: + + New patch. Link vhook plugins with the appropriate libraries. + + * debian/patches/013_strip_unneeded_linker_flags.diff: + + Remove unneeded -l flags from .pc files (Closes: #373986). + + * debian/patches/020_mmx_optims.diff: + * debian/patches/020_disable_snow_mmx_in_pic.diff: + + Sync patches. + + * debian/patches/020_really_use_liba52.diff: + * debian/patches/050_h264-misc-security-fixes.diff: + * debian/patches/051_asf-misc-security-fixes.diff: + + Drop patches, applied upstream or no longer relevant. + + * debian/patches/040_only_use_maltivec_when_needed.diff: + + Upgraded patch to cover libswscale. + + * debian/libavcodec-dev.install: + + Ship lzo.h and random.h. + + * debian/rules: + + Fix syntax for a few --enable flags. + + Only ship ffmpeg_powerpc_performance_evaluation_howto.txt.gz on + powerpc machines (Closes: #385079). + + Readded --enable-libtheora, it's here again. + + Activate --enable-swscaler (Closes: #399141, #398442). + + [ Reinhard Tartler ] + + * debian/rules: + + Ignore libswscale.pc and rgb2rgb.h. + + * debian/libavcodec-dev.install: + + Ship fifo.h and opt.h. + + * debian/patches/005_altivec_flags.diff: + * debian/patches/005_m68k_workaround.diff: + * debian/patches/005_runtime_cpudetect.diff: + * debian/patches/006_mips_pthreads.diff: + * debian/patches/020_really_use_liba52.diff: + + Sync patches. + + * debian/patches/007_disable_ffmpeg_option.diff: + * debian/patches/030_arm_cpu_detect.diff: + * debian/patches/030_arm_workaround.diff: + + Drop patches, applied upstream or no longer relevant. + + -- Sam Hocevar (Debian packages) Fri, 9 Mar 2007 15:13:16 +0100 + +ffmpeg (0.cvs20060823-7) unstable; urgency=high + + * debian/patches/040_only_use_maltivec_when_needed.diff: + + Fix a static function prototype that prevented programs using libpostproc + from working on PowerPC (Closes: #412214). + + * debian/control: + + Added Xs-Vcs-Browser and XS-Vcs-Svn fields. + + -- Sam Hocevar (Debian packages) Thu, 8 Mar 2007 17:51:37 +0100 + +ffmpeg (0.cvs20060823-6) unstable; urgency=high + + * Upload to unstable. + + -- Loic Minier Thu, 1 Feb 2007 21:36:47 +0100 + +ffmpeg (0.cvs20060823-5) testing-proposed-updates; urgency=high + + [ Loïc Minier ] + * Add myself to Uploaders. + * Exclude firewire libs from ffmpeg-config under kFreeBSD; based on a patch + by Petr Salinger; closes: #399701. + * Fix handling of debug in DEB_BUILD_OPTIONS; thanks Andreas Henriksson; + closes: #406474. + * SECURITY: New patch, 050_h264-misc-security-fixes, to properly check the + sps and pps ids before use and to check more bitstram values and fix + potential security holes; from upstream SVN r7585, r7586, and r7591. + * SECURITY: New patch, 051_asf-misc-security-fixes, to properly check + packet sizes, chunk sizes, and fragment positions; from upstream SVN r7640 + and r7650. + + [ Sam Hocevar ] + * debian/copyright: + + Fix typo and clarify licensing terms (Closes: #398235). + * debian/README.Debian: + + Removed mention of ffmpeg-config now that we ship .pc files. + * debian/patches/020_mmx_optims.diff: + + New patch, fix FTBFS with DEB_BUILD_OPTIONS=debug. + * debian/patches/040_early_altivec_detection.diff: + + New patch, detect AltiVec earlier on and only once so that we don't + risk using signal handlers in a multithreaded environment or when + the caller already installed a SIGILL handler. + * debian/patches/040_only_use_maltivec_when_needed.diff: + + New patch, only use -maltivec with files that use AltiVec intrinsics, + and make sure no codepath leads to these files on a non-AltiVec + machine (Closes: #405926). + * debian/patches/060_fix_avi_skip.diff: + + New patch, courtesy of Ben Hutchings: do not attempt to skip the ODML + if the current seek offset is already beyond it (Closes: #383734). + + -- Sam Hocevar (Debian packages) Mon, 29 Jan 2007 16:58:44 +0100 + +ffmpeg (0.cvs20060823-4) unstable; urgency=high + + * Maintainer upload. + * Acknowledging NMU (Closes: #386458). + + * High urgency because of FTBFS fix. + + * debian/patches/030_arm_workaround.diff: + + New patch courtesy of Aurélien Jarno: disable the broken ARM assembly + code in libavcodec/mpegaudiodec.c. + + * debian/patches/030_arm_cpu_detect.diff: + + New patch courtesy of Aurélien Jarno: correctly detect the newer ARM + CPUs. + + -- Sam Hocevar (Debian packages) Sun, 24 Sep 2006 23:38:29 +0200 + +ffmpeg (0.cvs20060823-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix variable substitution trick in debian/rules (Closes: #386458). + + -- Luk Claes Fri, 15 Sep 2006 21:29:07 +0200 + +ffmpeg (0.cvs20060823-3) unstable; urgency=low + + * debian/rules: + + Take local packages into account when computing shlibs dependencies, so + that ffplay/ffserver depend on the proper libraries (Closes: #386029). + + -- Sam Hocevar (Debian packages) Tue, 5 Sep 2006 17:44:00 +0200 + +ffmpeg (0.cvs20060823-2) unstable; urgency=low + + * debian/patches/020_really_use_liba52.diff: + + New patch: link with the shared liba52 instead of the built-in one. + + * debian/patches/006_mips_pthreads.diff: + + New patch: link libraries with -lpthreads on Linux MIPS because of a + known ld bug. + + * debian/patches/007_disable_ffmpeg_option.diff: + + New patch: add a --disable-ffmpeg option. + + -- Sam Hocevar (Debian packages) Wed, 30 Aug 2006 18:36:52 +0200 + +ffmpeg (0.cvs20060823-1) unstable; urgency=low + + * New SVN snapshot (Closes: #368904). + * debian/control: + + Set policy to 3.7.2. + + Do not build 1394 support on GNU/kFreeBSD or Hurd. Patch courtesy of + Petr Salinger (Closes: #372290). + * debian/rules: + + Minor cleanup. + + Removed --enable-theora, upstream dropped that option. + + * debian/patches/020_mmx_intrinsics.diff: + + Disabled intrinsics workaround because it is no longer necessary and it + causes trouble with some codecs such as H264 (Closes: #373765). + + -- Sam Hocevar (Debian packages) Wed, 23 Aug 2006 12:09:58 +0200 + +ffmpeg (0.cvs20060329-4) unstable; urgency=low + + * debian/control: + + Make each -dev package depend on the corresponding shared library + package (Closes: #361348). + + Moved libavutil files from libavformat-dev to libavcodec-dev which is + the real common dependency (Closes: #361269). + + -- Sam Hocevar (Debian packages) Sun, 9 Apr 2006 15:23:37 +0200 + +ffmpeg (0.cvs20060329-3) unstable; urgency=low + + * debian/rules: that build system is hopeless. We now run configure and + make twice, backup static libraries inbetween, then update timestamps + to fool make. That should fix the FTBFS (Closes: #361215). + + -- Sam Hocevar (Debian packages) Fri, 7 Apr 2006 11:33:15 +0200 + +ffmpeg (0.cvs20060329-2) unstable; urgency=low + + * debian/rules: fixed Makefile.pic generation. + + -- Sam Hocevar (Debian packages) Thu, 6 Apr 2006 16:37:05 +0200 + +ffmpeg (0.cvs20060329-1) unstable; urgency=low + + * New CVS snapshot. + * Upstream fixed a double free in img.c (Closes: #351455). + * Upstream fixed the libvorbisenc dependency in libavcodec.pc + (Closes: #357352). + + * debian/rules: + + Activated threading support (Closes: #335677). + + Manually reinstall dsputil.h. + + * debian/README.Debian: + + Removed mention of --plugin-libs. + + Added a note about the unofficial packages (Closes: #306752). + + * 020_disable_snow_mmx_in_pic.diff: (new patch) disable MMX acceleration in + the Snow encoder in PIC mode. + + -- Sam Hocevar (Debian packages) Thu, 30 Mar 2006 10:41:17 +0200 + +ffmpeg (0.cvs20060306-3) unstable; urgency=low + + * Switched patch system to quilt. + * debian/control: + + Build-depend on quilt. + + * 005_altivec_flags.diff: (new patch from old diff.gz) proper gcc flags to + only generate AltiVec code when explicitely asked. + + * 005_m68k_workaround.diff: (new patch from old diff.gz) use -O2 instead of + -O3 on m68k. + + * 005_runtime_cpudetect.diff: (new patch from old diff.gz) fix runtime CPU + detection on m68k and x86. + + * 010_ffmpeg-config.diff: (new patch from old diff.gz) the ffmpeg-config + script and associated manpage (legacy). + + * 010_shared_library_versioning.diff: (new patch from old diff.gz) use a + Debian-specific scheme for shared library versioning to avoid spreading + libraries incompatible with every other version. + + * 020_mmx_intrinsics.diff: (new patch from old diff.gz) use MMX intrinsics + in dsputil_mmx.c because gcc is unable to compute some register constraints + in PIC mode. + + * 020_mmx_pic_code.diff: (new patch from old diff.gz) ported some MMX code + to be PIC. + + -- Sam Hocevar (Debian packages) Wed, 29 Mar 2006 18:53:35 +0200 + +ffmpeg (0.cvs20060306-2) unstable; urgency=low + + * ffmpeg-config.in: removed references to _pic libraries. + + -- Sam Hocevar (Debian packages) Fri, 17 Mar 2006 20:08:29 +0100 + +ffmpeg (0.cvs20060306-1) unstable; urgency=low + + * New CVS snapshot. + * Upstream now properly installs dsputil.h (Closes: #354391). + * debian/control: + + Distribute shared versions of the libraries with a Debian-specific + soname. + * debian/rules: + + Removed all custom PIC rules. + + Moved ffmpeg-config to libavformat-dev instead of libavcodec-dev so that + it is present by default (Closes: #350750). + + Include apiexample.c in libavcodec-dev (Closes: #350027). + + -- Sam Hocevar (Debian packages) Mon, 6 Mar 2006 11:05:26 +0100 + +ffmpeg (0.cvs20050918-6) unstable; urgency=low + + * Developer upload. + * Acknowledge NMU. Thanks to Samuel Mimram (Closes: #342207). + * configure: + + Set RUNTIME_CPUDETECT (except on m68k where it ICEs and on x86 where it + fails to build some asm constructs) (Closes: #337846). + * debian/rules: + + Make the build process aware of DEB_BUILD_OPTIONS, thanks to Timo + Lindfors (Closes: #338895). + + -- Sam Hocevar (Debian packages) Sat, 21 Jan 2006 16:51:26 +0100 + +ffmpeg (0.cvs20050918-5.1) unstable; urgency=low + + * NMU. + * Fix exploitable heap overflow in libavcodec's handling of images with + PIX_FMT_PAL8 pixel formats (CVE-2005-4048), closes: #342207. + + -- Samuel Mimram Sun, 15 Jan 2006 14:44:36 +0100 + +ffmpeg (0.cvs20050918-5) unstable; urgency=low + + * ffmpeg-config.1: fixed the examples and added a note that static libraries + should be put after the objects that refer to them (Closes: #339803). + + -- Sam Hocevar (Debian packages) Fri, 18 Nov 2005 23:58:16 +0100 + +ffmpeg (0.cvs20050918-4) unstable; urgency=low + + * configure: + + Tell the configure script about m68k, ia64 and others. + + -- Sam Hocevar (Debian packages) Thu, 22 Sep 2005 14:43:59 +0200 + +ffmpeg (0.cvs20050918-3) unstable; urgency=low + + * configure: + + Use -O2 instead of -O3 on m68k to avoid ICEs. + + -- Sam Hocevar (Debian packages) Tue, 20 Sep 2005 17:33:14 +0200 + +ffmpeg (0.cvs20050918-2) unstable; urgency=low + + * libavcodec/i386/dsputil_mmx.c: + + Reworked the MMX intrinsics. + * tests/libav.regression.ref: + + Minor cosmetic fix to use double-digit numbers in test sequences. + * debian/control: + + PowerPC no longer needs to use gcc-3.4, since 4.x is the default. + * libavcodec/Makefile: + + Removed special compilation case for HPPA now that we use 4.x. + + -- Sam Hocevar (Debian packages) Sun, 18 Sep 2005 17:43:48 +0200 + +ffmpeg (0.cvs20050918-1) unstable; urgency=low + + * New CVS snapshot. + * Upstream applied most Debian patches. + * configure: + + Do not use -mabi=altivec (-maltivec is enough for our AltiVec code) so + that our code still runs on a G3 computer (Closes: #319151). + * debian/rules: + + When not cross-compiling, run the regression tests (Closes: #292102). + * debian/changelog: + + Updated the FSF address. + * ffmpeg-config.in: + + Fixed avcodec linkage (Closes: #328505). + * libavcodec/i386/mpegvideo_mmx_template.c: + + Applied patch from Tobias Grimm to fix the PIC MMX code for MPEG + encoding (Closes: #318493). + * libavcodec/i386/dsputil_mmx.c: + + Applied patch from Joshua Kwan to fix the AMD64 build (Closes: #324026). + + Reworked that patch so that it still compiles on x86. + + -- Sam Hocevar (Debian packages) Fri, 16 Sep 2005 13:03:47 +0200 + +ffmpeg (0.cvs20050811-2) unstable; urgency=low + + * ffmpeg-config.in: added a missing -lgsm. + + -- Sam Hocevar (Debian packages) Mon, 22 Aug 2005 19:51:53 +0200 + +ffmpeg (0.cvs20050811-1) unstable; urgency=low + + * New CVS snapshot. + * Upstream fixed an integer overflow in the MPEG encoder (Closes: #320150). + * debian/rules: + + Activated libgsm support. + + Fixed theora support. + + Switched installation method to dh_install. + * Applied patch from Christian Aichinger and others to fix the clobbering + of the %ebx register during build (Closes: #319563). + + -- Sam Hocevar (Debian packages) Thu, 11 Aug 2005 14:22:03 +0200 + +ffmpeg (0.cvs20050626-2) unstable; urgency=low + + * ffmpeg-config.in: fixed the theora link that caused FTBFS. + + -- Sam Hocevar (Debian packages) Fri, 1 Jul 2005 17:20:59 +0200 + +ffmpeg (0.cvs20050626-1) unstable; urgency=low + + * New CVS snapshot. + * debian/control: + + Set policy to 3.6.2.1. + * debian/rules: + + Fixed Vorbis support (Closes: #306023). + + Patch by Jonas Smedegaard : conditionally enable these + unofficial libraries if DEB_BUILD_OPTIONS includes "risky": + o Mpeg2 layer 3 / MP3 (liblame-dev). + o FAAD (libfaad2-dev). + o FAAC (libfaac-dev). + o XviD (libxvidcore-dev). + + Activated theora support. + + Activated IEEE 1394 support (Closes: #296737). + + -- Sam Hocevar (Debian packages) Sun, 26 Jun 2005 15:46:54 +0200 + +ffmpeg (0.cvs20050313-2) unstable; urgency=low + + * libavcodec/libpostproc/postprocess_template.c + libavcodec/i386/mpegvideo_mmx_template.c: fixed my PIC MMX code (Closes: #299700). + * debian/rules: use gcc-3.4 on PowerPC (Closes: #300686). + + -- Sam Hocevar (Debian packages) Mon, 21 Mar 2005 23:38:46 +0100 + +ffmpeg (0.cvs20050313-1) unstable; urgency=low + + * New CVS snapshot. + * configure: fixed the builtin vector test (Closes: #293284), thanks + to Jacob L. Anawalt. + * libavcodec/libpostproc/postprocess_template.c + libavcodec/i386/mpegvideo_mmx_template.c: fixed MMX code so that it can + be compiled in PIC mode, and reactivated MMX (Closes: #290447, #290358). + + -- Sam Hocevar (Debian packages) Sat, 12 Mar 2005 18:34:29 +0100 + +ffmpeg (0.cvs20050121-1) unstable; urgency=low + + * New CVS snapshot. + * This snapshot fixes integer overflows that may lead to arbitrary code + execution (Closes: #291566). + + -- Sam Hocevar (Debian packages) Fri, 21 Jan 2005 17:41:47 +0100 + +ffmpeg (0.cvs20050108-1) unstable; urgency=low + + * Re-done tarball snapshot so that it does not contain binaries. + * ffmpeg-config.in: + + Added missing -lvorbisenc (Closes: #289030). + * debian/rules: + + Install missing headers that are not in the install rule: bwswap.h, + dsputil.h, os_support.h (Closes: #289033). + + -- Sam Hocevar (Debian packages) Sat, 8 Jan 2005 11:30:58 +0100 + +ffmpeg (0.cvs20050106-1) unstable; urgency=low + + * New upstream snapshot. + * The extern/static declaration conflict was fixed upstream (Closes: #288906). + + -- Sam Hocevar (Debian packages) Thu, 6 Jan 2005 15:44:49 +0100 + +ffmpeg (0.cvs20040716-2) unstable; urgency=low + + * debian/rules: + + Include missing rtp.h / rtsp.h in libavformat-dev. + * ffmpeg-config.in: + + Added -lz to the libavcodec linking flags. + + Added -ldts / -ldts_pic, -la52, -lvorbis to the libavcodec linking flags. + + -- Sam Hocevar (Debian packages) Tue, 17 Aug 2004 13:27:41 +0200 + +ffmpeg (0.cvs20040716-1) unstable; urgency=low + + * Initial release (Closes: #199266). + + -- Sam Hocevar (Debian packages) Fri, 16 Jul 2004 12:47:27 +0200 + --- ffmpeg-debian-0.svn20080206.orig/debian/libavcodec-dev.install +++ ffmpeg-debian-0.svn20080206/debian/libavcodec-dev.install @@ -0,0 +1,5 @@ +usr/lib/pkgconfig/libavcodec.pc +usr/include/ffmpeg/avcodec.h +usr/include/ffmpeg/dsputil.h +usr/lib/libavcodec.a +usr/lib/{,*/,*/*/}libavcodec.so