debian/0000755000000000000000000000000012237352235007172 5ustar debian/rules0000755000000000000000000000516112152437472010260 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS # # ok looks like this script is becoming a little bit overcomplicated # however if anyone know how to simplify this let me know: kabi@debian.org # package = avifile version = -0.7 aviversion = $(package)$(version) libraries = lib$(aviversion)c2 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS := $(shell dpkg-buildflags --get CFLAGS) -Wall -g CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(CFLAGS) LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,defs -Wl,--as-needed CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 CXXFLAGS += -O0 else CFLAGS += -O2 -ffast-math -fomit-frame-pointer CXXFLAGS += -O2 -ffast-math -fomit-frame-pointer endif ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) CROSS := --build=$(DEB_HOST_GNU_TYPE) else CROSS := --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) endif %: dh $@ override_dh_auto_clean: @if [ -f Makefile ]; then $(MAKE) maintainer-clean ; fi # remove various files which should not be in tar.gz @rm -rf core `find . -name "*~" -o -name Makefile.in -o -regex '.*\.bbg?' -o -name '*.gcov' -o -name '.#*' -o -name '*.out' ` @rm -rf debian/docs .snprj build-stamp configure-stamp dh_clean acinclude.m4 override_dh_auto_configure: dh_testdir @echo "---=== Debian package is build with Lame support ===---" @echo " library is being linked at runtime" @echo "for the full usage user has to install mp3lame library" ./autogen.sh --clean dh_auto_configure -- --prefix=/usr --without-lame \ --enable-lamebin --without-mad --enable-quiet --enable-release \ --without-qt \ --disable-dependency-tracking $(CROSS) CFLAGS="$(CFLAGS)" \ CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" override_dh_auto_test: override_dh_auto_install: @echo ":: Preparing packages" dh_auto_install -- pkgdocdir=/usr/share/doc/lib$(aviversion)-common @rm -f debian/tmp/usr/share/doc/lib$(aviversion)-common/COPYING @rm -f debian/tmp/usr/share/doc/lib$(aviversion)-common/ChangeLog @chmod a+x debian/tmp/usr/share/$(aviversion)/scripts/avicap-* override_dh_installdocs: dh_installdocs --link-doc=libavifile-0.7-common debian/watch0000644000000000000000000000013511301231461010206 0ustar version=3 opts=dversionmangle=s/\.ds$// \ http://sf.net/avifile/avifile-0.7-(.*)\.tar\.bz2 debian/changelog0000644000000000000000000011523112237352230011042 0ustar avifile (1:0.7.48~20090503.ds-14build1) trusty; urgency=low * No-change rebuild for libav transition. -- Logan Rosen Sat, 09 Nov 2013 01:22:06 -0500 avifile (1:0.7.48~20090503.ds-14) unstable; urgency=low * Port to libav9. (Closes: #692867) - debian/patches/fix-ftbfs-libav9.patch * Enable hardening. * Use dh-exec to handle Multi-Arch install. -- Ying-Chun Liu (PaulLiu) Sun, 02 Jun 2013 03:13:08 +0800 avifile (1:0.7.48~20090503.ds-13) unstable; urgency=low * Use --link-doc for documentation installation. (Closes: #700792) - Add preinst to remove real directory in libavifile-0.7c2 -- Ying-Chun Liu (PaulLiu) Fri, 22 Feb 2013 14:47:49 +0800 avifile (1:0.7.48~20090503.ds-12) unstable; urgency=low * Add ftbfs-gcc4.7.patch to fix FTBFS by gcc-4.7 (Closes: #667107) -- Ying-Chun Liu (PaulLiu) Wed, 09 May 2012 16:19:34 +0800 avifile (1:0.7.48~20090503.ds-11) unstable; urgency=low * Add libxt-dev to Build-Depends. Fix FTBFS on kfreebsd (Closes: #670450) -- Ying-Chun Liu (PaulLiu) Tue, 01 May 2012 12:07:09 +0800 avifile (1:0.7.48~20090503.ds-10) unstable; urgency=low * Multi-Arch support - Use debhelper 9 - Move common files to libavifile-0.7-common - Move toolkit to libavifile-0.7-bin * Bump Standards-Version to 3.9.3: nothing needs to be changed * Don't install vidix files. (Closes: #669516) * debian/copyright: use machine-readable 1.0 format -- Ying-Chun Liu (PaulLiu) Tue, 24 Apr 2012 02:11:21 +0800 avifile (1:0.7.48~20090503.ds-9.1) unstable; urgency=low * Non-maintainer upload. * Remove unnecessary build-dependency on libaudiofile-dev (Closes: #654737) -- Alessio Treglia Thu, 05 Jan 2012 15:16:03 +0100 avifile (1:0.7.48~20090503.ds-9) unstable; urgency=low * Add debian/patches/ftbfs-freebsd.patch: Fix FTBFS on FreeBSD platform -- Ying-Chun Liu (PaulLiu) Wed, 21 Dec 2011 14:43:25 +0800 avifile (1:0.7.48~20090503.ds-8) unstable; urgency=low * Adopt this package. (Closes: #540906) * clean empty package subdirectory. * debian/rules: not to build empty packages * debian/control: add version constraints on Break field * Bump Standards-Version to 3.9.2: nothing needs to be changed * Use DebHelper7 debian/rules -- Ying-Chun Liu (PaulLiu) Sat, 17 Dec 2011 17:22:27 +0800 avifile (1:0.7.48~20090503.ds-7) unstable; urgency=low * QA upload. * Really disable MAD -- Moritz Muehlenhoff Thu, 08 Sep 2011 21:36:24 +0200 avifile (1:0.7.48~20090503.ds-6) unstable; urgency=low * QA upload. * Fix build with libav 0.7 (Closes: #640151) * Drop build dep on libmad-dev, this was only used for the now removed avifile player. -- Moritz Muehlenhoff Sat, 03 Sep 2011 18:34:42 +0200 avifile (1:0.7.48~20090503.ds-5) unstable; urgency=low * Add build dependency on libxi-dev, which was formerly pulled in indirectly (Closes: #639199) * Add Breaks on old player binaries (Closes: #639256) -- Moritz Muehlenhoff Sat, 27 Aug 2011 15:11:53 +0200 avifile (1:0.7.48~20090503.ds-4) unstable; urgency=low * QA upload. * Build-depend on libjpeg-dev, not libjpeg62-dev (Closes: #633688) * Begin work on avifile depreaction. The library will be kept for now until the reverse deps have been cleared, but the player and utils are being removed now. They have far better replacements in the archive and are still actively maintained upstream. The removal closes a few bugs: (Closes: #450633, #604343, #188495, #331038, #372547, #416448) * Fix compatibility with libav/0.7.1 (Closes: #638566) -- Moritz Muehlenhoff Sun, 21 Aug 2011 15:12:06 +0200 avifile (1:0.7.48~20090503.ds-3) unstable; urgency=low * QA upload. * Fix FTBFS with GCC4.5 (Closes: #564868). * debian/control: - Fix duplicate-in-relation-field in avifile-win32-plugin depends: ${shlibs:Depends}. - Fix debhelper-but-no-misc-depends avifile-win32-plugin. -- Alessio Treglia Fri, 06 May 2011 10:30:19 +0200 avifile (1:0.7.48~20090503.ds-2) unstable; urgency=low * QA upload. * debian/source/format: New file; switch to source format 3.0 (quilt). * Add DEP-3 headers to all patches. * debian/control (Build-Depends): Drop quilt. * debian/rules: Remove patch/unpatch logic. * debian/patches/no-lame.patch: Split from autotools.patch as it is Debian-specific. * debian/patches/ftbfs-ia64.patch: New; fixes FTBFS on ia64. * debian/patches/series: Update. -- Yavor Doganov Thu, 19 Nov 2009 14:39:52 +0200 avifile (1:0.7.48~20090503.ds-1) unstable; urgency=low * QA upload. * New upstream release/snapshot: + No longer adds -ldts to Libs in the .pc file (Closes: #492040). + Includes some portability fixes, crossing fingers that it'll build on more archs (Closes: #206467). * Repackage the upstream tarball, removing the embedded copy of LAME (Closes: #538753). While here, kill also the bundled ffmpeg copy and /debian. * debian/compat: New file. * debian/control: Wrap all fields for diff-friendliness. Add ${misc:Depends} to all binary packages' Depends. (Section): Change to `libs' to match the override. (Maintainer): The package is orphaned (#540906), set to the Debian QA Group. (Standards-Version): Claim compliance with 3.8.3 as of this release. (Build-Depends): Bump debhelper to >= 7. Remove ancient version from libqt3-mt-dev. Replace automake1.9 with automake. Remove autoconf, always pulled in by automake. Remove libdts-dev; not needed. Remove redundant gettext and patch. Remove alternative dependency on pnmtopng, merged ages ago into netpbm. Add quilt, libavformat-dev, libxxf86dga-dev and libxxf86vm-dev. (Homepage): New field. (Conflicts, Replaces, Suggests): Remove -- the former ancient, the latter not needed. (Description): s/x86 Linux/GNU/ -- should work on GNU/kFreeBSD too, and eventually on more archs. Remove Homepage(s). (libavifile-0.7-dev) : Use ${binary:Version} instead of ${Source-Version}. Remove libxft-dev, libxrender-dev and libfontconfig1-dev, not required by the .pc file.
: Change to `libdevel'. (avifile-mad-plugin, avifile-mjpeg-plugin, avifile-vorbis-plugin) (avifile-player, avidile-utils)
: Change to `video'. (avifile-win32-plugin)
: Change to contrib/video. : Add hurd-i386, thanks Samuel Thibault (Closes: #473414). (avifile-xvid-plugin, avifile-divx-plugin)
: Change to contrib/video. * debian/rules: Use automatic variables where possible. Include /usr/share/quilt/quilt.make. (DH_COMPAT, FFMPEG_CFLAGS): Do not define. (installprefix): Use $(CURDIR) instead of $(PWD). (CFLAGS, CXXFLAGS): Define to the common -Wall -g before the conditionals. (LDFLAGS): Define to -Wl,-z,defs -Wl,--as-needed. (debug, nostrip): Remove unnecessary conditionals. (CROSS): New conditionally defined variable to enter cross-compilation mode only when necessary, thanks Kumar Appaiah (Closes: #542527). (build): Depend on the patch target. (cleanB): Remove target. (clean-patched): New target; merge the recipe from clean and cleanB. Delete acinclude.m4. (configure-stamp): Change --disable-lame to --without-lame and --enable-lame-bin to --enable-lamebin following upstream change. Pass CROSS, CFLAGS, CXXFLAGS, LDFLAGS and --with-mad-prefix=/usr to avoid building the bundled libmad. (install): Use the $(MAKE) variable instead of plain make. Amend rule for the libqavm move. Delete mandir from the library package. Delete all .la files. (binary-arch): Remove cleanB from prerequisites. Remove unnecessary dh_* commands. Remove hardcoded libc6 in the plugins' shlibs:Depends, thanks Petr Salinger (Closes: #448736). Don't pass -k to dh_installchangelogs. Run dh_makeshlibs twice to avoid adding ldconfig calls in avifile-player's maintainer scripts. Adjust dh_shlibdeps's arguments. (checkscripts, source, diff): Annihilate; useless targets. * debian/builddeb: * debian/Makefile.am: * debian/postinst: * debian/postrm: * debian/avifile-player.postinst: * debian/avifile-player.postrm: Delete. * debian/watch: * debian/README.source: * debian/patches/series: New file. * debian/patches/autotools.patch: New; make the build system work with current autotools and fix some linking issues (Closes: #553940). * debian/patches/ffmpeg.patch: New; various fixes to build and link with Debian's ffmpeg (Closes: #227408, #526536, #538750). * debian/patches/libqavm-private.patch: New; install libqavm in pkglibdir as it is a private library. * debian/patches/avifile-config.patch: New; don't exit with error code upon success, thanks James Westby and Lionel Le Folgoc (Closes: #489012). * debian/avifile-player.menu (section): * debian/avifile-utils.menu (section): Change to `Applications/Video'. * debian/avifile-player.dirs: Amend for pkglibdir. * debian/libavifile-0.7-dev.dirs: Remove usr/share/lintian/overrides. * debian/libavifile-0.7c2.lintian: Remove non-existent libraries. * debian/avifile-utils.lintian: Remove unused overrides, amend binary-or-shlib-defines-rpath for the 2 programs that link against libqavm. * debian/copyright: Add the GPL blurb and exclude ffmpeg copyrights as the bundled copy has been removed (Closes: #290069). * debian/README.debian: Correct the repositories for the Woe32 codecs, thanks Lionel Le Folgoc (Closes: #435169). -- Yavor Doganov Tue, 03 Nov 2009 10:45:50 +0200 avifile (1:0.7.47.20070718-1.2) unstable; urgency=low * Non-maintainer upload. * Added -s option to dh_gencontrol, dh_md5sums and dh_builddep to avoid trying to build avifile-win32-plugin on amd64. Closes: #438106. -- Lucas Nussbaum Sat, 29 Sep 2007 17:37:27 +0200 avifile (1:0.7.47.20070718-1.1) unstable; urgency=medium * Non-maintainer upload. * Medium urgency for fixing RC bug. * Add a liba52-dev to Build-Depends. (Closes: #434202) -- Mohammed Adnène Trojette Sat, 04 Aug 2007 20:36:46 +0200 avifile (1:0.7.47.20070718-1) unstable; urgency=medium * compilable with latest compilers (Closes: 395386, 423742, 356968) * compiles with the libraries available on system (Closes: 349463) * I'm upstream :) - patch applied (Closes: 409050) * removing -rpath from avifile-config --libs output (Closes: 347536) * closing NMU bug (already fixed in previous version) (Closes: 202992) * fixed compilation bug for LIBXXF86DGA (Closes: 356969) * dependency on automake fixed (Closes: 376333) * fixed man page spelling (Closes: 408368) * another spelling fix (Closes: 362744) -- Zdenek Kabelac Wed, 18 Jul 2007 10:49:49 +0200 avifile (1:0.7.44.20051021-2.2) unstable; urgency=low * NMU. * debian/control: Build-depend on only automake1.9. (Closes: #376333) -- Eric Dorland Sat, 19 Aug 2006 01:21:19 -0400 avifile (1:0.7.44.20051021-2.1) unstable; urgency=low * Remove extra qualifications from more C++ files (Closes: #372193). -- Martin Michlmayr Thu, 08 Jun 2006 21:55:07 +0200 avifile (1:0.7.44.20051021-2) unstable; urgency=low * NMU as part of the GCC 4.1 transition. * Update the paths of the man page so the package builds again, thanks Florent Bayle (Closes: #369094). * Remove extra qualifications from C++ files (Closes: #356968). -- Martin Michlmayr Sat, 03 Jun 2006 21:14:01 +0200 avifile (1:0.7.44.20051021-1) unstable; urgency=medium * thread were already fixed long time ago - just forget to close this bug (Closes: 223101) * some thing applies to this error (Closes: 220056) - no undefined symbols are shown to me... * Rebuilt for Qt/KDE transition (Closes: 321550, 324848, 220056, 318233, 320883, 325435) * C++ ABI transition (Closes: 327932, 330012) * Fix gcc-4.0 compilation (Closes: 300179) * Fix some copyright statements (Closes: 324970) * Add s390 to supported platforms (Closes: 175039) * Already fixed, but not closed (Closes: 317889, 328558) -- Zdenek Kabelac Thu, 21 Oct 2005 10:49:49 +0100 avifile (1:0.7.43.20050224-1) unstable; urgency=low * updated to latest ffmpeg * fix packaging (Closes: 252982, 259417, 295486) * fixed xvid plugin (Closes: 225172) it's users responsibility to install this libxvidcore4 library as it is no a part of default debian project. this is just plugin which utilizies this library. * Xserver crashes are really Xserver crashes (Closes: 260808) I affraid you will have to bother the author of your XV driver directly - forwarding this bug to Xserver maintainer won't help you try to use Xorg server - should be doing fairly better job... * fixed the bug with ffmpeg pictures (Closes: 274730) of course some other bugs might appear elsewhere * fixed long time ago (Closes: 274591) there are no defaults and code compiles fine with gcc-4.0 * removed COPYING file - the copyright file already proprer links for licencies (Closes: 290069) * only decoding for new API is supported at this moment (Closes: 225081) * fixed link to marillat site (Closes: 264322) * fixed this changlog file so it contains also previous NMU * package should be compilable by any automake tool found in debian * partialy fixed info about some packages (Closes: 209432) but more will come later ;) -- Zdenek Kabelac Thu, 24 Feb 2005 10:49:49 +0100 avifile (1:0.7.42.20050215-1) unstable; urgency=low * fix libmad compilation for X86_64 (Closes: 253504) * quoted AM_PATH_AVIFILE (Closes: 267807) * unless I'm proven with buggy compiler output I'm closing this bug report as it compiles fine with current gcc-4.0 (Closes: 294473, 285677, 264543) * compiles fine with freetype2 (Closes: 228072) * removed compilation with qt2 (Closes: 245653) * name change fixed (Closes: 202627) -- Zdenek Kabelac Thu, 15 Feb 2005 13:40:44 +0100 avifile (1:0.7.38.20030710-1.2) unstable; urgency=low * NMU * Fix avifile.pc to return the right include path (Closes: 205203) * Add missin dependencies in the -dev package. libxft-dev libxrender-dev (Closes: 20 * Apply a patch to fix build under amd64 (Closes: 253504) * Move the pkgconfig file to the -dev package nad add replaces. -- Christian Marillat Thu, 4 Nov 2004 16:23:45 +0100 avifile (1:0.7.38.20030710-1.1) unstable; urgency=low * Non-maintainer upload (old RC bug). * debian/control: + Removed g++ from the build dependencies (build essential). + Removed deprecated conditional build dependencies (Closes: 245653). + Uncapitalised short descriptions. + Mention libavifile in the plugins' short descriptions. + Set the debhelper build dependency to (>= 2.0). * debian/avifile-utils.menu: + Quoted strings where appropriate. * autogen.sh: + Specifically call aclocal-1.4 and automake-1.4 because of incompatibilities with newer versions. * lib/video/sub_ft.cpp: + Fixed compilation with recent FreeType versions (Closes: 228072). * plugins/libwin32/loader/ldt_keeper.c: + Applied patch from Daniel Schepler which fixes another build issue. -- Sam Hocevar (Debian packages) Tue, 1 Jun 2004 04:15:30 +0200 avifile (1:0.7.38.20030710-1) unstable; urgency=low * closing report for xvid as its already part of debian (Closes: 191459) * it's been most probably fixed with VCR itself - next time this bug belongs to vcr package - and it's not problem of avifile package to keep vcr uptodate - moreover it already provides package with same usability (Closes: 186313) * modified Description info slightly (Closes: 190710) * surely I know CVS compiles with gcc-3.3 - I'm the developer :) (Closes: 196980) * unless provided with a sample of such problematic movie I can't see such problem with current version. (Closes: 180327) * bashism has been removed from Makefiles. (Closes: 186716) * finaly released new version. (Closes: 189469) * library renamed to use -0.7 (are you know happy now :)? (Closes: 145860) * fixed some documentation files (Closes: 191462) empty manpage template has been deprecated unfortunaly, missing pages will be written when enough time will be found -- Zdenek Kabelac Thu, 10 Jul 2003 13:40:44 +0200 avifile (0.7.36.20030401-1) unstable; urgency=low * reduced amount of debug messages * support for timertables in Avicap by Alexander Rawass * fixed bashism in vidix Makefile.am (Closes: 186716) -- Zdenek Kabelac Fri, 01 Apr 2003 13:40:44 +0200 avifile (0.7.33.20030314-1) unstable; urgency=low * better usage of shared libraries (smaller vidix part) -- Zdenek Kabelac Fri, 14 Mar 2003 13:40:44 +0200 avifile (0.7.32.20030219-1) unstable; urgency=low * again fixed some stupid bugs with ffmpeg decompression * recompiled with new Qt (Closes: 179723) * aviplay is compiled with -fPIC - non-PIC part were not discovered inside current release (Closes: 176994) * Qt dependencies are somewhat wrong with latest Qt packages (Closes: 179875, 180506) * added manpages instead of undocumented (but there is not big difference) * accepted c102 modification by Andreas Metzler. -- Zdenek Kabelac Wed, 19 Feb 2003 13:40:44 +0200 avifile (0.7.29.20030204-1) unstable; urgency=low * oops fixed somewhat fatal bug the lame plugin went in because plugin name change added configure options so it will not happen again this way * aviplay is compiled with fPIC - the only problem is that some parts aren't easily compilable with PIC - also it makes the code slower (Closes: 169474) -- Zdenek Kabelac Tue, 04 Feb 2003 23:40:44 +0200 avifile (0.7.28.20030129-1) unstable; urgency=low * xvid's been already moved to contrib (Closes: 145024) * it's playing some mpegs (though so far not very comfortable) (Closes: 100809) * linked libavqt with libaviplay (Closes: 176761) * new version, fixed Replaces (Closes: 178390, 178861, 168801, 165243) * subtitles are using special option -sub (updated manpage) (Closes: 178626) -- Zdenek Kabelac Thu, 29 Jan 2003 23:40:44 +0200 avifile (0.7.27.20030122-1) unstable; urgency=low * ok long time has passed from the last update - meanwhile a lot of code has been made - especially the ffmpeg has a lot of improvements. * no user has reported such problem (Closes: 160461) maybe user has some bad local configuration/options * ok xvid/win32 plugins are now in contrib (though I still disagree with this - but when other developer has made somewhat simple NMU let's leave them there for now (Closes: 143356) * divx plugin also moved to separate package which goes into contrib and requires separate instalation of divx4linux. (Closes: 167406) * fixed some compilation options (Closes: 132994) for building use debian/builddeb - configure will detect configure options best for given platform. * hopefully icon location is now fixed (Closes: 167742) (it looks like some bug for an old version of avifile) * compiled with incorect flags by NMU (Closes: 169134, 169701) -- Zdenek Kabelac Thu, 22 Jan 2003 14:40:44 +0200 avifile (0.7.15.20020816-1.1) unstable; urgency=low * NMU * move avifile-win32-plugin and avifile-xvid-plugin into contrib (closes: 145024). -- Robert Bihlmeyer Sun, 27 Oct 2002 21:40:44 +0100 avifile (0.7.15.20020816-1) unstable; urgency=low * fixing some memory leaks * better MP3 VBR support -- Zdenek Kabelac Fri, 16 Aug 2002 14:00:14 +0100 avifile (0.7.14.20020802-1) unstable; urgency=low * heavily updated networking support for asf streaming servers * this cvs snapshot already contains fix for (Closes: 154745) -- Zdenek Kabelac Fri, 2 Aug 2002 14:00:14 +0100 avifile (0.7.12.20020719-1) unstable; urgency=low * many many many (really) fixes again - completely redesigned some internal library parts (and yet it's just half of the work) * fixed support for mjpeg/vp31 * slightly better avirecompress * minimalized usage of exception (Closes: 119633, 120828) it's actually not a fix for gcc bug but it works at least * fixed problem with segmentation (Closes: 149242) * liblcms is not avifile dependency (Closes: 153019) hopefully should be fixed with this recompilation -- Zdenek Kabelac Wed, 19 Jul 2002 22:00:14 +0100 avifile (0.7.7.20020524-1) unstable; urgency=low * fixed build problem (Closes: 147243) -- Zdenek Kabelac Fri, 24 May 2002 15:00:14 +0100 avifile (0.7.6.20020508-1) unstable; urgency=low * removed config.h from avifile include directory (Closes: 146026) -- Zdenek Kabelac Wed, 08 May 2002 15:00:14 +0100 avifile (0.7.4.20020426-1) unstable; urgency=low * removed dependency for xvid plugin (Closes: 143847) but user still has to install it himself - he might use Christians site for apt-getting package - see Readme * fixed empty source packages (Closes: 144425) currious how just that happened - but at least the netraffic was saved as package had some serious bugs inside * removed any i386 flag from configure (Closes: 1322994) however for packages compilation for given platform user has to specify his CFLAGS/CXXFLAGS - otherwice configure will discover something by itself! * in this release several stupid bugs were fixed - in case there are problems with sound - remove ~/.avirc -- Zdenek Kabelac Fri, 26 Apr 2002 15:00:14 +0100 avifile (0.7.3.20020419-1) unstable; urgency=low * fixed dependencies (Closes: 141319) * DivX plugins are back (Closes: 142968) - though now it's a bit complicated they are build with divx4 version not divx4 (ffmpeg is better in decoding divx5 movies for now anyway) * rounding applied (Closes: 126231) but the word 'processor' is left in - it looks like this changes with kernel - for Intel there is no such word * CVS has some bugfixes * debian/rules now works on Debian Potato - though some plugin packages will have empty content - but it's surely better then nothing. Also it should be better for cross compilation on non i386 platforms * spelling fixes (Closes: 143265) I would be more then happy if some native English speaker would be checking my texts. * I'm agains any split for contrib / main part of Avifile package (Closes: 143356) - Avifile win32 plugin is able to run freely available GPL win32 dll codecs - e.g. XviD, Huffyuv and soon ffmpeg as well. It's only the question how to package such plugins - but they are GPL & source available - but most probably uncompilable on Linux (Win32 compilers are probably needed) I do not want to sound rude here, but avifile development takes me 99% of free time and I do not have more to split project into two parts, maintain them separately just because someone sees only the usage of M$ Wm8 codecs - ok quite long entry... -- Zdenek Kabelac Fri, 19 Apr 2002 15:00:14 +0100 avifile (0.7.2.20020412-1) unstable; urgency=low * using debhelper compatibility mode 3 * Fixed icon location in menu files (Closes: 129598) * Fixed >81 chars description length for libavifile (Closes: 130962) * Fixed libmmxnow.so & libavqt.so problem (Closes: 124096) mmxnow is for now still private experimet libavqt is private library used by avifile programs as it's API is not yet finished only the library is distributed with player * Extended win32 plugins description - codecs have to be downloaded separately as they can't be regular part of Debian. (Closes: 138487) * more verbose message when the file can't be open. (Closes: 136075) * fixing build problems for PowerPC (Closes: 136580, 128132) (but likely new might appear with new version * basicaly update to the current CVS version - which means increase of version to 0.7 - library should allow coexistance of older aviplay library in the system - expecting some minor remaing compatibility problems - hard to catch them all at once) -- Zdenek Kabelac Fri, 12 Apr 2002 14:00:14 +0100 avifile (0.6.0.20011220-1.1) unstable; urgency=low * Non-Maintainer Upload * debian/rules: call make without -j option -- David Schleef Fri, 1 Mar 2002 20:36:13 -0800 avifile (0.6.0.20011220-1) unstable; urgency=low * fixed spelling error (dll->DLL) (Closes: 124433) * builds on PPC also * improved avicap a bit -- Zdenek Kabelac Mon, 20 Nov 2001 14:00:14 +0100 avifile (0.6.0.20011207-1) unstable; urgency=low * I do not see upside down images - so this bug is currently unreproducible (Closes: 120011) (Though there might be some problems with some codecs - but this are very special and rare to be seen by averidge user - basicaly problematic codecs sits on my hardrive. * Well not it builds on 64bit alpha (Closes: 122205) Yet I have no idea how it works :) Again - if anybody want to help with making it multiplatform... * Missing dependencies were already fixed (Closes: 118660) * slightly modified control file to ensure that some qt-mt library will be installed * this is just a reminder here - one library package has been splited into more parts. -- Zdenek Kabelac Wed, 7 Nov 2001 14:00:14 +0100 avifile (0.6.0.20011130-1) unstable; urgency=low * closing bugs (Closes: 116667, 120429, 121561) * fixed already for some time (Closes: 119052) * unreproducible (Closes: 113287) * hopefully fixed (Closes: 114858) * staying with autoconf (Closes: 119690) * this is problem of sdl-dev (Closes: 120949) * updating mime-types (Closes: 117432) * fixed some spelling problem (Closes: 120708) * added Video hints (Closes: 121028) * added some Conflicts: for new plugins -- Zdenek Kabelac Fri, 30 Nov 2001 14:00:14 +0100 avifile (0.6.0.20011123-1) unstable; urgency=low * some updates for avicap tool -- Zdenek Kabelac Fri, 23 Nov 2001 12:34:00 +0100 avifile (0.6.0.20011116-1) unstable; urgency=low * updated build dependencies - added autoconf & automake * fixed bugs introduced in previous release -- Zdenek Kabelac Fri, 16 Nov 2001 12:34:00 +0100 avifile (0.6.0.20011109-1) unstable; urgency=low * have I mentied I fixed another big set of bugs :) * disabled AC3 audio decoding for mainstream Debian release * created few more packages - and more will come... right now libmad - depend on libmad package - very good MP3 decoder libvorbis - for those who want to play vorbis files - need Vorbis/Ogg * added mime type (Closes: 117432) * corrected dependency for libavifile (Closes: 118660, 116667) * these bugs are currently not reproducable (Closes: 113287, 114858) * this package is released with these known bugs: Streaming is broken -- Zdenek Kabelac Fri, 9 Nov 2001 12:34:00 +0100 avifile (0.6.0.20011018-1) unstable; urgency=low * debian/control - adding gettext dependency for AM_LC_MESSAGES (it's not used right now, but probably will be) * some building fixes for non-debian systems * eliminating usage of STL - using internal avm::string & avm::vector * recompiled with new SDL -- Zdenek Kabelac Thu, 18 Oct 2001 22:34:00 +0200 avifile (0.6.0.20011002-1) unstable; urgency=low * various coredumps in gui should be mostly fixed (Closes: 114167) * divx.dll seems to work - though it's not yet perfect * x2divx should work again (Closes: 112079) thought we have introduces minor change in infotypes which requires minor updates on tools * fixed few minor problems with vorbis plugin * again closing bug closed in REJECTed release (Closes: 109947, 110046) * I'm plaining to make it architecture-any (Closes: 112803) (But I do need help - I'm only i386 programmer - so please send me bugreports preferably together with fixes * changed audio timing (but it's still experimental - so it's disabled for debian release - CVS has this enable - but with problems with scrambled asf streams) -- Zdenek Kabelac Tue, 02 Oct 2001 22:34:00 +0200 avifile (0.6.0.20010907-1) unstable; urgency=low * switch to arch any - let's just get more bugreports... * vorbis plugin * someone doesn't like my idea of adding empty packages ahead :( so for now still without libmmxnow (one of the last such packages) * dependency for libqt removed from libavifile (Closes: 110362) -- Zdenek Kabelac Fri, 07 Sep 2001 12:34:00 +0200 avifile (0.6.0.20010831-1) unstable; urgency=low * compiled again with -march=i586 - we do not need any extra optimalizations (Closes: 109947) * new video scheduling code * fixed couple things which just get broken during some last updates * extra Audio stream support * added build depend to libqt-mt (Closes: 110046) -- Zdenek Kabelac Fri, 31 Aug 2001 12:34:00 +0200 avifile (0.6.0.20010824-1) unstable; urgency=low * lot of new features - especially better support for X11 rendering with ffmpeg * ac3 pass-through for SBLive -- Zdenek Kabelac Fri, 24 Aug 2001 12:34:00 +0200 avifile (0.6.0.20010817-1) unstable; urgency=low * stupid fix - actually added those renamed avirecompress, avicap and avibench tools * fixed some menu and building scripts * just recompilation was needed - already fixed in previous release (Closes: 106953,107096) * fixed avifile-config (Closes: 108748) -- Zdenek Kabelac Fri, 17 Aug 2001 12:34:00 +0200 avifile (0.6.0.20010810-1) unstable; urgency=low * improved versioning (Closes: 106647) * no svgalib depedency for now (Closes: 106526) * building with Qt2 - should be much more stable for now and we should stay binary compatible for more than one week :) * support AC3, ALaw, uLaw audio streams supported * renaming some applications -> avirecompress, avicap, avibench -- Zdenek Kabelac Fri, 10 Aug 2001 12:34:00 +0200 avifile (0.6.0.20010803-1) unstable; urgency=low * rebuild with latest Qt (Closed: 106953, 107096) * oh my god what they have made to autoconf - anyway you will be probably unable to recompile this package with current autoconf package - so enjoy this binary release (if you find libtool.m4 from previous autoconf package - it might be really useful) anyway avifile work with autoconf2.50 without problems complain elsewhere (Closes: 107348) * better versioning for library to complain Debian policy (using 0.6 - not just 0 because 0.7 will be probably incompatible with 0.6) (Closes: 106645) * not my problem (Closes: 106998) * I've no idea what is the reason for the fault in testing - I'm closing it as it's obviously bug elsewhere (Closes: 107350) I would suspect author is using some broken automake/autoconf (as is present in current unstable) -- Zdenek Kabelac Fri, 3 Aug 2001 12:34:00 +0200 avifile (0.6.0.20010719-1) unstable; urgency=low * /usr/local/lib/win32 supported * libmp3lamebin is able to encode mp3 if you have libmp3lame instaled on your system (/usr/lib, /usr/local/lib or anywhere in LD_LIBRARY_PATH) * cleanup in makefiles and autoconfigure scripts support for autoconf2.50 (Closes: 104262) * previous build was made with old /var/lib/dpkg/info (Closes: 104273) * using inttypes.h (Closes: 102659) * lot of fixes in qtrecompresor -- Zdenek Kabelac Mon, 19 Jul 2001 12:34:00 +0200 avifile (0.6.0.20010709-1) unstable; urgency=low * add ffmpeg - playing OpenDiv through YV12 hw acceleration * I believe recompilation fixes (Closes: 103886, 104097) * libarts-dev is actually not a depedency problem of avifile but rather libsdl1.2-dev itself as this is the library which actually needs libarts (Closes: 104027, 104028, 103072) but its not a problem add this dependency for some time * fixed problem with WIN32_PATH (Closes: 102934) * rebuild with latest SDL package (Closes: 102100) -- Zdenek Kabelac Mon, 07 Jul 2001 17:34:00 +0200 avifile (0.6.0.20010629-1) unstable; urgency=low * new scheduler * should be even more smooth - using various priorities for various threads * added few more tools - avicat, avitype, avimake - for now without manpages * has been reject because of dpkg bug -- Zdenek Kabelac Fri, 29 Jun 2001 17:34:00 +0200 avifile (0.6.0.20010622-1) unstable; urgency=low * fixed some upgrade info Joye Hess (Closes: 101061) * improtant fixes to make playing almost enjoyable even on very slow P200MMX machine (this is really slow machine) * direct rendering is supported also for x11 rendering (in non buffered mode) * very fast file seeking * better support for streamed .asf files over the network * libGLUT was not the problem in avifile (Closes: 100763) -- Zdenek Kabelac Thu, 22 Jun 2001 12:34:00 +0200 avifile (0.6.0.20010614-1) unstable; urgency=low * (Closes: 97198) - currently the mp3 encoder is not builded (which effectivly ruins the usage of qtrecompress - well I've not inveted stupid american law..) * as usually 100% better playing... * supporting more formats (uncompressed YUY2, YV12) * kv4lsetup is now suid (Closes: 99057) * using Qt3 libraries - for they they are not fully integrated so some unmet dependecies are overridden assume this will require recompilation when everything will be cleaned -- Zdenek Kabelac Thu, 14 Jun 2001 12:34:00 +0200 avifile (0.6.0.20010518-1) unstable; urgency=low * (Closes: 97853) - integer overflow * new video image scheduling - much more precise * cripled qtrecompress - for now we are not shipping lame encoder - as some people 'believe' this is illegal - but I'm expecting those people will send me some good reason for their believing.... -- Zdenek Kabelac Fri, 18 May 2001 12:34:00 +0100 avifile (0.6.0.20010503-1) unstable; urgency=low * fixed many many bugs * aviplayer is also faster now * added some 'or' packages to building dependencies so Woody users could use the same package (Closes: 95972) * added some info about DLL codecs to postinst (Closes: 94560) * TODO is original file from CVS archive (Closes: 94555) * (Closes: 95518) this release should probably fix this problem if not please prepare problematic short cuted version of this file. * (Closes: 95114) this package contains soon to be stable version and I don't see the point in packaging old broken software -- Zdenek Kabelac Thu, 03 May 2001 12:34:00 +0200 avifile (0.6.0.20010426-1) unstable; urgency=low * fixed few more bugreports * this should be soon stable release -- Zdenek Kabelac Thu, 26 Apr 2001 12:34:00 +0100 avifile (0.6.0.20010419-1) unstable; urgency=low * CVS date: 2001/04/19 (this message is boring so its the last one) * (Closes: 94196) - player moved to section Viewers from Tools Janos Holanyi * audio & seek are now quite good -- Zdenek Kabelac Thu, 19 Apr 2001 12:34:00 +0100 avifile (0.6.0.20010412-1) unstable; urgency=low * CVS date: 2001/04/12 * (Closes: 92349) - I believe this was a problem with wierd GCC version used for build and should no longer be present * few more files are now cleaned in debian/rules * few sample programs should be at least able to run (qtrecompress, qtvidcap) -- Zdenek Kabelac Thu, 12 Apr 2001 12:34:00 +0100 avifile (0.6.0.20010405-1) unstable; urgency=low * CVS date: 2001/04/05 * (Closes: 92437) thanks to Ilya Konstantinov for pointing out this problem * audio should be in sync with video most of this time now (yet some problematic .avis' still exist) if you have such please report... -- Zdenek Kabelac Thu, 05 Apr 2001 12:34:00 +0100 avifile (0.6.0.20010329-1) unstable; urgency=low * CVS date: 2001/03/29 -- Zdenek Kabelac Thu, 29 Mar 2001 12:34:00 +0100 avifile (0.6.0.20010322-1) unstable; urgency=low * CVS date: 2001/03/22 * see ChangeLog file -- Zdenek Kabelac Thu, 22 Mar 2001 12:34:00 +0100 avifile (0.6.0.20010315-1) unstable; urgency=low * CVS date: 2001/03/15 * changed naming convention for package * updated man page for avifile * cleans in debian/rules * cleaned manpages mess a bit (Closes: 86757) * forgotton .so lib files are now back in place for -dev package static libraries aren't really need and they woudln't work anyway (Closes: 88808) * there will be zero lenght diffs comming now with this package for a while as the maintainer (kabi@debian.org) has got the write access to CVS so all the changes should be in CVS tree too. * fixed build dependency libgl-dev - removed not needed (Closes: 86966) * limited to i386 architecture only for this moment (Closes: 88236) * fixed many many many bugs & problems I've discovered now its almost equal to 0.53 version (on SMP computer it's faster) the video playback is smother, audio is still a bit off sometimes * fixed build dependency for libsdl * fixed build dependency for pnmtopng - removed -- Zdenek Kabelac Thu, 15 Mar 2001 12:33:53 +0100 avifile (0.6.0-2) unstable; urgency=low * changes to debian/rules (added -dev package and various other tweaks to reflect changes in Makefiles * configure is using --enable-release -enable-quite --prefix /usr * renamed package name of libaviplay to libavifile to stay consistent * added few more lines to aviplay's man page * using CVS source from 2001/02/12 -- Zdenek Kabelac Sat, 10 Feb 2001 00:41:59 +0100 avifile (0.6.0-1) unstable; urgency=low * using latest CVS source for version 0.6 (2001/01/30) (with 1 fix) * added some tricks to rules for reasonable good installation -- Zdenek Kabelac Sat, 10 Feb 2001 00:41:54 +0100 avifile (0.53-1) unstable; urgency=low * using latest source 0.53.1 (however original directory is 0.53) (CVS tree is not the latest source at this moment) -- Zdenek Kabelac Wed, 4 Jan 2001 14:53:28 +0100 avifile (20001030-1) unstable; urgency=low * separated libraries to separate package libaviplay * updated CVS -- Zdenek Kabelac Wed, 3 Jan 2001 21:53:12 +0100 avifile (20001025-1) unstable; urgency=low * initial release -- Zdenek Kabelac Wed, 25 Oct 2000 19:52:19 +0200 debian/libavifile-0.7-common.install0000644000000000000000000000007412152440537014460 0ustar usr/share/avifile-0.7/ usr/share/doc/libavifile-0.7-common/ debian/libavifile-0.7-bin.install0000644000000000000000000000051312152440537013736 0ustar usr/bin/avibench usr/bin/avicat usr/bin/avimake usr/bin/avitype usr/share/man/man1/avibench.1 usr/share/man/man1/avicap.1 usr/share/man/man1/avicat.1 usr/share/man/man1/avimake.1 usr/share/man/man1/aviplay.1 usr/share/man/man1/avirec.1 usr/share/man/man1/avirecompress.1 usr/share/man/man1/avitype.1 usr/share/man/man1/kv4lsetup.1 debian/compat0000644000000000000000000000000211745052065010371 0ustar 9 debian/libavifile-0.7c2.lintian-overrides0000644000000000000000000000010511301231461015367 0ustar libavifile-0.7c2: package-name-doesnt-match-sonames libaviplay-0.7-0 debian/README.source0000644000000000000000000000105011301231461011331 0ustar This package uses quilt (in a fairly standard/straightforward way) to manage all modifications to the upstream source. Please see /usr/share/doc/quilt/README.gz and quilt(1) for further instructions. The upstream source is obtained with the following commands: $ cvs -d:pserver:anonymous@avifile.cvs.sourceforge.net:/cvsroot/avifile \ export -D avifile-0.6 $ cd avifile-0.6 $ rm -rf ffmpeg plugins/libmp3lame_audioenc/lame3.70 $ find -name .cvsignore -delete -- Yavor Doganov , Thu, 22 Oct 2009 21:14:27 +0300 debian/libavifile-0.7-dev.links0000755000000000000000000000016012152440510013406 0ustar #! /usr/bin/dh-exec usr/lib/${DEB_HOST_MULTIARCH}/libaviplay.so usr/lib/${DEB_HOST_MULTIARCH}/libaviplay-0.7.so debian/libavifile-0.7c2.preinst0000644000000000000000000000061712111614300013422 0ustar #!/bin/sh set -e DOCDIR=/usr/share/doc/libavifile-0.7c2 case "$1" in install|upgrade) if [ -d $DOCDIR ]; then rm -rf $DOCDIR fi ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/copyright0000644000000000000000000001014312152440537011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: avifile Upstream-Contact: Zdenek Kabelac Source: http://sourceforge.net/projects/avifile Files: * Copyright: Zdenek Kabelac Eugene Kuznetsov Alexander Rawass Heinrich Langos Hiroshi Yamashita License: GPL-2+ Files: debian/* Copyright: 2000 Zdenek Kabelac License: GPL-2+ Files: plugins/libmad/libmad/* Copyright: 2000-2001 Robert Leslie 2000-2004 Underbit Technologies, Inc. License: GPL-2+ Comment: The libmad bundled copy is unused, since the Debian package links against the system library.) Files: plugins/libwin32/loader/* Copyright: 1994-1997 Brooktree Corporation 2001 On2 Technologies. License: GPL-2+ Comment: mostly taken from Wine project ( http://www.winehq.com ) Files: plugins/libaudiodec/gsm* Copyright: 1992 Jutta Degener and Carsten Bormann License: Any use of this software is permitted provided that this notice is not removed and that neither the authors nor the Technische Universitaet Berlin are deemed to have made any representations as to the suitability of this software for any purpose nor are held responsible for any defects of this software. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. Comment: XAnim sources, see plugins/libaudiodec/xa_gsm.c for precise copyright Files: plugins/libmpeg_audiodecoder/* Copyright: 1997 Jung woo-jae License: GPL-2+ Comment: 'splay' MP3 player, by Jung woo-jae Files: plugins/libac3pass/* Copyright: 2001 Juha Yrjölä License: GPL-2+ Comment: emu10k1 CVS tree - Juha Yrjölä Files: plugins/libmp3lame*/ Copyright: 1999 Mark Taylor 2000 Don Melton License: GPL-2+ Comment: lame developers Files: lib/aviread/asfinput.cpp Copyright: Rogue Spider Myers Carpenter License: LGPL-2+ Comment: partially from ASFRecorder ( http://members.tripod.com/asfrecorder ) http://sourceforge.net/projects/asfrecorder/ Files: plugins/libvorbis/* Copyright: Felix 'Atmosfear' Buenemann License: GPL-2+ Comment: based on work of mplayer team - especialy Felix 'Atmosfear' Buenemann License: GPL-2+ 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 St, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". License: LGPL-2+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library 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 Library General Public License for more details. . You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems, the complete text of the GNU Library General Public License version 2 can be found in "/usr/share/common-licenses/LGPL-2". debian/source/0000755000000000000000000000000011673057241010474 5ustar debian/source/format0000644000000000000000000000001411301267333011673 0ustar 3.0 (quilt) debian/libavifile-0.7c2.install0000644000000000000000000000005712152440537013420 0ustar usr/lib/*/avifile-0.7/*.so usr/lib/*/lib*.so.* debian/libavifile-0.7-dev.install0000644000000000000000000000020212152440537013737 0ustar usr/bin/avifile-config usr/include/ usr/lib/*/lib*.so usr/lib/*/pkgconfig/ usr/share/aclocal/ usr/share/man/man1/avifile-config.1 debian/README.debian0000644000000000000000000000526211301231461011264 0ustar Avifile for DEBIAN --------------------- * Ffmpeg plugin is able to decompress DivX and many other formats without the need off Windows codecs! Also it's currently by far the FASTEST decoder I know!! * Unofficial Debian packages which might be useful for many users could be found here - use this apt line: deb http://mirror.home-dn.net/debian-multimedia unstable main deb-src http://mirror.home-dn.net/debian-multimedia unstable main Should contain Win32 codecs and other various packages which users might find very usable * Debian binary distribution COULD NOT contain any binary encoder for MP3 encoding - Thompson is charging each distributor of such thing $25000 per year - I doubt anyone would donate money to Debian project for such purpose so do not expect this will change anytime soon :) * But on the other hand from 2001/07/11 we have new plugin - libmp3lamebin So if you will compile Lame project for yourself and install the binary library libmp3lame.so into /usr/lib or /usr/local/lib you could use mp3 encoding capability of avirecompress tool. Lame project could be found here: http://lame.sourceforge.net/ * We also could not distribute binary codecs (Windows DLLs) - these are useful for playing most of .avi/.asf streams you will find. Most probably you will need to download them from the Internet so look at the following links for them: http://avifile.sourceforge.net http://mplayerhq.hu * Fast OpenDivX plugin is now also part of this package - but you will need to download DivX4linux package for yourself and install it localy - in the future we may provide package for this library. This is URL for version which has been used to build to plugin: http://avifile.sourceforge.net/divx4linux-20020418.tgz * Also separate instalation of Xvid plugin is necessary Again - I suggest Christian Marillat's site Please NOTE: You need to install latest Xvid 1.0 library which has different API, if you want to use older version, separate compilation is needed. * Currently you could not easily select which plugin you actually want to use - this will be hopefully resolved later... (see the homepage how to select plugin right now) You can drag & move codec with the mouse in Config/Decoder window though it's kind of hard work... * According to this http://www.netbsd.org/Letters/20010803-dolby.html there could be potentially some problems with AC3 decoding routines. * Debian packages are now split in such a way that user might install only those codecs he really needs (so if you do not want to install extra vorbis libraries you don't have to) Zdenek Kabelac debian/clean0000644000000000000000000000002311673055207010174 0ustar debian/cdbs-*-list debian/control0000644000000000000000000000727612152440537010610 0ustar Source: avifile Section: libs Priority: optional Maintainer: Ying-Chun Liu (PaulLiu) Standards-Version: 3.9.3 Build-Depends: automake, debhelper (>= 9), dh-exec, liba52-dev, libavformat-dev, libjpeg-dev, libogg-dev, libsdl1.2-dev, libtool, libvorbis-dev, libxft-dev, libxi-dev, libxt-dev, libxxf86dga-dev, libxxf86vm-dev, netpbm Homepage: http://avifile.sf.net Package: libavifile-0.7-common Architecture: all Section: misc Depends: ${misc:Depends} Replaces: libavifile-0.7c2 (<< 1:0.7.48~20090503.ds-10) Breaks: libavifile-0.7c2 (<< 1:0.7.48~20090503.ds-10) Multi-Arch: foreign Description: toolkit for libavifile Library that allows programs to read and write compressed AVI files (Indeo Video, DivX ;-), etc.) under GNU. (De)Compression is performed with various audio/video plugins (FFMpeg, Vorbis, Win32, ...). Formats like mpeg, mov are partly supported. For more info about usage of Win32, Lame and OpenDivX plugin see README.debian. . This package contains the common files which libavifile needed. Package: libavifile-0.7c2 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: libavifile-0.7-common, ${misc:Depends}, ${shlibs:Depends} Breaks: avifile-divx-plugin (<< 1:0.7.48~20090503.ds-5), avifile-mad-plugin (<< 1:0.7.48~20090503.ds-5), avifile-mjpeg-plugin (<< 1:0.7.48~20090503.ds-5), avifile-player (<< 1:0.7.48~20090503.ds-5), avifile-utils (<< 1:0.7.48~20090503.ds-5), avifile-vorbis-plugin (<< 1:0.7.48~20090503.ds-5), avifile-win32-plugin (<< 1:0.7.48~20090503.ds-5), avifile-xvid-plugin (<< 1:0.7.48~20090503.ds-5) Multi-Arch: same Description: shared libraries for AVI read/writing Library that allows programs to read and write compressed AVI files (Indeo Video, DivX ;-), etc.) under GNU. (De)Compression is performed with various audio/video plugins (FFMpeg, Vorbis, Win32, ...). Formats like mpeg, mov are partly supported. For more info about usage of Win32, Lame and OpenDivX plugin see README.debian. Package: libavifile-0.7-dev Architecture: any Section: libdevel Depends: libavifile-0.7c2 (= ${binary:Version}), ${misc:Depends} Breaks: avifile-divx-plugin (<< 1:0.7.48~20090503.ds-5), avifile-mad-plugin (<< 1:0.7.48~20090503.ds-5), avifile-mjpeg-plugin (<< 1:0.7.48~20090503.ds-5), avifile-player (<< 1:0.7.48~20090503.ds-5), avifile-utils (<< 1:0.7.48~20090503.ds-5), avifile-vorbis-plugin (<< 1:0.7.48~20090503.ds-5), avifile-win32-plugin (<< 1:0.7.48~20090503.ds-5), avifile-xvid-plugin (<< 1:0.7.48~20090503.ds-5), libavifile-0.7c2 (<< 1:0.7.48~20090503.ds-10) Replaces: libavifile-0.7c2 (<< 1:0.7.48~20090503.ds-10) Description: development header files for libavifile Contains the symlinks, headers and object files needed to compile and link programs which use aviplay library. Package: libavifile-0.7-bin Architecture: any Section: misc Depends: libavifile-0.7-common, ${misc:Depends}, ${shlibs:Depends} Replaces: libavifile-0.7c2 (<< 1:0.7.48~20090503.ds-10) Conflicts: libavifile-0.7c2 (<< 1:0.7.48~20090503.ds-10) Description: toolkit for libavifile Library that allows programs to read and write compressed AVI files (Indeo Video, DivX ;-), etc.) under GNU. (De)Compression is performed with various audio/video plugins (FFMpeg, Vorbis, Win32, ...). Formats like mpeg, mov are partly supported. For more info about usage of Win32, Lame and OpenDivX plugin see README.debian. . This package contains the toolkit for libavifile. debian/libavifile-0.7-dev.dirs0000644000000000000000000000004311301231461013222 0ustar usr/bin usr/lib usr/share/man/man1 debian/patches/0000755000000000000000000000000012152437572010625 5ustar debian/patches/avifile-config.patch0000644000000000000000000000255511301241320014512 0ustar Description: Properly set avifile-config's exit status Bug-Debian: http://bugs.debian.org/489012 Author: Lionel Le Folgoc Last-Update: 2009-10-22 2009-10-22 Lionel Le Folgoc * avifile-config.in: Exit with 0 on success. --- avifile-0.7.48~20090503.ds.orig/avifile-config.in +++ avifile-0.7.48~20090503.ds/avifile-config.in @@ -99,12 +99,35 @@ libs="-laviplay" #libs="-L$lib_dir @AVIFILE_RLD_FLAGS@ -laviplay" -test "$lib_dir" != "/usr/lib" && libs="-L$lib_dir $libs" +if test "$lib_dir" != "/usr/lib"; then + libs="-L$lib_dir $libs" +fi -test "$echo_prefix" = "yes" && echo $prefix -test "$echo_exec_prefix" = "yes" && echo $exec_prefix -test "$echo_cflags" = "yes" && echo $cflags -test "$echo_libs" = "yes" && echo $libs -test "$echo_data_dir" = "yes" && echo $datadir -test "$echo_data_root_dir" = "yes" && echo $datarootdir -test "$echo_version" = "yes" && echo $version + +if test "$echo_prefix" = "yes"; then + echo $prefix +fi + +if test "$echo_exec_prefix" = "yes"; then + echo $exec_prefix +fi + +if test "$echo_cflags" = "yes"; then + echo $cflags +fi + +if test "$echo_libs" = "yes"; then + echo $libs +fi + +if test "$echo_data_dir" = "yes"; then + echo $data_dir +fi + +if test "$echo_data_root_dir" = "yes"; then + echo $datarootdir +fi + +if test "$echo_version" = "yes"; then + echo $version +fi debian/patches/autotools.patch0000644000000000000000000001043711301237101013661 0ustar Description: Various autotools-related fixes Always build with -g. Fix autoreconf failure with autoconf/2.64. Link against fontconfig to avoid unresolved symbols. Fix FTBFS with binutils-gold. Author: Yavor Doganov Last-Update: 2009-11-02 2009-11-02 Yavor Doganov * configure.in: Don't perform -g surgery on CFLAGS/CXXFLAGS. (win32, x86opt): Use quadrigrpaphs and properly quote AC_ARG_ENABLE arguments. (xft): Append -lfontconfig to XFT_LIBS. * autogen.sh: Exit with an error if autoreconf fails. * libavqt/Makefile.am (LINK_AVIPLAY): Remove AMM_LINK_SHARED conditional. * samples/misc/Makefile.am (avibench_LDADD): * samples/qtvidcap/Makefile.am (kv4lsetup_LDADD) (avirec_LDADD, avicap_LDADD): Add $(X_LIBS). --- avifile-0.7.48~20090503.ds.orig/configure.in +++ avifile-0.7.48~20090503.ds/configure.in @@ -477,7 +477,10 @@ dnl this is another funny modification of the Xft2 installation dnl after roughly 3 months they have again changed configuration dnl and Debian is properly supporting only pkg-config - PKG_CHECK_MODULES(XFT, xft, [], AC_MSG_RESULT([reverting to use xft-config])) + ## Linking against libfontconfig is necessary, but -lfontconfig is + ## not in xft.pc's Libs, at least on Debian. + PKG_CHECK_MODULES([XFT], [xft], [XFT_LIBS="$XFT_LIBS -lfontconfig"], + [AC_MSG_RESULT([reverting to use xft-config])]) if test -z "$XFT_LIBS"; then dnl xft2 is a bit tricky and introduces xft-config @@ -730,7 +733,8 @@ dnl ====================================== dnl Check for Win32 dll libraries & plugin dnl ====================================== -AC_ARG_ENABLE(win32, AC_HELP_STRING(--enable-win32, [build Win DLLs plugin. [[arch specific]]])) +AC_ARG_ENABLE([win32], [AS_HELP_STRING([--enable-win32], + [build Win DLLs plugin. @<:@arch specific@:>@])]) AC_ARG_WITH(win32_path, AC_HELP_STRING(--with-win32-path=PATH, [where Windows DLL files are located. [[=/usr/lib/win32]]]), WIN32_PATH=$withval, WIN32_PATH="/usr/lib/win32") AC_SUBST(WIN32_PATH) @@ -748,8 +752,9 @@ AC_IF_YES(enableval, AC_DEFINE(QUIET, 1, [Define if you want to have quiet library.])) ) -AC_ARG_ENABLE(x86opt, AC_HELP_STRING(--disable-x86opt, [x86 optimizations MMX,MMX2,SSE... [[arch specific]]]), - [], enable_x86opt=yes) +AC_ARG_ENABLE([x86opt], [AS_HELP_STRING([--disable-x86opt], + [x86 optimizations MMX,MMX2,SSE... @<:@arch specific@:>@])], + [], [enable_x86opt=yes]) dnl ====================== @@ -921,10 +926,6 @@ dnl this is for my yet released kprof profiler PROFFLAG="-finstrument-functions " fi -else - CFLAGS=`echo $CFLAGS | sed s/-g//` - CXXFLAGS=`echo $CXXFLAGS | sed s/-g//` - FFMPEG_CFLAGS=`echo $FFMPEG_CFLAGS | sed s/-g//` fi WIN32_CFLAGS=`echo $CFLAGS | sed s/-fomit-frame-pointer//g` --- avifile-0.7.48~20090503.ds.orig/autogen.sh +++ avifile-0.7.48~20090503.ds/autogen.sh @@ -203,4 +203,5 @@ $use_aclocal --print-ac-dir echo "Please report your problem on kabi@users.sourceforge.net" echo "with this log of build process together with system description." + exit 1 fi --- avifile-0.7.48~20090503.ds.orig/libavqt/Makefile.am +++ avifile-0.7.48~20090503.ds/libavqt/Makefile.am @@ -22,9 +22,7 @@ # hierarchyview.cpp \ # propertyeditor.cpp -if AMM_LINK_SHARED LINK_AVIPLAY = ../lib/libaviplay.la -endif #testt --- avifile-0.7.48~20090503.ds.orig/samples/misc/Makefile.am +++ avifile-0.7.48~20090503.ds/samples/misc/Makefile.am @@ -4,7 +4,7 @@ # ae test plustest imtest qualtest #asfdump_SOURCES=asfdump.cpp #asftest_SOURCES=asftest.cpp -avibench_LDADD = $(LIBRARY) +avibench_LDADD = $(LIBRARY) $(X_LIBS) avibench_SOURCES = benchmark.cpp avicat_LDADD = $(LIBRARY) avicat_SOURCES = avicat.cpp --- avifile-0.7.48~20090503.ds.orig/samples/qtvidcap/Makefile.am +++ avifile-0.7.48~20090503.ds/samples/qtvidcap/Makefile.am @@ -70,7 +70,7 @@ avicap_LDADD =\ ../../libavqt/libqavm.la\ - $(QT_LIBS) $(LIBRARY) + $(QT_LIBS) $(LIBRARY) $(X_LIBS) avirec_SOURCES =\ deinterlace-rgb.cpp\ @@ -87,10 +87,10 @@ v4lxif.h\ wintv.h\ qt_visual.c -avirec_LDADD = $(LIBRARY) +avirec_LDADD = $(LIBRARY) $(X_LIBS) kv4lsetup_SOURCES = kv4lsetup.cpp -kv4lsetup_LDADD = $(LIBRARY) +kv4lsetup_LDADD = $(LIBRARY) $(X_LIBS) #install-exec-local: # @INSTALL@ -m4755 ./kv4lsetup $(DESTDIR)@bindir@ debian/patches/series0000644000000000000000000000034712152437572012046 0ustar avifile-config.patch autotools.patch no-lame.patch ftbfs-ia64.patch ffmpeg.patch libqavm-private.patch gcc45.patch fix-libav07-compat.patch fix-build-with-libav07.patch ftbfs-freebsd.patch ftbfs-gcc4.7.patch fix-ftbfs-libav9.patch debian/patches/fix-libav07-compat.patch0000644000000000000000000001144511624206036015154 0ustar diff -aur avifile-0.7.48~20090503.ds.orig/lib/aviread/FFReadHandler.cpp avifile-0.7.48~20090503.ds/lib/aviread/FFReadHandler.cpp --- avifile-0.7.48~20090503.ds.orig/lib/aviread/FFReadHandler.cpp 2009-05-01 20:56:45.000000000 +0200 +++ avifile-0.7.48~20090503.ds/lib/aviread/FFReadHandler.cpp 2011-08-20 12:07:23.000000000 +0200 @@ -122,8 +122,8 @@ uint_t cnt = 0; switch (type) { - case IStream::Audio: t = CODEC_TYPE_AUDIO; break; - case IStream::Video: t = CODEC_TYPE_VIDEO; break; + case IStream::Audio: t = AVMEDIA_TYPE_AUDIO; break; + case IStream::Video: t = AVMEDIA_TYPE_VIDEO; break; default: return 0; } @@ -147,8 +147,8 @@ switch (type) { - case IStream::Audio: t = CODEC_TYPE_AUDIO; break; - case IStream::Video: t = CODEC_TYPE_VIDEO; break; + case IStream::Audio: t = AVMEDIA_TYPE_AUDIO; break; + case IStream::Video: t = AVMEDIA_TYPE_VIDEO; break; default: return 0; } @@ -228,7 +228,7 @@ p->SetPos(s.m_uiPosition); p->SetTimestamp(((pkt.pts != (int64_t)AV_NOPTS_VALUE) ? pkt.pts : pkt.dts) * AV_TIME_BASE * ast.time_base.num / ast.time_base.den - s.GetStartTime()); - if (pkt.flags & PKT_FLAG_KEY) + if (pkt.flags & AV_PKT_FLAG_KEY) p->SetFlags(p->GetFlags() | KEYFRAME); if (p->GetTimestamp() < 0) @@ -237,16 +237,16 @@ //AVM_WRITE("FF reader", "st:%d n/d:%d/%d ts:%" PRId64 " d:%" PRId64 " dur:%d p:%" PRId64 "\n", // pkt.stream_index, ast.time_base.num, ast.time_base.den, // p->timestamp, pkt.dts, pkt.duration, pkt.pts); - //if (ast->codec.codec_type == CODEC_TYPE_VIDEO) printf("FRATE %d pts:%lld %d %d t:%lld\n", p->position, pkt.pts,ast->codec.frame_rate_base, ast->codec.frame_rate, p->timestamp); + //if (ast->codec.codec_type == AVMEDIA_TYPE_VIDEO) printf("FRATE %d pts:%lld %d %d t:%lld\n", p->position, pkt.pts,ast->codec.frame_rate_base, ast->codec.frame_rate, p->timestamp); //else printf("Bitrate %d\n", ast->codec.bit_rate); //printf("TIMESTAMP %" PRId64 " pts: %" PRId64 " dts: %" PRId64 "\n", p->timestamp, pkt.pts, pkt.dts); switch (ast.codec->codec_type) { - case CODEC_TYPE_AUDIO: + case AVMEDIA_TYPE_AUDIO: s.m_uiPosition += pkt.size; break; - case CODEC_TYPE_VIDEO: + case AVMEDIA_TYPE_VIDEO: default: s.m_uiPosition++; break; diff -aur avifile-0.7.48~20090503.ds.orig/lib/aviread/FFReadStream.cpp avifile-0.7.48~20090503.ds/lib/aviread/FFReadStream.cpp --- avifile-0.7.48~20090503.ds.orig/lib/aviread/FFReadStream.cpp 2009-05-03 10:56:34.000000000 +0200 +++ avifile-0.7.48~20090503.ds/lib/aviread/FFReadStream.cpp 2011-08-20 12:07:23.000000000 +0200 @@ -70,7 +70,7 @@ if (codec && avcodec_open(m_pAvContext, codec) == 0) { m_pAvContext->flags |= CODEC_FLAG_TRUNCATED; - m_pAvContext->hurry_up = 5; + m_pAvContext->skip_frame = AVDISCARD_NONKEY; //printf("Opened hurryup decoder %p %p\n", codec, m_pAvContext->codec->decode); } else @@ -157,7 +157,7 @@ switch (avs->codec->codec_type) { - case CODEC_TYPE_AUDIO: + case AVMEDIA_TYPE_AUDIO: m_StreamInfo.m_p->setAudio(avs->codec->channels, avs->codec->sample_rate, avs->codec->frame_bits); @@ -166,7 +166,7 @@ AVM_WRITE("FF stream", "Audio Format: %.4s (0x%x)\n", (const char*)&avs->codec->codec_tag, avs->codec->codec_tag); break; - case CODEC_TYPE_VIDEO: + case AVMEDIA_TYPE_VIDEO: m_StreamInfo.m_p->setVideo(avs->codec->width, avs->codec->height, 0, (float)avs->codec->sample_aspect_ratio.num / (float)avs->codec->sample_aspect_ratio.den); @@ -205,8 +205,8 @@ { switch (m_pHandler->m_pContext->streams[m_uiSId]->codec->codec_type) { - case CODEC_TYPE_AUDIO: return IStream::Audio; - case CODEC_TYPE_VIDEO: return IStream::Video; + case AVMEDIA_TYPE_AUDIO: return IStream::Audio; + case AVMEDIA_TYPE_VIDEO: return IStream::Video; default: return IStream::Other; } } @@ -218,7 +218,7 @@ int tag = get_fcc(avs->codec->codec_id); switch (avs->codec->codec_type) { - case CODEC_TYPE_AUDIO: + case AVMEDIA_TYPE_AUDIO: if (format && size >= sizeof(WAVEFORMATEX)) { WAVEFORMATEX& wfx = *(WAVEFORMATEX*)format; @@ -264,7 +264,7 @@ } return (tag ? sizeof(WAVEFORMATEX) : sizeof(FFMPEGWAVEFORMATEX)) + ((avs->codec->extradata) ? avs->codec->extradata_size : 0); - case CODEC_TYPE_VIDEO: + case AVMEDIA_TYPE_VIDEO: if (format && size >= sizeof(BITMAPINFOHEADER)) { memset(format, 0, sizeof(BITMAPINFOHEADER)); @@ -354,7 +354,7 @@ return m_pHandler->seek(time); if (time < 1.) { - if (m_pAvStream->codec->codec_type == CODEC_TYPE_AUDIO) + if (m_pAvStream->codec->codec_type == AVMEDIA_TYPE_AUDIO) // check if more streams are available // and seek only with the video return 0; debian/patches/gcc45.patch0000644000000000000000000000170611560731465012557 0ustar Description: Fix FTBFS with GCC4.5. Author: Alessio Treglia Forwarded: https://sourceforge.net/support/tracker.php?aid=3298182 --- lib/common/avm_output.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) --- avifile-0.7.48~20090503.ds.orig/lib/common/avm_output.cpp +++ avifile-0.7.48~20090503.ds/lib/common/avm_output.cpp @@ -14,7 +14,11 @@ avm::CPU_Info freq; // will be initializ AVM_BEGIN_NAMESPACE; +#if __GNUC__ == 4 && __GNUC_MINOR__ >= 5 +typename AvmOutput::AvmOutput* AvmOutput::m_pSelf = 0; +#else AvmOutput::AvmOutput* AvmOutput::m_pSelf = 0; +#endif int AvmOutput::m_iLevel = 0; // debug level struct AvmOutput::AvmOutputPrivate @@ -55,7 +59,11 @@ void AvmOutput::createAvmOutput() new AvmOutput(); } +#if __GNUC__ == 4 && __GNUC_MINOR__ >= 5 +typename AvmOutput::AvmOutput* AvmOutput::singleton() +#else AvmOutput::AvmOutput* AvmOutput::singleton() +#endif { assert(m_pSelf != 0); return m_pSelf; debian/patches/ftbfs-gcc4.7.patch0000644000000000000000000000503511752431436013736 0ustar Description: Fix FTBFS for gcc-4.7 * Fix warning: cast to pointer from integer of different size * Fix error: cannot bind packed field Bug-Debian: http://bugs.debian.org/667107 Author: Ying-Chun Liu (PaulLiu) Last-Update: 2012-05-09 Index: avifile-0.7.48~20090503.ds/lib/aviread/AsfNetworkInputStream.cpp =================================================================== --- avifile-0.7.48~20090503.ds.orig/lib/aviread/AsfNetworkInputStream.cpp 2009-05-02 02:56:45.000000000 +0800 +++ avifile-0.7.48~20090503.ds/lib/aviread/AsfNetworkInputStream.cpp 2012-05-09 17:00:42.256160769 +0800 @@ -594,7 +594,7 @@ close(m_iSocket); m_iSocket = -1; flushPipe(); - return (void*)result; + return (void*)((intptr_t)result); } void* AsfNetworkInputStream::threadStarter(void* arg) @@ -939,7 +939,7 @@ } AsfPacket* p; - unsigned short& size = chhdr.size; + //printf("STREAMPACKET 0x%x sz:%d %lld seq:%d part:%d sc:%d\n", chhdr.kind, size, rsize, chhdr.seq, chhdr.partflag, chhdr.size_confirm); switch (chhdr.kind) { @@ -975,15 +975,15 @@ m_bFinished = true; continue; } - if (size > m_Header.max_pktsize) + if (((unsigned short)(chhdr.size)) > m_Header.max_pktsize) { - AVM_WRITE("ASF network reader", "size>m_Header.max_pktsize (%d > %d) ignoring...\n", size, m_Header.max_pktsize); + AVM_WRITE("ASF network reader", "size>m_Header.max_pktsize (%d > %d) ignoring...\n", ((unsigned short)(chhdr.size)), m_Header.max_pktsize); continue; } //AVM_WRITE("ASF network reader", "Packet size %d\n", size); p = new AsfPacket(m_Header.max_pktsize); - if (read(&(*p)[0], size) <= 0) + if (read(&(*p)[0], ((unsigned short)(chhdr.size))) <= 0) { p->release(); AVM_WRITE("ASF network reader", "read() no more data\n"); @@ -994,8 +994,8 @@ //for (int i = 0; i < 20; i++) // AVM_WRITE("ASF network reader", "%02x ",(uint_t) (*p)[inloaded + i]); //AVM_WRITE("ASF network reader", "\n"); - if (m_lfd >= 0 && size < m_Header.max_pktsize) - memset(&(*p)[size], 0, m_Header.max_pktsize - size); // zero padding + if (m_lfd >= 0 && ((unsigned short)(chhdr.size)) < m_Header.max_pktsize) + memset(&(*p)[((unsigned short)(chhdr.size))], 0, m_Header.max_pktsize - ((unsigned short)(chhdr.size))); // zero padding //AVM_WRITE("ASF network reader", 0, "Created packet %p %d - 0x%x (free %d : %.2f)\n", p, p->size(), (*p)[0], m_Header.max_pktsize - size, size/(float)m_Header.max_pktsize); if (p->init(m_uiTimeshift) == 0) { debian/patches/ftbfs-ia64.patch0000644000000000000000000000256311301241345013503 0ustar Description: Fix FTBFS on ia64. Upstream incorrectly assumes that certain x86-specific CPU instructions are available on IA64 as well which leads to a build failure. Author: Yavor Doganov Last-Update: 2009-11-19 2009-11-19 Yavor Doganov * configure.in: Don't define ARCH_X86* symbol(s) on ia64. --- avifile-0.7.48~20090503.ds.orig/configure.in +++ avifile-0.7.48~20090503.ds/configure.in @@ -82,7 +82,7 @@ i586-*) DEFAULT_FLAGS="i586" ;; i686-*) DEFAULT_FLAGS="i686" ;; i?86-*) DEFAULT_FLAGS="i386" ;; # Default for all other x86 (i386 and i486) - ia64*|amd64*|x86_64*) enable_win32=no ;; + amd64*|x86_64*) enable_win32=no ;; *) DEFAULT_FLAGS= enable_x86opt=no @@ -106,7 +106,7 @@ AC_DEFINE(ARCH_X86_32, 1, [Define if you want to build on x86 architecture.]) AC_DEFINE(ARCH_X86_64, 0, [Define if you want to build on x86_64 architecture.]) ;; - ia64*|x86_64*|amd64) + x86_64*|amd64) AC_DEFINE(ARCH_X86_64, 1, [Define if you want to build on x86_64 architecture.]) ;; alpha*) @@ -137,7 +137,7 @@ esac case "$target" in - i?86*|ia64*|amd64*|x86_64*) + i?86*|amd64*|x86_64*) AC_DEFINE(ARCH_X86, 1, [Define if you want to build on x86 architecture.]) AC_DEFINE(HAVE_MMX, 1, [Define if you want to build with mmx code.]) AC_DEFINE(HAVE_MMX2, 1, [Define if you want to build with mmx code.]) debian/patches/no-lame.patch0000644000000000000000000000172511301241377013172 0ustar Description: Remove embedded LAME code Bug-Debian: http://bugs.debian.org/538753 Forwarded: not-needed Author: Yavor Doganov Last-Update: 2009-11-02 2009-11-02 Yavor Doganov * configure.in (AC_OUTPUT): Remove plugins/libmp3lame_audioenc/lame3.70/Makefile. * plugins/libmp3lame_audioenc/Makefile.am (SUBDIRS): Remove. --- avifile-0.7.48~20090503.ds.orig/configure.in +++ avifile-0.7.48~20090503.ds/configure.in @@ -1036,7 +1036,6 @@ plugins/libmad/libmad/Makefile plugins/libmp3lamebin_audioenc/Makefile plugins/libmp3lame_audioenc/Makefile - plugins/libmp3lame_audioenc/lame3.70/Makefile plugins/libmpeg_audiodec/Makefile plugins/libvorbis/Makefile plugins/libwin32/Makefile --- avifile-0.7.48~20090503.ds.orig/plugins/libmp3lame_audioenc/Makefile.am +++ avifile-0.7.48~20090503.ds/plugins/libmp3lame_audioenc/Makefile.am @@ -1,5 +1,3 @@ -SUBDIRS = lame3.70 - if AMM_USE_MP3LAME pkglib_LTLIBRARIES = mp3lame_audioenc.la endif debian/patches/ftbfs-freebsd.patch0000644000000000000000000000142211674276064014366 0ustar Description: Fix FTBFS on FreeBSD. Avoid using asm/types.h and use sys/types.h instead. Author: Ying-Chun Liu (PaulLiu) Last-Update: 2011-12-21 Index: avifile-0.7.48~20090503.ds/samples/qtvidcap/kv4lsetup.cpp =================================================================== --- avifile-0.7.48~20090503.ds.orig/samples/qtvidcap/kv4lsetup.cpp 2009-04-01 03:45:12.000000000 +0800 +++ avifile-0.7.48~20090503.ds/samples/qtvidcap/kv4lsetup.cpp 2011-12-21 14:25:32.691304898 +0800 @@ -35,7 +35,7 @@ #include #include -#include /* XXX glibc */ +#include /* XXX glibc */ /* Necessary to prevent collisions between and when V4L2 is installed. */ #define _LINUX_TIME_H debian/patches/fix-ftbfs-libav9.patch0000644000000000000000000002076212152437572014731 0ustar From: Reinhard Tartler Subject: Fix FTBFS with libav 9 Bug-Debian: http://bugs.debian.org/692867 Last-Update: 2012-12-07 Index: avifile-0.7.48~20090503.ds/configure.in =================================================================== --- avifile-0.7.48~20090503.ds.orig/configure.in 2012-12-08 12:12:11.000000000 +0800 +++ avifile-0.7.48~20090503.ds/configure.in 2012-12-08 12:22:00.214823652 +0800 @@ -825,7 +825,7 @@ AM_PATH_FFMPEG tmp_LIBS="$LIBS" -AC_CHECK_LIB([avcodec], [avcodec_init], [], +AC_CHECK_LIB([avcodec], [avcodec_register_all], [], [AC_MSG_ERROR([libavcodec is required to build this package.])]) AC_CHECK_FUNCS([avcodec_decode_audio3 avcodec_decode_video2]) LIBS="$tmp_LIBS" Index: avifile-0.7.48~20090503.ds/lib/codeckeeper.cpp =================================================================== --- avifile-0.7.48~20090503.ds.orig/lib/codeckeeper.cpp 2009-04-25 07:42:12.000000000 +0800 +++ avifile-0.7.48~20090503.ds/lib/codeckeeper.cpp 2012-12-08 12:22:00.214823652 +0800 @@ -294,7 +294,6 @@ audio_codecs.clear(); // FFMPEG initialization - avcodec_init(); avcodec_register_all(); uncompressed_FillPlugins(video_codecs); Index: avifile-0.7.48~20090503.ds/lib/aviread/FFReadHandler.cpp =================================================================== --- avifile-0.7.48~20090503.ds.orig/lib/aviread/FFReadHandler.cpp 2012-12-08 12:12:11.000000000 +0800 +++ avifile-0.7.48~20090503.ds/lib/aviread/FFReadHandler.cpp 2012-12-08 12:22:00.214823652 +0800 @@ -62,27 +62,25 @@ delete m_Streams.back(); m_Streams.pop_back(); } - av_close_input_file(m_pContext); + avformat_close_input(&m_pContext); } } int FFReadHandler::Init(const char* url) { - AVFormatParameters avfp; AVInputFormat* fmt = 0; // av_find_input_format(url); //printf("find input format %p %s\n", fmt, b); - memset(&avfp, 0, sizeof(avfp)); - int r = av_open_input_file(&m_pContext, url, - fmt, 64000, &avfp); + int r = avformat_open_input(&m_pContext, url, + fmt, NULL); if (r < 0) { AVM_WRITE("FF reader", "Open Input failed %d\n", r); return -1; } - if (av_find_stream_info(m_pContext) < 0) + if (avformat_find_stream_info(m_pContext, NULL) < 0) return -1; AVM_WRITE("FF reader", "Format:'%s' Stream(s):%d\n", m_pContext->iformat->long_name, m_pContext->nb_streams); @@ -202,7 +200,7 @@ if (av_read_frame(m_pContext, &pkt) < 0) { p->Release(); - if (url_ferror(m_pContext->pb)) + if (m_pContext->pb && m_pContext->pb->error) AVM_WRITE("FF reader", "error seen\n"); //if (!url_feof(m_pContext->pb)) Index: avifile-0.7.48~20090503.ds/plugins/libffmpeg/FFAudioDecoder.cpp =================================================================== --- avifile-0.7.48~20090503.ds.orig/plugins/libffmpeg/FFAudioDecoder.cpp 2012-12-08 12:12:11.000000000 +0800 +++ avifile-0.7.48~20090503.ds/plugins/libffmpeg/FFAudioDecoder.cpp 2012-12-08 12:22:00.218823539 +0800 @@ -25,7 +25,7 @@ { if (!m_pAvContext) { - if (!(m_pAvContext = avcodec_alloc_context2(m_pAvCodec->type))) + if (!(m_pAvContext = avcodec_alloc_context3(m_pAvCodec))) return -1; m_pAvContext->channels = m_pFormat->nChannels; @@ -46,7 +46,7 @@ m_pAvContext->extradata_size = m_pFormat->cbSize - skip; } - if (avcodec_open(m_pAvContext, m_pAvCodec) < 0) + if (avcodec_open2(m_pAvContext, m_pAvCodec, NULL) < 0) { AVM_WRITE("FFAudioDecoder", "WARNING: can't open avcodec\n"); free(m_pAvContext); Index: avifile-0.7.48~20090503.ds/plugins/libffmpeg/FFVideoDecoder.cpp =================================================================== --- avifile-0.7.48~20090503.ds.orig/plugins/libffmpeg/FFVideoDecoder.cpp 2012-12-08 12:12:11.000000000 +0800 +++ avifile-0.7.48~20090503.ds/plugins/libffmpeg/FFVideoDecoder.cpp 2012-12-08 13:30:28.768349356 +0800 @@ -117,7 +117,6 @@ pic->type = FF_BUFFER_TYPE_USER; pImage->m_iType = pic->pict_type; - pic->age = (pImage->GetAge() != pImage->MAX_AGE) ? pic->coded_picture_number - pImage->GetAge() : (1 << 30); if (pic->reference) pImage->Age(pic->coded_picture_number); else @@ -125,7 +124,7 @@ Debug printf("FF: <<<< GetBuffer %p %s %dx%d %p:%p:%p s:%f f:%d r:%d age:%d\n", pImage, ftypes[pic->pict_type], avctx->width, avctx->height, pImage->Data(0), pImage->Data(2), pImage->Data(1), - (double)pImage->m_lTimestamp / 1000000., avctx->pix_fmt, pic->reference, pic->age); + (double)pImage->m_lTimestamp / 1000000., avctx->pix_fmt, pic->reference); return 0; } @@ -162,7 +161,9 @@ //printf("FFMPEG space %p \n", m_pAvContext); m_Dest.Print(); pImage->GetFmt()->Print(); if (!m_pAvContext) { - if (!(m_pAvContext = avcodec_alloc_context2(m_pAvCodec->type))) + AVDictionary *dict = NULL; + + if (!(m_pAvContext = avcodec_alloc_context3(m_pAvCodec))) return -1; // for autodetection errors m_pAvContext->codec_tag = m_pFormat->biCompression; @@ -175,7 +176,7 @@ m_pAvContext->extradata_size = int(m_pFormat->biSize - sizeof(BITMAPINFOHEADER)); m_pAvContext->extradata = (uint8_t*)m_pFormat + sizeof(BITMAPINFOHEADER); if (m_pAvContext->extradata_size > 40) - m_pAvContext->flags |= CODEC_FLAG_EXTERN_HUFF; // somewhat useless + av_dict_set(&dict, "extern_huff", "1", 0); } m_uiBuffers = (pImage && pImage->GetAllocator()) ? pImage->GetAllocator()->GetImages() : 0; @@ -230,7 +231,7 @@ #endif #if 1 - m_pAvContext->error_recognition = FF_ER_COMPLIANT; + m_pAvContext->err_recognition = AV_EF_BITSTREAM; m_pAvContext->error_concealment = FF_EC_GUESS_MVS; m_pAvContext->workaround_bugs = FF_BUG_AUTODETECT; #endif @@ -281,12 +282,13 @@ m_pAvContext->workaround_bugs |= p->flag; } */ - if (avcodec_open(m_pAvContext, m_pAvCodec) < 0) + if (avcodec_open2(m_pAvContext, m_pAvCodec, &dict) < 0) { AVM_WRITE(m_Info.GetPrivateName(), "WARNING: FFVideoDecoder::DecodeFrame() can't open avcodec\n"); Stop(); return -1; } + av_dict_free(&dict); } // try using draw_horiz_band if DR1 is unsupported Index: avifile-0.7.48~20090503.ds/plugins/libffmpeg/Makefile.am =================================================================== --- avifile-0.7.48~20090503.ds.orig/plugins/libffmpeg/Makefile.am 2012-12-08 12:12:11.000000000 +0800 +++ avifile-0.7.48~20090503.ds/plugins/libffmpeg/Makefile.am 2012-12-08 12:22:00.218823539 +0800 @@ -13,7 +13,7 @@ libffmpeg.cpp FFMPEG_CFLAGS = -I$(top_srcdir)/ffmpeg -ffmpeg_la_LIBADD = ../../lib/libaviplay.la -lavcodec -lavformat +ffmpeg_la_LIBADD = ../../lib/libaviplay.la -lavcodec -lavformat -lavutil ffmpeg_la_LDFLAGS = -module -avoid-version AM_CPPFLAGS = $(LTNOPIC) $(INSTRUMENT) $(FFMPEG_CFLAGS) Index: avifile-0.7.48~20090503.ds/plugins/libffmpeg/FFVideoEncoder.cpp =================================================================== --- avifile-0.7.48~20090503.ds.orig/plugins/libffmpeg/FFVideoEncoder.cpp 2009-04-05 04:49:32.000000000 +0800 +++ avifile-0.7.48~20090503.ds/plugins/libffmpeg/FFVideoEncoder.cpp 2012-12-08 12:22:00.218823539 +0800 @@ -122,7 +122,7 @@ if (!m_pAvContext) { - m_pAvContext = avcodec_alloc_context(); + m_pAvContext = avcodec_alloc_context3(NULL); m_pAvContext->width = m_bh.biWidth; m_pAvContext->height = m_obh.biHeight; //m_pAvContext->pix_fmt = PIX_FMT_YUV420P; @@ -138,7 +138,7 @@ printf("CODEC opening %dx%d\n", m_bh.biWidth, m_obh.biHeight); - if (avcodec_open(m_pAvContext, m_pAvCodec) < 0) + if (avcodec_open2(m_pAvContext, m_pAvCodec, NULL) < 0) { free(m_pAvContext); m_pAvContext = 0; Index: avifile-0.7.48~20090503.ds/lib/aviread/FFReadStream.cpp =================================================================== --- avifile-0.7.48~20090503.ds.orig/lib/aviread/FFReadStream.cpp 2012-12-08 12:12:11.000000000 +0800 +++ avifile-0.7.48~20090503.ds/lib/aviread/FFReadStream.cpp 2012-12-08 12:22:00.218823539 +0800 @@ -62,12 +62,12 @@ //printf("CODECRA %d %d %d\n", avs->codec->frame_rate, avs->codec->frame_rate_base, avs->r_frame_rate_base); if (0 && avs->codec->codec_id == CODEC_ID_MPEG1VIDEO) { - m_pAvContext = avcodec_alloc_context(); + m_pAvContext = avcodec_alloc_context3(NULL); //AVCodec* codec = avcodec_find_encoder(avs->codec->codec_id); if (m_pAvContext) { AVCodec* codec = avcodec_find_decoder(avs->codec->codec_id); - if (codec && avcodec_open(m_pAvContext, codec) == 0) + if (codec && avcodec_open2(m_pAvContext, codec, NULL) == 0) { m_pAvContext->flags |= CODEC_FLAG_TRUNCATED; m_pAvContext->skip_frame = AVDISCARD_NONKEY; debian/patches/libqavm-private.patch0000644000000000000000000000120711301241366014736 0ustar Description: Install libqavm as a private library. According to upstream this library's API is not stable yet and it is only used internally, so should not be installed in /usr/lib. Author: Yavor Doganov Last-Update: 2009-20-23 2009-10-23 Yavor Doganov * libavqt/Makefile.am (lib_LTLIBRARIES): Rename as.. (pkglib_LTLIBRARIES): ...since libqavm is a private library. --- avifile-0.7.48~20090503.ds.orig/libavqt/Makefile.am +++ avifile-0.7.48~20090503.ds/libavqt/Makefile.am @@ -1,5 +1,5 @@ if AMM_USE_QT -lib_LTLIBRARIES = libqavm.la +pkglib_LTLIBRARIES = libqavm.la check_PROGRAMS = testcodecs endif debian/patches/ffmpeg.patch0000644000000000000000000001266411301241334013103 0ustar Description: Link against Debian's ffmpeg insted of upstream's bundled copy Forwarded: not-needed Bug-Debian: http://bugs.debian.org/227408 Bug-Debian: http://bugs.debian.org/526536 Bug-Debian: http://bugs.debian.org/538750 Author: Yavor Doganov Last-Update: 2009-10-22 2009-10-22 Yavor Doganov * configure.in: Check for libavcdodec, avcodec_decode_audio3 and avcodec_decode_video2. (AC_OUTPUT): Remove all ffmpeg Makefiles. (AMM_FF_INTERNAL): Remove always-true conditional. * Makefile.am (SUBDIRS): Remove ffmpeg. * lib/Makefile.am (libaviplay_la_LIBADD): Link against the system libavcodec and libavformat. * plugins/libffmpeg/FFAudioDecoder.cpp: Conditionally use avcodec_decode_audio3. * plugins/libffmpeg/FFVideoDecoder.cpp: Likewise for avcodec_decode_video. * plugins/libffmpeg/FFAudioDecoder.h: Include avm_avmformat.h. * plugins/libffmpeg/Makefile.am (ffmpeg_la_LIBADD): Add -lavcodec -lavformat. --- avifile-0.7.48~20090503.ds.orig/Makefile.am +++ avifile-0.7.48~20090503.ds/Makefile.am @@ -1,5 +1,4 @@ SUBDIRS =\ - ffmpeg\ drivers\ lib\ plugins\ --- avifile-0.7.48~20090503.ds.orig/configure.in +++ avifile-0.7.48~20090503.ds/configure.in @@ -824,6 +824,12 @@ dnl ======================= AM_PATH_FFMPEG +tmp_LIBS="$LIBS" +AC_CHECK_LIB([avcodec], [avcodec_init], [], + [AC_MSG_ERROR([libavcodec is required to build this package.])]) +AC_CHECK_FUNCS([avcodec_decode_audio3 avcodec_decode_video2]) +LIBS="$tmp_LIBS" + dnl ================================= dnl Configure external ffmpeg library dnl ================================= @@ -966,7 +972,6 @@ AM_CONDITIONAL(AMM_USE_FAST_BUILD, test "$enable_fast_build" = yes ) AM_CONDITIONAL(AMM_LINK_SHARED, test $lt_major_version -ge 1 -a $lt_minor_version -ge 4 -a $lt_micro_version -ge 3 ) -AM_CONDITIONAL(AMM_FF_INTERNAL, test 0 -eq 0 ) AM_CONDITIONAL(AMM_FF_FAAD, test "$have_faad" = yes ) AM_CONDITIONAL(AMM_FF_OPENJPEG, test "$have_openjpeg" = yes ) AM_CONDITIONAL(AMM_FF_FAADBIN, test "$enable_ffmpeg_faadbin" = yes) @@ -1006,22 +1011,6 @@ AC_OUTPUT([ Makefile - ffmpeg/Makefile - ffmpeg/libavcodec/Makefile - ffmpeg/libavcodec/alpha/Makefile - ffmpeg/libavcodec/arm/Makefile - ffmpeg/libavcodec/mlib/Makefile - ffmpeg/libavcodec/ppc/Makefile - ffmpeg/libavcodec/ps2/Makefile - ffmpeg/libavcodec/sh4/Makefile - ffmpeg/libavcodec/sparc/Makefile - ffmpeg/libavcodec/x86/Makefile - ffmpeg/libavdevice/Makefile - ffmpeg/libavfilter/Makefile - ffmpeg/libavformat/Makefile - ffmpeg/libavutil/Makefile - ffmpeg/libpostproc/Makefile - ffmpeg/libswscale/Makefile drivers/Makefile drivers/libdha/Makefile drivers/libdha/kernelhelper/Makefile --- avifile-0.7.48~20090503.ds.orig/lib/Makefile.am +++ avifile-0.7.48~20090503.ds/lib/Makefile.am @@ -132,19 +132,7 @@ -I$(top_srcdir)/drivers/vidix endif -if AMM_FF_INTERNAL -libaviplay_la_LIBADD +=\ - ../ffmpeg/libavcodec/libavcodec.la\ - ../ffmpeg/libavformat/libavformat.la\ - ../ffmpeg/libavdevice/libavdevice.la\ - ../ffmpeg/libavutil/libavutil.la -AM_CPPFLAGS += -I$(top_srcdir)/ffmpeg -else -# fix this later -libaviplay_la_LIBADD += $(FFMPEG_LIBS)\ - -lavcodec -lavformat -lavdevice -lavutil -AM_CPPFLAGS += $(FFMPEG_CFLAGS) -endif +libaviplay_la_LIBADD += -lavcodec -lavformat AM_CPPFLAGS += $(DIVX4_CFLAGS) $(XVID_CFLAGS) $(PTHREAD_CFLAGS) $(SDL_CFLAGS) AM_CPPFLAGS += $(X_CFLAGS) $(XFT_CFLAGS) $(FT2_CFLAGS) $(ICONV_CFLAGS) --- avifile-0.7.48~20090503.ds.orig/plugins/libffmpeg/FFAudioDecoder.cpp +++ avifile-0.7.48~20090503.ds/plugins/libffmpeg/FFAudioDecoder.cpp @@ -61,7 +61,12 @@ avpkt.data = (uint8_t*)in_data; avpkt.size = (int)in_size; int framesz = AVCODEC_MAX_AUDIO_FRAME_SIZE; +#ifdef HAVE_AVCODEC_DECODE_AUDIO3 int hr = avcodec_decode_audio3(m_pAvContext, (int16_t*)out_data, &framesz, &avpkt); +#else + int hr = avcodec_decode_audio2(m_pAvContext, (int16_t*)out_data, &framesz, + avpkt.data, avpkt.size); +#endif //printf("CONVERT ins: %d outs:%" PRIsz " fs:%d h:%d\n", avpkt.size, out_size, framesz, hr); if (size_read) *size_read = (hr < 0) ? 1 : hr; --- avifile-0.7.48~20090503.ds.orig/plugins/libffmpeg/FFVideoDecoder.cpp +++ avifile-0.7.48~20090503.ds/plugins/libffmpeg/FFVideoDecoder.cpp @@ -308,7 +308,12 @@ avpkt.data = (uint8_t*)src; avpkt.size = (int)size; +#ifdef HAVE_AVCODEC_DECODE_VIDEO2 int hr = avcodec_decode_video2(m_pAvContext, &pic, &got_picture, &avpkt); +#else + int hr = avcodec_decode_video(m_pAvContext, &pic, &got_picture, avpkt.data, + avpkt.size); +#endif //printf("DECFF got_picture %d %p del:%d hr:%d size:%d\n", got_picture, src, m_pAvContext->delay, hr, size); //printf("PictType %d\n", m_pAvContext->pict_type); //static int ctr=0; printf("WIDTH %dx%d %d r:%d\n", m_pAvContext->width, m_pAvContext->height, ctr++, m_pAvContext->pict_type); --- avifile-0.7.48~20090503.ds.orig/plugins/libffmpeg/FFAudioDecoder.h +++ avifile-0.7.48~20090503.ds/plugins/libffmpeg/FFAudioDecoder.h @@ -3,6 +3,7 @@ #include "audiodecoder.h" #include "avm_avcodec.h" +#include "avm_avformat.h" AVM_BEGIN_NAMESPACE; --- avifile-0.7.48~20090503.ds.orig/plugins/libffmpeg/Makefile.am +++ avifile-0.7.48~20090503.ds/plugins/libffmpeg/Makefile.am @@ -13,7 +13,7 @@ libffmpeg.cpp FFMPEG_CFLAGS = -I$(top_srcdir)/ffmpeg -ffmpeg_la_LIBADD = ../../lib/libaviplay.la +ffmpeg_la_LIBADD = ../../lib/libaviplay.la -lavcodec -lavformat ffmpeg_la_LDFLAGS = -module -avoid-version AM_CPPFLAGS = $(LTNOPIC) $(INSTRUMENT) $(FFMPEG_CFLAGS) debian/patches/fix-build-with-libav07.patch0000644000000000000000000000164111630453572015744 0ustar diff -aur avifile-0.7.48~20090503.ds.orig//plugins/libffmpeg/FFVideoDecoder.cpp avifile-0.7.48~20090503.ds/plugins/libffmpeg/FFVideoDecoder.cpp --- avifile-0.7.48~20090503.ds.orig//plugins/libffmpeg/FFVideoDecoder.cpp 2011-09-03 18:14:12.000000000 +0200 +++ avifile-0.7.48~20090503.ds/plugins/libffmpeg/FFVideoDecoder.cpp 2011-09-03 18:17:07.000000000 +0200 @@ -359,7 +359,7 @@ } Debug printf("FF: r=0x%x sz=%" PRIsz " %d b:%d img:%p out:%p\n", hr, size, got_picture, m_bUsed, pImage, pOut); - Debug printf("FF: frame_size %d number %d picnum %d\n", m_pAvContext->frame_size, m_pAvContext->frame_number, m_pAvContext->real_pict_num); + Debug printf("FF: frame_size %d number %d\n", m_pAvContext->frame_size, m_pAvContext->frame_number); if (!got_picture) { Debug printf("FF: NO PICTURE released=%p\n", m_pReleased); Nur in avifile-0.7.48~20090503.ds/plugins/libffmpeg: FFVideoDecoder.cpp~.