Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596140 - sci-mathematics/geogebra-5.0.279.0 version bump
Summary: sci-mathematics/geogebra-5.0.279.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-04 12:56 UTC by sixpointzero
Modified: 2017-03-09 14:27 UTC (History)
3 users (show)

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


Attachments
geogebra ebuild (geogebra-5.0.302.0.ebuild,984 bytes, text/plain)
2016-12-10 18:10 UTC, AuphoraHime
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sixpointzero 2016-10-04 12:56:29 UTC
It seems that sci-mathematics/geogebra hasn't been updated in quite a while. The current version of GeoGebra is 5.0.279.0. Please update GeoGebra in the official repositories.

https://packages.gentoo.org/packages/sci-mathematics/geogebra
https://www.geogebra.org/manual/en/Reference:GeoGebra_Installation#Linux
Comment 1 AuphoraHime 2016-12-10 18:10:24 UTC
Created attachment 455774 [details]
geogebra ebuild
Comment 2 AuphoraHime 2016-12-10 18:10:56 UTC
I created a geogebra ebuild, could someone look into it, as I don't write ebuilds too often
Comment 3 Jonas Stein gentoo-dev 2017-01-06 16:28:47 UTC
Thank you for your contribution.

LICENSE= 
should be one or more out of 
ls /usr/portage/licenses/ on your system.

They use a strange license model: 
The tar ball is bundled with Oracle Java for no good reason. One has to look at it in detail, but I expect we are not allowed to mirror this. 

The installer has a proprietary license. I am not sure, where the installer is. We should live without this installer, if possible.

You should run repoman -d full in the folder of your ebuild.
Repoman can show you problems. It will fix the header for example.

You should remove needless space and line breaks.

Did the ebuild install fine on your system?
Comment 4 Jonas Stein gentoo-dev 2017-01-06 16:42:58 UTC
GeoGebra-Linux-Portable is a compiled version. The ebuild should be named geogebra-bin. 
We prefer source code based over compiled packages in the gentoo tree.
Is it possible to compile geogebra on gentoo with packages from the tree, or does it depend on another build system?
Comment 5 Rasmus Thomsen 2017-01-06 16:47:38 UTC
Hello, 

I also provide a geogebra ebuild in my overlay, which looks a bit more polished:
https://github.com/Keepco/gentoo-overlay-seadep/tree/master/sci-mathematics/geogebra

Builds fine on my system and includes a use to use the packaged jre instead of the system one (as I can't login without using the packaged jre). Also got through `repoman -d full`

I'm not too sure what I should fill into the LICENSE field, as they use both CC-BY-ND-3.0 and GPL-3 (should I just fill in both?)

I'll look into a way to compile geogebra
Comment 6 Rasmus Thomsen 2017-01-06 20:30:08 UTC
I added a ebuild which builds Geogebra from source to my repo. It requires gradle from the java overlay and oracle's JDK to build, as the build requires javafx. Geogebra's repo also contains a script (gradlew), which downloads their own (seemingly customized) binary of gradle to use during build, but it also built with the gradle I compiled.
Also, thanks for the PR!
Comment 7 Amy Liffey gentoo-dev 2017-01-06 21:27:38 UTC
It cannot be build from source because gradle is not in tree.

Yes it should be renamed to -bin and also it has own license which is not in licenses.

@jstein would you wanna be maintainer?
Comment 8 Jonas Stein gentoo-dev 2017-01-06 22:05:48 UTC
@amynka I tried to help, but I do not want to maintain it.
Comment 9 Rasmus Thomsen 2017-01-24 20:19:18 UTC
As Gradle is in the tree now I added an ebuild to my overlay which builds GeoGebra from source. By now it's just a -9999 version, as they don't tag the releases in their Github repo. Also cloning the whole repo downloads nearly 950 MB, while cloning shallowly only takes up about 12 MB.
Comment 10 Amy Liffey gentoo-dev 2017-01-24 20:22:42 UTC
(In reply to Rasmus Thomsen from comment #9)
> As Gradle is in the tree now I added an ebuild to my overlay which builds
> GeoGebra from source. By now it's just a -9999 version, as they don't tag
> the releases in their Github repo. Also cloning the whole repo downloads
> nearly 950 MB, while cloning shallowly only takes up about 12 MB.

Can you make github pull request? I could consider live ebuild :)
Comment 11 Rasmus Thomsen 2017-01-25 10:48:41 UTC
Added the PR: https://github.com/gentoo/gentoo/pull/3641
Comment 12 Amy Liffey gentoo-dev 2017-03-09 14:27:15 UTC
commit 6d90d1c3901b0cb93f5f82f59f2a9af26aa9412a
Author: Göktürk Yüksek <gokturk@gentoo.org>
Date:   Wed Mar 8 04:41:42 2017 -0500

    sci-mathematics/geogebra: bump to 5.0.339.0_p20170308 #596140 #556278