Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361843 - sci-geosciences/gpsprune (ebuild request) an application for viewing, editing and converting coordinate data from GPS systems
Summary: sci-geosciences/gpsprune (ebuild request) an application for viewing, editing...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Rick Farina (Zero_Chaos)
URL: http://activityworkshop.net/software/...
Whiteboard:
Keywords:
: 242072 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-03 21:47 UTC by Tobias Leupold
Modified: 2021-10-18 16:23 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild working for prune 12.1 (prune-bin-12.1.ebuild,761 bytes, text/plain)
2011-04-03 21:48 UTC, Tobias Leupold
Details
ebuild for the jar version of prune (prune-bin-12.1.ebuild,764 bytes, text/plain)
2011-06-24 07:45 UTC, Tobias Leupold
Details
ebuild for the jar version of prune (prune-bin-12.1.ebuild,1.42 KB, text/plain)
2011-06-24 08:50 UTC, Tobias Leupold
Details
Updated ebuild for GpsPrune 13 (gpsprune-bin-13.ebuild,1.44 KB, text/plain)
2011-08-16 11:27 UTC, Tobias Leupold
Details
Updated ebuild for GpsPrune 13.4 (gpsprune-bin-13.4.ebuild,1.44 KB, text/plain)
2012-07-29 10:00 UTC, Tobias Leupold
Details
Updated ebuild for gpsprune-bin-15 (gpsprune-bin-15.ebuild,1.44 KB, text/plain)
2013-04-02 00:21 UTC, Tobias Leupold
Details
ebuild for the jar version of gpsprune 16.1 (gpsprune-bin-16.1.ebuild,1.38 KB, text/plain)
2014-03-27 17:09 UTC, Tobias Leupold
Details
ebuild for the jar version of gpsprune 18.3 (gpsprune-bin-18.3.ebuild,1.57 KB, text/plain)
2016-02-21 09:17 UTC, Tobias Leupold
Details
ebuild for the jar version of gpsprune 18.3 (gpsprune-bin-18.3.ebuild,1.54 KB, text/plain)
2016-02-21 12:16 UTC, Tobias Leupold
Details
ebuild for the jar version of gpsprune 19.2 (gpsprune-bin-19.2.ebuild,1.54 KB, text/plain)
2018-12-29 18:25 UTC, Tobias Leupold
Details
ebuild for the jar version of gpsprune 20 (gpsprune-bin-20.ebuild,1.55 KB, text/plain)
2020-11-20 07:12 UTC, Jean-Claude Repetto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Leupold 2011-04-03 21:47:30 UTC
ebuild for the binary (.jar) version of the GPS viewing and manipulation program prune ( http://activityworkshop.net/software/prune/index.html ) which also creates a start script to launch the program.

Reproducible: Always
Comment 1 Tobias Leupold 2011-04-03 21:48:09 UTC
Created attachment 268427 [details]
ebuild working for prune 12.1
Comment 2 Andreas Mair 2011-06-07 11:34:46 UTC
Thanks for the ebuild!

I found two problems:
1) /usr/bin/prune has a file collision with an installed media-gfx/graphviz-2.26.3-r2
2) I can't get the 3D view to work. If installed dev-java/sun-java3d-bin (which might be added to DEPEND) but Prune doesn't find it (Help / About Prune / System info / Java3D installed: no). So I think the start script has to be changed. Is it working for you?

Best regards,
Andreas
Comment 3 Tobias Leupold 2011-06-08 19:19:35 UTC
Wenn, we could move the prune start script to /opt/bin to avoid the collision. I think this would be no problem.

I never used the 3D feature, but I'll have a look at it. Would be meaningful to create a USE-Flag ("3d"?) to pull dev-java/sun-java3d-bin, wouldn't it?
Comment 4 Andreas Mair 2011-06-09 06:58:25 UTC
(In reply to comment #3)
> Wenn, we could move the prune start script to /opt/bin to avoid the collision.
> I think this would be no problem.

Well, then you would have two executables having the same name in different locations. I's suggest to change the script name. Version 13 will be renamed to "GpsPrune" so you could use that.

> I never used the 3D feature, but I'll have a look at it. Would be meaningful to
> create a USE-Flag ("3d"?) to pull dev-java/sun-java3d-bin, wouldn't it?

I don't know if there's already a global USE flag for that, but "3d" is OK for me.
Comment 5 Tobias Leupold 2011-06-24 07:45:51 UTC
Created attachment 277979 [details]
ebuild for the jar version of prune

Changed the executable name to "gpsprune". I suggest to leave the ebuild's name "prune-bin", as long as the program's name is also "prune" and not "gpsprune".

I'll check the 3D stuff later :-)
Comment 6 Tobias Leupold 2011-06-24 08:50:35 UTC
Created attachment 277985 [details]
ebuild for the jar version of prune

New ebuild: added handling of the application's icon and added a .desktop file.
Comment 7 Tobias Leupold 2011-08-16 11:27:15 UTC
Created attachment 283537 [details]
Updated ebuild for GpsPrune 13
Comment 8 Tobias Leupold 2012-07-29 10:00:53 UTC
Created attachment 319600 [details]
Updated ebuild for GpsPrune 13.4

I propose to call the ebuild "gpsprune-bin", as it uses the pre-compiled jar and does not compile GpsPrune from the sources. Anyway, it works fine :-)

This ebuild is now also mentionned on the program's homepage, see
http://activityworkshop.net/software/gpsprune/download.html
Comment 9 jannis 2012-08-01 11:31:51 UTC
Duplicate of https://bugs.gentoo.org/show_bug.cgi?id=242072 ?
Comment 10 jannis 2012-08-01 11:41:31 UTC
And before I forget: Thanks for the ebuild, works nice here on ~amd64
Comment 11 Tobias Leupold 2013-04-02 00:21:07 UTC
Created attachment 344032 [details]
Updated ebuild for gpsprune-bin-15
Comment 12 Tobias Leupold 2013-11-06 15:03:20 UTC
The ebuild also installs the new version 15.1 of gpsprune correctly. It just has to be copied to sci-geosciences/gpsprune-bin-15.1.ebuild.
Comment 13 Jean-Claude Repetto 2014-03-27 13:59:32 UTC
Works also for gpsprune-16.1

Please add this ebuild to the portage tree.
Comment 14 Tobias Leupold 2014-03-27 17:09:10 UTC
Created attachment 373652 [details]
ebuild for the jar version of gpsprune 16.1

Revised ebuild with slight changes to (hopefully) meet Gentoo's quality standards better. RepoMan likes it.
Comment 15 Tobias Leupold 2014-03-27 17:15:13 UTC
(In reply to jannis from comment #9)
> Duplicate of https://bugs.gentoo.org/show_bug.cgi?id=242072 ?

It actually is, this was my fault back then. Anyways, GpsPrune's author linked this bug on the program's home page as a reference to Gentoo (cf. http://activityworkshop.net/software/gpsprune/download.html ), so I suggest to exceptionally mark Bug #242072 as a duplicate of this one.
Comment 16 Jean-Claude Repetto 2015-04-08 15:45:03 UTC
gpsprune-17.2 is available.
Comment 17 Sebastian Pipping gentoo-dev 2015-08-22 22:04:46 UTC
I would like to note that the ebuild attached would make a -bin package, a package that installs pre-compiled binaries rather than ones compiled on the user system.  Such ebuilds are only included if there are good reasons to, e.g. as an alternative to compiling for hours (e.g. Firefox) or because the software is closed sources but important (e.g. Skype).
None of that seems to apply here so inclusion may take until there is a n all-from-source ebuild with all dependencies resolved.
To make an ebuild like that, the Debian package sources may be helpful: https://packages.debian.org/jessie/gpsprune
Comment 18 Sebastian Pipping gentoo-dev 2015-08-22 22:06:46 UTC
*** Bug 242072 has been marked as a duplicate of this bug. ***
Comment 19 Tobias Leupold 2016-02-21 09:17:38 UTC
Created attachment 426050 [details]
ebuild for the jar version of gpsprune 18.3

Here's an updated ebuild for 18.3.

Of course, it would be nicer to have an ebuild building the sources, but I didn't manage to write one yet. So at least, this way, we have one here for the pre-built version.
Comment 20 Jonas Stein gentoo-dev 2016-02-21 10:07:32 UTC
Thank you for the ebuild in the attachment.
Did you check it with repoman? 
repoman -d full

It will claim that 
# Copyright 1999-2014 Gentoo Foundation
should be
# Copyright 1999-2016 Gentoo Foundation

I think it is worth to have at least an binary packagacke for gentoo. 
But there are good reasons, why we prefer to build from source [1]. 
I think it is unlikely that the grpsprune-bin will be added to the official gentoo tree soon, but it may fit well in one of the overlays. I would suggest to improve the ebuild a bit and submit it to the sci-overlay [2].


[1]
https://wiki.gentoo.org/wiki/Project:Java/Why_build_from_source

[2] https://wiki.gentoo.org/wiki/Project:Science/Overlay
Comment 21 Tobias Leupold 2016-02-21 12:16:26 UTC
Created attachment 426100 [details]
ebuild for the jar version of gpsprune 18.3

Now, the ebuild passes the repoman check.

I'll have a look at the science overlay!
Comment 22 Ștefan Talpalaru 2016-04-16 12:12:17 UTC
ebuild added to the "stefantalpalaru" overlay: https://github.com/stefantalpalaru/gentoo-overlay/tree/master/sci-geosciences/gpsprune-bin
Comment 23 Tobias Leupold 2018-12-29 18:25:26 UTC
Created attachment 558870 [details]
ebuild for the jar version of gpsprune 19.2

Apparently, the ebuild is not maintained in the overlay. This is the ebuild for the current version 19.2, updated to EAPI 6.
Comment 24 Ștefan Talpalaru 2018-12-29 20:58:28 UTC
Version bumped in my overlay.
Comment 25 Jonas Stein gentoo-dev 2020-01-08 09:48:47 UTC
a Java free alternative is in the tree: sci-geosciences/gpxsee
Comment 26 Jean-Claude Repetto 2020-11-20 07:12:35 UTC
Created attachment 673354 [details]
ebuild for the jar version of gpsprune 20
Comment 27 Jean-Claude Repetto 2020-11-21 17:58:07 UTC
@ Jonas Stein : I have looked at gpxsee. It is not an alternative to gpsprune:
- gpxsee is a GPS file viewer;
- gpsprune is a GPS file editor.
Comment 28 Rick Farina (Zero_Chaos) gentoo-dev 2021-10-18 14:37:33 UTC
Thanks for the ebuild work.  I've modified it a bit and committed it as sci-geosciences/gpsprune-bin.  I will accept maintainership of this for now since I have some people requesting it.
Comment 29 Tobias Leupold 2021-10-18 16:23:55 UTC
Nice! Thanks a lot :-)