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#51680 - [geogebra] No Sign-in option due to faulty launch script

Attached to Project: Community Packages
Opened by Oscar (oscar.h) - Thursday, 03 November 2016, 19:33 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 14 November 2016, 18:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Evgeniy Alexeev (arcan1s)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When installed the package offers no option to sign in which it should. This works using the package from the geogebra website. If I replace the launch script with this package with the default than it works perfectly so this must be where the fault is. I attached the default launch script that seems to work.

Additional info:
* 5.0.286.0
* default config


Steps to reproduce:
Install and run the program
   geogebra (16.9 KiB)
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 14 November 2016, 18:03 GMT
Reason for closing:  Fixed
Comment by Oscar (oscar.h) - Friday, 11 November 2016, 18:28 GMT
Sorry, I don't know how that worked before. The actual problem seems to be that the java-geogebra JVM doesn't get installed. This also creates other little display issues. I attached a PKGBUILD that installs the JVM however the geogebra executable script needs changes as the JAVACMD variable must be changed to "/usr/lib/jvm/java-geogebra/bin/java", then the checksum must be updated in PKGBUILD.

Hope this helps,

PS. Could a mod please change the title and possibly the original text as either I cannot or am being thick
   PKGBUILD (1.7 KiB)
Comment by Evgeniy Alexeev (arcan1s) - Monday, 14 November 2016, 06:52 GMT
hmmm, I'm sorry but which java version do you use by default? You can check it by two ways:

1. $ archlinux-java status
2. $ ls -l /usr/lib/jvm/default

Because I'm using oracle 8 by default and the package works correctly. It seems that upstream provides oracle java inside the bundle:

$ ./jre1.7.0_45-x86_64/bin/java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

So ofc using upstream bundle solves your issue. According to this I would note that usually we don't provide java components with packages (it is like provide own python for each python executable), so the only thing I recommend you is to use Oracle java 7 or later. And as soon as package works (with some restrictions) with openjdk I see no reasons to change dependency list.
Comment by Oscar (oscar.h) - Monday, 14 November 2016, 18:00 GMT
I'm using Openjdk-8, but its started working fine now anyway apart from the "Sign In" button, which I don't really care about. I don't know if a java update fixed it or what, but it basically works fine now.

Loading...