Am Donnerstag 02 Juli 2009 schrieb Andreas Putzo:
> On Jun 30 22:05, Joerg Ostertag wrote:
> > On Monday 29 June 2009 01:19:54 Guenther Meyer wrote:
> > > Am Sonntag 28 Juni 2009 schrieb Andreas Putzo:
> > > > May i suggest putting the script into the gpsdrive repository?
> > > > Judging from the comments in the script, geoinfo.db is solely used by
> > > > gpsdrive and thus, in my opinion, should be kept there.
> > >
> > > it was in the gpsdrive repository some time ago.
>
> Somehow skipped that part in your first mail.
>
> > > the geoinfo stuff was developed for gpsdrive, but we thought, it would
> > > be a good idea to put it (together with the icons) into the osm
> > > repository, in the hope, that other applications might use it, too.
> > >
> > > as this may be a good idea for achieving this, I never liked Joerg's
> > > decision to move the geoinfo.db (which is an essential part of
> > > gpsdrive) oout to a separate package...
>
> If this file is useful for other applications it might be ok. You don't
> add all libraries gpsdrive depends on into the gpsdrive source just
> because gpsdrive won't run without it. Though the build system should
> catch it, if it can't find the geoinfo.db.
>
> > The reason here is consistency. Since geoinfo.db is directly depending on
> > the existance or non existence of icons, i decided to move it to where
> > the icons are located. Only this way i can be sure that after installing
> > a map-icons-package Version xy i also have the corresponding geoinfo.db
> > version xy file laying near it. und thus being installed at the same
> > time.
>
> What happens if the geoinfo.db contains a poi_type but the installed
> icon set does not contain that particular icon? There are more than 500
> poi_types already which is many for a minimal icon set for embedded
> devices.
this is one of the advantages of our tree-bases approach:
if an icon is missing, or there is a new poi_type which hasn't yet an icon,
the parent icon is used.
> Also, you would need something like a map-icons-common package
> since you can't just add the geoinfo.db to every map-icons package without
> adding conflicts. I don't really like the idea to add a package for only
> two files (icons.xml and geoinfo.db), but well..
>
that's why I recommend to create a package from my minimal-icons.tgz with no
other dependencies.
it should contain only the base icons and the geoinfo.db.
I don't know if it is possible for other (full) icons packages to depend on
that, because they would probably have to overwrite the provided base icons.
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive