source: josm/trunk/native/linux/tested/DEBIAN/control@ 18889

Last change on this file since 18889 was 18889, checked in by taylor.smock, 8 months ago

See #17858: Add Java 17 as an option for the Java version in deb packages

By depending upon default-jre with a version specification, we can avoid
hardcoding many specific Java JREs versions via |. Instead, we just indicate
that the default-jre must be >= 17 or the currently installed version must be
Java 8 compatible. This will change on 2023-12-31 when Java 8 support is dropped.
See #17858 for details.

This was verified via the following in an Ubuntu 23.04 container:

  1. curl -O
  2. ar x josm-latest_1.5.svn18887_all.deb control.tar.xz
  3. tar xf control.tar.xz control
  4. Edit control to match new control
  5. xz --decompress control.tar.xz && tar uvf control.tar control && xz control.tar
  6. ar r josm-latest_1.5.svn18887_all.deb control.tar.xz

The resulting deb package was then tested against Debian Buster, Bullseye,
Bookworm, Trixie, and Sid, along with Ubuntu 18.04, 20.04, 22.04, 23.04, and
23.10 with
podman run -it --rm --volume $(pwd):/mnt ${IMAGE} /usr/bin/bash -c "apt update && apt install -y /mnt/josm-latest_1.5.svn18887_all.deb && josm-latest --version && josm-latest --status-report"

File size: 944 bytes
1Package: josm
2Version: 1.5.svn{{VERSION}}
3Section: utils
4Maintainer: josm developers <>
6Priority: extra
7Architecture: all
8Depends: default-jre (>= 2:1.17) | java8-runtime,
9 proj-data, fonts-noto, openjfx
10Conflicts: josm-plugins
11Replaces: josm-plugins
12Description: Editor for OpenStreetMap
13 JOSM is an editor for OpenStreetMap (OSM) written in Java.
14 The current version supports stand alone GPX tracks, GPX track data
15 from OSM database and existing nodes, line segments and metadata tags
16 from the OSM database.
17 .
18 OpenStreetMap is a project aimed squarely at creating and providing
19 free geographic data such as street maps to anyone who wants them.
20 The project was started because most maps you think of as free actually
21 have legal or technical restrictions on their use, holding back people
22 from using them in creative, productive or unexpected ways.
Note: See TracBrowser for help on using the repository browser.