Index: Makefile =================================================================== --- /dev/null +++ Makefile @@ -0,0 +1 @@ +include ../Makefile.common Index: files/josm =================================================================== --- /dev/null +++ files/josm @@ -0,0 +1,7 @@ +#!/bin/sh +# Simple wrapper script used to start JOSM on Solus +set -e + +JAVA_OPTS="-Djosm.restart=true -Djava.net.useSystemProxies=true" + +java $JAVA_OPTS -jar /usr/share/josm/josm.jar "$@" Index: package.yml =================================================================== --- /dev/null +++ package.yml @@ -0,0 +1,36 @@ +name : josm +version : 1.5.14620 +release : 1 +source : + - https://josm.openstreetmap.de/apt/pool/universe/j/josm/josm_1.5.svn14620_all.deb : adc5440ff35902b9576c9136bdd6ceca571b124b0317327bf0e0ad61d607f1e8 +homepage : https://josm.openstreetmap.de/ +license : GPL-2.0-or-later +component : office.scientific +summary : An offline editor for OpenStreetMap maps +description: | + JOSM is an extensible editor for OpenStreetMap (OSM) for Java 8. + + It supports loading GPX tracks, background imagery and OSM data + from local sources as well as from online sources and allows to + edit the OSM data (nodes, ways and relations) and their metadata + tags. + + OpenStreetMap is a project aimed squarely at creating and providing free + geographic data such as street maps to anyone who wants them. +extract : no +rundep : + openjdk-8 +install : |- + # Extract the deb + ar xf $sources/josm_*_all.deb + mkdir root + tar xf data.tar.xz -C root + # Create and set permissions for /usr/bin + install -Ddm00755 $installdir/usr/bin + # Copy over useful stuff from extracted deb + cp -Rv root/usr/* $installdir/usr/ + # Remove Debian cruft + rm -rf $installdir/usr/share/doc + rm -rf $installdir/usr/share/menu + # Install custom script to start JOSM on Solus + install -Dm00755 $pkgfiles/josm $installdir/usr/bin/josm Index: pspec_x86_64.xml =================================================================== --- /dev/null +++ pspec_x86_64.xml @@ -0,0 +1,75 @@ + + + josm + https://josm.openstreetmap.de/ + + Clive Johnston + clivejo@protonmail.com + + GPL-2.0-or-later + office.scientific + An offline editor for OpenStreetMap maps + JOSM is an extensible editor for OpenStreetMap (OSM) for Java 8. + +It supports loading GPX tracks, background imagery and OSM data +from local sources as well as from online sources and allows to +edit the OSM data (nodes, ways and relations) and their metadata +tags. + +OpenStreetMap is a project aimed squarely at creating and providing free +geographic data such as street maps to anyone who wants them. + + https://solus-project.com/sources/README.Solus + + + josm + An offline editor for OpenStreetMap maps + JOSM is an extensible editor for OpenStreetMap (OSM) for Java 8. + +It supports loading GPX tracks, background imagery and OSM data +from local sources as well as from online sources and allows to +edit the OSM data (nodes, ways and relations) and their metadata +tags. + +OpenStreetMap is a project aimed squarely at creating and providing free +geographic data such as street maps to anyone who wants them. + + office.scientific + + /usr/bin/josm + /usr/share/applications/josm.desktop + /usr/share/icons/hicolor/128x128/apps/josm.png + /usr/share/icons/hicolor/16x16/apps/josm.png + /usr/share/icons/hicolor/192x192/apps/josm.png + /usr/share/icons/hicolor/22x22/apps/josm.png + /usr/share/icons/hicolor/24x24/apps/josm.png + /usr/share/icons/hicolor/256x256/apps/josm.png + /usr/share/icons/hicolor/32x32/apps/josm.png + /usr/share/icons/hicolor/36x36/apps/josm.png + /usr/share/icons/hicolor/40x40/apps/josm.png + /usr/share/icons/hicolor/42x42/apps/josm.png + /usr/share/icons/hicolor/48x48/apps/josm.png + /usr/share/icons/hicolor/512x512/apps/josm.png + /usr/share/icons/hicolor/64x64/apps/josm.png + /usr/share/icons/hicolor/72x72/apps/josm.png + /usr/share/icons/hicolor/80x80/apps/josm.png + /usr/share/icons/hicolor/8x8/apps/josm.png + /usr/share/icons/hicolor/96x96/apps/josm.png + /usr/share/icons/hicolor/scalable/apps/josm.svg + /usr/share/josm/josm-1.5.svn14620.jar + /usr/share/josm/josm.jar + /usr/share/man/man1/josm.1.gz + /usr/share/metainfo/josm.appdata.xml + /usr/share/pixmaps/josm.png + + + + + 2019-02-04 + 1.5.14620 + Packaging update + Clive Johnston + clivejo@protonmail.com + + + \ No newline at end of file