gnash 0.8.5 compiled and installed from local PC to beagleboard-demo-image and then integration with firefox

I succeded in compiling gnash, cooperating with others in the chat.
It requires:

diff --git a/packages/gnash/gnash.inc b/packages/gnash/gnash.inc
index 3602f6f..621efe4 100644
--- a/packages/gnash/gnash.inc
+++ b/packages/gnash/gnash.inc
@@ -29,6 +29,8 @@ EXTRA_OECONF = "--enable-gui=gtk \
                 --enable-mit-shm \
                 --disable-cygnal \
                 --with-top-level=${STAGING_DIR_HOST}/usr \
+ --with-cairo-incl=${STAGING_DIR_HOST}/usr/include/
cairo \
+ --with-cairo-lib=${STAGING_DIR_HOST}/usr/lib \
                 "

and

diff --git a/packages/gnash/gnash_0.8.5.bb b/packages/gnash/
gnash_0.8.5.bb
index fa9b323..58605e8 100644
--- a/packages/gnash/gnash_0.8.5.bb
+++ b/packages/gnash/gnash_0.8.5.bb
@@ -1,10 +1,10 @@
require gnash.inc

-DEPENDS += "gst-plugins-base"
+DEPENDS += "gst-plugins-base cairo"

acpaths = " -Imacros"

-DEFAULT_PREFERENCE = "-1"
+#DEFAULT_PREFERENCE = "-1"

# Boost lacks defines for lots of archs
TARGET_CC_ARCH_append = " -I${STAGING_INCDIR}/libxml2 -DHAVE_POLL_H $
{@[' -D_BIG_ENDIAN', ' -D_LITTLE_ENDIAN'][bb.data.getVar
('SITEINFO_ENDIANESS', d,
1) == 'le']}"

Now.
I've compiled a bealgeboard-demo-image and I have modified all etc/
opkg files inside the directory:

/etc/opkg/arch.conf /etc/opkg/noarch-feed.conf
/etc/opkg/base-feed.conf /etc/opkg/opkg.conf
/etc/opkg/beagleboard-feed.conf /etc/opkg/perl-feed.conf
/etc/opkg/debug-feed.conf /etc/opkg/python-feed.conf
/etc/opkg/gstreamer-feed.conf

in order to point to my local PC.
It has an apache inside.

I've compiled a bealgeboard-demo-image with:
OE: commit 768fe337b086a509a1381f9b1000faf1e99689cd
bitbake: OE_STABLE:beagleboard recalcati@recalcati-laptop:~/oe_stable/
opt/bitbake$ svn info
Path: .
URL: svn://svn.berlios.de/bitbake/branches/bitbake-1.8
Repository Root: svn://svn.berlios.de/bitbake
Repository UUID: fd90740e-a5ea-0310-a7a2-b3005cc77bd6
Revision: 1150
Node Kind: directory
Schedule: normal
Last Changed Author: rpurdie
Last Changed Rev: 1150
Last Changed Date: 2009-01-03 01:08:00 +0100 (Sat, 03 Jan 2009)

When started I did
opkg update
opkg install gnash

and it has installed gnash from my pc

But.
How to integrate with firefox?
How to launch gnash standalone?

root@beagleboard:~# gnash -display=:0:0 http://uk.youtube.com/active_sharing.swf
(gtk-gnash:1924): Gtk-WARNING **: cannot open display:

from firefox I don't the best way to use gnash as plugin.

Any idea ?

What did you do with boost? I got a compile error wrt endianness. Did
you patch it outside oe?

FM.

no,
only
bitbake -c rebuild boost

also others had your problem.
check the git oe version and bitbake version
anyway..
you can post your failing compilation to
oe bug tracker

Op 7 mrt 2009, om 16:42 heeft Frans Meulenbroeks het volgende
geschreven:

What did you do with boost? I got a compile error wrt endianness. Did
you patch it outside oe?

The TARGET_CC_ARCH hack solves the endiannes problem for me.

regards,

Koen