summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus D. Hanwell <cryos@gentoo.org>2006-01-14 17:14:18 +0000
committerMarcus D. Hanwell <cryos@gentoo.org>2006-01-14 17:14:18 +0000
commit5aa626cab961b3f1943873ff77edd1056a4bf2c1 (patch)
tree442612842a64fd08daa7431f016833d39095ab5d /sci-mathematics
parentMinor fix to include the muse.info documentation. (diff)
downloadgentoo-2-5aa626cab961b3f1943873ff77edd1056a4bf2c1.tar.gz
gentoo-2-5aa626cab961b3f1943873ff77edd1056a4bf2c1.tar.bz2
gentoo-2-5aa626cab961b3f1943873ff77edd1056a4bf2c1.zip
Initial import, thanks to Thomas Veith <xtv@gentoo.org> for the original ebuild, Gard Spreemann <spreeman@stud.ntnu.no> for the updated version and Lucas Chiesa <lucas.chiesa@gmail.com> for his work on it.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/kseg/ChangeLog12
-rw-r--r--sci-mathematics/kseg/Manifest3
-rw-r--r--sci-mathematics/kseg/files/digest-kseg-0.4021
-rw-r--r--sci-mathematics/kseg/files/kseg-0.402-gentoo.patch36
-rw-r--r--sci-mathematics/kseg/kseg-0.402.ebuild34
-rw-r--r--sci-mathematics/kseg/metadata.xml16
6 files changed, 102 insertions, 0 deletions
diff --git a/sci-mathematics/kseg/ChangeLog b/sci-mathematics/kseg/ChangeLog
new file mode 100644
index 000000000000..41b7eca9b274
--- /dev/null
+++ b/sci-mathematics/kseg/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for sci-mathematics/kseg
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/kseg/ChangeLog,v 1.1 2006/01/14 17:14:18 cryos Exp $
+
+*kseg-0.402 (14 Jan 2006)
+
+ 14 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org>
+ +files/kseg-0.402-gentoo.patch, +metadata.xml, +kseg-0.402.ebuild:
+ Initial import, thanks to Thomas Veith <xtv@gentoo.org> for the original
+ ebuild, Gard Spreemann <spreeman@stud.ntnu.no> for the updated version and
+ Lucas Chiesa <lucas.chiesa@gmail.com> for his work on it.
+
diff --git a/sci-mathematics/kseg/Manifest b/sci-mathematics/kseg/Manifest
new file mode 100644
index 000000000000..27b563da9746
--- /dev/null
+++ b/sci-mathematics/kseg/Manifest
@@ -0,0 +1,3 @@
+MD5 9f5e1bfb3507fbe41ce730d4978accfa files/digest-kseg-0.402 62
+MD5 5bdb86daaabadc0b8738f79047f6bdc1 files/kseg-0.402-gentoo.patch 1461
+MD5 2f6505b5f0a44fb263039324cfa74668 kseg-0.402.ebuild 831
diff --git a/sci-mathematics/kseg/files/digest-kseg-0.402 b/sci-mathematics/kseg/files/digest-kseg-0.402
new file mode 100644
index 000000000000..9ce9281b8023
--- /dev/null
+++ b/sci-mathematics/kseg/files/digest-kseg-0.402
@@ -0,0 +1 @@
+MD5 fd2a02afbfe3fcc53367527a75a340b5 kseg-0.402.tar.gz 626031
diff --git a/sci-mathematics/kseg/files/kseg-0.402-gentoo.patch b/sci-mathematics/kseg/files/kseg-0.402-gentoo.patch
new file mode 100644
index 000000000000..adff085d0d83
--- /dev/null
+++ b/sci-mathematics/kseg/files/kseg-0.402-gentoo.patch
@@ -0,0 +1,36 @@
+diff -urN kseg-0.402.orig/Makefile kseg-0.402/Makefile
+--- kseg-0.402.orig/Makefile 2004-11-24 18:07:27.000000000 +0100
++++ kseg-0.402/Makefile 2005-08-04 15:33:03.000000000 +0200
+@@ -1,7 +1,7 @@
+ # Makefile for KSEG
+ CC = g++
+ QTINCLUDE = -I$(QTDIR)/include
+-CCFLAGS = -c -Wall -O2 -fomit-frame-pointer -ffast-math
++CCFLAGS = -c $(CXXFLAGS)
+ LIBS = -lm -L$(QTDIR)/lib -lqt -lz
+ MOC = $(QTDIR)/bin/moc
+ LUPDATE = $(QTDIR)/bin/lupdate
+diff -urN kseg-0.402.orig/formula/Makefile kseg-0.402/formula/Makefile
+--- kseg-0.402.orig/formula/Makefile 2004-11-24 18:07:28.000000000 +0100
++++ kseg-0.402/formula/Makefile 2005-08-04 15:33:16.000000000 +0200
+@@ -1,7 +1,7 @@
+ # Makefile for formula
+ CC = g++
+ QTINCLUDE = -I$(QTDIR)/include
+-CCFLAGS = -c -Wall -O2 -fomit-frame-pointer -ffast-math
++CCFLAGS = -c $(CXXFLAGS)
+ LIBS =
+ MOC = $(QTDIR)/bin/moc
+
+diff -urN kseg-0.402.orig/main.cpp kseg-0.402/main.cpp
+--- kseg-0.402.orig/main.cpp 2004-11-24 18:07:27.000000000 +0100
++++ kseg-0.402/main.cpp 2005-08-04 15:32:48.000000000 +0200
+@@ -37,7 +37,7 @@
+
+ //set some default properties
+ KSegProperties::setPropertyDefault("Language", "");
+- KSegProperties::setPropertyDefault("LanguageDir", ".");
++ KSegProperties::setPropertyDefault("LanguageDir", "KSEG_HELP_DIR");
+ KSegProperties::setPropertyDefault("SelectType", "BorderSelect");
+ KSegProperties::setPropertyDefault("QuickPlayDirectory", ".");
+ KSegProperties::setPropertyDefault("RecentListSize", "4");
diff --git a/sci-mathematics/kseg/kseg-0.402.ebuild b/sci-mathematics/kseg/kseg-0.402.ebuild
new file mode 100644
index 000000000000..62711c73bfa8
--- /dev/null
+++ b/sci-mathematics/kseg/kseg-0.402.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/kseg/kseg-0.402.ebuild,v 1.1 2006/01/14 17:14:18 cryos Exp $
+
+inherit eutils qt3
+
+DESCRIPTION="Interactive geometry program for exploring Euclidean geometry"
+HOMEPAGE="http://www.mit.edu/~ibaran/kseg.html"
+SRC_URI="http://www.mit.edu/~ibaran/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+DEPEND="$(qt_min_version 3.3)"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # Fix silly hardcoded help file path and CCFLAGS.
+ epatch ${FILESDIR}/${P}-gentoo.patch
+ sed -i -e "s|KSEG_HELP_DIR|${PF}/help|" main.cpp
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe kseg
+ dodoc AUTHORS ChangeLog README README.translators VERSION
+ insinto /usr/share/doc/${PF}/help
+ doins *.html *.qm
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*
+ fi
+}
diff --git a/sci-mathematics/kseg/metadata.xml b/sci-mathematics/kseg/metadata.xml
new file mode 100644
index 000000000000..142a9b7dd9af
--- /dev/null
+++ b/sci-mathematics/kseg/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <maintainer>
+ <email>cryos@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ Interactive geometry program for exploring Euclidean geometry. You can
+ create a construction, such as a triangle with a circumcenter, and then, as
+ you drag the vertices of the triangle you can see the circumcenter moving in
+ real time. Can be used to make high quality figures in LaTeX and is built
+ using Qt.
+ </longdescription>
+</pkgmetadata>
+