[ gpsdrive ] OpenMoko (Openembedded) package for gpsdrive 2.10pre4

Gernot Hillier gernot at hillier.de
Sat Jan 5 07:31:32 AKST 2008


Hi!

Joerg Ostertag (gpsdrive Munich/Germany) schrieb:
> We are currently changing from automake to cmake. Maybe this eliminates the 
> problem. 

I had no time to look into cmake (i.e. the svn snapshot package) yet.

I'm still fiddling around with getting 2.10pre4 packaged properly. My
main problems with this task are not in the area of gpsdrive, though... ;-)

>> * 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
[...]
> We are currently thinking about splitting the map-icons package anyhow. You 
> probably have seen that in the svn. It already lost it's old Makefile.am 
> Files, more will follow. We will probably split this into one masterpackage 
> with the config FIles(icons.xml, osm.xml) and for each theme 
> (classic.ig.classic.small,square.big,square,small, ...) another package.

So far, I've left all map icons in one package.

> The perl Stuff is normally only needed if you like to rearrange POIs of want 
> to download maps or want to setup database ...
> So this can surely be omitted.
> 
> The stuff in data/maps is a kind of basemap for desktop users to have 
> something to view at before they started to download additinal maps. SO you 
> can ommit these too.
> 
> You might have a look at the debian packaging i did. this can be found in the 
> debian/* directory in svn. This might be a good start for splitting into 
> different packages.
[...]
> Your main package would probably hold:
> 	src/gpsdrive (The executable itself)
> 	data/pixmaps (The pixmaps use in the User Interface)
> 	icons.xml (The POI Hirarchie)
> And then you 'll have a seperate package holding the map-icons as described 
> above.

Ok, so thanks to your hints, I decided to use the following split:

main package:
${bindir}/gpsdrive ${datadir}/map-icons/icons.xml
${datadir}/${PN}/pixmaps ${datadir}/${PN}/poi

package "gpsdrive-addons":
${bindir}/*.pl ${bindir}/friendsd2 ${bindir}/geo* ${bindir}/*.sh
${bindir}/*.py ${bindir}/gpsreplay ${bindir}/gpssmswatch ${bindir}/wp*

package "gpsdrive-data-map-icons":
${datadir}/map-icons/classic.big ${datadir}/map-icons/classic.small
${datadir}/map-icons/japan ${datadir}/map-icons/nickw
${datadir}/map-icons/square.big ${datadir}/map-icons/square.small
${datadir}/map-icons/svg

package "gpsdrive-data-maps":
${datadir}/${PN}/maps ${datadir}/${PN}/map_koord.txt

package "gpsdrive-osm-utils":
${datadir}/perl5/Geo ${datadir}/perl5/Utils ${datadir}/mapnik

package "gpsdrive-doc":
${datadir}/man ${datadir}/${PN}/Documentation

Any further comments? If not, I'll try to submit this package to the
OpenMoko/OpenEmbedded people as soon as I manage to get some remaining
package errors fixed...

--
Gernot


More information about the GPSdrive mailing list