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 770DD15ACFB for ; Fri, 28 Apr 2023 07:44:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97A8AE09C6; Fri, 28 Apr 2023 07:44:13 +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 33D16E09C4 for ; Fri, 28 Apr 2023 07:44:13 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 75359340F78 for ; Fri, 28 Apr 2023 07:44:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E050A40 for ; Fri, 28 Apr 2023 07:44:10 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1682667055.3534f1177db7b9ab4d153a7c0fd35cb6e1bf2e1c.juippis@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-18700.ebuild X-VCS-Directories: sci-geosciences/josm-bin/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 3534f1177db7b9ab4d153a7c0fd35cb6e1bf2e1c X-VCS-Branch: master Date: Fri, 28 Apr 2023 07:44:10 +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: d5b5ecc1-dcfd-4f86-8d2f-33ac43f7eb73 X-Archives-Hash: e4f7a515017cdd0e7d767aaefaf00b2e commit: 3534f1177db7b9ab4d153a7c0fd35cb6e1bf2e1c Author: Henning Schild hennsch de> AuthorDate: Wed Apr 5 19:40:19 2023 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri Apr 28 07:30:55 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3534f117 sci-geosciences/josm-bin: version bump to 18700 Signed-off-by: Henning Schild hennsch.de> Signed-off-by: Joonas Niilola gentoo.org> sci-geosciences/josm-bin/Manifest | 1 + sci-geosciences/josm-bin/josm-bin-18700.ebuild | 33 ++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest index 0038f2fe679e..489db27f1749 100644 --- a/sci-geosciences/josm-bin/Manifest +++ b/sci-geosciences/josm-bin/Manifest @@ -1,3 +1,4 @@ DIST josm-snapshot-18622.jar 16311954 BLAKE2B 01d033cb4105f192ef14176dca79667ef2df95a55507df47dd5d163025d7460246fcc5524133e08e9ee77ee3073dce819072470d3898620d7ed9c5eedd405a34 SHA512 7220c007b87b5128bf9a4ace9a61d2fff4a22834248c85c4b3ab96db7d364f4adc63aa2167419f2418f4c3fb1f96bd3cd6ef05727bc1c4cd46280dc161b4fbe2 DIST josm-snapshot-18646.jar 16326607 BLAKE2B 8735298e268f2b516f235e7368a44e638455dffc9ab5d8c07672bb2053227bb15473cd71ce1f8b08e3e3dc43ed4c240aab8a9f2b4632cf6d59a30a49a70302a6 SHA512 34fa30e7fdea179efd63c7e68617dec8c3bd3060f5cef57e93bd3cc856495a1b6f7254e84880867467fc1ff09102bbaa1e4e108d0cd8a174e327d261c68ad992 DIST josm-snapshot-18678.jar 16376303 BLAKE2B 9db4a9bd90e0f2deac4474462091d91505874f936fde330c6a676d4beecf029966d692bc2dadc0f2d44bfcb53d8f40a075a95d0bb4b07f6ffffb160080d88ceb SHA512 af621dab4ad5495fe895639811e6c0e24e463b1c8fbcb70c5626ca68a0b9b1a9b16a34dd746335553dd84974197ba37ab3bb9c5eee19da2209f41da94a8cc28f +DIST josm-snapshot-18700.jar 16421003 BLAKE2B 67310f9e1d2b64646f543573ee9aacac6f62ff40597e069e756d34bf4699755712bccf5dca8bd89c8185db5a470dd3d1c4242b02534e416fe04c62ca7f994de2 SHA512 7d6923bf3d5ba1f7331a3904d1b54920a301eacc53c720991132cecb00bfc2dca2e0fd9d58d90e88ff0e3f46207bed06b6ac002e13baa69e95cbc0c11b4e191e diff --git a/sci-geosciences/josm-bin/josm-bin-18700.ebuild b/sci-geosciences/josm-bin/josm-bin-18700.ebuild new file mode 100644 index 000000000000..1aba0e7ffd7b --- /dev/null +++ b/sci-geosciences/josm-bin/josm-bin-18700.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" +}