Package Details: geogebra-5 5.2.869.0-1

Git Clone URL: https://aur.archlinux.org/geogebra-5.git (read-only, click to copy)
Package Base: geogebra-5
Description: Dynamic mathematics software with interactive graphics, algebra and spreadsheet
Upstream URL: https://www.geogebra.org/
Licenses: GPL3, CCPL:by-sa, CCPL:by-nc
Conflicts: geogebra
Provides: geogebra
Submitter: vEnhance
Maintainer: vEnhance
Last Packager: vEnhance
Votes: 0
Popularity: 0.000000
First Submitted: 2024-06-10 03:15 (UTC)
Last Updated: 2024-12-03 22:34 (UTC)

Dependencies (3)

Required by (0)

Sources (5)

Latest Comments

vEnhance commented on 2024-10-20 20:30 (UTC)

Updated! Thanks for the reminder. (I made the commit last week, actually, but forgot to actually aurpublish it.)

ccorn commented on 2024-10-20 18:57 (UTC) (edited on 2024-10-20 18:59 (UTC) by ccorn)

Now would be an opportunity for pkgctl version upgrade. This finds the new upstream version and updates the PKGBUILD accordingly. (Note that this does not update the .SRCINFO.)

vEnhance commented on 2024-09-11 21:00 (UTC)

Sure, applied the diff. Thanks for the tip. (Still learning the AUR ropes 🙂)

ccorn commented on 2024-09-11 18:36 (UTC)

For pkgctl version check to work, we need to adapt the section name in .nvchecker.toml, see below.

And, just for my sanity, I propose to make the regex slightly less ambiguous:

--- a/.nvchecker.toml
+++ b/.nvchecker.toml
@@ -1,6 +1,6 @@
-[geogebra]
+[geogebra-5]
 source = 'regex'
 url = 'https://download.geogebra.org/installers/5.2/'
-regex = 'GeoGebra-Linux-Portable-([\d-]+).tar'
+regex = 'GeoGebra-Linux-Portable-([-\d]+)\.tar'
 from_pattern = '-'
 to_pattern = '.'

vEnhance commented on 2024-09-10 21:15 (UTC)

@ccorn: Thanks, that makes sense. Appreciate the help. I just bumped the version and added an .nvchecker.toml.

ccorn commented on 2024-09-10 19:49 (UTC)

@vEnhance: Take a look at geogebra-5's versioned dependency (on Java 11 for some graphics-related native interfaces that must be met) and at the startup shell script geogebra which tries to use JRE 11 even if another version is the system default. That's why geogebra-5 works.

Let's copy and adjust the .nvchecker.toml from extra/geogebra and keep updating geogebra-5 until extra/geogebra is actually usable.

vEnhance commented on 2024-07-30 16:40 (UTC)

I can't figure out why, but this AUR package still works for me while the extra/geogebra continues to not work (it simply crashes with error code 10, with no additional useful error messages). I bumped this up to 5.2.848 to match extra/geogebra and the discrepancy continues, despite the similarity of this PKGBUILD to https://gitlab.archlinux.org/archlinux/packaging/packages/geogebra/-/blob/main/PKGBUILD?ref_type=heads. I've also checked on multiple Arch devices I own to rule out issues specific to one of my devices.

Anyone else seeing this?

vEnhance commented on 2024-07-12 04:18 (UTC)

@Misaka13514: ah, good point.

For other people reading: the story is, there used to be that extra/geogebra was the newer version 6 of GeoGebra, so there was a separate AUR package for people who wanted to use the older version 5, including people like me (I never got used to the v6 interface). Now I see on https://gitlab.archlinux.org/archlinux/packaging/packages/geogebra/-/commits/main/?ref_type=HEADS that extra/geogebra got reverted down to version 5 a few months ago, which I didn't know about previously (I've just used this AUR thing for a long time). So yes, in theory, that means this AUR package is no longer needed.

However, I just tried to install extra/geogebra on my computer and it crashed (whereas this AUR version continues to work fine). At some point I'll try to figure out why and whether I need to be reporting something, but I'm about to travel to the Int'l Math Olympiad in London so my free time will be a bit limited in the near future.

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/geogebra/desktop/GeoGebra3D has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:621)

Misaka13514 commented on 2024-07-12 03:49 (UTC)

I don't understand how this package differs from extra/geogebra.