From: "Omar Polo" Subject: Re: math/geogebra: Update to 5.2.909.9 and use jdk-17+ To: Kurt Miller Cc: ports@openbsd.org Date: Fri, 16 Jan 2026 11:13:17 +0100 Kurt Miller wrote: > Update to 5.2.909.9 and use jdk-17: > * Upstream licensing changed somewhat but it is still free for > non-commercial use. > * It no-longer provides geogebra.desktop, icons etc so I removed > that portion. Anyone so inclined can add back in later perhaps > using FreeBSD's port for ideas. > * The 3D mode doesn't work and presumably relies on native code > from https://jogamp.org/jogl/www/ so I disabled 3D mode. > > ok? haven't used geogebra in something like a decade, but what i remember still seems to work and the diff looks okay to me =) spotted one nit and one minor suggestion while here below, but it's ok op@ > Index: Makefile > =================================================================== > RCS file: /cvs/ports/math/geogebra/Makefile,v > diff -u -p -u -r1.19 Makefile > --- Makefile 27 Sep 2023 09:27:54 -0000 1.19 > +++ Makefile 15 Jan 2026 19:08:04 -0000 > @@ -1,50 +1,35 @@ > COMMENT= educational mathematical software > > -V= 4.2.60.0 > -DISTNAME= GeoGebra-Unixlike-Installer-${V} > -PKGNAME= geogebra-${V} > -REVISION= 8 > +V= 5-2-909-9 > +DISTNAME= GeoGebra-Linux-Portable-${V} > +PKGNAME= geogebra-${V:S/-/./g} > > CATEGORIES= math java the java modules already appends java, in fact $ make SHOW=CATEGORIES math java java while here it could get fixed > -HOMEPAGE= http://www.geogebra.org > +HOMEPAGE= https://www.geogebra.org > > -# Apache Software License > -# GPLv3, LGPLv3, BSD, Public Domain > -# GeoGebra Non-Commercial License > -# Creative Commons Attribution-Share Alike 3.0 > -# See: http://www.geogebra.org/download/license.txt > +# GeoGebra Non-Commercial License + EUPL v1.2 > +# Creative Commons Attribution-Share Alike 4.0 > +# See: https://www.geogebra.org/license > PERMIT_PACKAGE= Yes > > -SITES= ${SITE_GOOGLECODE:=geogebra/} > +SITES= http://download.geogebra.org/installers/5.2/ > +EXTRACT_SUFX= .tar.bz2 > > MODULES= java > -MODJAVA_VER= 1.8+ > +MODJAVA_VER= 17+ > > -RUN_DEPENDS= java/javaPathHelper \ > - devel/desktop-file-utils \ > - misc/shared-mime-info \ > - x11/gtk+4,-guic > +RUN_DEPENDS= java/javaPathHelper > [...] > Index: patches/patch-geogebra_geogebra > =================================================================== > RCS file: patches/patch-geogebra_geogebra > diff -N patches/patch-geogebra_geogebra > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-geogebra_geogebra 15 Jan 2026 19:08:04 -0000 > @@ -0,0 +1,179 @@ > +Remove bash depend > +Set port default locations / java > +Defatult to 2D (3D not working) dafault maybe :P > + > +Index: geogebra/geogebra > +--- geogebra/geogebra.orig > ++++ geogebra/geogebra