summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2004-04-19 12:27:48 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2004-04-19 12:27:48 +0000
commit3684443df5c4f6d7641a94ca2cd84b371e08def7 (patch)
tree34fffc68d3c20a2ebf6da0da08ec1efd87813fd2 /app-sci/snns
parentVersion bump (Manifest recommit) (diff)
downloadgentoo-2-3684443df5c4f6d7641a94ca2cd84b371e08def7.tar.gz
gentoo-2-3684443df5c4f6d7641a94ca2cd84b371e08def7.tar.bz2
gentoo-2-3684443df5c4f6d7641a94ca2cd84b371e08def7.zip
Bump to stable, cleanup.
Diffstat (limited to 'app-sci/snns')
-rw-r--r--app-sci/snns/ChangeLog6
-rw-r--r--app-sci/snns/files/digest-snns-4.2-r32
-rw-r--r--app-sci/snns/files/snns-4.2-gentoo.patch34
-rw-r--r--app-sci/snns/snns-4.2-r3.ebuild73
-rw-r--r--app-sci/snns/snns-4.2-r4.ebuild4
5 files changed, 7 insertions, 112 deletions
diff --git a/app-sci/snns/ChangeLog b/app-sci/snns/ChangeLog
index b1ad6afe2805..febaebedfee0 100644
--- a/app-sci/snns/ChangeLog
+++ b/app-sci/snns/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-sci/snns
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/snns/ChangeLog,v 1.9 2004/04/01 10:52:36 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/snns/ChangeLog,v 1.10 2004/04/19 12:27:48 phosphan Exp $
+
+ 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> snns-4.2-r3.ebuild,
+ snns-4.2-r4.ebuild, files/snns-4.2-gentoo.patch:
+ Bump to stable, cleanup.
01 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> snns-4.2-r3.ebuild:
replacing patch by epatch
diff --git a/app-sci/snns/files/digest-snns-4.2-r3 b/app-sci/snns/files/digest-snns-4.2-r3
deleted file mode 100644
index 5777b9a356d0..000000000000
--- a/app-sci/snns/files/digest-snns-4.2-r3
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 4609dfd61714bfbb0842d4e8e905e584 SNNSv4.2.tar.gz 2170375
-MD5 e91242fdc43877013ade3b5f2213659a SNNSv4.2.Manual.pdf 2103861
diff --git a/app-sci/snns/files/snns-4.2-gentoo.patch b/app-sci/snns/files/snns-4.2-gentoo.patch
deleted file mode 100644
index c16385d6675d..000000000000
--- a/app-sci/snns/files/snns-4.2-gentoo.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- symtab.c.orig 2002-11-07 17:32:05.000000000 +0100
-+++ tools/sources/symtab.c 2002-11-07 17:33:56.000000000 +0100
-@@ -23,6 +23,7 @@
- #include <stdlib.h>
- #include <stdio.h>
- #include <math.h> /* for MAXFLOAT */
-+#include <values.h>
-
- #include "symtab.ph"
- #include "arglist.h"
---- ui.h.orig 2002-11-07 17:37:06.000000000 +0100
-+++ xgui/sources/ui.h 2002-11-07 17:37:44.000000000 +0100
-@@ -21,8 +21,8 @@
-
- ******************************************************************************/
-
--#ifndef __ui
--#define __ui
-+#ifndef snns_ui
-+#define snns_ui
-
- /* X11 */
-
---- ui_config.c.orig 2002-11-07 18:35:43.000000000 +0100
-+++ xgui/sources/ui_config.c 2002-11-07 18:37:34.000000000 +0100
-@@ -492,7 +492,7 @@
- err = fscanf(filePtr,"%*[^:]: %d\n", &noParams);
- chkretline(1);
- lines++;
-- for (i=0; (i<UI_NO_LEARN_PARAMS+UI_NO_OF_CASCADE_PARAMS); i++){
-+ for (i=0; (i<UI_NO_LEARN_PARAMS+UI_NO_OF_CASCADE_PARAMS) && (i<noParams); i++){
- err = fscanf(filePtr,"%*[^:]: %f\n", &ui_learnParameters[i]);
- chkretline(1);
- lines++;
diff --git a/app-sci/snns/snns-4.2-r3.ebuild b/app-sci/snns/snns-4.2-r3.ebuild
deleted file mode 100644
index 749544e7bf27..000000000000
--- a/app-sci/snns/snns-4.2-r3.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/snns/snns-4.2-r3.ebuild,v 1.3 2004/04/01 10:52:36 phosphan Exp $
-
-inherit eutils
-
-MY_P="SNNSv${PV}"
-DESCRIPTION="Stuttgart Neural Network Simulator"
-HOMEPAGE="http://www-ra.informatik.uni-tuebingen.de/SNNS/"
-SRC_URI="http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/${MY_P}.tar.gz
- doc? ( http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/${MY_P}.Manual.pdf )"
-
-LICENSE="SNNS-${PV}"
-KEYWORDS="x86"
-SLOT="0"
-IUSE="X doc"
-
-DEPEND="X? ( virtual/x11
- x11-libs/Xaw3d )
- >=sys-apps/sed-4
- virtual/glibc"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${MY_P}.tar.gz
-
- cd ${S}
- epatch ${FILESDIR}/${P}-gentoo.patch
- sed -i -e 's/Xaw/Xaw3d/g' xgui/sources/Makefile
- sed -i -e 's/\(^#define MAX_NAME_LENGTH\).*/\1 4096/' xgui/sources/ui.h
- sed -i -e 's/\(^#define MAX_DIR_ENTRIES\).*/\1 4096/' xgui/sources/ui_file.ph
- sed -i -e 's/\(#define DIR_BUFFER_LENGTH\).*/\1 524288/' xgui/sources/ui_file.ph
-}
-
-src_compile() {
- local myconf="--enable-global"
- local compileopts="compile-kernel compile-tools"
-
- if [ `use X` ] ; then
- myconf="${myconf} --with-x"
- compileopts="${compileopts} compile-xgui"
- else
- myconf="${myconf} --without-x"
- fi
-
- econf ${myconf}
- emake ${compileopts} || die "emake failed"
-}
-
-src_install() {
- for file in `find tools -type f -perm +100`; do
- dobin $file
- done
-
- if [ `use X` ] ; then
- newbin xgui/sources/xgui snns
-
- dodir /etc/env.d
- echo XGUILOADPATH=/usr/share/doc/${PF}/ > ${D}/etc/env.d/99snns
-
- insinto /usr/share/doc/${PF}
- doins default.cfg help.hdoc
- fi
-
- insinto /usr/share/doc/${PF}
- use doc && doins ${DISTDIR}/${MY_P}.Manual.pdf
-
- insinto /usr/share/doc/${PF}/examples
- doins examples/*
-
- doman man/man*/*
-}
diff --git a/app-sci/snns/snns-4.2-r4.ebuild b/app-sci/snns/snns-4.2-r4.ebuild
index a6dc014116a0..4bb002a7d651 100644
--- a/app-sci/snns/snns-4.2-r4.ebuild
+++ b/app-sci/snns/snns-4.2-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/snns/snns-4.2-r4.ebuild,v 1.2 2004/03/17 21:15:28 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/snns/snns-4.2-r4.ebuild,v 1.3 2004/04/19 12:27:48 phosphan Exp $
inherit eutils
@@ -13,7 +13,7 @@ SRC_URI="http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/${MY_P}.tar.gz
doc? ( http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/${MY_P}.Manual.pdf )"
LICENSE="SNNS-${PV}"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="x86 ppc"
SLOT="0"
IUSE="X doc"