Package Details: josm-latest 13650-1

Git Clone URL: https://aur.archlinux.org/josm-latest.git (read-only)
Package Base: josm-latest
Description: Nightly build of an editor for OpenStreetMap written in Java
Upstream URL: http://josm.openstreetmap.de/
Keywords: openstreetmap
Licenses: GPL
Conflicts: josm
Provides: josm
Submitter: None
Maintainer: SammysHP (SammysHP-bot)
Last Packager: SammysHP-bot
Votes: 29
Popularity: 0.000005
First Submitted: 2007-11-03 12:31
Last Updated: 2018-04-20 02:20

Dependencies (3)

Required by (0)

Sources (5)

Pinned Comments

SammysHP commented on 2018-03-24 18:38

It happened! Automatic updates are now live. If you notice any strange behavior or if you think that this is a really bad idea, please leave a comment (and ideally a suggestion for a better method).

SammysHP commented on 2018-03-20 21:20

Just a quick heads-up: I prepared an automatic update script of this package. I will monitor it for a few days and enable it at the weekend.

What will it do?

It checks for a new version of JOSM every hour and updates the package in the AUR if necessary.

Why will it do this?

Because I get a lot of out-of-date flags for this package just because people do not understand how it is designed.

Why is/was it designed this way?

This package builds from the nightly build of JOSM (called "josm-latest"). This means it will change probably more than once a day. Thus the checksums are skipped and pkgver() will set the correct version. It downloads a binary, so I cannot use VCS magic.

The downside is that you won't get an update notification and if you cache the downloaded files, makepkg will not re-download them. This is a problem and I assume that some people were affected by this.

The new version will not contain checksums as well because I want the package to be built in every situation. This might result in an outdated version code, but this would last for less than a day anyway. I might improve it in the future if I get an Idea how to do it.

Latest Comments

SammysHP commented on 2018-03-24 18:38

It happened! Automatic updates are now live. If you notice any strange behavior or if you think that this is a really bad idea, please leave a comment (and ideally a suggestion for a better method).

SammysHP commented on 2018-03-20 21:20

Just a quick heads-up: I prepared an automatic update script of this package. I will monitor it for a few days and enable it at the weekend.

What will it do?

It checks for a new version of JOSM every hour and updates the package in the AUR if necessary.

Why will it do this?

Because I get a lot of out-of-date flags for this package just because people do not understand how it is designed.

Why is/was it designed this way?

This package builds from the nightly build of JOSM (called "josm-latest"). This means it will change probably more than once a day. Thus the checksums are skipped and pkgver() will set the correct version. It downloads a binary, so I cannot use VCS magic.

The downside is that you won't get an update notification and if you cache the downloaded files, makepkg will not re-download them. This is a problem and I assume that some people were affected by this.

The new version will not contain checksums as well because I want the package to be built in every situation. This might result in an outdated version code, but this would last for less than a day anyway. I might improve it in the future if I get an Idea how to do it.

Cody_Learner commented on 2018-03-19 22:50

Sorry, my bad... I did read the pinned, but thought something was still wrong. I'm working on an AUR wrapper script. "Pacman -Sl aur" showed "aur josm-latest 13473-1" in my AUR repo. I manually built your package to double check with results below. Definitely newer than off. repo version. Now to figure out my script issues. Thanks quick reply!

==> Finished making: josm-latest 13548-1 (Mon Mar 19 15:36:19 PDT 2018)

SammysHP commented on 2018-03-19 22:22

@Cody_Learner Because this is the nightly version which is much newer than the stable version from the official repo. Please read the comments, especially the pinned one.

Cody_Learner commented on 2018-03-19 22:18

A newer version of this package is available in the official repos. Why is this still here?

$ pacman -Ss josm community/josm 13500-1 [installed]

Athemis commented on 2018-03-01 19:31

Doesn't work anymore. Instead of "logo.png" there are now seven logo images in different sizes and colour depths in the image folder. You may change "images/logo.png" to e.g. "images/logo_48x48x32.png" in the PKGBUILD.

SammysHP commented on 2018-01-03 15:07

Your package josm-latest has been flagged out-of-date by strebski mayby better option is to remove this package from AUR repository?

Why do you think that this package should be removed? It is up-to-date and I use it almost daily. Please read the comments.

SammysHP commented on 2016-07-08 15:57

> RubenKelevra filed a orphan request for josm-latest:
> Has not been updated for 1 year!

Because there is nothing to update!

This is a VCS-like package that always installs the latest version (built for every SVN commit). It cannot be suffixed with -svn because it isn't built from the SVN but downloads a compiled jar file instead.

Please read the description and the PKGBUILD before you submit a request, thanks.

SammysHP commented on 2015-05-30 12:25

Thanks for the hint, jose1811.

Actually that modification was already in my experimental branch of the PKGBUILD which I've just committed and uploaded. Here are some of the new features:

- include man page
- extract logo from jar file
- handle restart of JOSM
- add global configuration file for JOSM (e.g. for memory limit)
- fix and extend desktop file

jose1711 commented on 2015-05-30 11:01

for some reason everytime i start geeqie it complains about this:
Desktop file '/usr/share/applications/josm.desktop' should not include extension in Icon key: 'josm.png'

could you please remove the extension from icon filename? thank you

SammysHP commented on 2015-04-07 11:48

@fuhd

Why have you flagged the package out-of-date? Just built it and everything is fine.

$ pacman -Qs josm-latest
local/josm-latest 8175-1

SammysHP commented on 2013-12-11 18:53

@Lekensteyn

Nice stuff! But I don't see any benefit with this. You can get a Certum certificate for free, so this change will not help for security and it violates KISS.

Lekensteyn commented on 2013-12-11 16:43

Please consider enabling verification of the package using jarsigner. I abused the prepare() function for this.

https://github.com/Lekensteyn/aur/commit/2c571fe729a3e0195a3244db13c9ce717b707092

SammysHP commented on 2013-10-19 17:12

@Kyrias
Why? Is there any benefit? Also your url includes the version, but this PKGBUILD downloads always the latest version and determines the version afterwards with pkgver().

Btw: I took the url from the old PKGBUILD that I've adopted some days ago.

kyrias commented on 2013-10-19 14:56

You should switch to using a direct link to the logo instead. (http://josm.openstreetmap.de/export/6320/josm/trunk/images/logo.png)

unforgiven512 commented on 2013-04-21 19:37

I'd like to take over this package, if possible. Thanks.

haawda commented on 2013-02-25 21:29

Please avoid $startdir.

habiloid commented on 2012-03-12 08:10

Thanks, that worked

jose1711 commented on 2012-03-11 22:10

@habiloid: try makepkg -g >> PKGBUILD && makepkg

habiloid commented on 2012-03-11 20:20

When trying to build I get:

-> Downloading logo.png?format=raw...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 33608 100 33608 0 0 141k 0 --:--:-- --:--:-- --:--:-- 184k
==> ERROR: Integrity checks are missing

What should I do?

habiloid commented on 2012-03-11 19:42

When trying to build I get:

-> Downloading logo.png?format=raw...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 33608 100 33608 0 0 141k 0 --:--:-- --:--:-- --:--:-- 184k
==> ERROR: Integrity checks are missing

What should I do?

farvardin commented on 2012-02-23 08:13

archlinux badly need a way to disable checksum check for this kind of package, we don't care about the md5, and it's a pain to update the AUR only for this.

lfleischer commented on 2011-09-22 13:30

Eichi: Please rename this one to josm-snapshot and use snapshots instead. We can merge comments and votes of this package into the new one. Thanks!

stativ commented on 2011-09-15 14:50

I suggest using snapshot instead. Their md5sums doesn't change.

gadget3000 commented on 2011-08-29 19:00

Hi. What is the difference between this package and josm in [community]?

nickoe commented on 2011-05-30 21:06

@alparo: You should generate the md5sum yourself, since the source changes very often

nickoe commented on 2011-03-20 18:06

md5sums=('cd464ef3c1df81abcff6848e751222c8'
'a10424648168a7a1e97c628567700846'
'cfa4884f93dd83925010cc06bee90a99'
'2f64cf306c1da711a362713b865d6ab5')

nickoe commented on 2011-03-20 18:01

You forgot the md5sum...

==> ERROR: Integrity checks are missing.

jose1711 commented on 2011-02-20 13:10

@alparo: you should be more specific

Anonymous comment on 2011-02-20 13:08

please, do something with pkgbuild. it doesn't work for me. :(

jose1711 commented on 2010-12-21 21:45

i think empty md5sums are there for a reason - they tend to change too often. other than that you should be using package() instead of build() to package the source and those '|| return 1's are no longer necesssary

Anonymous comment on 2010-12-21 21:39

Revised PKGBUILD with checksums of JOSM version 3733.

http://aur.pastebin.com/1u5NF4Xn

jose1711 commented on 2010-09-01 17:02

please modify josm-latest.sh to:

java -jar "${CLASSPATH}" "$@"

so one could open an file in josm using

$ josm file_to_open.osm

thank you, jose

hcartiaux commented on 2010-06-12 13:39

Here is a revised PKGBUILD with md5sums for josm version 3329 : http://aur.pastebin.com/TfagCPG3

Anonymous comment on 2010-05-19 16:38

Does not compile anymore. Checksum failure on logo