From 5fdb7bc404cf9b8818759ed68c06949623509c32 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Mon, 9 Sep 2013 11:15:36 +0200 Subject: [PATCH] Add geogebra-4.1.120.0 --- sci-mathematics/geogebra/Manifest | 3 + .../files/geogebra-fix-install.sh.patch | 78 +++++++++++++++++++ .../geogebra/geogebra-4.1.120.0.ebuild | 33 ++++++++ 3 files changed, 114 insertions(+) create mode 100644 sci-mathematics/geogebra/Manifest create mode 100644 sci-mathematics/geogebra/files/geogebra-fix-install.sh.patch create mode 100644 sci-mathematics/geogebra/geogebra-4.1.120.0.ebuild diff --git a/sci-mathematics/geogebra/Manifest b/sci-mathematics/geogebra/Manifest new file mode 100644 index 0000000..c7e2bbb --- /dev/null +++ b/sci-mathematics/geogebra/Manifest @@ -0,0 +1,3 @@ +AUX geogebra-fix-install.sh.patch 8349 SHA256 638f2c13ab08a8a255b034fbb7e4468ee57b7e374783b5c74b028012b1d503b3 SHA512 95e0eed3f7338f35f1dd22b5802dcc590197564488a2caadafd6b00882fea56787b24b6a88ecac4262e4469e5014c1f7a6566ae2f3b422f6def1a3f24180ea4b WHIRLPOOL bc038a67ab3b187497482c77df79dfdcb57ab164ef079730440e0494f90c41beb041282efa2a1f8b666994db87623efb7a565ee959e7f573a7b8ed2f36f8f1c9 +DIST GeoGebra-Unixlike-Installer-4.1.120.0.tar.gz 44859986 SHA256 39f4462ad934923673f14e5c34c4bc1da167c5af5e411f58d89c8a935ae08648 SHA512 9c52c4850e8d003ff2edbc2af6607fb02779063aca10e5b76ef2f8be3992ce2eb4f148323dbee324bbbdc0f56e8d1b15fd5971cda734c813796213895003e1a4 WHIRLPOOL 6cb59b6023a1a3a8eaba105d3bb5f1df24baf78de3d35fdcce21ff370c9630087f8096b8e95f19ba8118825f9968c10eacf9dd76bcd941c5d66ccb24d5e24aec +EBUILD geogebra-4.1.120.0.ebuild 565 SHA256 910d41f06d46f1f3f3ddc6b323a2850de3bd5f4f342c6e9867165ac3cbb3ffaf SHA512 a93dba441d9506b0e4b710f156b69be6dd0f15480c7942a47e80ba6304e38614892c6d0e5a4fcd867847d015f231c4682a08b8205aac5934a45ae08f80e752a4 WHIRLPOOL b92cabc993462f0621a95a5ae0a9e65ffc6feb4545696b890d834c0f2711fda10e82e954bf412eae7f634ace3c902bf3da5ad842a8cd580e004e8931a110e148 diff --git a/sci-mathematics/geogebra/files/geogebra-fix-install.sh.patch b/sci-mathematics/geogebra/files/geogebra-fix-install.sh.patch new file mode 100644 index 0000000..6597a4f --- /dev/null +++ b/sci-mathematics/geogebra/files/geogebra-fix-install.sh.patch @@ -0,0 +1,78 @@ +--- install.sh 2012-06-04 17:14:09.129571330 +0200 ++++ install.sh 2012-06-04 17:11:58.588706799 +0200 +@@ -2,41 +2,41 @@ + # simple ./install-sh script that copies everything to the right place + + # create all needed directories +-./install-sh -d -m 755 /usr/share/geogebra/unsigned +-./install-sh -d -m 755 /usr/share/icons/hicolor/16x16/apps /usr/share/icons/hicolor/22x22/apps /usr/share/icons/hicolor/24x24/apps /usr/share/icons/hicolor/32x32/apps /usr/share/icons/hicolor/36x36/apps /usr/share/icons/hicolor/48x48/apps /usr/share/icons/hicolor/64x64/apps /usr/share/icons/hicolor/72x72/apps /usr/share/icons/hicolor/96x96/apps /usr/share/icons/hicolor/128x128/apps /usr/share/icons/hicolor/192x192/apps /usr/share/icons/hicolor/256x256/apps /usr/share/icons/hicolor/scalable/apps +-./install-sh -d -m 755 /usr/share/icons/hicolor/16x16/mimetypes /usr/share/icons/hicolor/22x22/mimetypes /usr/share/icons/hicolor/24x24/mimetypes /usr/share/icons/hicolor/32x32/mimetypes /usr/share/icons/hicolor/36x36/mimetypes /usr/share/icons/hicolor/48x48/mimetypes /usr/share/icons/hicolor/64x64/mimetypes /usr/share/icons/hicolor/72x72/mimetypes /usr/share/icons/hicolor/96x96/mimetypes /usr/share/icons/hicolor/128x128/mimetypes /usr/share/icons/hicolor/192x192/mimetypes /usr/share/icons/hicolor/256x256/mimetypes /usr/share/icons/hicolor/scalable/mimetypes ++./install-sh -d -m 755 ${D}/usr/share/geogebra/unsigned ++./install-sh -d -m 755 ${D}/usr/share/icons/hicolor/16x16/apps ${D}/usr/share/icons/hicolor/22x22/apps ${D}/usr/share/icons/hicolor/24x24/apps ${D}/usr/share/icons/hicolor/32x32/apps ${D}/usr/share/icons/hicolor/36x36/apps ${D}/usr/share/icons/hicolor/48x48/apps ${D}/usr/share/icons/hicolor/64x64/apps ${D}/usr/share/icons/hicolor/72x72/apps ${D}/usr/share/icons/hicolor/96x96/apps ${D}/usr/share/icons/hicolor/128x128/apps ${D}/usr/share/icons/hicolor/192x192/apps ${D}/usr/share/icons/hicolor/256x256/apps ${D}/usr/share/icons/hicolor/scalable/apps ++./install-sh -d -m 755 ${D}/usr/share/icons/hicolor/16x16/mimetypes ${D}/usr/share/icons/hicolor/22x22/mimetypes ${D}/usr/share/icons/hicolor/24x24/mimetypes ${D}/usr/share/icons/hicolor/32x32/mimetypes ${D}/usr/share/icons/hicolor/36x36/mimetypes ${D}/usr/share/icons/hicolor/48x48/mimetypes ${D}/usr/share/icons/hicolor/64x64/mimetypes ${D}/usr/share/icons/hicolor/72x72/mimetypes ${D}/usr/share/icons/hicolor/96x96/mimetypes ${D}/usr/share/icons/hicolor/128x128/mimetypes ${D}/usr/share/icons/hicolor/192x192/mimetypes ${D}/usr/share/icons/hicolor/256x256/mimetypes ${D}/usr/share/icons/hicolor/scalable/mimetypes + + # ./install-sh files +-./install-sh -m 644 *.jar /usr/share/geogebra +-./install-sh -m 644 unsigned/*.jar /usr/share/geogebra/unsigned +-./install-sh -m 755 geogebra /usr/bin +-./install-sh -m 644 geogebra.xml /usr/share/mime/packages +-./install-sh -m 644 geogebra.desktop /usr/share/applications ++./install-sh -m 644 *.jar ${D}/usr/share/geogebra ++./install-sh -m 644 unsigned/*.jar ${D}/usr/share/geogebra/unsigned ++./install-sh -m 755 geogebra ${D}/usr/bin/geogebra ++./install-sh -m 644 geogebra.xml ${D}/usr/share/mime/packages/gegebra.xml ++./install-sh -m 644 geogebra.desktop ${D}/usr/share/applications/geogebra.desktop + +-./install-sh -m 644 icons/hicolor/16x16/apps/geogebra.png /usr/share/icons/hicolor/16x16/apps +-./install-sh -m 644 icons/hicolor/22x22/apps/geogebra.png /usr/share/icons/hicolor/22x22/apps +-./install-sh -m 644 icons/hicolor/24x24/apps/geogebra.png /usr/share/icons/hicolor/24x24/apps +-./install-sh -m 644 icons/hicolor/32x32/apps/geogebra.png /usr/share/icons/hicolor/32x32/apps +-./install-sh -m 644 icons/hicolor/36x36/apps/geogebra.png /usr/share/icons/hicolor/36x36/apps +-./install-sh -m 644 icons/hicolor/48x48/apps/geogebra.png /usr/share/icons/hicolor/48x48/apps +-./install-sh -m 644 icons/hicolor/64x64/apps/geogebra.png /usr/share/icons/hicolor/64x64/apps +-./install-sh -m 644 icons/hicolor/72x72/apps/geogebra.png /usr/share/icons/hicolor/72x72/apps +-./install-sh -m 644 icons/hicolor/96x96/apps/geogebra.png /usr/share/icons/hicolor/96x96/apps +-./install-sh -m 644 icons/hicolor/128x128/apps/geogebra.png /usr/share/icons/hicolor/128x128/apps +-./install-sh -m 644 icons/hicolor/192x192/apps/geogebra.png /usr/share/icons/hicolor/192x192/apps +-./install-sh -m 644 icons/hicolor/256x256/apps/geogebra.png /usr/share/icons/hicolor/256x256/apps +-./install-sh -m 644 icons/hicolor/scalable/apps/geogebra.svgz /usr/share/icons/hicolor/scalable/apps ++./install-sh -m 644 icons/hicolor/16x16/apps/geogebra.png ${D}/usr/share/icons/hicolor/16x16/apps ++./install-sh -m 644 icons/hicolor/22x22/apps/geogebra.png ${D}/usr/share/icons/hicolor/22x22/apps ++./install-sh -m 644 icons/hicolor/24x24/apps/geogebra.png ${D}/usr/share/icons/hicolor/24x24/apps ++./install-sh -m 644 icons/hicolor/32x32/apps/geogebra.png ${D}/usr/share/icons/hicolor/32x32/apps ++./install-sh -m 644 icons/hicolor/36x36/apps/geogebra.png ${D}/usr/share/icons/hicolor/36x36/apps ++./install-sh -m 644 icons/hicolor/48x48/apps/geogebra.png ${D}/usr/share/icons/hicolor/48x48/apps ++./install-sh -m 644 icons/hicolor/64x64/apps/geogebra.png ${D}/usr/share/icons/hicolor/64x64/apps ++./install-sh -m 644 icons/hicolor/72x72/apps/geogebra.png ${D}/usr/share/icons/hicolor/72x72/apps ++./install-sh -m 644 icons/hicolor/96x96/apps/geogebra.png ${D}/usr/share/icons/hicolor/96x96/apps ++./install-sh -m 644 icons/hicolor/128x128/apps/geogebra.png ${D}/usr/share/icons/hicolor/128x128/apps ++./install-sh -m 644 icons/hicolor/192x192/apps/geogebra.png ${D}/usr/share/icons/hicolor/192x192/apps ++./install-sh -m 644 icons/hicolor/256x256/apps/geogebra.png ${D}/usr/share/icons/hicolor/256x256/apps ++./install-sh -m 644 icons/hicolor/scalable/apps/geogebra.svgz ${D}/usr/share/icons/hicolor/scalable/apps + +-./install-sh -m 644 icons/hicolor/16x16/mimetypes/*.* /usr/share/icons/hicolor/16x16/mimetypes +-./install-sh -m 644 icons/hicolor/22x22/mimetypes/*.* /usr/share/icons/hicolor/22x22/mimetypes +-./install-sh -m 644 icons/hicolor/24x24/mimetypes/*.* /usr/share/icons/hicolor/24x24/mimetypes +-./install-sh -m 644 icons/hicolor/32x32/mimetypes/*.* /usr/share/icons/hicolor/32x32/mimetypes +-./install-sh -m 644 icons/hicolor/36x36/mimetypes/*.* /usr/share/icons/hicolor/36x36/mimetypes +-./install-sh -m 644 icons/hicolor/48x48/mimetypes/*.* /usr/share/icons/hicolor/48x48/mimetypes +-./install-sh -m 644 icons/hicolor/64x64/mimetypes/*.* /usr/share/icons/hicolor/64x64/mimetypes +-./install-sh -m 644 icons/hicolor/72x72/mimetypes/*.* /usr/share/icons/hicolor/72x72/mimetypes +-./install-sh -m 644 icons/hicolor/96x96/mimetypes/*.* /usr/share/icons/hicolor/96x96/mimetypes +-./install-sh -m 644 icons/hicolor/128x128/mimetypes/*.* /usr/share/icons/hicolor/128x128/mimetypes +-./install-sh -m 644 icons/hicolor/192x192/mimetypes/*.* /usr/share/icons/hicolor/192x192/mimetypes +-./install-sh -m 644 icons/hicolor/256x256/mimetypes/*.* /usr/share/icons/hicolor/256x256/mimetypes +-./install-sh -m 644 icons/hicolor/scalable/mimetypes/*.* /usr/share/icons/hicolor/scalable/mimetypes ++./install-sh -m 644 icons/hicolor/16x16/mimetypes/*.* ${D}/usr/share/icons/hicolor/16x16/mimetypes ++./install-sh -m 644 icons/hicolor/22x22/mimetypes/*.* ${D}/usr/share/icons/hicolor/22x22/mimetypes ++./install-sh -m 644 icons/hicolor/24x24/mimetypes/*.* ${D}/usr/share/icons/hicolor/24x24/mimetypes ++./install-sh -m 644 icons/hicolor/32x32/mimetypes/*.* ${D}/usr/share/icons/hicolor/32x32/mimetypes ++./install-sh -m 644 icons/hicolor/36x36/mimetypes/*.* ${D}/usr/share/icons/hicolor/36x36/mimetypes ++./install-sh -m 644 icons/hicolor/48x48/mimetypes/*.* ${D}/usr/share/icons/hicolor/48x48/mimetypes ++./install-sh -m 644 icons/hicolor/64x64/mimetypes/*.* ${D}/usr/share/icons/hicolor/64x64/mimetypes ++./install-sh -m 644 icons/hicolor/72x72/mimetypes/*.* ${D}/usr/share/icons/hicolor/72x72/mimetypes ++./install-sh -m 644 icons/hicolor/96x96/mimetypes/*.* ${D}/usr/share/icons/hicolor/96x96/mimetypes ++./install-sh -m 644 icons/hicolor/128x128/mimetypes/*.* ${D}/usr/share/icons/hicolor/128x128/mimetypes ++./install-sh -m 644 icons/hicolor/192x192/mimetypes/*.* ${D}/usr/share/icons/hicolor/192x192/mimetypes ++./install-sh -m 644 icons/hicolor/256x256/mimetypes/*.* ${D}/usr/share/icons/hicolor/256x256/mimetypes ++./install-sh -m 644 icons/hicolor/scalable/mimetypes/*.* ${D}/usr/share/icons/hicolor/scalable/mimetypes diff --git a/sci-mathematics/geogebra/geogebra-4.1.120.0.ebuild b/sci-mathematics/geogebra/geogebra-4.1.120.0.ebuild new file mode 100644 index 0000000..bd4cd90 --- /dev/null +++ b/sci-mathematics/geogebra/geogebra-4.1.120.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit eutils + +DESCRIPTION="" +HOMEPAGE="http://www.geogebra.org/cms/en" +SRC_URI="https://geogebra.googlecode.com/files/GeoGebra-Unixlike-Installer-${PV}.tar.gz" + +LICENSE="GPL-3 CCPL-Attribution-ShareAlike-3.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND=">=virtual/jdk-1.6.0-r1 + ${DEPEND}" + + +src_unpack() { + unpack ${A} +} + +src_configure() { + epatch "${FILESDIR}/${PN}-fix-install.sh.patch" +} + +src_install() { + ./install.sh +} -- 2.39.5