[ gpsdrive ] OpenMoko (Openembedded) package for gpsdrive 2.10pre4
Gernot Hillier
gernot at hillier.de
Mon Dec 31 05:20:10 AKST 2007
Hi there!
I'm currently trying to build an OpenMoko package for gpsdrive 2.10pre4
and probably succeeded to some degree - at least it finally starts on an
OpenMoko device. And it looks quite nice in the "-M pda" mode - much
better than 2.10pre2. :-)
(For those of you who never heard of OpenMoko before - it's a project
providing an Open Source Linux-based mobile phone. They also sell
fitting hardware which includes a quite nice GPS receiver. For details,
see http://www.openmoko.org.)
I'd like to share the results I reached up to now with you and ask for
review from your side before I try submitting the package to the
OpenMoko/OpenEmbedded people for inclusion into their mainstream. :)
Basically, I have the following questions/requests:
* I had to apply two patches to get it built at all. One is extracted
from your current SVN (gpsdrive-ifdef-mapnik.patch), so everything
should be fine with it. The other one, gpsdrive-remove-hardcoded-
paths.patch, does a quick'n'dirty fixup in the Makefiles removing
absolute paths. Are these statements still needed at all? Do you really
need to manually define -I/usr/include? If yes, any idea to fix it in a
sane way?
* I received some warnings during build telling me that the .desktop
file uses obsolete statements. gpsdrive-fix-desktop-file.patch fixes
them. Please consider applying it.
* As we're building for an embedded device where size *really* matters
(in the default OpenMoko load, we have about 7 MB of free space to
install additional packages!), I'd like to build sub-packages so the
user can decide which features and thus which footprint he wants.
Here's my current package definition. I didn't manually extract these
macros, I hope they are understandable for you. Every entry means "take
all files recursively starting from this point". bindir, libdir and
datadir are exactly the same as defined by the autoconf environment.
PN==gpsdrive.
main package: ${bindir} ${datadir}/applications ${datadir}/map-icons
${datadir}/${PN}/pixmaps ${datadir}/${PN}/poi
${datadir}/${PN}/gpsdrive.desktop ${datadir}/${PN}/map_koord.txt
subpackage gpsdrive-maps: ${datadir}/${PN}/maps
subpackage gpsdrive-osm: ${libdir}/perl
subpackage gpsdrive-doc: ${datadir}/man ${datadir}/${PN}/Documentation
Can you help me fine-tuning this? Especially I'd like to remove further
stuff from the main package to the -osm sub-package, if it's possible to
run gpsdrive without it.
* For interested parties (and well, to create a backup in the net ;) ),
I also attached the original bitbake recipe gpsdrive_2.10pre4.bb
(comparable to the RPM spec files or content of the debian/ directory in
the RPM/.deb world). Don't hesitate to ask me for explaining it if
you're interested in reviewing it in detail!!
--
Gernot
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gpsdrive_2.10pre4.bb
Url: http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20071231/70a2a958/attachment.ksh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gpsdrive-fix-desktop-file.patch
Type: text/x-patch
Size: 566 bytes
Desc: not available
Url : http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20071231/70a2a958/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gpsdrive-ifdef-mapnik.patch
Type: text/x-patch
Size: 553 bytes
Desc: not available
Url : http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20071231/70a2a958/attachment-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gpsdrive-remove-hardcoded-paths.patch
Type: text/x-patch
Size: 2112 bytes
Desc: not available
Url : http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20071231/70a2a958/attachment-0002.bin
More information about the GPSdrive
mailing list