OpenEmbedded development
Intro
This is a work in progress: I tried to build
Navit svn for my Nokia n810 using the OpenEmbedded cross-compile
environment, just like I did for my
Ångström.Notes
\ ```git://git.openembedded.org/openembedded.git <git://git.openembedded.org/openembedded.git>`__`` org.openembedded.dev ```` PREFERRED_VERSION_expat = “1.95.7”``
into
`` PREFERRED_VERSION_expat = “2.0.0”``
and
`` PREFERRED_VERSION_dbus = “1.0.3”``
into
`` PREFERRED_VERSION_dbus = “1.0.2”``
Then edit the navit line in org.openembedded.dev/conf/distro/include/sane-srcrevs.inc to say:
`` SRCREV_pn-navit ?= “2580”``
(or the svn number you want to build, see svn)
In org.openembedded.dev/packages/navit/navit.inc you can remove the EXTRA_OECONF line.
`` bitbake navit``
Reassemble a fresh deb using the info:
Issues
kernel patch
You might need this patch if you get an error during kernel compilation of 2.6.21 about PATH_MAX:
gpsd patch
To build gpsd 2.30 you need this patch.
libgpsmgr patch
Currently compilation of libgpsmgr works on my system, with some patching:
\ :math:`.*`\ ``$/ {s//\1/;p}']), [libgpsbt patch
Compilation of libgpsbt works on my system with:
\ :math:`.*`\ ``$/ {s//\1/;p}']), [libgpsbt bug report
See the bug report about libgpsmgr and libgpsbt.
To do
Misc stuff
bitbake
n810 gps
libhildon
`` PREFERRED_VERSION_libhildon = “1.99.0”``
into
`` PREFERRED_VERSION_libhildon = “2.0.4”``
armv6
In org.openembedded.dev/conf/distro/chinook-compat.conf you could change
`` FEED_ARCH_nokia800 = “armv5te”``
into
`` FEED_ARCH_nokia800 = “armv6”``
if you’re on Nokia n8x0.
ksvgtopng
For converting the svg’s to png’s you could install librsvg2 and use this fake ksvgtopng in e.g. /usr/local/bin which wraps rsvg:
This wrapper has been obsoleted by svn 2088. Just add “–with-svg2png-use-rsvg-convert” to the configure options to use rsvg directly.
Files
local.conf
build/conf/local.conf:
configurein3.patch
Forcing the GPSBT stuff in configure.in with org.openembedded.dev/packages/navit/files/configurein3.patch:
This patch is necessary because during the configure stage libgpsbt isn’t detected for some reason.
gpsbtlib.patch
We patch using org.openembedded.dev/packages/navit/files/gpsbtlib.patch:
This patch is necessary because during the configure stage libgpsbt isn’t detected for some reason.