From 4055615c59b895ebf5e8b39fcb43609de1e5ea7f Mon Sep 17 00:00:00 2001 From: Randy McMurchy Date: Wed, 1 Sep 2004 23:33:54 +0000 Subject: [PATCH] Added patches (fixes build problems) and optional dependencies to Avifile git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2702 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- introduction/welcome/changelog.xml | 3 + multimedia/videoutils/avifile.xml | 129 +++++++++++++++++++---------- 2 files changed, 89 insertions(+), 43 deletions(-) diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 44d32b4721..6312fcc8d1 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -22,6 +22,9 @@ who wrote what. +September 1st, 2004 [randy]: Added patches (fixes build +problems) and optional dependencies to Avifile + September 1st, 2004 [randy]: Added sed command to fix an LFS-6.0 build problem, modified existing sed commands to in-place edits, added optional dependencies, enabled building diff --git a/multimedia/videoutils/avifile.xml b/multimedia/videoutils/avifile.xml index 0504090f6d..78be3b5708 100644 --- a/multimedia/videoutils/avifile.xml +++ b/multimedia/videoutils/avifile.xml @@ -5,9 +5,13 @@ - - - + + + + + + + ]> @@ -22,32 +26,65 @@ Introduction to <application>Avifile</application> The Avifile package contains an -AVI video file player, tools and -support libraries. This is useful for viewing and editing -AVI files. +AVI video file player, tools and support libraries. This is +useful for viewing and editing AVI files. Package information -Download (HTTP): -Download (FTP): -Download size: &avifile-size; -Estimated Disk space required: &avifile-buildsize; -Estimated build time: &avifile-time; +Download (HTTP): + +Download (FTP): + +Download size: +&avifile-size; +Estimated Disk space required: +&avifile-buildsize; +Estimated build time: +&avifile-time; Additional downloads +CODECs -Required CODECs: - +Required CODECs: + +Download size: +&codec-size; +Estimated Disk space required: +&codec-buildsize; +Estimated build time: +&codec-time; + + +Patches + +Required Patch (if compiled using +GCC-3.4.x): + +Required Patch (if +FFmpeg is installed): + +Required Patch: + + <application>Avifile</application> dependencies Required - and + and + + Optional -, , , and +, , +, , +, , +, , + (plugin currently broken), +FAAD and +Dmalloc + @@ -57,7 +94,11 @@ linkend="lame"/> Install Avifile by running the following commands: -install -d /usr/lib/avifile-0.7/win32 && + +patch -Np1 -i ../avifile-&avifile-version;-gcc34-1.patch && +patch -Np1 -i ../avifile-&avifile-version;-gcc34_ffmpeg-1.patch && +patch -Np1 -i ../avifile-&avifile-version;-freetype_fix-1.patch && +install -d /usr/lib/avifile-0.7/win32 && tar xzvf ../binaries-011002.tgz -C /usr/lib/avifile-0.7 && ./autogen.sh && ./configure && @@ -77,7 +118,7 @@ make install make maintainer-clean && ./autogen.sh: The author of this package used the old autoconf which leads to problems like configure not being able to detect some libraries and compilation -errors. We fix this by rebuilding the configuration scripts. +errors. This is fixed by rebuilding the configuration scripts. @@ -86,11 +127,12 @@ errors. We fix this by rebuilding the configuration scripts. Contents The Avifile package contains -aviplay, avibench, -avifile-config, mmxnow-config, -avirecompress, avicap, avirec, -kv4lsetup, avicat, -avitype and avimake. +aviplay, avibench, +avifile-config, mmxnow-config, +avirecompress, avicap, +avirec, kv4lsetup, +avicat, avitype and +avimake. @@ -98,41 +140,42 @@ avirecompress, avicap, avirec, aviplay aviplay manages the input formats, the -CODECs and the -output formats to display AVI video files on your screen. - +CODECs and the output formats to display +AVI video files on your screen. avibench -avibench performs a measurement of the -AVI file support library's performance for a file. +avibench performs a measurement of the +AVI file support +library's performance for a file. avifile-config -avifile-config is run by configure for programs -wishing to link to the Avifile library. - +avifile-config is run by +configure for programs wishing to link to the +Avifile library. mmxnow-config -mmxnow-config is run by configure for programs wishing -to link to the mmxnow library. +mmxnow-config is run by +configure for programs wishing to link to the +mmxnow library. avirecompress avirecompress is a widget that takes an input file of one CODEC type and converts it into a video file of -another CODEC. - +another CODEC. avicap avicap is a widget that displays acquired video from a -Video For Windows (vfw) compatible device, like a webcam or a TV-tuner. - +Video For Windows (VFW) compatible device, like a webcam or +a TV-tuner. avirec -avirec is a command-line video recording tool. - +avirec is a command-line video recording +tool. kv4lsetup -kv4lsetup is a small tool which tells video4linux -about the current video mode. +kv4lsetup is a small tool which tells +video4linux about the current video +mode. avicat avicat takes a set of AVI files and