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 C9B8F1581C1 for ; Mon, 8 Jul 2024 14:35:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D437E2B4C; Mon, 8 Jul 2024 14:35:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 2D4AEE2B4C for ; Mon, 8 Jul 2024 14:35:48 +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 3034934076D for ; Mon, 8 Jul 2024 14:35:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 88B161DF6 for ; Mon, 8 Jul 2024 14:35:45 +0000 (UTC) From: "Eli Schwartz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eli Schwartz" Message-ID: <1720449273.90bb08d5a5e51c43bf41c52cdd1182e6de7a4d83.eschwartz@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-19128.ebuild X-VCS-Directories: sci-geosciences/josm-bin/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: 90bb08d5a5e51c43bf41c52cdd1182e6de7a4d83 X-VCS-Branch: master Date: Mon, 8 Jul 2024 14:35:45 +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: fd9f8488-9c9a-4dd7-9d9b-333c9cdf0c45 X-Archives-Hash: d9d6058658a895812abd906771cf402b commit: 90bb08d5a5e51c43bf41c52cdd1182e6de7a4d83 Author: Henning Schild hennsch de> AuthorDate: Mon Jul 8 07:51:49 2024 +0000 Commit: Eli Schwartz gentoo org> CommitDate: Mon Jul 8 14:34:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90bb08d5 sci-geosciences/josm-bin: version bump to 19128 Signed-off-by: Henning Schild hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/37481 Signed-off-by: Eli Schwartz gentoo.org> sci-geosciences/josm-bin/Manifest | 1 + sci-geosciences/josm-bin/josm-bin-19128.ebuild | 37 ++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest index deaa066dbddb..34725c8cf426 100644 --- a/sci-geosciences/josm-bin/Manifest +++ b/sci-geosciences/josm-bin/Manifest @@ -1,2 +1,3 @@ DIST josm-snapshot-19067.jar 18350764 BLAKE2B c4341e1f1442887b490d8118e6bdad72bcacaf437017f251b3a167622b75360434c57df5ef2631eb57bf747af5ec313c5a3029b9c2aed9134f2c8080904cbf6c SHA512 0300e21f494748ca3a4b8792ed671a5f9b9106f83ebe65e108c4d58b15e9312fa7323a016d0d4e55ee1ea9ea7bc201c1f209db9860cce026e66530d725357ae9 DIST josm-snapshot-19096.jar 18349420 BLAKE2B 0423ccd0cad224168a1c88cc1bffb6643a65b837a9a0715aa867e0ece55d7d6d69530adb2ee32e65cc3a9364daaba0ca7a9d6edb8807e809913f145f8e554269 SHA512 6005dd32a2ca0aa1f7367b181b99d13d000d98282420d3119569b9fb148407191a1a8dccc81734b3c2e40715ee813599305dcadd5e3cf2af040ba312f75a0467 +DIST josm-snapshot-19128.jar 18376543 BLAKE2B 055d652eccfe820a7e793190dab69fb39a5961d147996a6d8bb51518d3f91df6de6989547cfbb10e7c20db86abe1bfeda800a873bd26f5d92d896a2ee8c51829 SHA512 d21f3d4bccc4a0e83c5c65fba195af2490d7f1751dcd1b3d542c69ee2edce0a99881c21b52bd7d9aed5848a667542a4e67a6dcb8a701b74531a57c75ae23dd3f diff --git a/sci-geosciences/josm-bin/josm-bin-19128.ebuild b/sci-geosciences/josm-bin/josm-bin-19128.ebuild new file mode 100644 index 000000000000..6303fb8bbeed --- /dev/null +++ b/sci-geosciences/josm-bin/josm-bin-19128.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 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 \ + --java_args "\ + --add-exports=java.base/sun.security.action=ALL-UNNAMED \ + --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED \ + --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED" + + 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" +}