From: Olivier Fisette Date: Tue, 28 Dec 2004 05:27:17 +0000 (+0000) Subject: Moving to sci-mathematics/geomview X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f38d267ce60212380a15c0fa6a7e3e8f83a20e80;p=gentoo.git Moving to sci-mathematics/geomview --- diff --git a/app-sci/geomview/ChangeLog b/app-sci/geomview/ChangeLog deleted file mode 100644 index 20c580258e22..000000000000 --- a/app-sci/geomview/ChangeLog +++ /dev/null @@ -1,24 +0,0 @@ -# ChangeLog for app-sci/geomview -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/geomview/ChangeLog,v 1.6 2004/06/26 01:37:39 george Exp $ - - 25 Jun 2004; George Shapovalov geomview-1.8.1-r3.ebuild: - removed RDEPEND=DEPEND line (deprecated for a while now) - - 20 Apr 2004; Patrick Kursawe geomview-1.8.1-r3.ebuild: - Some people seem to have problems with GL headers, adding -DGL_GLEXT_LEGACY to - CFLAGS. See bug #44896. - - 19 Apr 2004; Patrick Kursawe geomview-1.8.1-r3.ebuild: - moved to epatch - - 19 Apr 2004; Patrick Kursawe geomview-1.8.1-r3.ebuild: - Removed S, added IUSE - -*geomview-1.8.1-r3 (04 Mar 2004) - - 04 Mar 2004; geomview-1.8.1-r3.ebuild, metadata.xml: - new user-contributed ebuild (a group effort even) by David Hyunjin Lim, - with contributions from Cliff Yapp (I added the keywords and cleaned up - the syntax a bit) - diff --git a/app-sci/geomview/Manifest b/app-sci/geomview/Manifest deleted file mode 100644 index 1e80ed1a1927..000000000000 --- a/app-sci/geomview/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -MD5 dafaee6979042fbea5d26761057f9c35 ChangeLog 1012 -MD5 7c7ab93b69e1701c89c2c69a091dc678 geomview-1.8.1-r3.ebuild 829 -MD5 3fbaa47f9b0997b5153ab4c51e2543e8 metadata.xml 418 -MD5 3d18ce933a28b57ce8532b5855eb4c18 files/geomview-1.8.1-configure.diff 345 -MD5 516cbbb8f525f64c20a456811b93c9fc files/geomview-1.8.1-stdiostream.diff 3679 -MD5 4a24ace30f19b0c7d510c15d67f60ee2 files/digest-geomview-1.8.1-r3 67 diff --git a/app-sci/geomview/files/digest-geomview-1.8.1-r3 b/app-sci/geomview/files/digest-geomview-1.8.1-r3 deleted file mode 100644 index 3f203b30253a..000000000000 --- a/app-sci/geomview/files/digest-geomview-1.8.1-r3 +++ /dev/null @@ -1 +0,0 @@ -MD5 1cb0e07a6552e9fe122491af70171536 geomview-1.8.1.tar.gz 2766832 diff --git a/app-sci/geomview/files/geomview-1.8.1-configure.diff b/app-sci/geomview/files/geomview-1.8.1-configure.diff deleted file mode 100644 index 7c4b3e56b859..000000000000 --- a/app-sci/geomview/files/geomview-1.8.1-configure.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- geomview-1.8.1/configure.old 2003-10-06 20:19:35.000000000 -0700 -+++ geomview-1.8.1/configure 2003-10-06 20:20:22.000000000 -0700 -@@ -3319,7 +3319,7 @@ - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* -- STRSTREAMLIB=-liostream -+ STRSTREAMLIB=-lstdc++ - - fi - rm -f conftest* diff --git a/app-sci/geomview/files/geomview-1.8.1-stdiostream.diff b/app-sci/geomview/files/geomview-1.8.1-stdiostream.diff deleted file mode 100644 index e7821b6c338d..000000000000 --- a/app-sci/geomview/files/geomview-1.8.1-stdiostream.diff +++ /dev/null @@ -1,142 +0,0 @@ -*** src/lib/oogl/util/glibglue.C 2001-02-23 05:40:30.000000000 +0100 ---- ../geomview-GCC_3.2/src/lib/oogl/util/glibglue.C 2002-10-30 10:23:54.000000000 +0100 -*************** -*** 1,6 **** -! #include -! #include -! #include -! #include - - // This C++ glue allows futil.c to use the GNU libc (Linux) ---- 1,4 ---- -! #include -! #include - - // This C++ glue allows futil.c to use the GNU libc (Linux) -*************** -*** 9,20 **** - - struct stdio_mark { -! istdiostream* instream; -! streammarker *m; - }; - -! strstreambuf * - CC_fmemopen(char *mem, int len) - { -! return new strstreambuf(mem, len); - } - ---- 7,23 ---- - - struct stdio_mark { -! FILE* instream; -! long m; - }; - -! std::stringbuf * - CC_fmemopen(char *mem, int len) - { -! std::stringbuf *b; -! b = new std::stringbuf; -! //b->str(mem); -! b->pubsetbuf(mem, len); -! return b; -! //return new std::streambuf(mem, len); - } - -*************** -*** 22,29 **** - CC_stdio_setmark(stdio_mark *sm, FILE* f) - { -! if(sm) delete sm->m; -! else sm = new stdio_mark; -! sm->instream = new istdiostream(f); -! sm->m = new streammarker(sm->instream->rdbuf()); - return sm; - } ---- 25,31 ---- - CC_stdio_setmark(stdio_mark *sm, FILE* f) - { -! if(!sm) sm = new stdio_mark; -! sm->instream = f; -! sm->m = ftell(f); - return sm; - } -*************** -*** 32,36 **** - CC_stdio_seekmark(struct stdio_mark *sm) - { -! return sm->instream->rdbuf()->seekmark(*sm->m); - } - ---- 34,38 ---- - CC_stdio_seekmark(struct stdio_mark *sm) - { -! return fseek(sm->instream, sm->m, SEEK_SET); - } - -*************** -*** 38,44 **** - CC_stdio_freemark(stdio_mark *sm) - { -- delete sm->m; -- delete sm->instream; - delete sm; - } - ---- 40,45 ---- - CC_stdio_freemark(stdio_mark *sm) - { - delete sm; - } - -+ -*** src/lib/oogl/util/futil.c 2001-02-23 05:41:31.000000000 +0100 ---- ../geomview-GCC_3.2/src/lib/oogl/util/futil.c 2002-10-30 10:21:38.000000000 +0100 -*************** -*** 841,847 **** - # endif - #endif -! extern struct stdio_mark *CC_stdio_setmark__FP10stdio_markP8_IO_FILE(struct stdio_mark *m, FILE *f); -! extern int CC_stdio_seekmark__FP10stdio_mark(struct stdio_mark *mark); -! extern void CC_stdio_freemark__FP10stdio_mark(struct stdio_mark *mark); - - #if !USE_FSTROPEN_1 ---- 841,853 ---- - # endif - #endif -! -! /* This a very nasty trick to link C++ functions from C code. -! * The names of the functions bellow are obtained by compiling the -! * glibglue.C file with "g++ -c" and then using "objdump -t glibglue.o" -! * to spy the names asigned to the functions -! */ -! extern struct stdio_mark *_Z16CC_stdio_setmarkP10stdio_markP8_IO_FILE(struct stdio_mark *m, FILE *f); -! extern int _Z17CC_stdio_seekmarkP10stdio_mark(struct stdio_mark *mark); -! extern void _Z17CC_stdio_freemarkP10stdio_mark(struct stdio_mark *mark); - - #if !USE_FSTROPEN_1 -*************** -*** 857,867 **** - - struct stdio_mark *stdio_setmark(struct stdio_mark *m, FILE *f) -! { return CC_stdio_setmark__FP10stdio_markP8_IO_FILE(m, f); } - - int stdio_seekmark(struct stdio_mark *mark) -! { return CC_stdio_seekmark__FP10stdio_mark(mark) != EOF; } - - void stdio_freemark(struct stdio_mark *mark) -! { CC_stdio_freemark__FP10stdio_mark(mark); } - - ---- 863,873 ---- - - struct stdio_mark *stdio_setmark(struct stdio_mark *m, FILE *f) -! { return _Z16CC_stdio_setmarkP10stdio_markP8_IO_FILE(m, f); } - - int stdio_seekmark(struct stdio_mark *mark) -! { return _Z17CC_stdio_seekmarkP10stdio_mark(mark) != EOF; } - - void stdio_freemark(struct stdio_mark *mark) -! { _Z17CC_stdio_freemarkP10stdio_mark(mark); } diff --git a/app-sci/geomview/geomview-1.8.1-r3.ebuild b/app-sci/geomview/geomview-1.8.1-r3.ebuild deleted file mode 100644 index 0dfd4f4e9ea6..000000000000 --- a/app-sci/geomview/geomview-1.8.1-r3.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/geomview/geomview-1.8.1-r3.ebuild,v 1.6 2004/06/26 01:37:39 george Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="Interactive Geometry Viewer" -SRC_URI="http://ftp1.sourceforge.net/geomview/geomview-1.8.1.tar.gz" -HOMEPAGE="http://geomview.sourceforge.net" - -KEYWORDS="~x86 ~sparc ~ppc" -LICENSE="LGPL-2.1" -SLOT="0" -IUSE="" - -DEPEND="dev-lang/tk - x11-libs/xforms - x11-libs/lesstif - virtual/opengl" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-stdiostream.diff - epatch ${FILESDIR}/${P}-configure.diff -} - -src_compile() { - append-flags "-DGL_GLEXT_LEGACY" - econf || die "could not configure" - make || die "make failed" -} - -src_install() { - make DESTDIR=${D} install -} diff --git a/app-sci/geomview/metadata.xml b/app-sci/geomview/metadata.xml deleted file mode 100644 index a2197b362fe8..000000000000 --- a/app-sci/geomview/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - -sci - - nerdboy@gentoo.org - Steve Arnold - Primary Maintainer - -Geomview is an interactive geometry viewer and Object Oriented Graphics Library (OOGL). -