diff options
author | jtb <jtb@pkgsrc.org> | 2001-02-28 22:34:05 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-02-28 22:34:05 +0000 |
commit | 862b2d7455caa6d7e3fae9010132451456cc4134 (patch) | |
tree | 144556aaab0403d5e0bb180c2f9c8cfd80f00d37 /math/tela/patches | |
parent | 3f1e4e305534468ef01ff7149afe1ea8f7e215d6 (diff) | |
download | pkgsrc-862b2d7455caa6d7e3fae9010132451456cc4134.tar.gz |
Initial import of tela:
Tela (TEnsor LAnguage) is a scientific computing language and
environment. It is mainly targeted for prototyping large-scale
numerical simulations and doing pre- and postprocessing for them, and
it replaces a compiled language like C++ or Fortran in this
respect. The feature set is therefore biased to operations needed in
partial differential equation solvers. A relatively complete graphics
is included via a separate program (PlotMTV). Tela uses HDF format as
native save/load format. It can also read/write Matlab binary files
and some ASCII files.
Tela is generally 2-4 times faster than Matlab, the extremeties
encountered so far are 0.9-11. Even though Tela is mainly a
prototyping and development environment, modest-size 2D simulations
can be run in modern (1994) desktop workstations while preserving
"interactive" response times. Only large 2D or 3D simulations must
usually be coded in C or Fortran and run on supercomputers.
Diffstat (limited to 'math/tela/patches')
-rw-r--r-- | math/tela/patches/patch-aa | 47 | ||||
-rw-r--r-- | math/tela/patches/patch-ab | 54 | ||||
-rw-r--r-- | math/tela/patches/patch-ac | 14 | ||||
-rw-r--r-- | math/tela/patches/patch-ad | 47 | ||||
-rw-r--r-- | math/tela/patches/patch-af | 13 | ||||
-rw-r--r-- | math/tela/patches/patch-ag | 13 | ||||
-rw-r--r-- | math/tela/patches/patch-ah | 13 | ||||
-rw-r--r-- | math/tela/patches/patch-ai | 13 |
8 files changed, 214 insertions, 0 deletions
diff --git a/math/tela/patches/patch-aa b/math/tela/patches/patch-aa new file mode 100644 index 00000000000..4b136a6c9dd --- /dev/null +++ b/math/tela/patches/patch-aa @@ -0,0 +1,47 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/02/28 22:34:08 jtb Exp $ + +--- configure.orig Tue Dec 5 14:17:43 2000 ++++ configure +@@ -591,15 +591,15 @@ + else + echo "$ac_t""System type is ${system}." 1>&6 + fi +-echo 'Installation prefix (/usr/local/lib/tela) ?' +-read ans +-if test ".$ans" = "."; then ans=/usr/local/lib/tela; fi +-INSTALLATION_PREFIX=$ans +- +-echo "Architecture-dependent installation prefix ($INSTALLATION_PREFIX) ?" +-read ans +-if test ".$ans" = "."; then ans=$INSTALLATION_PREFIX; fi +-ARCHDEP_INSTALLATION_PREFIX=$ans ++#echo 'Installation prefix (/usr/local/lib/tela) ?' ++#read ans ++#if test ".$ans" = "."; then ans=/usr/local/lib/tela; fi ++#INSTALLATION_PREFIX=$ans ++ ++#echo "Architecture-dependent installation prefix ($INSTALLATION_PREFIX) ?" ++#read ans ++#if test ".$ans" = "."; then ans=$INSTALLATION_PREFIX; fi ++#ARCHDEP_INSTALLATION_PREFIX=$ans + + if test ".$system" = ".AIX"; then + CC=xlC +@@ -2091,7 +2091,7 @@ + + # It would also be nice to do this for all -L options, not just this one. + if test -n "$x_libraries"; then +- X_LIBS="$X_LIBS -L$x_libraries" ++ X_LIBS="$X_LIBS -R$x_libraries -L$x_libraries" + # For Solaris; some versions of Sun CC require a space after -R and + # others require no space. Words are not sufficient . . . . + case "`(uname -sr) 2>/dev/null`" in +@@ -2656,7 +2656,7 @@ + + # Check for libraries that X11R6 Xt/Xaw programs need. + ac_save_LDFLAGS="$LDFLAGS" +- test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" ++ test -n "$x_libraries" && LDFLAGS="$LDFLAGS -R$x_libraries -L$x_libraries" + # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to + # check for ICE first), but we must link in the order -lSM -lICE or + # we get undefined symbols. So assume we have SM if we have ICE. diff --git a/math/tela/patches/patch-ab b/math/tela/patches/patch-ab new file mode 100644 index 00000000000..5d77c71e57d --- /dev/null +++ b/math/tela/patches/patch-ab @@ -0,0 +1,54 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/02/28 22:34:08 jtb Exp $ + +--- makeinc.in.orig Mon Dec 4 07:23:07 2000 ++++ makeinc.in +@@ -11,12 +11,12 @@ + INSTALL_DATA = @INSTALL_DATA@ + BISON++ = @BISONXX@ + +-INSTALLATION_PREFIX = @INSTALLATION_PREFIX@ +-ARCHDEP_INSTALLATION_PREFIX = @ARCHDEP_INSTALLATION_PREFIX@ ++INSTALLATION_PREFIX = ${PREFIX}/share/tela ++ARCHDEP_INSTALLATION_PREFIX = ${PREFIX}/lib/tela + + DEFS = @DEFS@ +-CFLAGS = @CFLAGS@ +-FFLAGS = @FFLAGS@ ++#CFLAGS = @CFLAGS@ ++#FFLAGS = @FFLAGS@ + LDFLAGS = @LDFLAGS@ + UNROLL_FLAGS = @UNROLL_FLAGS@ + NOVECTORALIASES = @NOVECTORALIASES@ +@@ -31,13 +31,14 @@ + X_CFLAGS = @X_CFLAGS@ + X_LIBS = @X_LIBS@ + R8FLAG = @R8FLAG@ +-READLINELIB = @READLINELIB@ +-BLASLIB = @BLASLIB@ +-LAPACKLIB = @LAPACKLIB@ +-DLDLIB = @DLDLIB@ +-HDFINCLUDE = -I/usr/local/include/hdf @HDFDEF@ +-HDFLIBS = @HDFLIBS@ +-FLIBS = @FLIBS@ ++READLINELIB = -Wl,-R${READLINE_PREFIX}/lib -L${READLINE_PREFIX}/lib -lreadline -ltermcap ++READLINEINCLUDE = -I${READLINE_PREFIX}/include ++BLASLIB = -L${BLAS_PREFIX}/lib -lblas ++LAPACKLIB = -L${LAPACK_PREFIX}/lib -llapack ++DLDLIB = ++HDFINCLUDE = -I${HDF_PREFIX}/include/hdf -Dunix @HDFDEF@ ++HDFLIBS = -Wl,-R${HDF_PREFIX}/lib -L${HDF_PREFIX}/lib -lmfhdf -ldf -R${JPEG_PREFIX}/lib -L${JPEG_PREFIX}/lib -ljpeg -lz -lm ++FLIBS = -L${F2C_PREFIX}/lib -lf2c + EXTRALIBS = @EXTRALIBS@ + EXTRA_TARGETS = @EXTRA_TARGETS@ + +@@ -47,8 +48,8 @@ + MATLABLIB = @MATLABLIB@ + + CDF_O = @CDF_O@ +-CDFLIB = @CDFLIB@ +-CDFINCLUDE = -I/usr/local/include ++CDFLIB = ++CDFINCLUDE = + + LOCAL_CTELA_MODULES = + NEEDED_BY_LOCAL_CTELA_MODULES = diff --git a/math/tela/patches/patch-ac b/math/tela/patches/patch-ac new file mode 100644 index 00000000000..e542cd85a48 --- /dev/null +++ b/math/tela/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/02/28 22:34:08 jtb Exp $ + +--- tela.C.orig Mon Feb 12 08:08:40 2001 ++++ tela.C +@@ -14,7 +14,9 @@ + #include "d.l.h" + #include "version.H" + #include <signal.h> ++#ifndef __NetBSD__ + #include <values.h> ++#endif + //#include <unistd.h> + extern "C" { + #include "readline/chardefs.h" diff --git a/math/tela/patches/patch-ad b/math/tela/patches/patch-ad new file mode 100644 index 00000000000..68ec813358f --- /dev/null +++ b/math/tela/patches/patch-ad @@ -0,0 +1,47 @@ +$NetBSD: patch-ad,v 1.1.1.1 2001/02/28 22:34:09 jtb Exp $ + +--- Makefile.orig Tue Dec 5 07:43:56 2000 ++++ Makefile +@@ -27,7 +27,7 @@ + + GNUZIP = gzip -9 + +-READLINEINCLUDE = -I/usr/local/include ++#READLINEINCLUDE = -I/usr/local/include + SGML2PS = sgml2latex + BASH = bash + #HDFLIBS = /usr/local/lib/libdf.a +@@ -114,7 +114,7 @@ + OBJECTDEPS = objarithm.H object.H def.H deftyp.h Tcomplex.H error.H ctinfo.H common.H $(srcdir)/templ/tLL.H + EXECUTABLES = testobject testil testerror testtree tela ctpp + +-all : tela docs ++all : tela + + what help : + @echo 'make - same as make tela';\ +@@ -541,20 +541,20 @@ + if [ ! -d ct ]; then mkdir ct; chmod 755 ct; fi;\ + if [ ! -d include ]; then mkdir include; chmod 755 include; fi;\ + if [ ! -d include/templ ]; then mkdir include/templ; chmod 755 include/templ; fi +- $(INSTALL_PROGRAM) ctpp $(INSTALL_BINDIR) +- $(INSTALL_PROGRAM) tela $(INSTALL_BINDIR) ++ $(INSTALL_PROGRAM) ctpp ${PREFIX}/bin ++ $(INSTALL_PROGRAM) tela ${PREFIX}/bin + sed -e 's@^BINDIR=.*$$@BINDIR=$(INSTALL_BINDIR)@' \ + -e 's@^INCLUDEDIR=.*$$@INCLUDEDIR=$(INSTALL_LIBDIR)/include@' \ + <telakka >telakka.1;\ + chmod +x telakka.1 +- $(INSTALL_PROGRAM) telakka.1 $(INSTALL_BINDIR)/telakka;\ ++ $(BSD_INSTALL_SCRIPT) telakka.1 ${PREFIX}/bin/telakka;\ + rm telakka.1 + cd $(srcdir); for i in *.ct local/*.ct; do $(INSTALL_DATA) $$i $(INSTALL_LIBDIR)/ct; done + cd $(srcdir)/opt; for i in *.ct; do $(INSTALL_DATA) $$i $(INSTALL_LIBDIR)/ct; done + cd $(srcdir)/t; for i in *.t *.hdf; do $(INSTALL_DATA) $$i $(INSTALL_LIBDIR)/t; done + cd $(srcdir); for i in *.H *.h; do $(INSTALL_DATA) $$i $(INSTALL_LIBDIR)/include; done + cd $(srcdir)/templ; for i in *.H; do $(INSTALL_DATA) $$i $(INSTALL_LIBDIR)/include/templ; done +- cd $(srcdir); $(INSTALL_PROGRAM) telahelp.sh $(INSTALL_LIBDIR)/t ++ cd $(srcdir); $(BSD_INSTALL_SCRIPT) telahelp.sh $(INSTALL_LIBDIR)/t + for i in libtela.a $(CTELA_MODULES) $(NEEDED_BY_CTELA_MODULES) \ + $(LOCAL_CTELA_MODULES) $(NEEDED_BY_LOCAL_CTELA_MODULES); \ + do $(INSTALL_DATA) $$i $(INSTALL_BINDIR); done diff --git a/math/tela/patches/patch-af b/math/tela/patches/patch-af new file mode 100644 index 00000000000..be5d55f295a --- /dev/null +++ b/math/tela/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1.1.1 2001/02/28 22:34:09 jtb Exp $ + +--- t/demo.t.orig Wed Feb 28 18:59:25 2001 ++++ t/demo.t +@@ -46,7 +46,7 @@ + + } else if (strstarteq(choice,"Contour")) { + +- cd("/usr/local/lib/tela"); ++ cd("@PREFIX@/share/tela"); + msg("\nA 'real world' example of plotting capabilities."); + msg("Generating"); + msg("- a colormap plot with annotations"); diff --git a/math/tela/patches/patch-ag b/math/tela/patches/patch-ag new file mode 100644 index 00000000000..2a1119966f3 --- /dev/null +++ b/math/tela/patches/patch-ag @@ -0,0 +1,13 @@ +$NetBSD: patch-ag,v 1.1.1.1 2001/02/28 22:34:09 jtb Exp $ + +--- t/docview.t.orig Thu Sep 7 14:05:06 2000 ++++ t/docview.t +@@ -1,6 +1,6 @@ +-choiceViewing = smenu("Choose viewing method","ASCII","xdvi","Xemacs"); ++choiceViewing = smenu("Choose viewing method","ASCII","xdvi","Emacs"); + +-directory = "/usr/local/lib/tela"; ++directory = "@PREFIX@/share/tela"; + + choiceDoc = smenu("Choose document to view", + "Basic help file", diff --git a/math/tela/patches/patch-ah b/math/tela/patches/patch-ah new file mode 100644 index 00000000000..ebacfc2b73c --- /dev/null +++ b/math/tela/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1.1.1 2001/02/28 22:34:09 jtb Exp $ + +--- t/std.t.orig Wed Feb 28 19:00:03 2001 ++++ t/std.t +@@ -95,7 +95,7 @@ + // kinds of Tela documentation. + local(directory,choicViewing,choiceDoc,editor,env) + { +- directory = "/usr/local/lib/tela"; ++ directory = "@PREFIX@/share/tela"; + editor = "emacs"; + pager = "less -Ms"; + env = getenv("EDITOR"); diff --git a/math/tela/patches/patch-ai b/math/tela/patches/patch-ai new file mode 100644 index 00000000000..b0ccd4f7069 --- /dev/null +++ b/math/tela/patches/patch-ai @@ -0,0 +1,13 @@ +$NetBSD: patch-ai,v 1.1.1.1 2001/02/28 22:34:09 jtb Exp $ + +--- telakka.in.orig Mon Dec 4 07:27:58 2000 ++++ telakka.in +@@ -7,7 +7,7 @@ + + nm_options="" + +-CTPP="$BINDIR/ctpp" ++CTPP="@PREFIX@/bin/ctpp" + compileOnly=false + shared=false + outputFileSpecified=false |