--- mpeg4ip-1.6dfsg.orig/debian/mpeg4ip-player.files.ex +++ mpeg4ip-1.6dfsg/debian/mpeg4ip-player.files.ex @@ -0,0 +1,6 @@ +usr/bin/gmp4player +usr/bin/mp4player +usr/bin/mpeg4ip-config +usr/bin/mpeg_ps_extract +usr/share/man/man1/gmp4player.1 + --- mpeg4ip-1.6dfsg.orig/debian/default.sdp +++ mpeg4ip-1.6dfsg/debian/default.sdp @@ -0,0 +1,21 @@ +v=0 +o=- 1160304199377252 1160304199377252 IN IP4 127.0.0.1 +s=default +i= +e=NONE +c=IN IP4 224.1.2.3/15 +b=RR:0 +t=0 0 +a=range:npt=0- +a=mpeg4-iod: "data:application/mpeg4-iod;base64,AoCAgy4AT///D/P/A4CAgHkAyUBGZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTZ1RBcUJXMG1FRUg4QUFBQi9BQUFCRUtDS0NuNASAgIAVAg0AABgAAADAAAAAwAWAgIADAABgBoCAgBAARAAAAAAAAAAAAAAAAAADA4CAgiQAZUD0ZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1vZC1hdTtiYXNlNjQsQVlDQWdSVUJnSUNBT0FLZkE0Q0FnREVBQ2dBRWdJQ0FGRUFWQUQ2QUFBSDBBQUFCOUFBRmdJQ0FBaElRQm9DQWdCQUFSQUFBQUFBQUFBQUFBQUFBQUFBREFZQ0FnRk1GSHdPQWdJQk1BQlFBQklDQWdDOGdFUUQwSkFBSG9TQUFCNkVnQllDQWdCMEFBQUd3OHdBQUFiVUpBQUFCQUFBQUFTQUFoc1FBZXd3b0VIaFJqd2FBZ0lBUUFFUUFBQUFBQUFBQUFBQUFBQUFBQXc9PQSAgIASAQUAAJoAAATQAAAE0AWAgIAABoCAgBAARAAAAAAAAAAAAAAAAAAD" +a=isma-compliance:1,1.0,1 +m=video 20000 RTP/AVP 96 +b=AS:500 +a=rtpmap:96 MP4V-ES/90000 +a=fmtp:96 profile-level-id=243; config=000001b0f3000001b50900000100000001200086c4007b0c281078518f; +a=mpeg4-esid:20 +m=audio 20002 RTP/AVP 97 +b=AS:128 +a=rtpmap:97 mpeg4-generic/44100 +a=fmtp:97 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1210; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1; +a=mpeg4-esid:10 --- mpeg4ip-1.6dfsg.orig/debian/mpeg4ip-utils.files +++ mpeg4ip-1.6dfsg/debian/mpeg4ip-utils.files @@ -0,0 +1,13 @@ +usr/bin/h264_parse +usr/bin/mp4art +usr/bin/mp4dump +usr/bin/mp4extract +usr/bin/mp4info +usr/bin/mp4tags +usr/bin/mp4trackdump +usr/bin/mp4videoinfo +usr/bin/mpeg2t_dump +usr/bin/mpeg2video_parse +usr/bin/mpeg4vol +usr/bin/mpeg_ps_extract +usr/bin/mpeg_ps_info --- mpeg4ip-1.6dfsg.orig/debian/libmp4v2-0.files +++ mpeg4ip-1.6dfsg/debian/libmp4v2-0.files @@ -0,0 +1,4 @@ +usr/lib/libmp4v2.so.0 +usr/lib/libmp4v2.so.0.0.0 +/usr/lib/libmp4.so.0 +/usr/lib/libmp4.so.0.0.0 --- mpeg4ip-1.6dfsg.orig/debian/changelog +++ mpeg4ip-1.6dfsg/debian/changelog @@ -0,0 +1,139 @@ +mpeg4ip (1:1.6dfsg-0.2ubuntu6) lucid; urgency=low + + * Xvidcore transition (LP: #486169). + * Drop ccache support. + * Don't build with -j. + + -- Alessio Treglia Mon, 23 Nov 2009 23:47:03 +0100 + +mpeg4ip (1:1.6dfsg-0.2ubuntu5) karmic; urgency=low + + * debian/patches/08_strcasestr.dpatch: Fix FTBFS due to strcasestr + declaration (LP: #444555). Patch by Urs Fleisch. + + -- John Dong Tue, 06 Oct 2009 11:24:26 -0400 + +mpeg4ip (1:1.6dfsg-0.2ubuntu4) jaunty; urgency=low + + * fetch 07_ffmepg-path.diff from marillat to fix building against + the new ffmpeg package LP: #311184 + + -- Reinhard Tartler Thu, 19 Feb 2009 13:54:35 +0100 + +mpeg4ip (1:1.6dfsg-0.2ubuntu3) intrepid; urgency=low + + * Rebuild for liblame -> libmp3lame transition and adjust b-ds accordingly + (LP: #262441). + * debian/patches/05_multiple_parameters.dpatch: Rename a parameter which had + an identical name to another. + + -- Iain Lane Fri, 29 Aug 2008 00:09:57 +0100 + +mpeg4ip (1:1.6dfsg-0.2ubuntu2) intrepid; urgency=low + + * No-change rebuild against new ffmpeg + + -- Reinhard Tartler Mon, 09 Jun 2008 14:24:47 +0200 + +mpeg4ip (1:1.6dfsg-0.2ubuntu1) hardy; urgency=low + + [ Mario Limonciello ] + * debian/control: + - Don't build depend on libfaac-dev or libfaad-dev. + Readme indicates that both can cause troubles with the build. + - Build depend on non cvs variants of libavcodec-dev and libavutil-dev + - Update maintainer field. + - Drop bugs field. + * Add 04_bashishms.dpatch for a few dash/bash related problems during build. + * Repack .orig.tar.gz to remove doc/{*.pdf,*.jpg} and + lib/rtp/test-libcommon for DFSG. + + [ John Dong ] + * debian/copyright: + - Include licenses for all included source packages. + + -- Mario Limonciello Sat, 12 Jan 2008 15:59:56 -0600 + +mpeg4ip (1:1.6-0.2) unstable; urgency=low + + * rebuild against the latest libx264-57 + + -- Christian Marillat Mon, 24 Dec 2007 10:25:21 +0100 + +mpeg4ip (1:1.6-0.1) unstable; urgency=low + + * New patch 03_typo.dpatch to fix a typo. + * Add support for ccache. + + -- Christian Marillat Mon, 24 Sep 2007 16:25:28 +0200 + +mpeg4ip (1:1.6-0.0) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat Fri, 21 Sep 2007 12:36:32 +0200 + +mpeg4ip (1:1.5.0.1-0.4) unstable; urgency=low + + * Change libfaad2-dev by libfaad-dev in Build-depens. + + -- Christian Marillat Wed, 15 Aug 2007 17:56:25 +0200 + +mpeg4ip (1:1.5.0.1-0.3) unstable; urgency=low + + * Add aac support. + + -- Christian Marillat Sun, 8 Oct 2006 12:46:19 +0200 + +mpeg4ip (1:1.5.0.1-0.2) unstable; urgency=low + + * Need to build-depends on libavutilcvs49-dev and libmp4v2-dev. + + -- Christian Marillat Sat, 30 Sep 2006 03:34:39 +0200 + +mpeg4ip (1:1.5.0.1-0.1) unstable; urgency=low + + * Build only the server package. + + -- Christian Marillat Fri, 18 Aug 2006 20:36:04 +0200 + +mpeg4ip (1:1.5.0.1-0.0) unstable; urgency=low + + * New upstream release. + * Remove --disable-server from configure options and add a new + mpeg4ip-server package. + + -- Christian Marillat Tue, 8 Aug 2006 19:13:37 +0200 + +mpeg4ip (1:1.4.1-0.2) unstable; urgency=low + + * Make libesd0-dev the first package in Buil-Depends (libesd0-dev | + libesd-dev), otherwise builder don't llike that. + + -- Christian Marillat Wed, 10 May 2006 21:36:37 +0200 + +mpeg4ip (1:1.4.1-0.1) unstable; urgency=low + + * Move all mp4 libraries in the libmp4v2-0 package. + + -- Christian Marillat Mon, 8 May 2006 16:32:16 +0200 + +mpeg4ip (1:1.4.1-0.0) unstable; urgency=low + + * New upstream release. + * rename the libmp4 package to libmp4v2-0. + + -- Christian Marillat Mon, 8 May 2006 11:42:17 +0200 + +mpeg4ip (1:1.2-0.0) unstable; urgency=low + + * This package is the real version. The previous was 0.9.8.6 from the faad + tarball. + + -- Christian Marillat Tue, 11 Jan 2005 14:19:17 +0100 + +libmp4 (2.0.0-0.0) unstable; urgency=low + + * Initial release. + + -- Christian Marillat Sun, 24 Oct 2004 22:05:35 +0200 --- mpeg4ip-1.6dfsg.orig/debian/libmpeg4ip-0.files +++ mpeg4ip-1.6dfsg/debian/libmpeg4ip-0.files @@ -0,0 +1,2 @@ +usr/lib/lib*.so.0* + --- mpeg4ip-1.6dfsg.orig/debian/libmpeg4ip-doc.files +++ mpeg4ip-1.6dfsg/debian/libmpeg4ip-doc.files @@ -0,0 +1 @@ +usr/share/man/man3 --- mpeg4ip-1.6dfsg.orig/debian/libmpeg4ip-dev.files +++ mpeg4ip-1.6dfsg/debian/libmpeg4ip-dev.files @@ -0,0 +1,3 @@ +usr/bin/mpeg4ip-config +usr/include +usr/lib/lib*.{a,la,so} --- mpeg4ip-1.6dfsg.orig/debian/watch +++ mpeg4ip-1.6dfsg/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://sf.net/mpeg4ip/mpeg4ip-(.*)\.tar\.gz --- mpeg4ip-1.6dfsg.orig/debian/control +++ mpeg4ip-1.6dfsg/debian/control @@ -0,0 +1,150 @@ +Source: mpeg4ip +Section: sound +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Christian Marillat +Homepage: http://mpeg4ip.sourceforge.net/ +Standards-Version: 3.7.3 +Build-Depends: debhelper (>> 5), libasound2-dev, libid3tag0-dev, + libavcodec-dev, libxvidcore-dev, libid3-3.8.3-dev, libgtk2.0-dev, + libesd0-dev | libesd-dev, libsdl1.2-dev, liba52-dev, libmp3lame-dev | + liblame-dev, libxt-dev | xlibs-static-dev (<< 6.8.1-1), nasm [i386], + libavutil-dev, dpatch, libx264-dev, autotools-dev + +Package: mpeg4ip-server +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends} +Description: end-to-end system to explore streaming multimedia + The mpeg4ip player supports the following : + . + File formats: avi, mp4, limited .mov, .mpg (transport and program streams), + .wav, raw aac, raw mp3, raw mp4v, raw .h264 + . + Video codecs: mpeg-4 (xvid, xvid-1.0, ISO reference), mpeg1/2 (libmpeg3, + mpeg2dec), H.261, YUV (i420 raw) Through ffmpeg: h.263, Sorenson, some + MJPEG, simple H.264 + . + Audio Codecs: aac, mp3, celp, ac3 (with separate download), raw PCM Through + ffmpeg: AMR NB, AMR WB, G.711 alaw and ulaw + . + Streaming capability: RTSP, SDP, RTP (rfc 1890 for raw audio, 2250 for + mpeg1/2 audio and video, 3016 for mpeg4 video, 3119 for mp3, 3640 for + aac/celp audio, 3267 for AMR octet-aligned only), mpeg2 transport streams + (mpeg2 video, mp3 and ac3 audio), both multicast and streaming. + . + This package contains the mp4 server. + +Package: libmp4v2-0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Replaces: libmp4-0, libmpeg4ip-0 (<= 1:1.4.1-0.0) +Conflicts: libmp4-0 +Description: freeware Advanced Audio Decoder - runtime files + FAAD2 is the fastest ISO AAC audio decoder available. FAAD2 correctly + decodes all MPEG-4 and MPEG-2 MAIN, LOW, LTP, LD and ER object type AAC + files. + . + This package contains the MP4 (aka AAC) library. + +Package: libmp4v2-dev +Section: libdevel +Architecture: any +Depends: libmp4v2-0 (>= ${source:Version}), libmpeg4ip-dev +Replaces: libmp4-dev, libmpeg4ip-dev (<= 1:1.4.1-0.0) +Conflicts: libmp4-dev +Description: freeware Advanced Audio Decoder - development files + FAAD2 is the fastest ISO AAC audio decoder available. FAAD2 correctly + decodes all MPEG-4 and MPEG-2 MAIN, LOW, LTP, LD and ER object type AAC + files. + . + This package contains the MP4 (aka AAC) development files. + +Package: libmpeg4ip-dev +Section: libdevel +Architecture: any +Depends: libmpeg4ip-0 (>= ${source:Version}) +Description: end-to-end system to explore streaming multimedia + The mpeg4ip player supports the following : + . + File formats: avi, mp4, limited .mov, .mpg (transport and program streams), + .wav, raw aac, raw mp3, raw mp4v, raw .h264 + . + Video codecs: mpeg-4 (xvid, xvid-1.0, ISO reference), mpeg1/2 (libmpeg3, + mpeg2dec), H.261, YUV (i420 raw) Through ffmpeg: h.263, Sorenson, some + MJPEG, simple H.264 + . + Audio Codecs: aac (faad, faad2 with separate download), mp3, celp, ac3 + (with separate download), raw PCM Through ffmpeg: AMR NB, AMR WB, G.711 + alaw and ulaw + . + Streaming capability: RTSP, SDP, RTP (rfc 1890 for raw audio, 2250 for + mpeg1/2 audio and video, 3016 for mpeg4 video, 3119 for mp3, 3640 for + aac/celp audio, 3267 for AMR octet-aligned only), mpeg2 transport streams + (mpeg2 video, mp3 and ac3 audio), both multicast and streaming. + . + This package contains the MP4 (aka AAC) development files. + +Package: libmpeg4ip-0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: end-to-end system to explore streaming multimedia + The mpeg4ip player supports the following : + . + File formats: avi, mp4, limited .mov, .mpg (transport and program streams), + .wav, raw aac, raw mp3, raw mp4v, raw .h264 + . + Video codecs: mpeg-4 (xvid, xvid-1.0, ISO reference), mpeg1/2 (libmpeg3, + mpeg2dec), H.261, YUV (i420 raw) Through ffmpeg: h.263, Sorenson, some + MJPEG, simple H.264 + . + Audio Codecs: aac (faad, faad2 with separate download), mp3, celp, ac3 + (with separate download), raw PCM Through ffmpeg: AMR NB, AMR WB, G.711 + alaw and ulaw + . + Streaming capability: RTSP, SDP, RTP (rfc 1890 for raw audio, 2250 for + mpeg1/2 audio and video, 3016 for mpeg4 video, 3119 for mp3, 3640 for + aac/celp audio, 3267 for AMR octet-aligned only), mpeg2 transport streams + (mpeg2 video, mp3 and ac3 audio), both multicast and streaming. + . + This package contains the MP4 (aka AAC) library. + +Package: libmpeg4ip-doc +Section: libdevel +Architecture: all +Description: end-to-end system to explore streaming multimedia - documentation + The mpeg4ip player supports the following : + . + File formats: avi, mp4, limited .mov, .mpg (transport and program streams), + .wav, raw aac, raw mp3, raw mp4v, raw .h264 + . + Video codecs: mpeg-4 (xvid, xvid-1.0, ISO reference), mpeg1/2 (libmpeg3, + mpeg2dec), H.261, YUV (i420 raw) Through ffmpeg: h.263, Sorenson, some + MJPEG, simple H.264 + . + Audio Codecs: aac (faad, faad2 with separate download), mp3, celp, ac3 + (with separate download), raw PCM Through ffmpeg: AMR NB, AMR WB, G.711 + alaw and ulaw + . + Streaming capability: RTSP, SDP, RTP (rfc 1890 for raw audio, 2250 for + mpeg1/2 audio and video, 3016 for mpeg4 video, 3119 for mp3, 3640 for + aac/celp audio, 3267 for AMR octet-aligned only), mpeg2 transport streams + (mpeg2 video, mp3 and ac3 audio), both multicast and streaming. + . + This package contains the documentation files. + +Package: mpeg4ip-utils +Section: utils +Architecture: any +Depends: ${shlibs:Depends} +Description: end-to-end system to explore streaming multimedia + This package contains various utilities : + . + - mp4info - display information about tracks in mp4 file + - mp4dump - dumps contents from mp4 files + - mp4trackdump - dumps track information + - mp4tags - sets iTunes tag information + - mp4art - extract iTunes cover art + - mp4videoinfo - dump information about video tracks in mp4 files --- mpeg4ip-1.6dfsg.orig/debian/rules +++ mpeg4ip-1.6dfsg/debian/rules @@ -0,0 +1,106 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +version := $(shell sed -n 's/Package: \(.*\)/\1/p' debian/control | head -n 1) + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +CPPFLAGS = -I$(shell pwd)/lib/ffmpeg + +configure: configure-stamp +configure-stamp: patch-stamp + dh_testdir + + cp -f /usr/share/misc/config.sub config.sub + cp -f /usr/share/misc/config.guess config.guess + cp -f /usr/share/misc/config.sub lib/SDLAudio/config.sub + cp -f /usr/share/misc/config.guess lib/SDLAudio/config.guess + cp -f /usr/share/misc/config.sub common/video/iso-mpeg4/config.sub + cp -f /usr/share/misc/config.guess common/video/iso-mpeg4/config.guess + + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man \ + --disable-alsatest --disable-player + + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + [ ! -f Makefile ] || $(MAKE) distclean + + debian/rules unpatch + + dh_clean config.sub config.guess lib/SDLAudio/config.sub \ + lib/SDLAudio/config.guess common/video/iso-mpeg4/config.sub \ + common/video/iso-mpeg4/config.guess + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + + dh_movefiles --sourcedir=debian/tmp + +# Prune empty directories + find debian -type d | xargs rmdir -p --ignore-fail-on-non-empty + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installdocs -i + dh_installchangelogs -i ChangeLog + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installchangelogs -a ChangeLog + dh_installdocs -a + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a -V + dh_installdeb -a + dh_shlibdeps -a -ldebian/libmpeg4ip-0/usr/lib:debian/libmp4v2-0/usr/lib: + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- mpeg4ip-1.6dfsg.orig/debian/libmp4v2-dev.files +++ mpeg4ip-1.6dfsg/debian/libmp4v2-dev.files @@ -0,0 +1,8 @@ +usr/include/mp4.h +usr/include/mpeg4ip.h +usr/lib/libmp4v2.a +usr/lib/libmp4v2.la +usr/lib/libmp4v2.so +usr/lib/libmp4.a +usr/lib/libmp4.la +usr/lib/libmp4.so --- mpeg4ip-1.6dfsg.orig/debian/copyright +++ mpeg4ip-1.6dfsg/debian/copyright @@ -0,0 +1,363 @@ +This package was debianized by Aubin Paul on Sun, 8 Dec +2002 12:05:10 -0500, and by John Dong on Thu, 10 Jan 2008 +12:17:11 -0500. + +It was downloaded from http://mpeg4ip.sourceforge.net/ + +Upstream Authors: menno (menno@audiocoding.com) Alexander Kurpiers +(a.kurpiers@nt.tu-darmstadt.de) + +The source tarball is an aggregate of several different works in which the main +one, developed by menno and Alexander Kurpiers, is mpeg4ip. + +Other works include avilib, faad, ISO/ITU reference software, Quicktime for +Linux, SDL, splay, UCL, vic, and openh323. Please see sections following the +copyright statements for mpeg4ip for these. + +It has been repacked to remove items that are not covered by any of the +licenses below. These items include: + - doc/{*.pdf, *.jpg} + - lib/rtp/test-libcommon + +=== mpeg4ip + +The works not listed specifically of another origin is original code by menno +and Alexander Kurpiers. It is licensed under the terms of the Mozilla Public +License (MPL) version 1.1. The complete text of the license is reproduced at the +end of this file. + +=== avilib + +The lib/avi directory contains a copy of avilib extracted from lavtools. It is +written by Rainer Johanni and licensed under the terms of +the GNU Lesser General Public License version 2. + +On Debian systems, the complete terms of this license can be found in the file +`/usr/share/common-licenses/LGPL' + +=== FAAD + +The player/lib/audio/faad directory contains a copy of the Freeware Advanced +Audio Decoder (FAAD). It is written by Menno Bakker and +licensed under the terms of the GNU Lesser General Public License version 2. + +On Debian systems, the complete terms of this license can be found in the file +`/usr/share/common-licenses/LGPL' + +=== ISO MPEG-4 Reference + +The common/video/iso-mpeg4 directory contains the ISO MPEG-4 reference software +written by the ISO and retrievable from http://www.iso.ch/ittf. The list of +contributors varies for each source file and can be found in their headers. + +The terms found in the headers of the source files state: + ISO/IEC gives users of the MPEG-4 Video free license to this software module or + modifications thereof for use in hardware or software products claiming conformance to the + MPEG-4 Video. + Those intending to use this software module in hardware or software products are + advised that its use may infringe existing patents. + The original developer of this software module and his/her company, + the subsequent editors and their companies, + and ISO/IEC have no liability for use of this software module or modifications + thereof in an implementation. + Copyright is not released for non MPEG-4 Video conforming products. + Microsoft retains full right to use the code for his/her own purpose, + assign or donate the code to a third party and to inhibit third parties from + using the code for non conforming products. + This copyright notice must be included in all copies or derivative works. + +=== Quicktime For Linux + +The lib/mp4 directory includes, though the author notes is deprecated, the +Quicktime For Linux software retrieved from +http://heroinewarrior.com/quicktime.php3. + +The full license terms can be found in lib/mp4/README_ORIGINAL but state: +***** + +This is a Quicktime library for UNIX in a freely redistributable, +statically linkable library. You can statically link it in a program +and charge money for the program. The only condition is that if you +use it in a program, you must put the author's name and email +somewhere. If you improve the library itself or add a free codec to +it, you should release your improvements. If you redistribute the +code, you must also redistribute the author information and +documentation. At this time it's very popular to license stuff under +the GPL. You are free to include this library in a derived work and +license the derived work under GPL. + +***** + +On Debian systems, a copy of the GPL can be found at +`/usr/share/common-licenses/GPL'. + +=== Simple DirectMedia Layer + +The lib/SDL directory contains a bundled version of the Simple DirectMedia Layer +(SDL) software retrievable from http://www.libsdl.org/. + +It is licensed under the terms of the GNU Library General Public License (LGPL), +version 2. On Debian systems, a copy of the LGPL can be found at +`/usr/share/common-licenses/LGPL'. + +=== splay + +The player/audio/mp3 directory contains a bundled version of splay retrievable from +http://splay.sourceforge.net/. + +It is licensed under the terms of the GNU Library General Public License (LGPL), +version 2. On Debian systems, a copy of the LGPL can be found at +`/usr/share/common-licenses/LGPL'. + + +=== UCL Common Multimedia Library + +The lib/rtp directory contains a bundled version of the UCL Common Multimedia +Library from http://www-mice.cs.ucl.ac.uk/multimedia/software/common/. + +The terms of the license, found in lib/rtp/COPYRIGHT, state: +**** +Copyright (C) 1995-2000 University College London +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, is permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the Computer Science + Department at University College London +4. Neither the name of the University nor of the Department may be used + to endorse or promote products derived from this software without + specific prior written permission. +THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND ANY +EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +This product includes software developed by the Computer Systems +Engineering Group at Lawrence Berkeley Laboratory. + +Encryption features of this software use the RSA Data Security, Inc. MD5 +Message-Digest Algorithm. +**** + +=== vic, openh323 + +The player/plugin/video/h261 directory contains a mixture of code taken from the +vic and openh323 sources. They are distributed under the MPL or the Regents of +University of California copyright (see individual file headers for which +applies). The complete text of the MPL is reproduced at the end of this file. +The Regents of University of California copyright terms are: + * + * Copyright (c) 1993 Regents of the University of California. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the Network Research + * Group at Lawrence Berkeley Laboratory. + * 4. Neither the name of the University nor of the Laboratory may be used + * to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. +=========================================================== + + MOZILLA PUBLIC LICENSE + Version 1.1 + + --------------- + +1. Definitions. + + 1.0.1. "Commercial Use" means distribution or otherwise making the + Covered Code available to a third party. + + 1.1. "Contributor" means each entity that creates or contributes to + the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Code, prior Modifications used by a Contributor, and the Modifications + made by that particular Contributor. + + 1.3. "Covered Code" means the Original Code or Modifications or the + combination of the Original Code and Modifications, in each case + including portions thereof. + + 1.4. "Electronic Distribution Mechanism" means a mechanism generally + accepted in the software development community for the electronic + transfer of data. + + 1.5. "Executable" means Covered Code in any form other than Source + Code. + + 1.6. "Initial Developer" means the individual or entity identified + as the Initial Developer in the Source Code notice required by Exhibit + A. + + 1.7. "Larger Work" means a work which combines Covered Code or + portions thereof with code not governed by the terms of this License. + + 1.8. "License" means this document. + + 1.8.1. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed herein. + + 1.9. "Modifications" means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, a + Modification is: + A. Any addition to or deletion from the contents of a file + containing Original Code or previous Modifications. + + B. Any new file that contains any part of the Original Code or + previous Modifications. + + 1.10. "Original Code" means Source Code of computer software code + which is described in the Source Code notice required by Exhibit A as + Original Code, and which, at the time of its release under this + License is not already Covered Code governed by this License. + + 1.10.1. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, process, + and apparatus claims, in any patent Licensable by grantor. + + 1.11. "Source Code" means the preferred form of the Covered Code for + making modifications to it, including all modules it contains, plus + any associated interface definition files, scripts used to control + compilation and installation of an Executable, or source code + differential comparisons against either the Original Code or another + well known, available Covered Code of the Contributor's choice. The + Source Code can be in a compressed or archival form, provided the + appropriate decompression or de-archiving software is widely available + for no charge. + + 1.12. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License or a future version of this License issued under Section 6.1. + For legal entities, "You" includes any entity which controls, is + controlled by, or is under common control with You. For purposes of + this definition, "control" means (a) the power, direct or indirect, + to cause the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty percent + (50%) of the outstanding shares or beneficial ownership of such + entity. + +2. Source Code License. + + 2.1. The Initial Developer Grant. + The Initial Developer hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer to use, reproduce, + modify, display, perform, sublicense and distribute the Original + Code (or portions thereof) with or without Modifications, and/or + as part of a Larger Work; and + + (b) under Patents Claims infringed by the making, using or + selling of Original Code, to make, have made, use, practice, + sell, and offer for sale, and/or otherwise dispose of the + Original Code (or portions thereof). + + (c) the licenses granted in this Section 2.1(a) and (b) are + effective on the date Initial Developer first distributes + Original Code under the terms of this License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: 1) for code that You delete from the Original Code; 2) + separate from the Original Code; or 3) for infringements caused + by: i) the modification of the Original Code or ii) the + combination of the Original Code with other software or devices. + + 2.2. Contributor Grant. + Subject to third party intellectual property claims, each Contributor + hereby grants You a world-wide, royalty-free, non-exclusive license + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor, to use, reproduce, modify, + display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof) either on an + unmodified basis, with other Modifications, as Covered Code + and/or as part of a Larger Work; and + + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either alone + and/or in combination with its Contributor Version (or portions + of such combination), to make, use, sell, offer for sale, have + made, and/or otherwise dispose of: 1) Modifications made by that + Contributor (or portions thereof); and 2) the combination of + Modifications made by that Contributor with its Contributor + Version (or portions of such combination). + + (c) the licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first makes Commercial Use of + the Covered Code. + + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: 1) for any code that Contributor has deleted from the + Contributor Version; 2) separate from the Contributor Version; + 3) for infringements caused by: i) third party modifications of + Contributor Version or ii) the combination of Modifications made + by that Contributor with other software (except as part of the + Contributor Version) or other devices; or 4) under Patent Claims + infringed by Covered Code in the absence of Modifications made by + that Contributor. + +3. Distribution Obligations. + + 3.1. Application of License. + The Modifications which You create or to which You contribute are + governed by the terms of this License, including without limitation + Section 2.2. The Source Code version of Covered Code may be + distributed only under the terms of this License or a future version + of this License released under Section 6.1, and You must include a + copy of this License with every copy of the Source Code You + distribute. You may not offer or impose any terms on any Source Code + version that alters or restricts the applicable version of this + License or the recipients' rights hereunder. However, You may include + an additional document offering the additional rights described in + Section 3.5. + + 3.2. Availability of Source Code. + Any Modification which You create or to which You contribute must be + made available in Source Code form under the terms of this License + either on the same media as an Executable version or via an accepted + Electronic Distribution Mechanism to anyone to whom you made an + Executable version available; and if made available via Electronic + Distribution Mechanism, must remain available for at least twelve (12) + months after the date it initially became available, or at least six + (6) months after a subsequent version of that particular Modification + has been made available to --- mpeg4ip-1.6dfsg.orig/debian/mpeg4ip-server.files +++ mpeg4ip-1.6dfsg/debian/mpeg4ip-server.files @@ -0,0 +1,8 @@ +usr/bin/mp4creator +usr/bin/avi2raw +usr/bin/avidump +usr/bin/lboxcrop +usr/bin/rgb2yuv +usr/bin/mp4live +usr/share/man/man1/mp4creator.1 +usr/share/man/man1/mp4live.1 --- mpeg4ip-1.6dfsg.orig/debian/compat +++ mpeg4ip-1.6dfsg/debian/compat @@ -0,0 +1 @@ +5 --- mpeg4ip-1.6dfsg.orig/debian/patches/05_multiple_parameters.dpatch +++ mpeg4ip-1.6dfsg/debian/patches/05_multiple_parameters.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_multiple_parameters.dpatch by Iain Lane +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: This patch fixes a compiler error due to multiple parameters having the same name + +@DPATCH@ +diff -urNad mpeg4ip-1.6dfsg~/server/mp4live/video_util_resize.h mpeg4ip-1.6dfsg/server/mp4live/video_util_resize.h +--- mpeg4ip-1.6dfsg~/server/mp4live/video_util_resize.h 2005-03-25 20:15:31.000000000 +0000 ++++ mpeg4ip-1.6dfsg/server/mp4live/video_util_resize.h 2008-08-29 19:21:37.000000000 +0100 +@@ -90,7 +90,7 @@ + + void CopyYuv(const uint8_t *fY, const uint8_t *fU, const uint8_t *fV, + uint32_t fyStride, uint32_t fuStride, uint32_t fvStride, +- uint8_t *tY, uint8_t *tU, uint8_t *fV, +- uint32_t tyStride, uint32_t tvStride, uint32_t tvStride, ++ uint8_t *tY, uint8_t *tU, uint8_t *tV, ++ uint32_t tyStride, uint32_t tuStride, uint32_t tvStride, + uint32_t w, uint32_t h); + #endif --- mpeg4ip-1.6dfsg.orig/debian/patches/00list +++ mpeg4ip-1.6dfsg/debian/patches/00list @@ -0,0 +1,7 @@ +01_Makefile.in.dpatch +02_type_basic.cpp.dpatch +03_typo.dpatch +04_bashishms.dpatch +05_multiple_parameters.dpatch +07_ffmepg-path.diff +08_strcasestr.dpatch --- mpeg4ip-1.6dfsg.orig/debian/patches/08_strcasestr.dpatch +++ mpeg4ip-1.6dfsg/debian/patches/08_strcasestr.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 08_strcasestr.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Remove faulty strcasestr declaration to fix FTBFS +## DP: Thanks to Urs Fleisch for patch (LP: #444555) + +@DPATCH@ +diff -urNad mpeg4ip-1.6dfsg~/include/mpeg4ip.h mpeg4ip-1.6dfsg/include/mpeg4ip.h +--- mpeg4ip-1.6dfsg~/include/mpeg4ip.h 2006-08-03 14:21:43.000000000 -0400 ++++ mpeg4ip-1.6dfsg/include/mpeg4ip.h 2009-10-06 11:22:36.366737222 -0400 +@@ -123,7 +123,6 @@ + #ifdef __cplusplus + extern "C" { + #endif +-char *strcasestr(const char *haystack, const char *needle); + #ifdef __cplusplus + } + #endif --- mpeg4ip-1.6dfsg.orig/debian/patches/01_Makefile.in.dpatch +++ mpeg4ip-1.6dfsg/debian/patches/01_Makefile.in.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_Makefile.in.dpatch by Christian Marillat +## +## All lines beginning with ## DP:' are a description of the patch. +## DP: + +@DPATCH@ + +--- mpeg4ip-1.6.orig/common/video/iso-mpeg4/src/Makefile.in 2007-09-22 15:26:04.000000000 +0200 ++++ mpeg4ip-1.6/common/video/iso-mpeg4/src/Makefile.in 2007-09-22 15:26:15.000000000 +0200 +@@ -257,7 +257,7 @@ + target_cpu = @target_cpu@ + target_os = @target_os@ + target_vendor = @target_vendor@ +-AM_CXXFLAGS = -D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Werror -D_OBSS_ @BILLS_CPPWARNINGS@ ++AM_CXXFLAGS = -D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS -fexceptions -D_OBSS_ @BILLS_CPPWARNINGS@ + INCLUDES = -I$(srcdir)/../include + lib_LTLIBRARIES = libmpeg4ip_mpeg4_iso.la + mp4vdec_SOURCES = \ --- mpeg4ip-1.6dfsg.orig/debian/patches/07_ffmepg-path.diff +++ mpeg4ip-1.6dfsg/debian/patches/07_ffmepg-path.diff @@ -0,0 +1,87 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 05_multiple_parameters.dpatch by Iain Lane +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: adjust includes for new location of ffmpeg headers + +@DPATCH@ + +Index: mpeg4ip-1.6/server/mp4live/audio_ffmpeg.h +=================================================================== +--- mpeg4ip-1.6.orig/server/mp4live/audio_ffmpeg.h 2008-09-24 15:41:57.000000000 +0200 ++++ mpeg4ip-1.6/server/mp4live/audio_ffmpeg.h 2008-09-24 16:05:27.000000000 +0200 +@@ -25,7 +25,7 @@ + #include "audio_encoder.h" + extern "C" { + #ifdef HAVE_FFMPEG_INSTALLED +-#include ++#include + #else + #include + #endif +Index: mpeg4ip-1.6/server/mp4live/video_encoder_class.cpp +=================================================================== +--- mpeg4ip-1.6.orig/server/mp4live/video_encoder_class.cpp 2008-09-24 15:41:57.000000000 +0200 ++++ mpeg4ip-1.6/server/mp4live/video_encoder_class.cpp 2008-09-24 16:05:27.000000000 +0200 +@@ -27,7 +27,7 @@ + #ifdef HAVE_FFMPEG + extern "C" { + #ifdef HAVE_FFMPEG_INSTALLED +-#include ++#include + #else + #include + #endif +Index: mpeg4ip-1.6/server/mp4live/video_ffmpeg.h +=================================================================== +--- mpeg4ip-1.6.orig/server/mp4live/video_ffmpeg.h 2008-09-24 15:41:57.000000000 +0200 ++++ mpeg4ip-1.6/server/mp4live/video_ffmpeg.h 2008-09-24 16:05:27.000000000 +0200 +@@ -25,7 +25,7 @@ + #include "video_encoder.h" + extern "C" { + #ifdef HAVE_FFMPEG_INSTALLED +-#include ++#include + #else + #include + #endif +Index: mpeg4ip-1.6/configure +=================================================================== +--- mpeg4ip-1.6.orig/configure 2008-09-24 16:05:27.000000000 +0200 ++++ mpeg4ip-1.6/configure 2008-09-24 16:05:27.000000000 +0200 +@@ -27257,7 +27257,7 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include ++#include + + int + main () +@@ -27323,7 +27323,7 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include ++#include + + int + main () +@@ -27368,7 +27368,7 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include ++#include + + int + main () +@@ -27435,7 +27435,7 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include ++#include + + int + main () --- mpeg4ip-1.6dfsg.orig/debian/patches/03_typo.dpatch +++ mpeg4ip-1.6dfsg/debian/patches/03_typo.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 03_typo.dpatch by Christian Marillat +## +## All lines beginning with ## DP:' are a description of the patch. +## DP: + +@DPATCH@ + +--- mpeg4ip-1.6.orig/server/mp4live/audio_l16.cpp 2007-09-24 16:22:24.000000000 +0200 ++++ mpeg4ip-1.6/server/mp4live/audio_l16.cpp 2007-09-24 16:22:35.000000000 +0200 +@@ -175,7 +175,7 @@ + m_pFrameBuffer = (u_int16_t*)Malloc(m_frameBufferLength); + + #ifdef WORDS_BIGENDIAN +- memcpy(m_pFrameBuffer, pSameples, m_frameBufferLength); ++ memcpy(m_pFrameBuffer, pSamples, m_frameBufferLength); + #else + for (uint32_t ix = 0; ix < numSamplesPerChannel * m_audioDstChannels; ix++) { + m_pFrameBuffer[ix] = B2N_16(pSamples[ix]); --- mpeg4ip-1.6dfsg.orig/debian/patches/04_bashishms.dpatch +++ mpeg4ip-1.6dfsg/debian/patches/04_bashishms.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 13_bashishms.dpatch by Mario Limonciello +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad mpeg4ip-1.6~/util/testlame.sh mpeg4ip-1.6/util/testlame.sh +--- mpeg4ip-1.6~/util/testlame.sh 2002-10-07 13:47:00.000000000 -0500 ++++ mpeg4ip-1.6/util/testlame.sh 2008-01-12 16:35:52.000000000 -0600 +@@ -1,3 +1,4 @@ ++#!/bin/sh + # + # shell to verify nasm version + # nasm -r has format "NASM version " +diff -urNad mpeg4ip-1.6~/util/testnasm.sh mpeg4ip-1.6/util/testnasm.sh +--- mpeg4ip-1.6~/util/testnasm.sh 2002-02-21 17:49:10.000000000 -0600 ++++ mpeg4ip-1.6/util/testnasm.sh 2008-01-12 16:36:01.000000000 -0600 +@@ -1,3 +1,4 @@ ++#!/bin/sh + # + # shell to verify nasm version + # nasm -r has format "NASM version " +diff -urNad mpeg4ip-1.6~/util/version.sh mpeg4ip-1.6/util/version.sh +--- mpeg4ip-1.6~/util/version.sh 2001-12-20 14:48:31.000000000 -0600 ++++ mpeg4ip-1.6/util/version.sh 2008-01-12 16:37:05.000000000 -0600 +@@ -1,3 +1,4 @@ ++#!/bin/bash + # + let arg=$# + let arg=$(($arg - 2)) --- mpeg4ip-1.6dfsg.orig/debian/patches/02_type_basic.cpp.dpatch +++ mpeg4ip-1.6dfsg/debian/patches/02_type_basic.cpp.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_type_basic.cpp.dpatch by Christian Marillat +## +## All lines beginning with ## DP:' are a description of the patch. +## DP: + +@DPATCH@ + +--- mpeg4ip-1.6.orig/common/video/iso-mpeg4/src/type_basic.cpp 2007-09-22 15:31:16.000000000 +0200 ++++ mpeg4ip-1.6/common/video/iso-mpeg4/src/type_basic.cpp 2007-09-22 15:31:26.000000000 +0200 +@@ -317,7 +317,7 @@ + iHalfY = m_vctTrueHalfPel.y - iMVY * 2; + } + +-Void CMotionVector::setToZero (Void) ++Void CMotionVector::setToZero () + { + memset (this, 0, sizeof (*this)); + }