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

Last change on this file since 18889 was 18889, checked in by taylor.smock, 12 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 https://josm.openstreetmap.de/apt/pool/universe/j/josm-latest/josm-latest_1.5.svn18887_all.deb
  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: 933 bytes
Line 
1Package: josm-latest
2Version: 1.5.svn{{VERSION}}
3Section: utils
4Maintainer: josm developers <josm-dev@openstreetmap.org>
5Homepage: https://josm.openstreetmap.de
6Priority: extra
7Architecture: all
8Depends: default-jre (>= 2:1.17) | java8-runtime,
9 proj-data, fonts-noto, openjfx
10Description: Editor for OpenStreetMap (daily development snapshot)
11 JOSM is an editor for OpenStreetMap (OSM) written in Java.
12 The current version supports stand alone GPX tracks, GPX track data
13 from OSM database and existing nodes, line segments and metadata tags
14 from the OSM database.
15 .
16 OpenStreetMap is a project aimed squarely at creating and providing
17 free geographic data such as street maps to anyone who wants them.
18 The project was started because most maps you think of as free actually
19 have legal or technical restrictions on their use, holding back people
20 from using them in creative, productive or unexpected ways.
21
22
23
Note: See TracBrowser for help on using the repository browser.