public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsprune-bin/
@ 2023-08-20 18:57 Rick Farina
  0 siblings, 0 replies; 8+ messages in thread
From: Rick Farina @ 2023-08-20 18:57 UTC (permalink / raw
  To: gentoo-commits

commit:     c20253a18310eec1e74f8e55e1ad0cef7d6b41fc
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 20 18:57:00 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Sun Aug 20 18:57:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c20253a1

sci-geosciences/gpsprune-bin: add 23.1

Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 sci-geosciences/gpsprune-bin/Manifest              |  1 +
 .../gpsprune-bin/gpsprune-bin-23.1.ebuild          | 65 ++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/sci-geosciences/gpsprune-bin/Manifest b/sci-geosciences/gpsprune-bin/Manifest
index bac1d5dc6ebf..e9eeb5495f6e 100644
--- a/sci-geosciences/gpsprune-bin/Manifest
+++ b/sci-geosciences/gpsprune-bin/Manifest
@@ -1 +1,2 @@
 DIST gpsprune_20.4.jar 1269002 BLAKE2B 616e19f69ce81d26c68714240beae154d66e181067385fa35e0c790c7614d9ec6a1a672d67494c96c443d4c30b20fc7122d2a88f8608ca407f5f5b22fa0cf8e6 SHA512 78347793982e8e39f9747a20d1f366376bed93099c84f2e168dc3ffdee041ff7c3e90e48d3f076637d83f8f5f1e84bd18dbe2a35bef68ce972a4f541315a2f64
+DIST gpsprune_23.1.jar 1201224 BLAKE2B 829383d8fdc5406b4bbddfb224d48142cee910b478db8e67029592c9a8382b78f0286b3850b484801688254455d043e6409e3af21d3fb4956fc284a6f2e3685d SHA512 45b285bd6f940619c2e6f73f29f377a8db01e29435833c07286261d57eee2b5584193b040ed4ce15fe1c0cfae15f629a3b95c0a25af74cf51af64cfa7fc19183

diff --git a/sci-geosciences/gpsprune-bin/gpsprune-bin-23.1.ebuild b/sci-geosciences/gpsprune-bin/gpsprune-bin-23.1.ebuild
new file mode 100644
index 000000000000..af6ab8ead830
--- /dev/null
+++ b/sci-geosciences/gpsprune-bin/gpsprune-bin-23.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop
+
+DESCRIPTION="An application for viewing, editing and converting GPS data"
+HOMEPAGE="http://activityworkshop.net/software/gpsprune/index.html"
+SRC_URI="http://activityworkshop.net/software/gpsprune/gpsprune_${PV}.jar"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="virtual/jre:*"
+RDEPEND="${DEPEND}"
+
+gpsprune_bin="${WORKDIR}/gpsprune"
+gpsprune_desktop="${WORKDIR}/gpsprune.desktop"
+
+S="${WORKDIR}"
+
+src_prepare() {
+	default
+
+	# Provide the necessary files
+	cp "${DISTDIR}/${A}" "${WORKDIR}" || die
+	for size in 128 96 72 64 48 36 32 24 22 16; do
+		mkdir -p "${WORKDIR}/icons/$size"
+		cp "${WORKDIR}/tim/prune/gui/images/window_icon_${size}.png" "${WORKDIR}/icons/$size/gpsprune.png" || die
+	done
+
+	# Generate an executable
+	cat <<-EOF > "${gpsprune_bin}" || die
+	#!/bin/sh
+	java -jar /opt/gpsprune/gpsprune_${PV}.jar \$@
+	EOF
+
+	# Generate a .desktop file
+	cat <<-EOF > "${gpsprune_desktop}" || die
+	[Desktop Entry]
+	Name=GpsPrune
+	Type=Application
+	Comment=Application for viewing, editing and converting coordinate data from GPS systems
+	Exec=gpsprune
+	Icon=gpsprune
+	Categories=Science;Geoscience;
+	EOF
+}
+
+src_install() {
+	insinto /opt/gpsprune
+	doins "gpsprune_${PV}.jar"
+	exeinto /usr/bin
+	doexe "${gpsprune_bin}"
+
+	for size in 128 96 72 64 48 36 32 24 22 16; do
+		insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
+		doins "icons/${size}/gpsprune.png"
+	done
+
+	domenu gpsprune.desktop
+}


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsprune-bin/
@ 2023-10-17 18:11 Florian Schmaus
  0 siblings, 0 replies; 8+ messages in thread
From: Florian Schmaus @ 2023-10-17 18:11 UTC (permalink / raw
  To: gentoo-commits

commit:     3697ca2471e01d5208b0a517b05b9d881c4f2ace
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 17 18:10:18 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Oct 17 18:11:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3697ca24

sci-geosciences/gpsprune-bin: add 23.2, drop 23.1, various fixes

- properly install the jar file
- drop empty IUSE
- fix DEPEND/RDEPEND
- use https

Closes: https://bugs.gentoo.org/915822
Closes: https://bugs.gentoo.org/915823
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 sci-geosciences/gpsprune-bin/Manifest              |  2 +-
 .../gpsprune-bin/gpsprune-bin-23.1.ebuild          | 65 ----------------------
 .../gpsprune-bin/gpsprune-bin-23.2.ebuild          | 51 +++++++++++++++++
 3 files changed, 52 insertions(+), 66 deletions(-)

diff --git a/sci-geosciences/gpsprune-bin/Manifest b/sci-geosciences/gpsprune-bin/Manifest
index e5e46daa214b..d426286ca59d 100644
--- a/sci-geosciences/gpsprune-bin/Manifest
+++ b/sci-geosciences/gpsprune-bin/Manifest
@@ -1 +1 @@
-DIST gpsprune_23.1.jar 1201224 BLAKE2B 829383d8fdc5406b4bbddfb224d48142cee910b478db8e67029592c9a8382b78f0286b3850b484801688254455d043e6409e3af21d3fb4956fc284a6f2e3685d SHA512 45b285bd6f940619c2e6f73f29f377a8db01e29435833c07286261d57eee2b5584193b040ed4ce15fe1c0cfae15f629a3b95c0a25af74cf51af64cfa7fc19183
+DIST gpsprune_23.2.jar 1201771 BLAKE2B 6673381e2415ff58293a5f8aea2d4140054dfca846b5000b7fdd4ad405a3a5a634704131a7269d5a62e8a1870e6e3735321a54f6c07d729efa55c09e6ec52de0 SHA512 5e33909d709440b989426de9617b51408739c5dfea040bf0c61ff59ee654a20d318829bed1aa34cbe36dd3698ee30c6c421ad5c6f1c17018d71b5891bd7ffd45

diff --git a/sci-geosciences/gpsprune-bin/gpsprune-bin-23.1.ebuild b/sci-geosciences/gpsprune-bin/gpsprune-bin-23.1.ebuild
deleted file mode 100644
index af6ab8ead830..000000000000
--- a/sci-geosciences/gpsprune-bin/gpsprune-bin-23.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop
-
-DESCRIPTION="An application for viewing, editing and converting GPS data"
-HOMEPAGE="http://activityworkshop.net/software/gpsprune/index.html"
-SRC_URI="http://activityworkshop.net/software/gpsprune/gpsprune_${PV}.jar"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="virtual/jre:*"
-RDEPEND="${DEPEND}"
-
-gpsprune_bin="${WORKDIR}/gpsprune"
-gpsprune_desktop="${WORKDIR}/gpsprune.desktop"
-
-S="${WORKDIR}"
-
-src_prepare() {
-	default
-
-	# Provide the necessary files
-	cp "${DISTDIR}/${A}" "${WORKDIR}" || die
-	for size in 128 96 72 64 48 36 32 24 22 16; do
-		mkdir -p "${WORKDIR}/icons/$size"
-		cp "${WORKDIR}/tim/prune/gui/images/window_icon_${size}.png" "${WORKDIR}/icons/$size/gpsprune.png" || die
-	done
-
-	# Generate an executable
-	cat <<-EOF > "${gpsprune_bin}" || die
-	#!/bin/sh
-	java -jar /opt/gpsprune/gpsprune_${PV}.jar \$@
-	EOF
-
-	# Generate a .desktop file
-	cat <<-EOF > "${gpsprune_desktop}" || die
-	[Desktop Entry]
-	Name=GpsPrune
-	Type=Application
-	Comment=Application for viewing, editing and converting coordinate data from GPS systems
-	Exec=gpsprune
-	Icon=gpsprune
-	Categories=Science;Geoscience;
-	EOF
-}
-
-src_install() {
-	insinto /opt/gpsprune
-	doins "gpsprune_${PV}.jar"
-	exeinto /usr/bin
-	doexe "${gpsprune_bin}"
-
-	for size in 128 96 72 64 48 36 32 24 22 16; do
-		insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
-		doins "icons/${size}/gpsprune.png"
-	done
-
-	domenu gpsprune.desktop
-}

diff --git a/sci-geosciences/gpsprune-bin/gpsprune-bin-23.2.ebuild b/sci-geosciences/gpsprune-bin/gpsprune-bin-23.2.ebuild
new file mode 100644
index 000000000000..62b86546e93b
--- /dev/null
+++ b/sci-geosciences/gpsprune-bin/gpsprune-bin-23.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop java-pkg-2 java-pkg-simple
+
+DESCRIPTION="An application for viewing, editing and converting GPS data"
+HOMEPAGE="https://activityworkshop.net/software/gpsprune/index.html"
+SRC_URI="https://activityworkshop.net/software/gpsprune/gpsprune_${PV}.jar"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=virtual/jre-11:*"
+
+S="${WORKDIR}"
+
+JAVA_JAR_FILENAME="gpsprune.jar"
+JAVA_MAIN_CLASS="tim.prune.GpsPrune"
+JAVA_LAUNCHER_FILENAME="gpsprune"
+
+src_prepare() {
+	default
+
+	cp "${DISTDIR}/gpsprune_${PV}.jar" gpsprune.jar || die
+}
+
+src_compile() {
+	:
+}
+
+src_install() {
+	java-pkg-simple_src_install
+
+	for size in 128 96 72 64 48 36 32 24 22 16; do
+		insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
+		newins "tim/prune/gui/images/window_icon_${size}.png" gpsprune.png
+	done
+
+	newmenu - gpsprune.desktop <<-EOF
+		[Desktop Entry]
+		Name=GpsPrune
+		Type=Application
+		Comment=Application for viewing, editing and converting coordinate data from GPS systems
+		Exec=gpsprune
+		Icon=gpsprune
+		Categories=Science;Geoscience;
+	EOF
+}


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsprune-bin/
@ 2023-08-20 18:57 Rick Farina
  0 siblings, 0 replies; 8+ messages in thread
From: Rick Farina @ 2023-08-20 18:57 UTC (permalink / raw
  To: gentoo-commits

commit:     0f1babcd0ebc739dce0ad9546e7c699f08fa65c6
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 20 18:57:15 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Sun Aug 20 18:57:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f1babcd

sci-geosciences/gpsprune-bin: drop 20.4

Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 sci-geosciences/gpsprune-bin/Manifest              |  1 -
 .../gpsprune-bin/gpsprune-bin-20.4.ebuild          | 65 ----------------------
 2 files changed, 66 deletions(-)

diff --git a/sci-geosciences/gpsprune-bin/Manifest b/sci-geosciences/gpsprune-bin/Manifest
index e9eeb5495f6e..e5e46daa214b 100644
--- a/sci-geosciences/gpsprune-bin/Manifest
+++ b/sci-geosciences/gpsprune-bin/Manifest
@@ -1,2 +1 @@
-DIST gpsprune_20.4.jar 1269002 BLAKE2B 616e19f69ce81d26c68714240beae154d66e181067385fa35e0c790c7614d9ec6a1a672d67494c96c443d4c30b20fc7122d2a88f8608ca407f5f5b22fa0cf8e6 SHA512 78347793982e8e39f9747a20d1f366376bed93099c84f2e168dc3ffdee041ff7c3e90e48d3f076637d83f8f5f1e84bd18dbe2a35bef68ce972a4f541315a2f64
 DIST gpsprune_23.1.jar 1201224 BLAKE2B 829383d8fdc5406b4bbddfb224d48142cee910b478db8e67029592c9a8382b78f0286b3850b484801688254455d043e6409e3af21d3fb4956fc284a6f2e3685d SHA512 45b285bd6f940619c2e6f73f29f377a8db01e29435833c07286261d57eee2b5584193b040ed4ce15fe1c0cfae15f629a3b95c0a25af74cf51af64cfa7fc19183

diff --git a/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild b/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild
deleted file mode 100644
index 718e125a8c57..000000000000
--- a/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop
-
-DESCRIPTION="An application for viewing, editing and converting GPS data"
-HOMEPAGE="http://activityworkshop.net/software/gpsprune/index.html"
-SRC_URI="http://activityworkshop.net/software/gpsprune/gpsprune_${PV}.jar"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="virtual/jre:*"
-RDEPEND="${DEPEND}"
-
-gpsprune_bin="${WORKDIR}/gpsprune"
-gpsprune_desktop="${WORKDIR}/gpsprune.desktop"
-
-S="${WORKDIR}"
-
-src_prepare() {
-	default
-
-	# Provide the necessary files
-	cp "${DISTDIR}/${A}" "${WORKDIR}" || die
-	for size in 128 96 72 64 48 36 32 24 22 16; do
-		mkdir -p "${WORKDIR}/icons/$size"
-		cp "${WORKDIR}/tim/prune/gui/images/window_icon_${size}.png" "${WORKDIR}/icons/$size/gpsprune.png" || die
-	done
-
-	# Generate an executable
-	cat <<-EOF > "${gpsprune_bin}" || die
-	#!/bin/sh
-	java -jar /opt/gpsprune/gpsprune_${PV}.jar \$@
-	EOF
-
-	# Generate a .desktop file
-	cat <<-EOF > "${gpsprune_desktop}" || die
-	[Desktop Entry]
-	Name=GpsPrune
-	Type=Application
-	Comment=Application for viewing, editing and converting coordinate data from GPS systems
-	Exec=gpsprune
-	Icon=gpsprune
-	Categories=Science;Geoscience;
-	EOF
-}
-
-src_install() {
-	insinto /opt/gpsprune
-	doins "gpsprune_${PV}.jar"
-	exeinto /usr/bin
-	doexe "${gpsprune_bin}"
-
-	for size in 128 96 72 64 48 36 32 24 22 16; do
-		insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
-		doins "icons/${size}/gpsprune.png"
-	done
-
-	domenu gpsprune.desktop
-}


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsprune-bin/
@ 2022-03-26  0:27 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2022-03-26  0:27 UTC (permalink / raw
  To: gentoo-commits

commit:     450594da3bf1d9472ff3c48cc6ab37a68bc39bf1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 26 00:25:00 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 00:27:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=450594da

sci-geosciences/gpsprune-bin: fix phase definition style

for consistency.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild b/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild
index 1babb34afde6..718e125a8c57 100644
--- a/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild
+++ b/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -22,8 +22,7 @@ gpsprune_desktop="${WORKDIR}/gpsprune.desktop"
 
 S="${WORKDIR}"
 
-src_prepare()
-{
+src_prepare() {
 	default
 
 	# Provide the necessary files
@@ -51,8 +50,7 @@ src_prepare()
 	EOF
 }
 
-src_install()
-{
+src_install() {
 	insinto /opt/gpsprune
 	doins "gpsprune_${PV}.jar"
 	exeinto /usr/bin


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsprune-bin/
@ 2021-12-26  0:20 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2021-12-26  0:20 UTC (permalink / raw
  To: gentoo-commits

commit:     b5b825631f77bd4fb40f5b89d60e05c79362e863
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 26 00:15:32 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 26 00:19:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5b82563

sci-geosciences/gpsprune-bin: drop trailing full stop from DESCRIPTION

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild b/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild
index 64683646638f..1babb34afde6 100644
--- a/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild
+++ b/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 inherit desktop
 
-DESCRIPTION="An application for viewing, editing and converting GPS data."
+DESCRIPTION="An application for viewing, editing and converting GPS data"
 HOMEPAGE="http://activityworkshop.net/software/gpsprune/index.html"
 SRC_URI="http://activityworkshop.net/software/gpsprune/gpsprune_${PV}.jar"
 


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsprune-bin/
@ 2021-12-21 15:28 Rick Farina
  0 siblings, 0 replies; 8+ messages in thread
From: Rick Farina @ 2021-12-21 15:28 UTC (permalink / raw
  To: gentoo-commits

commit:     7f2fe7b124a1ae4222ed322e9719a62a47b1ea18
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 21 15:21:06 2021 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue Dec 21 15:21:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f2fe7b1

sci-geosciences/gpsprune-bin: fix qa warning

DeprecatedInsinto

Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild b/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild
index 68975bc30884..64683646638f 100644
--- a/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild
+++ b/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit desktop
+
 DESCRIPTION="An application for viewing, editing and converting GPS data."
 HOMEPAGE="http://activityworkshop.net/software/gpsprune/index.html"
 SRC_URI="http://activityworkshop.net/software/gpsprune/gpsprune_${PV}.jar"
@@ -61,6 +63,5 @@ src_install()
 		doins "icons/${size}/gpsprune.png"
 	done
 
-	insinto /usr/share/applications
-	doins gpsprune.desktop
+	domenu gpsprune.desktop
 }


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsprune-bin/
@ 2021-10-18 14:40 Rick Farina
  0 siblings, 0 replies; 8+ messages in thread
From: Rick Farina @ 2021-10-18 14:40 UTC (permalink / raw
  To: gentoo-commits

commit:     2411a975a7202f2cd9cd59038c98744ba56bc394
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 18 14:39:19 2021 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Oct 18 14:40:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2411a975

sci-geosciences/gpsprune-bin: initial ebuild

mostly an import of ebuild from bug #361843

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 sci-geosciences/gpsprune-bin/Manifest              |  1 +
 .../gpsprune-bin/gpsprune-bin-20.4.ebuild          | 71 ++++++++++++++++++++++
 sci-geosciences/gpsprune-bin/metadata.xml          |  8 +++
 3 files changed, 80 insertions(+)

diff --git a/sci-geosciences/gpsprune-bin/Manifest b/sci-geosciences/gpsprune-bin/Manifest
new file mode 100644
index 00000000000..bac1d5dc6eb
--- /dev/null
+++ b/sci-geosciences/gpsprune-bin/Manifest
@@ -0,0 +1 @@
+DIST gpsprune_20.4.jar 1269002 BLAKE2B 616e19f69ce81d26c68714240beae154d66e181067385fa35e0c790c7614d9ec6a1a672d67494c96c443d4c30b20fc7122d2a88f8608ca407f5f5b22fa0cf8e6 SHA512 78347793982e8e39f9747a20d1f366376bed93099c84f2e168dc3ffdee041ff7c3e90e48d3f076637d83f8f5f1e84bd18dbe2a35bef68ce972a4f541315a2f64

diff --git a/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild b/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild
new file mode 100644
index 00000000000..f6e02bf100b
--- /dev/null
+++ b/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="An application for viewing, editing and converting GPS data."
+HOMEPAGE="http://activityworkshop.net/software/gpsprune/index.html"
+SRC_URI="http://activityworkshop.net/software/gpsprune/gpsprune_${PV}.jar"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="virtual/jre:*"
+RDEPEND="${DEPEND}"
+
+gpsprune_bin="${WORKDIR}/gpsprune"
+gpsprune_desktop="${WORKDIR}/gpsprune.desktop"
+
+S="${WORKDIR}"
+
+#src_unpack()
+#{
+#	default
+#}
+
+src_prepare()
+{
+	default
+
+	# Provide the necessary files
+	cp "${DISTDIR}/${A}" "${WORKDIR}" || die
+	for size in 128 96 72 64 48 36 32 24 22 16; do
+		mkdir -p "${WORKDIR}/icons/$size"
+		cp "${WORKDIR}/tim/prune/gui/images/window_icon_${size}.png" "${WORKDIR}/icons/$size/gpsprune.png" || die
+	done
+
+	# Generate an executable
+	cat <<-EOF > "${gpsprune_bin}" || die
+	#!/bin/sh
+	java -jar /opt/gpsprune/gpsprune_${PV}.jar \$@
+	EOF
+
+	# Generate a .desktop file
+	cat <<-EOF > "${gpsprune_desktop}" || die
+	[Desktop Entry]
+	Name=GpsPrune
+	Type=Application
+	Comment=Application for viewing, editing and converting coordinate data from GPS systems
+	Exec=gpsprune
+	Icon=gpsprune
+	Categories=Science;Geoscience;
+	EOF
+}
+
+src_install()
+{
+	insinto /opt/gpsprune
+	doins "gpsprune_${PV}.jar"
+	exeinto /usr/bin
+	doexe "${gpsprune_bin}"
+
+	for size in 128 96 72 64 48 36 32 24 22 16; do
+		insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
+		doins "icons/${size}/gpsprune.png"
+	done
+
+	insinto /usr/share/applications
+	doins gpsprune.desktop
+}

diff --git a/sci-geosciences/gpsprune-bin/metadata.xml b/sci-geosciences/gpsprune-bin/metadata.xml
new file mode 100644
index 00000000000..382e03b1550
--- /dev/null
+++ b/sci-geosciences/gpsprune-bin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>zerochaos@gentoo.org</email>
+		<name>Rick Farina (Zero_Chaos)</name>
+	</maintainer>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsprune-bin/
@ 2021-10-18 14:40 Rick Farina
  0 siblings, 0 replies; 8+ messages in thread
From: Rick Farina @ 2021-10-18 14:40 UTC (permalink / raw
  To: gentoo-commits

commit:     36ca8d2605dd2da5849d74db3d346e6f21495542
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 18 14:39:46 2021 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Oct 18 14:40:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36ca8d26

sci-geosciences/gpsprune-bin: remove commented code

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild b/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild
index f6e02bf100b..68975bc3088 100644
--- a/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild
+++ b/sci-geosciences/gpsprune-bin/gpsprune-bin-20.4.ebuild
@@ -20,11 +20,6 @@ gpsprune_desktop="${WORKDIR}/gpsprune.desktop"
 
 S="${WORKDIR}"
 
-#src_unpack()
-#{
-#	default
-#}
-
 src_prepare()
 {
 	default


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-10-17 18:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-20 18:57 [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsprune-bin/ Rick Farina
  -- strict thread matches above, loose matches on Subject: below --
2023-10-17 18:11 Florian Schmaus
2023-08-20 18:57 Rick Farina
2022-03-26  0:27 Sam James
2021-12-26  0:20 Sam James
2021-12-21 15:28 Rick Farina
2021-10-18 14:40 Rick Farina
2021-10-18 14:40 Rick Farina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox