diff options
author | Marcus D. Hanwell <cryos@gentoo.org> | 2006-01-29 20:18:29 +0000 |
---|---|---|
committer | Marcus D. Hanwell <cryos@gentoo.org> | 2006-01-29 20:18:29 +0000 |
commit | a2850906753f96f23d3b4ad93b9b89694d208e11 (patch) | |
tree | 9feb9593870172694bb3438f5a06fe8d90f3f0d4 /sci-visualization | |
parent | fix patching #120850 by Ervin Peters (diff) | |
download | gentoo-2-a2850906753f96f23d3b4ad93b9b89694d208e11.tar.gz gentoo-2-a2850906753f96f23d3b4ad93b9b89694d208e11.tar.bz2 gentoo-2-a2850906753f96f23d3b4ad93b9b89694d208e11.zip |
Moved from media-gfx/scigraphica to sci-visualization/scigraphica.
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/scigraphica/ChangeLog | 53 | ||||
-rw-r--r-- | sci-visualization/scigraphica/Manifest | 5 | ||||
-rw-r--r-- | sci-visualization/scigraphica/files/digest-scigraphica-0.8.0-r2 | 1 | ||||
-rw-r--r-- | sci-visualization/scigraphica/files/gcc3.4.patch | 21 | ||||
-rw-r--r-- | sci-visualization/scigraphica/metadata.xml | 5 | ||||
-rw-r--r-- | sci-visualization/scigraphica/scigraphica-0.8.0-r2.ebuild | 78 |
6 files changed, 163 insertions, 0 deletions
diff --git a/sci-visualization/scigraphica/ChangeLog b/sci-visualization/scigraphica/ChangeLog new file mode 100644 index 000000000000..bc510cfd9f58 --- /dev/null +++ b/sci-visualization/scigraphica/ChangeLog @@ -0,0 +1,53 @@ +# ChangeLog for media-gfx/scigraphica +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/scigraphica/ChangeLog,v 1.1 2006/01/29 20:18:29 cryos Exp $ + + 29 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> +files/gcc3.4.patch, + +metadata.xml, +scigraphica-0.8.0-r2.ebuild: + Moved from media-gfx/scigraphica to sci-visualization/scigraphica. + + 05 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> + scigraphica-0.8.0-r2.ebuild: + Stable on ppc. + + 09 May 2005; David Holm <dholm@gentoo.org> scigraphica-0.8.0-r2.ebuild: + Added to ~ppc. + +*scigraphica-0.8.0-r2 (23 Dec 2004) + + 23 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml, + +files/gcc3.4.patch, +scigraphica-0.8.0-r2.ebuild: + Moved from app-sci/scigraphica to media-gfx/scigraphica. + + 30 Nov 2004; Patrick Kursawe <phosphan@gentoo.org> +files/gcc3.4.patch, + scigraphica-0.8.0-r2.ebuild: + gcc 3.4 patch - bug #71875 + + 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> + scigraphica-0.8.0-r1.ebuild, scigraphica-0.8.0-r2.ebuild, + scigraphica-0.8.0.ebuild: + Adding IUSE, cleanup + +*scigraphica-0.8.0-r2 (04 jan 2003) + + 04 Jan 2003; George Shapovalov <george@gentoo.org> scigraphica-0.8.0-r2.ebuild : + fixes ##18436 and 20853. + + 02 Sep 2003; Alastair Tse <liquidx@gentoo.org> scigraphica-0.8.0-r1.ebuild, + scigraphica-0.8.0.ebuild: + moved dev-python/Numeric to dev-python/numeric + +*scigraphica-0.8.0-r1 (26 Apr 2003) + + 26 Apr 2003; Michael Imhof <tantive@gentoo.org> ChangeLog : + Added >=media-libs/imlib-1.9.14 to depend. Should close #19784. + +*scigraphica-0.8.0 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/sci-visualization/scigraphica/Manifest b/sci-visualization/scigraphica/Manifest new file mode 100644 index 000000000000..12d8e10371be --- /dev/null +++ b/sci-visualization/scigraphica/Manifest @@ -0,0 +1,5 @@ +MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 479f30169196d2d51854be85144d2ae2 ChangeLog 1863 +MD5 7231788d2fc8a34da1fc9e859bd30cec scigraphica-0.8.0-r2.ebuild 2401 +MD5 a268a921bce77204066be75a284df252 files/gcc3.4.patch 464 +MD5 c2d9cfaee160e764e5ea4eef6864b114 files/digest-scigraphica-0.8.0-r2 69 diff --git a/sci-visualization/scigraphica/files/digest-scigraphica-0.8.0-r2 b/sci-visualization/scigraphica/files/digest-scigraphica-0.8.0-r2 new file mode 100644 index 000000000000..16631c877734 --- /dev/null +++ b/sci-visualization/scigraphica/files/digest-scigraphica-0.8.0-r2 @@ -0,0 +1 @@ +MD5 8527c80fe75bc4f72c14548c7a2b0b71 scigraphica-0.8.0.tar.gz 841199 diff --git a/sci-visualization/scigraphica/files/gcc3.4.patch b/sci-visualization/scigraphica/files/gcc3.4.patch new file mode 100644 index 000000000000..0a8c392a1738 --- /dev/null +++ b/sci-visualization/scigraphica/files/gcc3.4.patch @@ -0,0 +1,21 @@ +diff -ru src/python/python_config.c src.new/python/python_config.c +--- src/python/python_config.c 2001-11-30 18:03:23.000000000 +0100 ++++ src.new/python/python_config.c 2004-11-30 15:33:59.000000000 +0100 +@@ -235,7 +235,7 @@ + if (func) func(GTK_WIDGET(widget),&my_var_info[i]); + } + break; +- default: ++ default: ; + } + } + #ifdef WITH_GNOME +@@ -609,7 +609,7 @@ + + break; + +- default: ++ default:; + } + } + diff --git a/sci-visualization/scigraphica/metadata.xml b/sci-visualization/scigraphica/metadata.xml new file mode 100644 index 000000000000..b229aec85b8f --- /dev/null +++ b/sci-visualization/scigraphica/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +</pkgmetadata> diff --git a/sci-visualization/scigraphica/scigraphica-0.8.0-r2.ebuild b/sci-visualization/scigraphica/scigraphica-0.8.0-r2.ebuild new file mode 100644 index 000000000000..84df2ed54690 --- /dev/null +++ b/sci-visualization/scigraphica/scigraphica-0.8.0-r2.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/scigraphica/scigraphica-0.8.0-r2.ebuild,v 1.1 2006/01/29 20:18:29 cryos Exp $ + +inherit eutils + +DESCRIPTION="Scientific application for data analysis and technical graphics" +SRC_URI="http://scigraphica.sourceforge.net/src/${P}.tar.gz" +HOMEPAGE="http://scigraphica.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="ppc x86" +IUSE="gnome" + +DEPEND=">=x11-libs/gtk+extra-0.99.17 + =dev-python/pygtk-0.6* + >=dev-python/numeric-20.3 + >=dev-libs/libxml-1.8.16 + >=media-libs/imlib-1.9.14 + gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r3 =gnome-base/orbit-0* >=gnome-base/gnome-print-0.34 )" + +pkg_setup() { + if has_version ">=dev-python/pygtk-0.99"; then + eerror "Setup has detected that you have >=dev-python/pygtk-0.99 installed" + eerror "on yor system. This will conflict with the required pygtk-0.6" + ewarn "Therefore" + ewarn 'Please "emerge unmerge pygtk", then' + ewarn '"emerge scigraphica; run it once, and then remerge pygtk version' + ewarn 'you had (best accomplished by running "emerge -u --deep world")' + die + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/gcc3.4.patch +} + +src_compile() { + #bonobo breaks compile when enabled so it is not enabled for now. + #the result seems to be no printing under gnome. + #also need to look into --with-lp and --with-lpr config flags + + local myconf="" + use gnome || myconf="${myconf} --without-gnome" #default enabled +# use bonobo && myconf="${myconf} --with-bonobo" #default disabled + + #fix Exec= in sg.desktop + cp sg.desktop sg.desktop.orig + sed -e 's:\(Exec=\)sga:\1scigraphica:' sg.desktop.orig > sg.desktop + + #fix termcap dependency + cp configure configure.orig + sed -e 's:-ltermcap:-lncurses:' configure.orig > configure + + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + ${myconf} || die "Configuration Failed" + + emake || die "Parallel Make Failed" +} + +src_install() { + make DESTDIR=${D} install || die "Installation Failed" + dodoc AUTHORS ChangeLog FAQ.compile \ + INSTALL NEWS README TODO +} + +pkg_postinst() { + ewarn "Please, if you need to remerge pygtk-2* afterwards, do not forget to run scigraphica" + ewarn "as your intended user once before that!" + ewarn "You may also want to remove ~/.scigpahica/config first." +} |