Rumor has it that the New Gnash 0.8.5 actually works!.
I, of course, took the "I'll believe it when I see it" attitude and was promptly punished with images of Mick Jagger gyrating in white sweat pants.
The most convenient way to get the new Gnash in Debian Lenny is to add:
Code: Select all
deb http://debian.jones.dk/ lenny gnash
to your /etc/apt/sources.list file and run:
Code: Select all
apt-get update
apt-get install gnash gnash-common gnash-cygnal gnash-tools mozilla-plugin-gnash
apt-get clean
Code: Select all
deb-src http://ftp.us.debian.org/debian/ sid main
Then I removed the Debian-Multimedia versions of FFmpeg and replaced them with Debian's own versions. The new version of Gnash uses the FFmpeg libraries, so you must use Debian's own FFmpeg packages:
Code: Select all
apt-get purge libavcodec51 libavformat52 libswscale0 libavutil49 libpostproc51 libavdevice52
apt-get install libavcodec51 libavformat52 libswscale0 libavutil49 libpostproc51 libavdevice52
Code: Select all
apt-get update
apt-get build-dep gnash swftools libtool
apt-get install fakeroot haxe libming-dev libming-util libming0 mtasc neko swfmill
apt-get clean
Then I created a directory for the build in my home directory and downloaded the source (as normal user):
Code: Select all
mkdir /home/XXXX/gnash/
cd gnash/
apt-get source gnash swftools libtool
Code: Select all
cd swftools-0.8.1
dpkg-buildpackage -rfakeroot -us -uc
cd ../libtool-2.2.6a
dpkg-buildpackage -rfakeroot -us -uc
Code: Select all
dpkg -i librfxswf-dev_0.8.1-2.1_i386.deb python-rfxswf_0.8.1-2.1_i386.deb swftools_0.8.1-2.1_i386.deb
dpkg -i libltdl7_2.2.6a-4_i386.deb libltdl-dev_2.2.6a-4_i386.deb libtool_2.2.6a-4_i386.deb libtool-doc_2.2.6a-4_all.deb
apt-get -f install
Code: Select all
cd gnash-0.8.5/
dpkg-buildpackage -rfakeroot -us -uc
Code: Select all
dpkg -i gnash_0.8.5-1_i386.deb gnash-common_0.8.5-1_i386.deb gnash-cygnal_0.8.5-1_i386.deb gnash-tools_0.8.5-1_i386.deb mozilla-plugin-gnash_0.8.5-1_i386.deb
apt-get -f install
Unfortunately, there's a trade-off here. If you see a Flash video that you like and save it as an FLV to your computer, you won't be able to use Debian's version of FFmpeg to encode it to MP3, MP4 or MPG for use with portable media devices. To do that you need to install the packages from Debian Multimedia.
The decision is yours. Have fun!
.