[maemo-developers] R: Details on SVG support status on N810 browser ?

From: Marco Solari marco.solari at koinesistemi.it
Date: Wed Nov 7 11:34:52 EET 2007
Da: maemo-developers-bounces at maemo.org
[mailto:maemo-developers-bounces at maemo.org] Per conto di Miko Nieminen
Inviato: mercoledì 7 novembre 2007 10.21
A: vicente garcia
Cc: maemo-developers at maemo.org
Oggetto: Re: Details on SVG support status on N810 browser ?

On 06/11/2007, vicente garcia <vicentegarcia at gmail.com> wrote: 

	I preffer SVG support than javascript or flash support :P
	Without jokes, I think to support SVG is important
	maemo-developers mailing list
	maemo-developers at maemo.org


currently SVG support is disabled but you can build your own version of
microb-engine which supports SVG.

Make sure you have lot's of free space. If I remember correctly, building
microb-engine needs something like 1.7GB. I'm not joking.

First you need to build libidl-dev:
svn co https://garage.maemo.org/svn/browser/mozilla/trunk/libidl libidl
cd libidl
dpkg-buildpackage -rfakeroot -uc -us -tc | tee libidl-build.log
cd ..
fakeroot dpkg -i libidl-dev*.deb

If you get problems with building libidl, because you lack flex then read
this bug report:

To build microb-engine you need to have extras repository available in your
sdk and you need to install libcairo2-dev package. Then you need also bc
package which wasn't available in the maemo repositories last time checked,
though I haven't checked latest sdk releases.

fakeroot apt-get install libcairo2-dev
fakeroot dpkg -i bc-package-name.deb # you should be able to take latest
from stable or unstable debian, though most probably you need to rebuild it
svn co https://garage.maemo.org/svn/browser/mozilla/trunk/microb-engine
cd microb-engine/microb-engine
ADD_OPTIONS="--enable-oji" DEB_BUILD_OPTIONS="parallel svgport syscairo"
dpkg-buildpackage -rfakeroot -uc -us -tc | tee ../microb-engine-build.log

Then copy your microb-engine package to mmc and install it to the device,
before installing it to the device you need to install libcairo2 from
maemo-extras repository.

I have been testing this with maemo 3.x releases so it might be that 4.0
have some issues fixed. I have tried this with N800 not N810.

I think it would be nice if someone could upload optional SVG enabled
version of the browser to maemo-extras or somewhere. Maybe browser team
could do that?

Btw, if you have started browser with old (non-SVG enabled) backend, you
need to remove compreg.dat file:

Miko Nieminen
miko.nieminen at iki.fi
miko.nieminen at gmail.com
miko.nieminen at nomovok.com 

Thanks for Your answers!
Thanks for the build suggestions, but I need 'official' browser support for
SVG; I mean, I need the _users_ of the tablet - as it is when it leaves the
factory - to be able to enjoy my SVG-dependent content ... ;-)


marcosolari at gmail dot com

More information about the maemo-developers mailing list