Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#70698 - [gpsprune] 3d view is not working even with java3d libraries installed

Attached to Project: Community Packages
Opened by jozef riha (jose1711) - Monday, 03 May 2021, 19:41 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
3D view is not available in GpsPrune even with java3d libraries (aur) installed.

Additional info:
* gpsprune 20.3-1

Steps to reproduce:
- set java to java-11-openjdk (archlinux-java set java-11-openjdk)
- install java3d from aur (1.5.2-9)
- install gpsprune
- run gpsprune
- click Help - About GpsPrune - System info
- read: Java3d installed: No
- also View - Three-D view is not working

Here's a workaround that puts the class paths into the manifest itself:

cd $(mktemp -d)
curl -so - https://activityworkshop.net/software/gpsprune/gpsprune_20.3.jar | jar x
sed -i -e 's/\r//' -e '/^$/d' META-INF/MANIFEST.MF
echo "Class-Path: /usr/lib/jvm/java-11-openjdk/jre/lib/ext/j3dcore.jar /usr/lib/jvm/java-11-openjdk/jre/lib/ext/j3dutils.jar /usr/lib/jvm/java-11-openjdk/jre/lib/ext/vecmath.jar" >> META-INF/MANIFEST.MF
jar cmf0 META-INF/MANIFEST.MF ../gpsprune.jar *
java -jar ../gpsprune.jar

The 3d libs are correctly read from the repacked java archive and I cannot figure out another way (e. g. specifying the path as an argument).
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:02 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/gpsprune/issues/1
Comment by jozef riha (jose1711) - Tuesday, 04 May 2021, 13:21 GMT
Here's an alternative solution provided by author of GpsPrune:

```
java -cp /usr/lib/jvm/java-11-openjdk/jre/lib/ext/j3dcore.jar:/usr/lib/jvm/java-11-openjdk/jre/lib/ext/j3dutils.jar:/usr/lib/jvm/java-11-openjdk/jre/lib/ext/vecmath.jar:/usr/share/java/gpsprune/gpsprune.jar tim.prune.GpsPrune
```

Since GpsPrune is already using a wrapper it would be nice if it's adjusted so that it takes java3d libraries into account if they're installed.
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...