Page Menu
Home
Solus
Search
Configure Global Search
Log In
Files
F10727857
D5293.id12829.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
6 KB
Referenced Files
None
Subscribers
None
D5293.id12829.diff
View Options
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 @@
+<PISI>
+ <Source>
+ <Name>josm</Name>
+ <Homepage>https://josm.openstreetmap.de/</Homepage>
+ <Packager>
+ <Name>Clive Johnston</Name>
+ <Email>clivejo@protonmail.com</Email>
+ </Packager>
+ <License>GPL-2.0-or-later</License>
+ <PartOf>office.scientific</PartOf>
+ <Summary xml:lang="en">An offline editor for OpenStreetMap maps</Summary>
+ <Description xml:lang="en">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.
+</Description>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://solus-project.com/sources/README.Solus</Archive>
+ </Source>
+ <Package>
+ <Name>josm</Name>
+ <Summary xml:lang="en">An offline editor for OpenStreetMap maps</Summary>
+ <Description xml:lang="en">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.
+</Description>
+ <PartOf>office.scientific</PartOf>
+ <Files>
+ <Path fileType="executable">/usr/bin/josm</Path>
+ <Path fileType="data">/usr/share/applications/josm.desktop</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/128x128/apps/josm.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/16x16/apps/josm.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/192x192/apps/josm.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/22x22/apps/josm.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/24x24/apps/josm.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/256x256/apps/josm.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/32x32/apps/josm.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/36x36/apps/josm.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/40x40/apps/josm.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/42x42/apps/josm.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/48x48/apps/josm.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/512x512/apps/josm.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/64x64/apps/josm.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/72x72/apps/josm.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/80x80/apps/josm.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/8x8/apps/josm.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/96x96/apps/josm.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/scalable/apps/josm.svg</Path>
+ <Path fileType="data">/usr/share/josm/josm-1.5.svn14620.jar</Path>
+ <Path fileType="data">/usr/share/josm/josm.jar</Path>
+ <Path fileType="man">/usr/share/man/man1/josm.1.gz</Path>
+ <Path fileType="data">/usr/share/metainfo/josm.appdata.xml</Path>
+ <Path fileType="data">/usr/share/pixmaps/josm.png</Path>
+ </Files>
+ </Package>
+ <History>
+ <Update release="1">
+ <Date>2019-02-04</Date>
+ <Version>1.5.14620</Version>
+ <Comment>Packaging update</Comment>
+ <Name>Clive Johnston</Name>
+ <Email>clivejo@protonmail.com</Email>
+ </Update>
+ </History>
+</PISI>
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/plain
Expires
May 11 2023, 1:23 AM (12 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5803229
Default Alt Text
D5293.id12829.diff (6 KB)
Attached To
Mode
D5293: Initial packaging for JOSM 1.5.svn14620
Attached
Detach File
Event Timeline
Log In to Comment