← Back to team overview

openstreetmap team mailing list archive

Re: .deb Package with JOSM for Ubuntu, Debian, ...

 

Christopher Koellmayr wrote:
> Hi everybody,

Hi Christopher!

> first of all: I'm a total launchpad newbie!

No problem, I will try to help you wherever necessary. I am glad to see
somebody take some action. Great thanks for that.

> But today i played with the debian package management and i was able to
> build a josm.deb which installs the newest version of josm.

Did you create your own package information or did you use the one from
ubuntu as basis? I guess it would be best to start from [1] and [2].
These are the current packages in josm and therefore most recent. You
can download the source code package on the right side of [1] and [2]
and take a look at how they made it.

> So went further and now i have a bash script which checks the current
> SVN Version of josm and if the SVN repository was updatet, it generates
> automatically an new deb package with the newest version of JOSM.

That's great! Would you share that with us? I would love to take a look
on that.

> I have no idea if this is the way it could work with launchpad?

Of course it works. If you want more information, I guess it is best if
you contact me in irc (silwol on irc.freenode.net) or jabber
(silwol@xxxxxxxxxxxxx).

> I can upload my script to my private server and let a cronjob execute
> the script every 12 hours?

That's a great idea. Although I am not sure if it really works, because
you have to sign the packages with your gpg key before uploading, and
that would usually have to be done by hand - except if you use a gpg key
without a passphrase which is quite insecure.

Wolfgang.

---

[1] http://packages.ubuntu.com/intrepid/josm
[2] http://packages.ubuntu.com/intrepid/josm-plugins



Follow ups

References