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.
> 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...
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.
> > Another advantage might be, that gpsdrive wouldn't complain about the
> > missing geoinfo.db after installation but show a meaningful error
> > message at build time that a dependency is missing.
> > If you don't oppose my idea i would try to prepare a patch to implement
> > this.
> >
> hmm...
> IMO the best would be, to create a package from the minimal-icons.tgz, and
> use
> it as a required dependency to gpsdrive. this package could also be built
> together with gpsdrive...
As Günther already entioned, I could think of one way arround it. We might
want to add a small dummy geoinfo.db with only the 10 top-level entries
included. But then we still have the problem that this is inconsistent as
soon as one new top-level icon-tree is added or removed.
-
Joerg
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive