[josm-dev] livegps plugin update for new gpsd 2.9x (future 3.0) protocol
Dirk Stöcker
openstreetmap at dstoecker.de
Wed Jun 9 08:29:16 BST 2010
On Wed, 9 Jun 2010, Gleb Smirnoff wrote:
> F> I think it is fair to assume that there will be a lot of two-year-old
> F> Linux distributions around. We cannot force people to upgrade their
> F> distribution just because they want to use the plugin. Did the version
> F> of gpsd that shipped with Debian and Ubuntu in 2008 already support the
> F> new protocol?
>
> ok, I will try to make patch that supports both protocols. Any testers
> for the old one?
Yes. Me. 2.37 here.
> F> > Can you please comment on including foreign code in plugin? What is the
> F> > correct procedure? The situation seems similar to the org.apache.tools.bzip2
> F> > in the core josm repo.
> F>
> F> The JOSM plugin installer does not support dependencies on third-party
> F> libraries so the way you did it is probably the one that is easiest for
> F> users.
>
> When I run 'svn up' on josm I see some messages like "fetching external
> item". May be I misunderstand this... doesn't this mean some link to
> external repo?
You have 3 ways:
* use svn:externals to link directly to an extern SVN and import the
parts you need (see in core).
* Make a lib directory and copy the .jar into the build (see e.g.
dataimport plugin)
* Copy the source directly into src. This is fine when you strip them
down to bare minimum and modify them. If not, the first two approaches
seem to be better regarding updates.
JOSM ticket for this issue:
http://josm.openstreetmap.de/ticket/5101
Ciao
--
http://www.dstoecker.eu/ (PGP key available)
More information about the josm-dev
mailing list