public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/josm-bin/
Date: Fri, 14 Feb 2025 18:13:00 +0000 (UTC)	[thread overview]
Message-ID: <1739556775.864c81e6e7057b78b23adaf49e0f28c89f201104.arthurzam@gentoo> (raw)

commit:     864c81e6e7057b78b23adaf49e0f28c89f201104
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Wed Feb  5 11:32:06 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 14 18:12:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=864c81e6

sci-geosciences/josm-bin: version bump to 19307

Signed-off-by: Henning Schild <henning <AT> hennsch.de>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sci-geosciences/josm-bin/Manifest              |  3 ++
 sci-geosciences/josm-bin/josm-bin-19307.ebuild | 58 ++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/sci-geosciences/josm-bin/Manifest b/sci-geosciences/josm-bin/Manifest
index a0a54dbf4a74..7ac366caf1b4 100644
--- a/sci-geosciences/josm-bin/Manifest
+++ b/sci-geosciences/josm-bin/Manifest
@@ -4,6 +4,9 @@ DIST josm-bin-19265.desktop 638 BLAKE2B d3a5e0204d0188e72eed65e71edd079b5aa025b8
 DIST josm-bin-19265.mime.xml 831 BLAKE2B cc37da2b38a38481e00df0b72dcb9699a4dddb6777a4e71d83bb26f3d48a62e6b4abcc5b6fe8b45624eb3ecfeb231feefa714655e5911eeba203d103a7ab17d6 SHA512 7828c6f281f2701ce0f9e5cfbb57e75ecffab7936ce508c97a796ca820d237c7599bea9fc784825a8006e8fc07ebdd7b091d4d20d6767f9de6ca4e1cf42b58b0
 DIST josm-bin-19277.desktop 638 BLAKE2B d3a5e0204d0188e72eed65e71edd079b5aa025b82f13c515605f7d5bb9f96fc93e4a24c9eea76c6c4027f54f1c449cda811f5c59e0f2ab54975ab3b1bf221ee7 SHA512 328bc131d5985cd164e3ffa27f61241098329ac01954e1cdde1dcab92261eb3e84d69c9b158f2bb944b02f373c3868bea1850ae335f9dabe3c2314d16d651394
 DIST josm-bin-19277.mime.xml 831 BLAKE2B cc37da2b38a38481e00df0b72dcb9699a4dddb6777a4e71d83bb26f3d48a62e6b4abcc5b6fe8b45624eb3ecfeb231feefa714655e5911eeba203d103a7ab17d6 SHA512 7828c6f281f2701ce0f9e5cfbb57e75ecffab7936ce508c97a796ca820d237c7599bea9fc784825a8006e8fc07ebdd7b091d4d20d6767f9de6ca4e1cf42b58b0
+DIST josm-bin-19307.desktop 638 BLAKE2B d3a5e0204d0188e72eed65e71edd079b5aa025b82f13c515605f7d5bb9f96fc93e4a24c9eea76c6c4027f54f1c449cda811f5c59e0f2ab54975ab3b1bf221ee7 SHA512 328bc131d5985cd164e3ffa27f61241098329ac01954e1cdde1dcab92261eb3e84d69c9b158f2bb944b02f373c3868bea1850ae335f9dabe3c2314d16d651394
+DIST josm-bin-19307.mime.xml 831 BLAKE2B cc37da2b38a38481e00df0b72dcb9699a4dddb6777a4e71d83bb26f3d48a62e6b4abcc5b6fe8b45624eb3ecfeb231feefa714655e5911eeba203d103a7ab17d6 SHA512 7828c6f281f2701ce0f9e5cfbb57e75ecffab7936ce508c97a796ca820d237c7599bea9fc784825a8006e8fc07ebdd7b091d4d20d6767f9de6ca4e1cf42b58b0
 DIST josm-snapshot-19253.jar 18361067 BLAKE2B b2765e33c73e7ed3b9bbc72ba52ed6df142a81f9ee31ecf1b20e8dbe79cf61e18fab80c15dbbeaf9b29c06d1f04c0f362a157ef3a0993a1baa7a1eadca00b6b8 SHA512 36d40422080cf6f14db53623796ce73d6c61f956916493021f2002146f8f254781caa3fd48c905f1f78b0baff63b51c6566620c2e5627f505e15b1a794dfc1f7
 DIST josm-snapshot-19265.jar 18383098 BLAKE2B 986ac6b09a1ac042da5ec922914da7cc6a752b3c2bde8281fe24fdc395534d4bedd4b166e7f0b616ad233f03d2926cbe071f06a2440bc6812ccb13cf3783288a SHA512 6c13b9ab7849265df153af0c2cf0b00ec0f73cacb15b16c0d7e4e5fb3e73e15b15b769f279ee51f89539c7c479060a8676892d6cf869ddbb0158bd57c3dbf7ee
 DIST josm-snapshot-19277.jar 18592729 BLAKE2B 37171bb80822168b923b0b0e6564a71a243bc7ac5397fd3f9c748b9658480d6a6f59bfa899c01fdc132ab10ce175732d256bf8f2ca5f505343821d5cabe62695 SHA512 c95817edb1694fc0a35bf69cfb2efc6eabea8ba97d0c86b9da258b6eb5fd1d22dad1bfc371f6a0fa3189765db48353d0d72ca9185b8943ddc455d73e889a2719
+DIST josm-snapshot-19307.jar 18720348 BLAKE2B 163bf92d62ac68e227645d31b185131e3a6b3ff4a2f1008dcb92064b0a8404fb2cd15685e0df8414d1a56e25f80e73b133b2ee07a7301feeb1a5ed56d511bbe8 SHA512 15f582eb19d1af3e969e17333cdfe933cdb4011954909fe5a6f36f96d90d83cc61a7fd8200a9dc2d36f1f12df32ed1581d0a64fef9f37a21cf54286b5d8b0bde

diff --git a/sci-geosciences/josm-bin/josm-bin-19307.ebuild b/sci-geosciences/josm-bin/josm-bin-19307.ebuild
new file mode 100644
index 000000000000..eb0c8cfe550b
--- /dev/null
+++ b/sci-geosciences/josm-bin/josm-bin-19307.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2025 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
+	https://josm.openstreetmap.de/export/${PV}/josm/trunk/native/linux/tested/usr/share/applications/org.openstreetmap.josm.desktop -> ${P}.desktop
+	https://josm.openstreetmap.de/export/${PV}/josm/trunk/native/linux/tested/usr/share/mime/packages/josm.xml \
+		-> ${P}.mime.xml
+"
+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_unpack() {
+	default
+
+	cp "${DISTDIR}/${P}.desktop" "org.openstreetmap.${PN}.desktop" || die
+}
+
+src_prepare() {
+	default
+
+	sed -i -e 's/^Exec=josm/Exec=josm-bin/' "org.openstreetmap.${PN}.desktop" || die
+	sed -i -e 's/^Icon=org.openstreetmap.josm/Icon=org.openstreetmap.josm-bin/' "org.openstreetmap.${PN}.desktop" || die
+}
+
+src_install() {
+	java-pkg_newjar "${DISTDIR}/josm-snapshot-${PV}.jar" ${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 "org.openstreetmap.${PN}.png"
+		newicon -s ${icon_size} -t locolor \
+			images/logo_${icon_size}x${icon_size}x8.png "org.openstreetmap.${PN}.png"
+	done
+	newicon -s scalable images/logo.svg "org.openstreetmap.${PN}.svg"
+	domenu "${WORKDIR}/org.openstreetmap.${PN}.desktop"
+	insinto /usr/share/mime/packages
+	newins "${DISTDIR}/${P}.mime.xml" "${PN}.xml"
+}


             reply	other threads:[~2025-02-14 18:13 UTC|newest]

Thread overview: 100+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-14 18:13 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-22  6:41 [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/josm-bin/ Arthur Zamarin
2025-03-10 22:43 Sam James
2025-03-01 16:22 Arthur Zamarin
2025-02-14 18:13 Arthur Zamarin
2025-01-18 19:58 Sam James
2025-01-08 20:38 Arthur Zamarin
2024-12-22 20:10 Florian Schmaus
2024-12-09  5:47 Arthur Zamarin
2024-12-05 14:59 Florian Schmaus
2024-12-05 14:59 Florian Schmaus
2024-11-15  1:22 Sam James
2024-11-06 10:02 Florian Schmaus
2024-11-06 10:02 Florian Schmaus
2024-10-31 19:30 Arthur Zamarin
2024-10-07 19:37 Florian Schmaus
2024-09-28 10:22 Andrew Ammerlaan
2024-09-28 10:22 Andrew Ammerlaan
2024-09-23 15:31 Andrew Ammerlaan
2024-09-17 19:54 Sam James
2024-09-09  0:17 Eli Schwartz
2024-08-23  2:08 Eli Schwartz
2024-08-15  5:30 Joonas Niilola
2024-08-13  7:36 Joonas Niilola
2024-08-13  7:36 Joonas Niilola
2024-07-09  1:55 Sam James
2024-07-08 14:35 Eli Schwartz
2024-06-23 17:50 Arthur Zamarin
2024-06-22 22:06 Sam James
2024-06-08 12:04 Arthur Zamarin
2024-06-06 16:58 Arthur Zamarin
2024-06-06  6:56 Florian Schmaus
2024-05-21  8:58 Florian Schmaus
2024-05-21  8:58 Florian Schmaus
2024-04-24 17:39 Arthur Zamarin
2024-04-11  7:09 Florian Schmaus
2024-04-10  7:07 Florian Schmaus
2024-04-04 15:05 Arthur Zamarin
2024-03-20 20:23 Andrew Ammerlaan
2024-03-04 10:22 Florian Schmaus
2024-03-04 10:22 Florian Schmaus
2024-03-03 22:12 Sam James
2024-01-23 13:30 Florian Schmaus
2024-01-10 13:14 Andrew Ammerlaan
2024-01-10 13:14 Andrew Ammerlaan
2023-10-31 18:53 Sam James
2023-10-18 12:50 Florian Schmaus
2023-10-17  6:09 Joonas Niilola
2023-09-29  5:05 Arthur Zamarin
2023-07-26  7:58 Florian Schmaus
2023-06-21 11:51 Andrew Ammerlaan
2023-06-17 22:48 Sam James
2023-06-11  8:44 Joonas Niilola
2023-06-02  8:22 Florian Schmaus
2023-06-01 17:09 Arthur Zamarin
2023-06-01 17:08 Arthur Zamarin
2023-05-16 14:02 Florian Schmaus
2023-05-11 20:29 Conrad Kostecki
2023-05-10  8:02 Joonas Niilola
2023-05-10  8:02 Joonas Niilola
2023-04-28  7:44 Joonas Niilola
2023-04-28  7:44 Joonas Niilola
2023-03-19 23:59 Sam James
2023-03-19 23:59 Sam James
2023-03-17  9:46 Florian Schmaus
2023-03-17  9:46 Florian Schmaus
2023-02-14 15:24 Florian Schmaus
2023-02-07  6:47 Joonas Niilola
2023-02-07  6:47 Joonas Niilola
2023-01-08  9:40 Florian Schmaus
2023-01-07 12:37 Florian Schmaus
2023-01-07 12:37 Florian Schmaus
2023-01-06 14:38 Arthur Zamarin
2023-01-06 14:38 Arthur Zamarin
2023-01-03 13:01 Florian Schmaus
2023-01-02 11:39 Florian Schmaus
2022-11-21 15:29 Florian Schmaus
2022-10-18 12:02 Andrew Ammerlaan
2022-10-18 12:02 Andrew Ammerlaan
2022-10-07 21:07 Florian Schmaus
2022-10-07 21:07 Florian Schmaus
2022-07-19  7:41 Florian Schmaus
2022-07-19  7:41 Florian Schmaus
2022-06-08  8:12 Florian Schmaus
2022-05-15  9:22 Florian Schmaus
2022-05-15  9:22 Florian Schmaus
2022-04-23  1:34 Sam James
2022-04-15  3:49 Ionen Wolkens
2022-03-08  8:22 Florian Schmaus
2022-03-08  8:22 Florian Schmaus
2022-01-27 17:40 Florian Schmaus
2021-11-02  9:44 Florian Schmaus
2021-11-02  9:44 Florian Schmaus
2021-09-10  7:22 Joonas Niilola
2021-09-10  7:22 Joonas Niilola
2021-09-04  6:26 Joonas Niilola
2021-09-04  6:26 Joonas Niilola
2021-09-04  6:26 Joonas Niilola
2021-08-04 19:47 Andrew Ammerlaan
2021-08-03  7:55 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1739556775.864c81e6e7057b78b23adaf49e0f28c89f201104.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox