On Sat, 3 Dec 2011 09:59:10 -0800 (PST)
Fernando de Oliveira <[email protected]> wrote:

> Hi,
> 
> I have had a sour time with gnash, which (dev version) I had succesfully 
> compiled and installed, months ago, in LFS-6.8, but not in 6.5 nor 6.7. For 
> reasons I have already written, I believe some "flash" animation plugin could 
> be in the book.
> 
> I had problems installing the stable 0.8.9, so I only can contribute with 
> 0.8.10dev.
> 

Jolly good, glad you got it working. I'm still using gnash-0.8.9. It
needs some of the headers from the firefox source:

mkdir /usr/include/npapi
cp dom/plugins/base/*.h /usr/include/npapi

Then I can compile gnash-0.8.9 like so:

# Patch needed for current FFmpeg:
patch -p1 < ../gnash-0.8.9-ffmpeg.patch
# sed fix needed for firefox-8.0:
sed -i 's#^char#const char#' plugin/npapi/{mozilla-sdk/np_entry,plugin}.cpp
./configure --prefix=/usr --enable-gui=gtk --sysconfdir=/etc \
  --enable-media=ffmpeg --with-npapi-incl=/usr/include/npapi \
  --with-npapi-plugindir=/usr/lib/mozilla/plugins
make -j$(getconf _NPROCESSORS_ONLN)
make install
make install-plugin

Andy

Attachment: gnash-0.8.9-ffmpeg.patch
Description: Binary data

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to