From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D00C7158451 for ; Wed, 10 Jan 2024 13:14:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 233FCE2A48; Wed, 10 Jan 2024 13:14:35 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 01376E2A48 for ; Wed, 10 Jan 2024 13:14:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1FF79343255 for ; Wed, 10 Jan 2024 13:14:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8BFFC13A0 for ; Wed, 10 Jan 2024 13:14:32 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1704892397.d9e404fc1110f37f77f1d21f85bb46cc02553f6e.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/josm-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-geosciences/josm-bin/Manifest sci-geosciences/josm-bin/josm-bin-18905.ebuild X-VCS-Directories: sci-geosciences/josm-bin/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: d9e404fc1110f37f77f1d21f85bb46cc02553f6e X-VCS-Branch: master Date: Wed, 10 Jan 2024 13:14:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: da027f03-f34b-4db1-970e-c69d28593146 X-Archives-Hash: b9578f90c1dfb451203d6bc0e5c3302e commit: d9e404fc1110f37f77f1d21f85bb46cc02553f6e Author: Henning Schild hennsch de> AuthorDate: Wed Dec 6 08:59:17 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Wed Jan 10 13:13:17 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9e404fc sci-geosciences/josm-bin: version bump to 18905 Signed-off-by: Henning Schild hennsch.de> Signed-off-by: Andrew Ammerlaan gentoo.org> sci-geosciences/josm-bin/Manifest | 1 + sci-geosciences/josm-bin/josm-bin-18905.ebuild | 33 ++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest index 4fecc0a68ab7..bde2426d9205 100644 --- a/sci-geosciences/josm-bin/Manifest +++ b/sci-geosciences/josm-bin/Manifest @@ -1,2 +1,3 @@ DIST josm-snapshot-18772.jar 16707373 BLAKE2B 3ba71379b7d6731c3d33f8069c3247806e8324b1e482f16ab4166f310a7b4d00f31deb7746393df654382b95ecccdc3223b12bb073188431440c3334d39e2213 SHA512 935b6d29d48c73f4a309e8efc8f5f9908c886f7950f82351a904cb5336d8adc0916820fd8c3b693a2d562016b043385739023fb1563b9a246928213f13dbc856 DIST josm-snapshot-18822.jar 16824738 BLAKE2B 5588c13ed81539daa9150a8c1abbda4534cc9b068a0cfa5b40d2cd305eba7ee78e2c7b6fcf88244772baf1132c0c951ddb2044fa380605c938ca2ea66fe5dea7 SHA512 656dd9eab09b4785137dd4394e33128fc1f4741754219291c2461978a7bff12f7653ea7678db464365f5057a03a44ad0b798046a77cd290edcc03f36feaecf66 +DIST josm-snapshot-18905.jar 16782780 BLAKE2B 910244f09f63092dd7d8751be32b8d7cb1614151101302af96cab1b8e53ae0618e223c6e59758be57a089d21ae0cffdbc3026a986726aa23cd65c7002df435b4 SHA512 8ed2a752d77ade1c58180a3d67282990e43d02e5aaecca8d03673fb287b8e4a2024fdc662392e64dbbfab382797a6327f45fb602f42c24a340e05f1250bb7816 diff --git a/sci-geosciences/josm-bin/josm-bin-18905.ebuild b/sci-geosciences/josm-bin/josm-bin-18905.ebuild new file mode 100644 index 000000000000..1aba0e7ffd7b --- /dev/null +++ b/sci-geosciences/josm-bin/josm-bin-18905.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop java-utils-2 xdg + +DESCRIPTION="Java-based editor for the OpenStreetMap project" +HOMEPAGE="https://josm.openstreetmap.de/" +# PV should be stable here https://josm.openstreetmap.de/wiki/StartupPage +SRC_URI="https://josm.openstreetmap.de/download/josm-snapshot-${PV}.jar" +S="${WORKDIR}" + +LICENSE="Apache-2.0 GPL-2+ GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=virtual/jre-1.8" +BDEPEND="app-arch/unzip" + +src_install() { + java-pkg_newjar "${DISTDIR}/${A}" ${PN}.jar + java-pkg_dolauncher ${PN} --jar ${PN}.jar + + local icon_size + for icon_size in 16 32 48; do + newicon -s ${icon_size} -t hicolor \ + images/logo_${icon_size}x${icon_size}x32.png ${PN}.png + newicon -s ${icon_size} -t locolor \ + images/logo_${icon_size}x${icon_size}x8.png ${PN}.png + done + make_desktop_entry ${PN} "Java OpenStreetMap Editor" ${PN} "Utility;Science;Geoscience" +}