[NEW] math/geogebra
Hi, This is a port of geogebra. It Works on amd64 and i386 Please test it, Azwaw OUSADOU geogebra.tar.gz Description: GNU Zip compressed data
Re: [NEW] math/geogebra
I think it's ok now. 2012/4/8, Azwaw OUSADOU : > Usage of gtk-update-icon-cache : > http://old.nabble.com/gtk-update-icon-cache-td32909590.html > > geogebra needs gtk-update-icon-cache :) > > 2012/4/7 Stuart Henderson > >> On 2012/04/07 23:21, Azwaw OUSADOU wrote: >> > This seems ok with DIFF_ARGS= -a >> > >> > Thanks ;) >> >> Nearly there, just a few minor issues:- >> >> - The 'chown' at the bottom of do-install can be handled directly >> by SUBST_CMD: >> >>${SUBST_CMD} -c -o ${SHAREOWN} -g ${SHAREGRP} \ >>${WRKSRC}/geogebra-${V}/geogebra.desktop \ >>${PREFIX}/share/applications/geogebra.desktop >> >> - There is a problem with the icons path: >> >> share/icons/ >> share/icons/icons/ >> share/icons/icons/hicolor/ >> >> - Missing update-desktop-database goo in the PLIST; add this to the >> bottom: >> >> @exec %D/bin/update-desktop-database >> @unexec-delete %D/bin/update-desktop-database >> >> - May also need gtk-update-icon-cache, I never remember when this is >> needed and when not ;) >> > geogebra Description: GNU Zip compressed data
Re: [NEW] math/geogebra
On 2012/04/08 00:04, Azwaw OUSADOU wrote: > Usage of gtk-update-icon-cache : > http://old.nabble.com/gtk-update-icon-cache-td32909590.html That's nice and easy then. Thanks for the link :)
Re: [NEW] math/geogebra
Usage of gtk-update-icon-cache : http://old.nabble.com/gtk-update-icon-cache-td32909590.html geogebra needs gtk-update-icon-cache :) 2012/4/7 Stuart Henderson > On 2012/04/07 23:21, Azwaw OUSADOU wrote: > > This seems ok with DIFF_ARGS= -a > > > > Thanks ;) > > Nearly there, just a few minor issues:- > > - The 'chown' at the bottom of do-install can be handled directly > by SUBST_CMD: > >${SUBST_CMD} -c -o ${SHAREOWN} -g ${SHAREGRP} \ >${WRKSRC}/geogebra-${V}/geogebra.desktop \ >${PREFIX}/share/applications/geogebra.desktop > > - There is a problem with the icons path: > > share/icons/ > share/icons/icons/ > share/icons/icons/hicolor/ > > - Missing update-desktop-database goo in the PLIST; add this to the > bottom: > > @exec %D/bin/update-desktop-database > @unexec-delete %D/bin/update-desktop-database > > - May also need gtk-update-icon-cache, I never remember when this is > needed and when not ;) >
Re: [NEW] math/geogebra
On 2012/04/07 23:21, Azwaw OUSADOU wrote: > This seems ok with DIFF_ARGS= -a > > Thanks ;) Nearly there, just a few minor issues:- - The 'chown' at the bottom of do-install can be handled directly by SUBST_CMD: ${SUBST_CMD} -c -o ${SHAREOWN} -g ${SHAREGRP} \ ${WRKSRC}/geogebra-${V}/geogebra.desktop \ ${PREFIX}/share/applications/geogebra.desktop - There is a problem with the icons path: share/icons/ share/icons/icons/ share/icons/icons/hicolor/ - Missing update-desktop-database goo in the PLIST; add this to the bottom: @exec %D/bin/update-desktop-database @unexec-delete %D/bin/update-desktop-database - May also need gtk-update-icon-cache, I never remember when this is needed and when not ;)
Re: [NEW] math/geogebra
This seems ok with DIFF_ARGS= -a Thanks ;) 2012/4/7, Antoine Jacoutot : > On Sat, Apr 07, 2012 at 07:40:52PM +0200, Azwaw OUSADOU wrote: >> Hi, >> >> I fixed the patch. I have a problem with the desktop file. I can't use >> diff on this file because diff recognizes it as a binary file. > > You can, use > DIFF_ARGS = -a > > >> >> Azwaw OUSADOU >> >> 2012/4/4, Daniel Dickman : >> > Hi, I think the licensing might have changed since I last took a look. >> > Have a look at the link. You will need to change the comments in the >> > Makefile: >> > http://www.geogebra.org/download/license.txt >> > >> > In particular, it looks like the source is now GPLv3. The good thing >> > is it looks like they removed the Flanagan library which had a >> > problematic license. See: >> > http://dev.geogebra.org/trac/changeset/9322 >> > http://dev.geogebra.org/trac/browser/branches/ggb32/geogebra/geogebra/kernel/roots/RealRoot.java?order=name >> > >> > Did they start including a geogebra.desktop file in the distribution? >> > As well as the icon file? >> > >> > >> > On Wed, Apr 4, 2012 at 3:09 PM, Azwaw OUSADOU >> > wrote: >> >> Hi, >> >> >> >> I continue your work with the latest version of geogebra, it's work >> >> fine for me in amd64. >> >> >> >> >> >> 2010/4/11, Daniel Dickman : >> >>> Here is a new port for GeoGebra. There was an earlier attempt by Azwaw >> >>> Ousadou[1], but below is an independent effort by myself. Tested on >> >>> amd64. >> >>> >> >>> # pkg_info geogebra >> >>> Information for inst:geogebra-3.2.41.0 >> >>> >> >>> Comment: >> >>> educational mathematical software >> >>> >> >>> Description: >> >>> GeoGebra is free and multi-platform dynamic mathematics software for >> >>> learning and teaching. It has received several educational software >> >>> awards in Europe and the USA. >> >>> >> >>> Maintainer: The OpenBSD ports mailing-list >> >>> >> >>> WWW: http://www.geogebra.org >> >>> >> >>> >> >>> [1] http://marc.info/?l=openbsd-ports&m=126253682721802&w=2 >> >>> >> > > > > > -- > Antoine > geogebra.tar.gz Description: GNU Zip compressed data
Re: [NEW] math/geogebra
On Sat, Apr 07, 2012 at 07:40:52PM +0200, Azwaw OUSADOU wrote: > Hi, > > I fixed the patch. I have a problem with the desktop file. I can't use > diff on this file because diff recognizes it as a binary file. You can, use DIFF_ARGS = -a > > Azwaw OUSADOU > > 2012/4/4, Daniel Dickman : > > Hi, I think the licensing might have changed since I last took a look. > > Have a look at the link. You will need to change the comments in the > > Makefile: > > http://www.geogebra.org/download/license.txt > > > > In particular, it looks like the source is now GPLv3. The good thing > > is it looks like they removed the Flanagan library which had a > > problematic license. See: > > http://dev.geogebra.org/trac/changeset/9322 > > http://dev.geogebra.org/trac/browser/branches/ggb32/geogebra/geogebra/kernel/roots/RealRoot.java?order=name > > > > Did they start including a geogebra.desktop file in the distribution? > > As well as the icon file? > > > > > > On Wed, Apr 4, 2012 at 3:09 PM, Azwaw OUSADOU wrote: > >> Hi, > >> > >> I continue your work with the latest version of geogebra, it's work > >> fine for me in amd64. > >> > >> > >> 2010/4/11, Daniel Dickman : > >>> Here is a new port for GeoGebra. There was an earlier attempt by Azwaw > >>> Ousadou[1], but below is an independent effort by myself. Tested on > >>> amd64. > >>> > >>> # pkg_info geogebra > >>> Information for inst:geogebra-3.2.41.0 > >>> > >>> Comment: > >>> educational mathematical software > >>> > >>> Description: > >>> GeoGebra is free and multi-platform dynamic mathematics software for > >>> learning and teaching. It has received several educational software > >>> awards in Europe and the USA. > >>> > >>> Maintainer: The OpenBSD ports mailing-list > >>> > >>> WWW: http://www.geogebra.org > >>> > >>> > >>> [1] http://marc.info/?l=openbsd-ports&m=126253682721802&w=2 > >>> > > -- Antoine
Re: [NEW] math/geogebra
Hi, I fixed the patch. I have a problem with the desktop file. I can't use diff on this file because diff recognizes it as a binary file. Azwaw OUSADOU 2012/4/4, Daniel Dickman : > Hi, I think the licensing might have changed since I last took a look. > Have a look at the link. You will need to change the comments in the > Makefile: > http://www.geogebra.org/download/license.txt > > In particular, it looks like the source is now GPLv3. The good thing > is it looks like they removed the Flanagan library which had a > problematic license. See: > http://dev.geogebra.org/trac/changeset/9322 > http://dev.geogebra.org/trac/browser/branches/ggb32/geogebra/geogebra/kernel/roots/RealRoot.java?order=name > > Did they start including a geogebra.desktop file in the distribution? > As well as the icon file? > > > On Wed, Apr 4, 2012 at 3:09 PM, Azwaw OUSADOU wrote: >> Hi, >> >> I continue your work with the latest version of geogebra, it's work >> fine for me in amd64. >> >> >> 2010/4/11, Daniel Dickman : >>> Here is a new port for GeoGebra. There was an earlier attempt by Azwaw >>> Ousadou[1], but below is an independent effort by myself. Tested on >>> amd64. >>> >>> # pkg_info geogebra >>> Information for inst:geogebra-3.2.41.0 >>> >>> Comment: >>> educational mathematical software >>> >>> Description: >>> GeoGebra is free and multi-platform dynamic mathematics software for >>> learning and teaching. It has received several educational software >>> awards in Europe and the USA. >>> >>> Maintainer: The OpenBSD ports mailing-list >>> >>> WWW: http://www.geogebra.org >>> >>> >>> [1] http://marc.info/?l=openbsd-ports&m=126253682721802&w=2 >>> > geogebra.tar.gz Description: GNU Zip compressed data
Re: [NEW] math/geogebra
Hi, I continue your work with the latest version of geogebra, it's work fine for me in amd64. 2010/4/11, Daniel Dickman : > Here is a new port for GeoGebra. There was an earlier attempt by Azwaw > Ousadou[1], but below is an independent effort by myself. Tested on > amd64. > > # pkg_info geogebra > Information for inst:geogebra-3.2.41.0 > > Comment: > educational mathematical software > > Description: > GeoGebra is free and multi-platform dynamic mathematics software for > learning and teaching. It has received several educational software > awards in Europe and the USA. > > Maintainer: The OpenBSD ports mailing-list > > WWW: http://www.geogebra.org > > > [1] http://marc.info/?l=openbsd-ports&m=126253682721802&w=2 > geogebra.tar.gz Description: GNU Zip compressed data
[NEW] math/geogebra
Here is a new port for GeoGebra. There was an earlier attempt by Azwaw Ousadou[1], but below is an independent effort by myself. Tested on amd64. # pkg_info geogebra Information for inst:geogebra-3.2.41.0 Comment: educational mathematical software Description: GeoGebra is free and multi-platform dynamic mathematics software for learning and teaching. It has received several educational software awards in Europe and the USA. Maintainer: The OpenBSD ports mailing-list WWW: http://www.geogebra.org [1] http://marc.info/?l=openbsd-ports&m=126253682721802&w=2 geogebra.tar.gz Description: GNU Zip compressed data
Re: [NEW] math/geogebra
Thanks for your test and your comments. I updated to the latest version. I have a problem with ${JAVA_HOME}. I can't replace it in files/geogebra with ${SUBST_CMD}. Any Idea ? Thanks ! -- Azwaw OUSADOU geogebra.tar.gz Description: Binary data
Re: [NEW] math/geogebra
On 10:28 Tue 09 Feb, Azwaw OUSADOU wrote: > Geogebra work now with the latest snapshots. > > Please test it. > Thanks :) Thanks for working on this port! Running geogebra returns code 10, running with LAX_DEBUG=1 gives: = Forking JAVA = LAX Version = 10.0 GeoGebra 3.2.0.0, June 2, 2009, Java 1.7.0-internal java.lang.Exception: Sorry, there is no font for this language available on your computer. at geogebra.e.t.a(Unknown Source) at geogebra.e.t.d(Unknown Source) at geogebra.e.t.b(Unknown Source) at geogebra.e.t.a(Unknown Source) at geogebra.e.t.(Unknown Source) at geogebra.e.t.(Unknown Source) at geogebra.e.b.(Unknown Source) at geogebra.gui.f.a.a(Unknown Source) at geogebra.gui.f.a.a(Unknown Source) at geogebra.GeoGebra.a(Unknown Source) at geogebra.GeoGebra.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:617) at com.zerog.lax.LAX.launch(DashoA10*..) at com.zerog.lax.LAX.main(DashoA10*..) java.lang.NullPointerException at geogebra.e.t.I(Unknown Source) at geogebra.e.t.b(Unknown Source) at geogebra.e.t.c(Unknown Source) at geogebra.e.t.b(Unknown Source) at geogebra.e.t.b(Unknown Source) at geogebra.e.t.a(Unknown Source) at geogebra.e.t.(Unknown Source) at geogebra.e.t.(Unknown Source) at geogebra.e.b.(Unknown Source) at geogebra.gui.f.a.a(Unknown Source) at geogebra.gui.f.a.a(Unknown Source) at geogebra.GeoGebra.a(Unknown Source) at geogebra.GeoGebra.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:617) at com.zerog.lax.LAX.launch(DashoA10*..) at com.zerog.lax.LAX.main(DashoA10*..) i386, -current Check it, please.
Re: [NEW] math/geogebra
> Geogebra work now with the latest snapshots. > > Please test it. > Thanks :) Hi, seems like an interesting app. I have quite a few comments on the Makefile though. See below... --- You're missing an OpenBSD tag. i.e. the first line should be: # $OpenBSD$ > COMMENT = dynamic mathematis for everyone COMMENT has a typo and isn't really that informative. How about something like: "educational software unifying arithmetic, geometry, algebra and calculus". > > DISTNAME =GeoGebra_3_2_0_1 > PKGNAME = GeoGebra-3.2.0.1 The following will be easier for making later updates: V= 3_2_0_1 DISTNAME = GeoGebra_${V} PKGNAME = GeoGebra-${V:S/_/./g} Why version 3.2.0.1? I think your port should be for the latest version. Maybe use the MacOS download which doesn't come with a JRE? > > CATEGORIES = math java > > HOMEPAGE =http://www.geogebra.org > > # GPLv2 and Creative Commons Attribution-Share Alike 3.0 > PERMIT_PACKAGE_CDROM =Yes > PERMIT_PACKAGE_FTP = Yes > PERMIT_DISTFILES_CDROM =Yes > PERMIT_DISTFILES_FTP =Yes The licensing is a bit confusing. The web page says: "You are free to copy, distribute and transmit GeoGebra for non-commercial purposes." -- http://www.geogebra.org/cms/index.php?option=com_content&task=blogcategory&id=71&Itemid=55 But after reading the license, it seems like that only applies to the installers for the various platforms (which I don't think would be wanted on OpenBSD). -- http://www.geogebra.org/download/license.txt Might want to make this all clearer with a comment like the following: # GeoGebra Source: # GPLv2 # Language Files and Documentation: # Creative Commons Attribution-Share Alike 3.0 # See: http://www.geogebra.org/download/license.txt > > MASTER_SITES =http://geogebra.googlecode.com/files/ > EXTRACT_SUFX =.jar > > MODULES = java > MODJAVA_VER= 1.7+ > MODJAVA_JRERUN= Yes Why 1.7? I was able to launch with 1.5 and 1.6 without any problems, but didn't explore too deeply. Is there a reason to exclude earlier JDKs? > > USE_X11 = Yes > > NO_REGRESS = Yes > EXTRACT_ONLY= > WRKDIST= ${WRKDIR} > > do-build: > echo "Nothing" You can just set: NO_BUILD= > > do-install: > ${JAVA_HOME}/bin/java -DUSER_INSTALL_DIR=${PREFIX}/share/geogebra -jar > ${DISTDIR}/${DISTFILES} -i silent -DUSER_INSTALL_DIR=${PREFIX}/share/geogebra > || true > rm -rf ${PREFIX}/share/geogebra/uninstallerdata > sed -e "s#${PREFIX}#${TRUEPREFIX}#g" > ${PREFIX}/share/geogebra/geogebra.lax > > ${PREFIX}/share/geogebra/geogebra.lax.mod > mv ${PREFIX}/share/geogebra/geogebra.lax.mod > ${PREFIX}/share/geogebra/geogebra.lax > sed -e > "s#lax.nl.java.option.additional=-Xmx1000m#lax.nl.java.option.additional=#g" > ${PREFIX}/share/geogebra/geogebra.lax > > ${PREFIX}/share/geogebra/geogebra.lax.mod > mv ${PREFIX}/share/geogebra/geogebra.lax.mod > ${PREFIX}/share/geogebra/geogebra.lax > > post-install: > cd ${PREFIX}/bin && ln -s ../share/geogebra/geogebra > > > .include
[NEW] math/geogebra
Geogebra work now with the latest snapshots. Please test it. Thanks :) -- Azwaw OUSADOU geogebra.tar.gz Description: Binary data
[NEW] math/geogebra
Hi, I'm trying to port geogebra to OpenBSD. But I Have a problem when i lunch geogebra i have this error: ./toz bash-4.0$ export LAX_DEBUG=./toz bash-4.0$ geogebra = Analyzing UNIX Environment = Setting UNIX (openbsd) flavor specifics. Importing UNIX environment into LAX properties. Checking for POSIX awk. = Analyzing LAX == LAX found OK. LAX properties read.. OK. = Finding VM = Valid VM types.. 1.4.2+ Absolute LAX_VM path /usr/local/jdk-1.7.0/jre/bin/java Expanded Valid VM types. 1.4.2+ * Using VM.(lax.nl.current.vm).. /usr/local/jdk-1.7.0/jre/bin/java = Virtual Machine Options LAX properties incorporated. OK. classpath... "/usr/local/share/geogebra/geogebra.jar:/usr/local/bin/../share/geogebra/lax.jar" main class.. "geogebra.GeoGebra" .lax file path.. "/usr/local/bin/../share/geogebra/geogebra.lax" user directory.. "." stdout to... "console" sterr to "console" install directory... "/usr/local/share/geogebra/" JIT. none option (verify). none option (verbosity).. none option (garbage collection extent).. none option (garbage collection thread).. none option (native stack max size).. none option (java stack max size) none option (java heap max size). none option (java heap initial size). none option (lax.nl.java.option.additional).. none = Display settings === X display... local UI mode. not set = VM Command Line options: CLASSPATH:/usr/local/share/geogebra/geogebra.jar:/usr/local/bin/../share/geogebra/lax.jar: = Forking JAVA = LAX Version = 10.0 GeoGebra 3.2.0.0, June 2, 2009, Java 1.7.0-internal java.lang.Exception: Sorry, there is no font for this language available on your computer. at geogebra.e.t.a(Unknown Source) at geogebra.e.t.d(Unknown Source) at geogebra.e.t.b(Unknown Source) at geogebra.e.t.a(Unknown Source) at geogebra.e.t.(Unknown Source) at geogebra.e.t.(Unknown Source) at geogebra.e.b.(Unknown Source) at geogebra.gui.f.a.a(Unknown Source) at geogebra.gui.f.a.a(Unknown Source) at geogebra.GeoGebra.a(Unknown Source) at geogebra.GeoGebra.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:617) at com.zerog.lax.LAX.launch(DashoA10*..) at com.zerog.lax.LAX.main(DashoA10*..) java.lang.NullPointerException at geogebra.e.t.I(Unknown Source) at geogebra.e.t.b(Unknown Source) at geogebra.e.t.c(Unknown Source) at geogebra.e.t.b(Unknown Source) at geogebra.e.t.b(Unknown Source) at geogebra.e.t.a(Unknown Source) at geogebra.e.t.(Unknown Source) at geogebra.e.t.(Unknown Source) at geogebra.e.b.(Unknown Source) at geogebra.gui.f.a.a(Unknown Source) at geogebra.gui.f.a.a(Unknown Source) at geogebra.GeoGebra.a(Unknown Source) at geogebra.GeoGebra.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:617) at com.zerog.lax.LAX.launch(DashoA10*..) at com.zerog.lax.LAX.main(DashoA10*..) If I search in /usr/local/jdk-1.7.0/jre/lib/fontconfig.properties.src. I found fonts dir is /usr/share/fonts but it's directory is empty. Thanks -- Azwaw OUSADOU geogebra.tar.gz Description: Binary data