- Update to version 3.07
- Add LICENSE - Add MAKE_JOBS_SAFE - Convert to optionsng PR: ports/170165 Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com> Approved by: beat (mentor) Feature safe: yes
This commit is contained in:
parent
61d56330d6
commit
86506cc12c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308050
@ -6,24 +6,29 @@
|
||||
#
|
||||
|
||||
PORTNAME= felt
|
||||
PORTVERSION= 3.06
|
||||
PORTREVISION= 3
|
||||
PORTVERSION= 3.07
|
||||
DISTVERSIONSUFFIX= .src
|
||||
CATEGORIES= science
|
||||
MASTER_SITES= SF/${PORTNAME}/FElt/${PORTVERSION}devel
|
||||
EXTRACT_SUFX= -devel.src.tar.gz
|
||||
MASTER_SITES= SF/${PORTNAME}/FElt/${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A system for Finite Element Analysis
|
||||
|
||||
LIB_DEPENDS= GLw.1:${PORTSDIR}/graphics/libGLw
|
||||
LICENSE= GPLv2
|
||||
|
||||
WRKSRC= ${WRKDIR}/FElt-${PORTVERSION}
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_MOTIF= yes
|
||||
USE_GL= glu
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --x-defaults=${LOCALBASE}/lib/X11/app-defaults
|
||||
CFLAGS+= -D__GLX_MOTIF
|
||||
USE_GL= glu glw
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --prefix="${PREFIX}" \
|
||||
--x-defaults="${LOCALBASE}/lib/X11/app-defaults" \
|
||||
--x-includes="${LOCALBASE}/include" \
|
||||
--x-libraries="${LOCALBASE}/lib"
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
MAN1= burlap.1 corduroy.1 felt.1 patchwork.1 velvet.1 yardstick.1
|
||||
MAN3= Drawing.3
|
||||
@ -32,19 +37,24 @@ MAN4= corduroy.4 felt.4
|
||||
DOCSDIR= ${PREFIX}/share/doc/FElt
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/FElt
|
||||
|
||||
post-extract:
|
||||
@cd ${WRKSRC}/include && ${RM} -rf X11
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|["<]malloc\.h[">]|<stdlib.h>|g'
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/which CC/s|^|#| ; \
|
||||
/CCOPTS=-O3/s|^.*|CCOPTS=$${CFLAGS}| ; \
|
||||
s|lib/felt|share/felt|' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|-lpthread|$$(MOTIFLIB)|' ${WRKSRC}/src/Velvet/Makefile
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
|
||||
.endif
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/*.ans ${EXAMPLESDIR}
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (felt-3.06-devel.src.tar.gz) = 1444b74034a0d68d50a035983b4781f3d567c253533f0776ee19b48ea93de37d
|
||||
SIZE (felt-3.06-devel.src.tar.gz) = 1005386
|
||||
SHA256 (felt-3.07.src.tar.bz2) = 8acbfefd4d8245338fa2bd575e6a6592d24812b1fd2ce3e051f119669cf37a78
|
||||
SIZE (felt-3.07.src.tar.bz2) = 795173
|
||||
|
@ -1,41 +0,0 @@
|
||||
--- configure.orig Mon May 29 23:29:15 1995
|
||||
+++ configure Mon Apr 30 03:03:43 2001
|
||||
@@ -71,7 +71,6 @@
|
||||
|
||||
echo Configuring ...
|
||||
|
||||
-which CC gcc
|
||||
which RANLIB ranlib
|
||||
which CAT cat
|
||||
which TRUE true
|
||||
@@ -136,7 +135,6 @@
|
||||
|
||||
# provide worst-case defaults
|
||||
|
||||
-: ${CC:=cc}
|
||||
: ${RANLIB:=$TRUE}
|
||||
: ${READDIR:=/lib}
|
||||
: ${DEST}:=.}
|
||||
@@ -145,12 +143,11 @@
|
||||
: ${X11INC:=.}
|
||||
: ${X11LIB:=.}
|
||||
|
||||
-CC=`basename $CC`
|
||||
RANLIB=`basename $RANLIB`
|
||||
READDIR=`dirname $READDIR`
|
||||
CONTRIBDIR=none
|
||||
|
||||
-if [ $CC = gcc ]; then CCOPTS=-O3; else CCOPTS=-O; fi
|
||||
+CCOPTS=${CFLAGS}
|
||||
|
||||
|
||||
# defaults for known architectures that fail the above
|
||||
@@ -222,7 +219,7 @@
|
||||
CONTRIBFLAGS = $CONTRIBFLAGS
|
||||
CPP = $CPP
|
||||
DESTBIN = $DEST/bin
|
||||
-DESTLIB = $DEST/lib/felt
|
||||
+DESTLIB = $DEST/share/felt
|
||||
DESTMAN = $DEST/man
|
||||
INSTALL = sh \$(TOPDIR)/etc/install.sh -c
|
||||
LDOPTS =
|
@ -1,20 +0,0 @@
|
||||
diff -rc src/Velvet.orig/Velvet.ad src/Velvet/Velvet.ad
|
||||
*** src/Velvet.orig/Velvet.ad Wed Dec 23 23:01:06 1998
|
||||
--- src/Velvet/Velvet.ad Wed Dec 23 23:01:34 1998
|
||||
***************
|
||||
*** 1046,1052 ****
|
||||
|
||||
! 3d specific defaults
|
||||
|
||||
! !*shapeStyle: Rectangle
|
||||
! !*control*spacer.height: 43
|
||||
! !*control*MenuButton*height: 26
|
||||
! !*control*Command*height: 26
|
||||
--- 1046,1052 ----
|
||||
|
||||
! 3d specific defaults
|
||||
|
||||
! *shapeStyle: Rectangle
|
||||
! *control*spacer.height: 43
|
||||
! *control*MenuButton*height: 26
|
||||
! *control*Command*height: 26
|
@ -1,720 +0,0 @@
|
||||
--- src/Patchwork/oogl.h.orig Mon Feb 21 17:44:31 2000
|
||||
+++ src/Patchwork/oogl.h Sun Jul 27 17:02:55 2003
|
||||
@@ -2,370 +2,353 @@
|
||||
symbols.h
|
||||
**************************************************************************/
|
||||
|
||||
-static char *cone = "\n\
|
||||
-unit { \n\
|
||||
- { OFF\n\
|
||||
-22 40 120\n\
|
||||
-0.000000 1.000000 0.000000\n\
|
||||
-0.000000 0.000000 0.000000\n\
|
||||
-0.500000 0.000000 0.000000\n\
|
||||
-0.475528 0.000000 0.154508\n\
|
||||
-0.404508 0.000000 0.293893\n\
|
||||
-0.293893 0.000000 0.404508\n\
|
||||
-0.154508 0.000000 0.475528\n\
|
||||
-0.000000 0.000000 0.500000\n\
|
||||
--0.154508 0.000000 0.475528\n\
|
||||
--0.293893 0.000000 0.404508\n\
|
||||
--0.404508 0.000000 0.293893\n\
|
||||
--0.475528 0.000000 0.154508\n\
|
||||
--0.500000 0.000000 0.000000\n\
|
||||
--0.475528 0.000000 -0.154508\n\
|
||||
--0.404508 0.000000 -0.293893\n\
|
||||
--0.293893 0.000000 -0.404508\n\
|
||||
--0.154508 0.000000 -0.475528\n\
|
||||
--0.000000 0.000000 -0.500000\n\
|
||||
-0.154508 0.000000 -0.475528\n\
|
||||
-0.293893 0.000000 -0.404508\n\
|
||||
-0.404508 0.000000 -0.293893\n\
|
||||
-0.475528 0.000000 -0.154508\n\
|
||||
-3 2 3 0\n\
|
||||
-3 3 2 1\n\
|
||||
-3 3 4 0\n\
|
||||
-3 4 3 1\n\
|
||||
-3 4 5 0\n\
|
||||
-3 5 4 1\n\
|
||||
-3 5 6 0\n\
|
||||
-3 6 5 1\n\
|
||||
-3 6 7 0\n\
|
||||
-3 7 6 1\n\
|
||||
-3 7 8 0\n\
|
||||
-3 8 7 1\n\
|
||||
-3 8 9 0\n\
|
||||
-3 9 8 1\n\
|
||||
-3 9 10 0\n\
|
||||
-3 10 9 1\n\
|
||||
-3 10 11 0\n\
|
||||
-3 11 10 1\n\
|
||||
-3 11 12 0\n\
|
||||
-3 12 11 1\n\
|
||||
-3 12 13 0\n\
|
||||
-3 13 12 1\n\
|
||||
-3 13 14 0\n\
|
||||
-3 14 13 1\n\
|
||||
-3 14 15 0\n\
|
||||
-3 15 14 1\n\
|
||||
-3 15 16 0\n\
|
||||
-3 16 15 1\n\
|
||||
-3 16 17 0\n\
|
||||
-3 17 16 1\n\
|
||||
-3 17 18 0\n\
|
||||
-3 18 17 1\n\
|
||||
-3 18 19 0\n\
|
||||
-3 19 18 1\n\
|
||||
-3 19 20 0\n\
|
||||
-3 20 19 1\n\
|
||||
-3 20 21 0\n\
|
||||
-3 21 20 1\n\
|
||||
-3 21 2 0\n\
|
||||
-3 2 21 1\n\
|
||||
- }\n\
|
||||
-}\n\
|
||||
-";
|
||||
-
|
||||
-static char *sphere = "\n\
|
||||
-unit { \n\
|
||||
- { MESH\n\
|
||||
-10 10\n\
|
||||
-0 0 1\n\
|
||||
-0 0 1\n\
|
||||
-0 0 1\n\
|
||||
-0 0 1\n\
|
||||
-0 0 1\n\
|
||||
-0 0 1\n\
|
||||
-0 0 1\n\
|
||||
-0 0 1\n\
|
||||
-0 0 1\n\
|
||||
-0 0 1\n\
|
||||
- \n\
|
||||
-0.34202 0 0.9396\n\
|
||||
-0.262003 0.219846 0.939693\n\
|
||||
-0.0593912 0.336824 0.939693\n\
|
||||
--0.17101 0.296198 0.939693\n\
|
||||
--0.321394 0.116978 0.939693\n\
|
||||
--0.321394 -0.116978 0.939693\n\
|
||||
--0.17101 -0.296198 0.939693\n\
|
||||
-0.0593912 -0.336824 0.939693\n\
|
||||
-0.262003 -0.219846 0.939693\n\
|
||||
-0.34202 -8.37708e-17 0.939693\n\
|
||||
- \n\
|
||||
-0.642788 0 0.766044\n\
|
||||
-0.492404 0.413176 0.766044\n\
|
||||
-0.111619 0.633022 0.766044\n\
|
||||
--0.321394 0.55667 0.766044\n\
|
||||
--0.604023 0.219846 0.766044\n\
|
||||
--0.604023 -0.219846 0.766044\n\
|
||||
--0.321394 -0.55667 0.766044\n\
|
||||
-0.111619 -0.633022 0.766044\n\
|
||||
-0.492404 -0.413176 0.766044\n\
|
||||
-0.642788 -1.57438e-16 0.766044\n\
|
||||
- \n\
|
||||
-0.866025 0 0.5\n\
|
||||
-0.663414 0.55667 0.5\n\
|
||||
-0.150384 0.852869 0.5\n\
|
||||
--0.433013 0.75 0.5\n\
|
||||
--0.813798 0.296198 0.5\n\
|
||||
--0.813798 -0.296198 0.5\n\
|
||||
--0.433013 -0.75 0.5\n\
|
||||
-0.150384 -0.852869 0.5\n\
|
||||
-0.663414 -0.55667 0.5\n\
|
||||
-0.866025 -2.12115e-16 0.5\n\
|
||||
- \n\
|
||||
-0.984808 0 0.173648\n\
|
||||
-0.754407 0.633022 0.173648\n\
|
||||
-0.17101 0.969846 0.173648\n\
|
||||
--0.492404 0.852868 0.173648\n\
|
||||
--0.925417 0.336824 0.173648\n\
|
||||
--0.925417 -0.336824 0.173648\n\
|
||||
--0.492404 -0.852869 0.173648\n\
|
||||
-0.17101 -0.969846 0.173648\n\
|
||||
-0.754407 -0.633022 0.173648\n\
|
||||
-0.984808 -2.41208e-16 0.173648\n\
|
||||
- \n\
|
||||
-0.984808 0 -0.173648\n\
|
||||
-0.754407 0.633022 -0.173648\n\
|
||||
-0.17101 0.969846 -0.173648\n\
|
||||
--0.492404 0.852868 -0.173648\n\
|
||||
--0.925417 0.336824 -0.173648\n\
|
||||
--0.925417 -0.336824 -0.173648\n\
|
||||
--0.492404 -0.852869 -0.173648\n\
|
||||
-0.17101 -0.969846 -0.173648\n\
|
||||
-0.754407 -0.633022 -0.173648\n\
|
||||
-0.984808 -2.41208e-16 -0.173648\n\
|
||||
- \n\
|
||||
-0.866025 0 -0.5\n\
|
||||
-0.663414 0.55667 -0.5\n\
|
||||
-0.150384 0.852868 -0.5\n\
|
||||
--0.433013 0.75 -0.5\n\
|
||||
--0.813798 0.296198 -0.5\n\
|
||||
--0.813798 -0.296198 -0.5\n\
|
||||
--0.433013 -0.75 -0.5\n\
|
||||
-0.150384 -0.852868 -0.5\n\
|
||||
-0.663414 -0.55667 -0.5\n\
|
||||
-0.866025 -2.12115e-16 -0.5\n\
|
||||
- \n\
|
||||
-0.642788 0 -0.766044\n\
|
||||
-0.492404 0.413176 -0.766044\n\
|
||||
-0.111619 0.633022 -0.766044\n\
|
||||
--0.321394 0.55667 -0.766044\n\
|
||||
--0.604023 0.219846 -0.766044\n\
|
||||
--0.604023 -0.219846 -0.766044\n\
|
||||
--0.321394 -0.55667 -0.766044\n\
|
||||
-0.111619 -0.633022 -0.766044\n\
|
||||
-0.492404 -0.413176 -0.766044\n\
|
||||
-0.642788 -1.57438e-16 -0.766044\n\
|
||||
- \n\
|
||||
-0.34202 0 -0.939693\n\
|
||||
-0.262003 0.219846 -0.939693\n\
|
||||
-0.0593912 0.336824 -0.939693\n\
|
||||
--0.17101 0.296198 -0.939693\n\
|
||||
--0.321394 0.116978 -0.939693\n\
|
||||
--0.321394 -0.116978 -0.939693\n\
|
||||
--0.17101 -0.296198 -0.939693\n\
|
||||
-0.0593912 -0.336824 -0.939693\n\
|
||||
-0.262003 -0.219846 -0.939693\n\
|
||||
-0.34202 -8.37708e-17 -0.939693\n\
|
||||
- \n\
|
||||
-1.22465e-16 0 -1\n\
|
||||
-9.38134e-17 7.87188e-17 -1\n\
|
||||
-2.12658e-17 1.20604e-16 -1\n\
|
||||
--6.12323e-17 1.06058e-16 -1\n\
|
||||
--1.15079e-16 4.18854e-17 -1\n\
|
||||
--1.15079e-16 -4.18854e-17 -1\n\
|
||||
--6.12323e-17 -1.06058e-16 -1\n\
|
||||
-2.12658e-17 -1.20604e-16 -1\n\
|
||||
-9.38134e-17 -7.87188e-17 -1\n\
|
||||
-1.22465e-16 -2.99952e-32 -1\n\
|
||||
- }\n\
|
||||
-}\n\
|
||||
-";
|
||||
-
|
||||
-static char *xyz = "{\n\
|
||||
-=\n\
|
||||
-VECT\n\
|
||||
-8 19 3\n\
|
||||
-2 2 2 2 2 3 2 4\n\
|
||||
-1 0 0 1 0 0 1 0\n\
|
||||
-\n\
|
||||
-0 0 0 1 0 0\n\
|
||||
-1 -.05 .05 1 .05 .25\n\
|
||||
-1 .05 .05 1 -.05 .25\n\
|
||||
-\n\
|
||||
-0 0 0 0 1 0\n\
|
||||
--.05 1 .25 0 1 .15\n\
|
||||
- .05 1 .25 0 1 .15 0 1 .05\n\
|
||||
-\n\
|
||||
-0 0 0 0 0 1\n\
|
||||
--.05 .25 1 .05 .25 1 -.05 .05 1 .05 .05 1\n\
|
||||
-\n\
|
||||
-1 0 0 1\n\
|
||||
-0 1 0 1\n\
|
||||
-0 .6 1 1\n}";
|
||||
-
|
||||
-static char *origin = "\n\
|
||||
-unit { \n\
|
||||
- { VECT\n\
|
||||
-8 19 3\n\
|
||||
-2 2 2 2 2 3 2 4\n\
|
||||
-1 0 0 1 0 0 1 0\n\
|
||||
-\n\
|
||||
-0 0 0 1 0 0\n\
|
||||
-1 -.05 .05 1 .05 .25\n\
|
||||
-1 .05 .05 1 -.05 .25\n\
|
||||
-\n\
|
||||
-0 0 0 0 1 0\n\
|
||||
--.05 1 .25 0 1 .15\n\
|
||||
- .05 1 .25 0 1 .15 0 1 .05\n\
|
||||
-\n\
|
||||
-0 0 0 0 0 1\n\
|
||||
--.05 .25 1 .05 .25 1 -.05 .05 1 .05 .05 1\n\
|
||||
-\n\
|
||||
-1 0 0 1\n\
|
||||
-0 1 0 1\n\
|
||||
-0 .6 1 1\n\
|
||||
- }\n\
|
||||
-}\n\
|
||||
-";
|
||||
-
|
||||
-static char *color1 = "\n\
|
||||
-0.26 0.7 0.7 1\
|
||||
-\n}\n";
|
||||
-
|
||||
-static char *fzold = "\n\
|
||||
-unit { \n\
|
||||
- { VECT\n\
|
||||
-3 6 1\n\
|
||||
-2 2 2\n\
|
||||
-1 0 0\n\
|
||||
-\n\
|
||||
-0 0 0 0 0 0.5\n\
|
||||
-.05 0 .4 0 0 0.5\n\
|
||||
-0 0 0.5 -.05 0 .4\n\
|
||||
-\n\
|
||||
-1 0 0 1\n\
|
||||
- }\n\
|
||||
-}\n\
|
||||
-";
|
||||
-
|
||||
-static char *fz = "\n\
|
||||
-unit { \n\
|
||||
- { VECT\n\
|
||||
-5 10 1\n\
|
||||
-2 2 2 2 2\n\
|
||||
-1 0 0 0 0\n\
|
||||
-\n\
|
||||
-0 0 0 0 0 0.5\n\
|
||||
-.05 0 .4 0 0 0.5\n\
|
||||
-0 0 0.5 -.05 0 .4\n\
|
||||
-0 .05 .4 0 0 0.5\n\
|
||||
-0 0 0.5 0 -.05 .4\n\
|
||||
-\n\
|
||||
-1 0 0 1\n\
|
||||
- }\n\
|
||||
-}\n\
|
||||
-";
|
||||
-
|
||||
-static char *constraint = "\n\
|
||||
-unit { \n\
|
||||
- { OFF\n\
|
||||
- 5 2 6\n\
|
||||
- 0 0 0\n\
|
||||
- -.1 0 .3\n\
|
||||
- .1 0 .3\n\
|
||||
- 0 -.1 .3\n\
|
||||
- 0 .1 .3\n\
|
||||
- 3 0 1 2 1 0 0 1\n\
|
||||
- 3 0 3 4 1 0 0 1\n\
|
||||
-\n\
|
||||
- }\n\
|
||||
-}\n\
|
||||
-";
|
||||
-
|
||||
-static char *constraintrot = "\n\
|
||||
-unit { \n\
|
||||
- { OFF\n\
|
||||
- 10 4 12\n\
|
||||
- 0 0 0\n\
|
||||
- -.07 -.07 .3\n\
|
||||
- .07 .07 .3\n\
|
||||
- -.07 .07 .3\n\
|
||||
- .07 -.07 .3\n\
|
||||
- 0 0 .3\n\
|
||||
- -.07 -.07 .6\n\
|
||||
- .07 .07 .6\n\
|
||||
- -.07 .07 .6\n\
|
||||
- .07 -.07 .6\n\
|
||||
- 3 0 1 2 0 1 0 1 \n\
|
||||
- 3 0 3 4 0 1 0 1 \n\
|
||||
- 3 5 6 7 0 1 0 1 \n\
|
||||
- 3 5 8 9 0 1 0 1 \n\
|
||||
-\n\
|
||||
- }\n\
|
||||
-}\n\
|
||||
-";
|
||||
-
|
||||
-static char *cross = "\n\
|
||||
-unit { \n\
|
||||
- { VECT\n\
|
||||
-3 6 1\n\
|
||||
-2 2 2\n\
|
||||
-1 0 0\n\
|
||||
-\n\
|
||||
--.1 0 0 .1 0 0\n\
|
||||
-0 -.1 0 0 .1 0\n\
|
||||
-0 0 -.1 0 0 .1\n\
|
||||
-\n\
|
||||
-1 1 1 1\n\
|
||||
- }\n\
|
||||
-}\n\
|
||||
-";
|
||||
-
|
||||
-static char *transformz = "\n\
|
||||
-INST\n\
|
||||
- transform\n\
|
||||
- 1 0 0 0\n\
|
||||
- 0 1 0 0\n\
|
||||
- 0 0 1 0\n\
|
||||
-";
|
||||
-static char *transformx = "\n\
|
||||
-INST\n\
|
||||
- transform\n\
|
||||
- 0 1 0 0\n\
|
||||
- 0 0 1 0\n\
|
||||
- 1 0 0 0\n\
|
||||
-";
|
||||
-static char *transformy = "\n\
|
||||
-INST\n\
|
||||
- transform\n\
|
||||
- 0 0 1 0\n\
|
||||
- 1 0 0 0\n\
|
||||
- 0 1 0 0\n\
|
||||
-";
|
||||
+static char *cone = "\n"
|
||||
+"unit { \n"
|
||||
+" { OFF\n"
|
||||
+"22 40 120\n"
|
||||
+"0.000000 1.000000 0.000000\n"
|
||||
+"0.000000 0.000000 0.000000\n"
|
||||
+"0.500000 0.000000 0.000000\n"
|
||||
+"0.475528 0.000000 0.154508\n"
|
||||
+"0.404508 0.000000 0.293893\n"
|
||||
+"0.293893 0.000000 0.404508\n"
|
||||
+"0.154508 0.000000 0.475528\n"
|
||||
+"0.000000 0.000000 0.500000\n"
|
||||
+"-0.154508 0.000000 0.475528\n"
|
||||
+"-0.293893 0.000000 0.404508\n"
|
||||
+"-0.404508 0.000000 0.293893\n"
|
||||
+"-0.475528 0.000000 0.154508\n"
|
||||
+"-0.500000 0.000000 0.000000\n"
|
||||
+"-0.475528 0.000000 -0.154508\n"
|
||||
+"-0.404508 0.000000 -0.293893\n"
|
||||
+"-0.293893 0.000000 -0.404508\n"
|
||||
+"-0.154508 0.000000 -0.475528\n"
|
||||
+"-0.000000 0.000000 -0.500000\n"
|
||||
+"0.154508 0.000000 -0.475528\n"
|
||||
+"0.293893 0.000000 -0.404508\n"
|
||||
+"0.404508 0.000000 -0.293893\n"
|
||||
+"0.475528 0.000000 -0.154508\n"
|
||||
+"3 2 3 0\n"
|
||||
+"3 3 2 1\n"
|
||||
+"3 3 4 0\n"
|
||||
+"3 4 3 1\n"
|
||||
+"3 4 5 0\n"
|
||||
+"3 5 4 1\n"
|
||||
+"3 5 6 0\n"
|
||||
+"3 6 5 1\n"
|
||||
+"3 6 7 0\n"
|
||||
+"3 7 6 1\n"
|
||||
+"3 7 8 0\n"
|
||||
+"3 8 7 1\n"
|
||||
+"3 8 9 0\n"
|
||||
+"3 9 8 1\n"
|
||||
+"3 9 10 0\n"
|
||||
+"3 10 9 1\n"
|
||||
+"3 10 11 0\n"
|
||||
+"3 11 10 1\n"
|
||||
+"3 11 12 0\n"
|
||||
+"3 12 11 1\n"
|
||||
+"3 12 13 0\n"
|
||||
+"3 13 12 1\n"
|
||||
+"3 13 14 0\n"
|
||||
+"3 14 13 1\n"
|
||||
+"3 14 15 0\n"
|
||||
+"3 15 14 1\n"
|
||||
+"3 15 16 0\n"
|
||||
+"3 16 15 1\n"
|
||||
+"3 16 17 0\n"
|
||||
+"3 17 16 1\n"
|
||||
+"3 17 18 0\n"
|
||||
+"3 18 17 1\n"
|
||||
+"3 18 19 0\n"
|
||||
+"3 19 18 1\n"
|
||||
+"3 19 20 0\n"
|
||||
+"3 20 19 1\n"
|
||||
+"3 20 21 0\n"
|
||||
+"3 21 20 1\n"
|
||||
+"3 21 2 0\n"
|
||||
+"3 2 21 1\n"
|
||||
+" }\n"
|
||||
+"}\n";
|
||||
+
|
||||
+static char *sphere = "\n"
|
||||
+"unit { \n"
|
||||
+" { MESH\n"
|
||||
+"10 10\n"
|
||||
+"0 0 1\n"
|
||||
+"0 0 1\n"
|
||||
+"0 0 1\n"
|
||||
+"0 0 1\n"
|
||||
+"0 0 1\n"
|
||||
+"0 0 1\n"
|
||||
+"0 0 1\n"
|
||||
+"0 0 1\n"
|
||||
+"0 0 1\n"
|
||||
+"0 0 1\n"
|
||||
+" \n"
|
||||
+"0.34202 0 0.9396\n"
|
||||
+"0.262003 0.219846 0.939693\n"
|
||||
+"0.0593912 0.336824 0.939693\n"
|
||||
+"-0.17101 0.296198 0.939693\n"
|
||||
+"-0.321394 0.116978 0.939693\n"
|
||||
+"-0.321394 -0.116978 0.939693\n"
|
||||
+"-0.17101 -0.296198 0.939693\n"
|
||||
+"0.0593912 -0.336824 0.939693\n"
|
||||
+"0.262003 -0.219846 0.939693\n"
|
||||
+"0.34202 -8.37708e-17 0.939693\n"
|
||||
+" \n"
|
||||
+"0.642788 0 0.766044\n"
|
||||
+"0.492404 0.413176 0.766044\n"
|
||||
+"0.111619 0.633022 0.766044\n"
|
||||
+"-0.321394 0.55667 0.766044\n"
|
||||
+"-0.604023 0.219846 0.766044\n"
|
||||
+"-0.604023 -0.219846 0.766044\n"
|
||||
+"-0.321394 -0.55667 0.766044\n"
|
||||
+"0.111619 -0.633022 0.766044\n"
|
||||
+"0.492404 -0.413176 0.766044\n"
|
||||
+"0.642788 -1.57438e-16 0.766044\n"
|
||||
+" \n"
|
||||
+"0.866025 0 0.5\n"
|
||||
+"0.663414 0.55667 0.5\n"
|
||||
+"0.150384 0.852869 0.5\n"
|
||||
+"-0.433013 0.75 0.5\n"
|
||||
+"-0.813798 0.296198 0.5\n"
|
||||
+"-0.813798 -0.296198 0.5\n"
|
||||
+"-0.433013 -0.75 0.5\n"
|
||||
+"0.150384 -0.852869 0.5\n"
|
||||
+"0.663414 -0.55667 0.5\n"
|
||||
+"0.866025 -2.12115e-16 0.5\n"
|
||||
+" \n"
|
||||
+"0.984808 0 0.173648\n"
|
||||
+"0.754407 0.633022 0.173648\n"
|
||||
+"0.17101 0.969846 0.173648\n"
|
||||
+"-0.492404 0.852868 0.173648\n"
|
||||
+"-0.925417 0.336824 0.173648\n"
|
||||
+"-0.925417 -0.336824 0.173648\n"
|
||||
+"-0.492404 -0.852869 0.173648\n"
|
||||
+"0.17101 -0.969846 0.173648\n"
|
||||
+"0.754407 -0.633022 0.173648\n"
|
||||
+"0.984808 -2.41208e-16 0.173648\n"
|
||||
+" \n"
|
||||
+"0.984808 0 -0.173648\n"
|
||||
+"0.754407 0.633022 -0.173648\n"
|
||||
+"0.17101 0.969846 -0.173648\n"
|
||||
+"-0.492404 0.852868 -0.173648\n"
|
||||
+"-0.925417 0.336824 -0.173648\n"
|
||||
+"-0.925417 -0.336824 -0.173648\n"
|
||||
+"-0.492404 -0.852869 -0.173648\n"
|
||||
+"0.17101 -0.969846 -0.173648\n"
|
||||
+"0.754407 -0.633022 -0.173648\n"
|
||||
+"0.984808 -2.41208e-16 -0.173648\n"
|
||||
+" \n"
|
||||
+"0.866025 0 -0.5\n"
|
||||
+"0.663414 0.55667 -0.5\n"
|
||||
+"0.150384 0.852868 -0.5\n"
|
||||
+"-0.433013 0.75 -0.5\n"
|
||||
+"-0.813798 0.296198 -0.5\n"
|
||||
+"-0.813798 -0.296198 -0.5\n"
|
||||
+"-0.433013 -0.75 -0.5\n"
|
||||
+"0.150384 -0.852868 -0.5\n"
|
||||
+"0.663414 -0.55667 -0.5\n"
|
||||
+"0.866025 -2.12115e-16 -0.5\n"
|
||||
+" \n"
|
||||
+"0.642788 0 -0.766044\n"
|
||||
+"0.492404 0.413176 -0.766044\n"
|
||||
+"0.111619 0.633022 -0.766044\n"
|
||||
+"-0.321394 0.55667 -0.766044\n"
|
||||
+"-0.604023 0.219846 -0.766044\n"
|
||||
+"-0.604023 -0.219846 -0.766044\n"
|
||||
+"-0.321394 -0.55667 -0.766044\n"
|
||||
+"0.111619 -0.633022 -0.766044\n"
|
||||
+"0.492404 -0.413176 -0.766044\n"
|
||||
+"0.642788 -1.57438e-16 -0.766044\n"
|
||||
+" \n"
|
||||
+"0.34202 0 -0.939693\n"
|
||||
+"0.262003 0.219846 -0.939693\n"
|
||||
+"0.0593912 0.336824 -0.939693\n"
|
||||
+"-0.17101 0.296198 -0.939693\n"
|
||||
+"-0.321394 0.116978 -0.939693\n"
|
||||
+"-0.321394 -0.116978 -0.939693\n"
|
||||
+"-0.17101 -0.296198 -0.939693\n"
|
||||
+"0.0593912 -0.336824 -0.939693\n"
|
||||
+"0.262003 -0.219846 -0.939693\n"
|
||||
+"0.34202 -8.37708e-17 -0.939693\n"
|
||||
+" \n"
|
||||
+"1.22465e-16 0 -1\n"
|
||||
+"9.38134e-17 7.87188e-17 -1\n"
|
||||
+"2.12658e-17 1.20604e-16 -1\n"
|
||||
+"-6.12323e-17 1.06058e-16 -1\n"
|
||||
+"-1.15079e-16 4.18854e-17 -1\n"
|
||||
+"-1.15079e-16 -4.18854e-17 -1\n"
|
||||
+"-6.12323e-17 -1.06058e-16 -1\n"
|
||||
+"2.12658e-17 -1.20604e-16 -1\n"
|
||||
+"9.38134e-17 -7.87188e-17 -1\n"
|
||||
+"1.22465e-16 -2.99952e-32 -1\n"
|
||||
+" }\n"
|
||||
+"}\n";
|
||||
+
|
||||
+static char *xyz = "{\n"
|
||||
+"=\n"
|
||||
+"VECT\n"
|
||||
+"8 19 3\n"
|
||||
+"2 2 2 2 2 3 2 4\n"
|
||||
+"1 0 0 1 0 0 1 0\n"
|
||||
+"\n"
|
||||
+"0 0 0 1 0 0\n"
|
||||
+"1 -.05 .05 1 .05 .25\n"
|
||||
+"1 .05 .05 1 -.05 .25\n"
|
||||
+"\n"
|
||||
+"0 0 0 0 1 0\n"
|
||||
+"-.05 1 .25 0 1 .15\n"
|
||||
+" .05 1 .25 0 1 .15 0 1 .05\n"
|
||||
+"\n"
|
||||
+"0 0 0 0 0 1\n"
|
||||
+"-.05 .25 1 .05 .25 1 -.05 .05 1 .05 .05 1\n"
|
||||
+"\n"
|
||||
+"1 0 0 1\n"
|
||||
+"0 1 0 1\n"
|
||||
+"0 .6 1 1\n}";
|
||||
+
|
||||
+static char *origin = "\n"
|
||||
+"unit { \n"
|
||||
+" { VECT\n"
|
||||
+"8 19 3\n"
|
||||
+"2 2 2 2 2 3 2 4\n"
|
||||
+"1 0 0 1 0 0 1 0\n"
|
||||
+"\n"
|
||||
+"0 0 0 1 0 0\n"
|
||||
+"1 -.05 .05 1 .05 .25\n"
|
||||
+"1 .05 .05 1 -.05 .25\n"
|
||||
+"\n"
|
||||
+"0 0 0 0 1 0\n"
|
||||
+"-.05 1 .25 0 1 .15\n"
|
||||
+" .05 1 .25 0 1 .15 0 1 .05\n"
|
||||
+"\n"
|
||||
+"0 0 0 0 0 1\n"
|
||||
+"-.05 .25 1 .05 .25 1 -.05 .05 1 .05 .05 1\n"
|
||||
+"\n"
|
||||
+"1 0 0 1\n"
|
||||
+"0 1 0 1\n"
|
||||
+"0 .6 1 1\n"
|
||||
+" }\n"
|
||||
+"}\n";
|
||||
+
|
||||
+static char *color1 = "\n"
|
||||
+"0.26 0.7 0.7 1"
|
||||
+"\n}\n";
|
||||
+
|
||||
+static char *fzold = "\n"
|
||||
+"unit { \n"
|
||||
+" { VECT\n"
|
||||
+"3 6 1\n"
|
||||
+"2 2 2\n"
|
||||
+"1 0 0\n"
|
||||
+"\n"
|
||||
+"0 0 0 0 0 0.5\n"
|
||||
+".05 0 .4 0 0 0.5\n"
|
||||
+"0 0 0.5 -.05 0 .4\n"
|
||||
+"\n"
|
||||
+"1 0 0 1\n"
|
||||
+" }\n"
|
||||
+"}\n";
|
||||
+
|
||||
+static char *fz = "\n"
|
||||
+"unit { \n"
|
||||
+" { VECT\n"
|
||||
+"5 10 1\n"
|
||||
+"2 2 2 2 2\n"
|
||||
+"1 0 0 0 0\n"
|
||||
+"\n"
|
||||
+"0 0 0 0 0 0.5\n"
|
||||
+".05 0 .4 0 0 0.5\n"
|
||||
+"0 0 0.5 -.05 0 .4\n"
|
||||
+"0 .05 .4 0 0 0.5\n"
|
||||
+"0 0 0.5 0 -.05 .4\n"
|
||||
+"\n"
|
||||
+"1 0 0 1\n"
|
||||
+" }\n"
|
||||
+"}\n";
|
||||
+
|
||||
+static char *constraint = "\n"
|
||||
+"unit { \n"
|
||||
+" { OFF\n"
|
||||
+" 5 2 6\n"
|
||||
+" 0 0 0\n"
|
||||
+" -.1 0 .3\n"
|
||||
+" .1 0 .3\n"
|
||||
+" 0 -.1 .3\n"
|
||||
+" 0 .1 .3\n"
|
||||
+" 3 0 1 2 1 0 0 1\n"
|
||||
+" 3 0 3 4 1 0 0 1\n"
|
||||
+"\n"
|
||||
+" }\n"
|
||||
+"}\n";
|
||||
+
|
||||
+static char *constraintrot = "\n"
|
||||
+"unit { \n"
|
||||
+" { OFF\n"
|
||||
+" 10 4 12\n"
|
||||
+" 0 0 0\n"
|
||||
+" -.07 -.07 .3\n"
|
||||
+" .07 .07 .3\n"
|
||||
+" -.07 .07 .3\n"
|
||||
+" .07 -.07 .3\n"
|
||||
+" 0 0 .3\n"
|
||||
+" -.07 -.07 .6\n"
|
||||
+" .07 .07 .6\n"
|
||||
+" -.07 .07 .6\n"
|
||||
+" .07 -.07 .6\n"
|
||||
+" 3 0 1 2 0 1 0 1 \n"
|
||||
+" 3 0 3 4 0 1 0 1 \n"
|
||||
+" 3 5 6 7 0 1 0 1 \n"
|
||||
+" 3 5 8 9 0 1 0 1 \n"
|
||||
+"\n"
|
||||
+" }\n"
|
||||
+"}\n";
|
||||
+
|
||||
+static char *cross = "\n"
|
||||
+"unit { \n"
|
||||
+" { VECT\n"
|
||||
+"3 6 1\n"
|
||||
+"2 2 2\n"
|
||||
+"1 0 0\n"
|
||||
+"\n"
|
||||
+"-.1 0 0 .1 0 0\n"
|
||||
+"0 -.1 0 0 .1 0\n"
|
||||
+"0 0 -.1 0 0 .1\n"
|
||||
+"\n"
|
||||
+"1 1 1 1\n"
|
||||
+" }\n"
|
||||
+"}\n";
|
||||
+
|
||||
+static char *transformz = "\n"
|
||||
+"INST\n"
|
||||
+" transform\n"
|
||||
+" 1 0 0 0\n"
|
||||
+" 0 1 0 0\n"
|
||||
+" 0 0 1 0\n";
|
||||
+
|
||||
+static char *transformx = "\n"
|
||||
+"INST\n"
|
||||
+" transform\n"
|
||||
+" 0 1 0 0\n"
|
||||
+" 0 0 1 0\n"
|
||||
+" 1 0 0 0\n";
|
||||
+
|
||||
+static char *transformy = "\n"
|
||||
+"INST\n"
|
||||
+" transform\n"
|
||||
+" 0 0 1 0\n"
|
||||
+" 1 0 0 0\n"
|
||||
+" 0 1 0 0\n";
|
||||
|
||||
-static char *zero = " \nunit { { VECT 2 11 1 2 9 1 0 0 20 0 28 56 0 24 0 0 8 0 0 0 8 0 0 48 0 8 64 0
|
||||
-24 64 0 32 52 0 32 12 0 24 0 0 1 1 1 1}} ";
|
||||
+static char *zero = " \nunit { { VECT 2 11 1 2 9 1 0 0 20 0 28 56 0 24 0 0 8 0 0 0 8 0 0 48 0 8 64 0 24 64 0 32 52 0 32 12 0 24 0 0 1 1 1 1}} ";
|
||||
static char *one = " \nunit { { VECT 2 5 1 2 3 1 0 4 0 0 28 0 0 4 44 0 16 64 0 16 0 0 1 1 1 1} } ";
|
||||
-static char *two = " \nunit { { VECT 1 7 1 7 1 0 56 0 8 64 0 24 64 0 32 56 0 32 40 0 0 0 0 32 0 0 1
|
||||
-1 1 1} } ";
|
||||
-static char *three = " \nunit { { VECT 2 13 1 2 11 1 0 8 36 0 24 36 0 0 56 0 8 64 0 24 64 0 32 56 0
|
||||
-32 44 0 24 36 0 32 24 0 32 8 0 24 0 0 8 0 0 0 8 0 1 1 1 1} } ";
|
||||
-static char *four = " \nunit { { VECT 2 5 1 2 3 1 0 28 64 0 28 0 0 12 64 0 0 36 0 36 36 0 1 1 1 1} }
|
||||
-";
|
||||
-static char *five = " \nunit { { VECT 1 9 1 9 1 28 64 0 4 64 0 0 36 0 24 36 0 32 24 0 32 8 0 24 0 0
|
||||
-8 0 0 0 8 0 1 1 1 1} } ";
|
||||
-static char *six = " \nunit { { VECT 1 12 1 12 1 32 56 0 24 64 0 8 64 0 0 56 0 0 8 0 8 0 0 24 0 0
|
||||
-32 8 0 32 28 0 24 36 0 8 36 0 0 28 0 1 1 1 1} } ";
|
||||
+static char *two = " \nunit { { VECT 1 7 1 7 1 0 56 0 8 64 0 24 64 0 32 56 0 32 40 0 0 0 0 32 0 0 1 1 1 1} } ";
|
||||
+static char *three = " \nunit { { VECT 2 13 1 2 11 1 0 8 36 0 24 36 0 0 56 0 8 64 0 24 64 0 32 56 0 32 44 0 24 36 0 32 24 0 32 8 0 24 0 0 8 0 0 0 8 0 1 1 1 1} } ";
|
||||
+static char *four = " \nunit { { VECT 2 5 1 2 3 1 0 28 64 0 28 0 0 12 64 0 0 36 0 36 36 0 1 1 1 1} } ";
|
||||
+static char *five = " \nunit { { VECT 1 9 1 9 1 28 64 0 4 64 0 0 36 0 24 36 0 32 24 0 32 8 0 24 0 0 8 0 0 0 8 0 1 1 1 1} } ";
|
||||
+static char *six = " \nunit { { VECT 1 12 1 12 1 32 56 0 24 64 0 8 64 0 0 56 0 0 8 0 8 0 0 24 0 0 32 8 0 32 28 0 24 36 0 8 36 0 0 28 0 1 1 1 1} } ";
|
||||
static char *seven = " \nunit { { VECT 1 4 1 4 1 0 56 0 4 64 0 32 64 0 8 0 0 1 1 1 1} } ";
|
||||
-static char *eight = " \nunit { { VECT 1 16 1 16 1 20 36 0 28 44 0 28 56 0 20 64 0 12 64 0 4 56 0 4
|
||||
-44 0 12 36 0 20 36 0 32 24 0 32 8 0 24 0 0 8 0 0 0 8 0 0 24 0 12 36 0 1 1 1 1} } ";
|
||||
-static char *nine = " \nunit { { VECT 1 12 1 12 1 32 44 0 24 36 0 8 36 0 0 44 0 0 56 0 8 64 0 24 64
|
||||
-0 32 56 0 32 8 0 24 0 0 8 0 0 0 8 0 1 1 1 1} } ";
|
||||
+static char *eight = " \nunit { { VECT 1 16 1 16 1 20 36 0 28 44 0 28 56 0 20 64 0 12 64 0 4 56 0 4 44 0 12 36 0 20 36 0 32 24 0 32 8 0 24 0 0 8 0 0 0 8 0 0 24 0 12 36 0 1 1 1 1} } ";
|
||||
+static char *nine = " \nunit { { VECT 1 12 1 12 1 32 44 0 24 36 0 8 36 0 0 44 0 0 56 0 8 64 0 24 64 0 32 56 0 32 8 0 24 0 0 8 0 0 0 8 0 1 1 1 1} } ";
|
@ -1,22 +0,0 @@
|
||||
--- src/Velvet/opengl.c.orig Wed Mar 22 11:41:45 2000
|
||||
+++ src/Velvet/opengl.c Sun Jul 22 23:36:45 2007
|
||||
@@ -35,7 +35,6 @@
|
||||
#include <X11/Shell.h>
|
||||
#include <X11/Xaw/Command.h>
|
||||
#include <X11/Xaw/Toggle.h>
|
||||
-#include <GL/xmesa.h>
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glu.h>
|
||||
#include <GL/GLwDrawA.h>
|
||||
@@ -789,7 +788,11 @@
|
||||
shell, args, n);
|
||||
|
||||
|
||||
+#ifdef __GLX_MOTIF
|
||||
+ mesa = XtVaCreateManagedWidget ("mesa", glwMDrawingAreaWidgetClass, layout,
|
||||
+#else
|
||||
mesa = XtVaCreateManagedWidget ("mesa", glwDrawingAreaWidgetClass, layout,
|
||||
+#endif
|
||||
GLwNvisualInfo, vi,
|
||||
GLwNinstallColormap, True,
|
||||
XtNheight, 500,
|
@ -1,11 +0,0 @@
|
||||
--- src/Velvet/Makefile.orig Sat Jan 29 18:21:57 2005
|
||||
+++ src/Velvet/Makefile Sat Jan 29 18:19:36 2005
|
||||
@@ -18,7 +18,7 @@
|
||||
CFLAGS = $(CCOPTS) -I$(X11INC) -I$(TOPDIR)/include
|
||||
LDFLAGS = $(LDOPTS) -L$(X11LIB)
|
||||
LIBS = $(LIBWIDGETS) $(LIBGEN) $(LIBFELT) $(LIBELT) $(LIBMTX)\
|
||||
- -lGLw -lGLU -lGL -lXaw3d -lXmu -lXt -lSM -lICE -lXext -lX11 -lm
|
||||
+ $(MOTIFLIB) -lGLw -lGLU -lGL -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lm
|
||||
# /usr/X11R6/lib/libXaw3d.a /usr/X11R6/lib/libXmu.so.6.0 \
|
||||
# /usr/X11R6/lib/libXt.so.6.0 /usr/X11R6/lib/libSM.so.6.0 \
|
||||
# /usr/X11R6/lib/libICE.so.6.0 /usr/X11R6/lib/libXext.so.6.0 \
|
@ -1,11 +0,0 @@
|
||||
--- src/Velvet/analysis.c.orig Tue Mar 13 19:14:27 2007
|
||||
+++ src/Velvet/analysis.c Tue Mar 13 19:14:35 2007
|
||||
@@ -964,7 +964,7 @@
|
||||
************************************************************************/
|
||||
|
||||
# if defined(__STDC__)
|
||||
-void AnalysisDialogUpdate (AnalysisDialog analysisd, int force)
|
||||
+void AnalysisDialogUpdate (AnalysisDialog analysisd, Boolean force)
|
||||
# else
|
||||
void AnalysisDialogUpdate (analysisd,force)
|
||||
AnalysisDialog analysisd;
|
@ -1,11 +0,0 @@
|
||||
--- src/Burlap/descriptor.c.orig Tue Feb 22 07:44:29 2000
|
||||
+++ src/Burlap/descriptor.c Sat Aug 4 22:27:44 2007
|
||||
@@ -307,7 +307,7 @@
|
||||
D_Type (dest) = T_External;
|
||||
D_Temp (dest) = F_False;
|
||||
D_Trapped (dest) = F_False;
|
||||
- D_External (dest) = D_External (src);
|
||||
+ dest->u.ptr = D_External (src);
|
||||
break;
|
||||
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- src/Burlap/fefunc.c.orig Tue Feb 22 07:44:30 2000
|
||||
+++ src/Burlap/fefunc.c Sat Aug 4 22:27:48 2007
|
||||
@@ -190,7 +190,7 @@
|
||||
D_Type (arg1) = T_Element;
|
||||
D_Temp (arg1) = F_False;
|
||||
D_Trapped (arg1) = F_False;
|
||||
- D_Element (arg1) = &element;
|
||||
+ arg1->u.ptr = &element;
|
||||
|
||||
D_Type (arg2) = T_Int;
|
||||
D_Temp (arg2) = F_False;
|
||||
@@ -247,7 +247,7 @@
|
||||
D_Type (arg1) = T_Element;
|
||||
D_Temp (arg1) = F_False;
|
||||
D_Trapped (arg1) = F_False;
|
||||
- D_Element (arg1) = &element;
|
||||
+ arg1->u.ptr = &element;
|
||||
|
||||
if (!function_call (function, 1)) {
|
||||
result = top ( );
|
@ -1,20 +0,0 @@
|
||||
--- src/Burlap/felt.c.orig Tue Feb 22 07:44:30 2000
|
||||
+++ src/Burlap/felt.c Sat Aug 4 22:27:50 2007
|
||||
@@ -1780,7 +1780,7 @@
|
||||
D_Type (d) = T_Problem;
|
||||
D_Temp (d) = F_False;
|
||||
D_Trapped (d) = F_False;
|
||||
- D_Problem (d) = &problem;
|
||||
+ d->u.ptr = &problem;
|
||||
|
||||
|
||||
s = add_literal (&var_st, "analysis", GlblOp);
|
||||
@@ -1789,7 +1789,7 @@
|
||||
D_Type (d) = T_Analysis;
|
||||
D_Temp (d) = F_False;
|
||||
D_Trapped (d) = F_False;
|
||||
- D_Analysis (d) = &analysis;
|
||||
+ d->u.ptr = &analysis;
|
||||
|
||||
return 0;
|
||||
}
|
14
science/felt/files/patch-src__Velvet__Velvet.ad
Normal file
14
science/felt/files/patch-src__Velvet__Velvet.ad
Normal file
@ -0,0 +1,14 @@
|
||||
--- src/Velvet/Velvet.ad.orig 2009-04-20 01:27:34.000000000 +0900
|
||||
+++ src/Velvet/Velvet.ad 2012-07-11 23:01:19.000000000 +0900
|
||||
@@ -1046,7 +1046,7 @@
|
||||
|
||||
! 3d specific defaults
|
||||
|
||||
-!*shapeStyle: Rectangle
|
||||
-!*control*spacer.height: 43
|
||||
-!*control*MenuButton*height: 26
|
||||
-!*control*Command*height: 26
|
||||
+*shapeStyle: Rectangle
|
||||
+*control*spacer.height: 43
|
||||
+*control*MenuButton*height: 26
|
||||
+*control*Command*height: 26
|
@ -7,102 +7,102 @@ bin/velvet
|
||||
bin/yardstick
|
||||
lib/X11/app-defaults/Velvet.ad
|
||||
%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/frame3.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beam3d_b.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/brick_ring.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/brick_cap.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/brick_beam.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bridge.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cube.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iso.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pstress.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pstress_a.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss3d.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss_d.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/distrib.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/distrib_a.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/distrib_b.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/frame.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/htk_modal.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mixed_dist.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mixed.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pstress_dist.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss_a.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/axisymm.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beam.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beam3d_2d.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iso_a.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/distrib_c.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iso_b.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iso_c.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iso_tri.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss_trig.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrench.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/isoq_dist.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/isoq_tri.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/distrib_d.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beam3d_a.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beam3d_b.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beam3d_dist.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pstress_new.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mixed_dist.ans
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/displ.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beam3d_dist_a.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/german.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/errors.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/distrib_e.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/timoshenko.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/timoshenko_a.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/timoshenko_c.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/global.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/global_a.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hinged.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tower.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/global3d_a.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/global3d.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/global3d_b.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bicycle_boys.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bicycle_girls.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dynamic.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dynframe.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/golden.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bridge_dyn.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/htk.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss_canvas.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/brick.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beam_ss.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dist_mult.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/modal.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/modal_8.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/modal_sample.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ctg.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ctg_simple.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/heat.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rod.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beamspec.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/heat_transient.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rod_transient.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dynspect.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/spring_modal.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/spring2.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss_spec.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/boxtruss.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bridge_spec.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/loadcase1.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/axisymm.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beam_lc.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beam_nl.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beam_range.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beam_ss.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beamspec.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bicycle_boys.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bicycle_girls.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/boxtruss.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/brick.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/brick_beam.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/brick_cap.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/brick_ring.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bridge.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bridge_dyn.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bridge_spec.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ctg.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ctg_simple.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cube.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/displ.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dist_mult.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/distrib.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/distrib_a.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/distrib_b.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/distrib_c.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/distrib_d.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/distrib_e.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dynamic.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dynframe.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dynspect.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/errors.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/flexure.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/frame.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/frame3.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/german.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/global.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/global3d.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/global3d_a.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/global3d_b.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/global_a.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/golden.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/heat.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/heat_transient.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hinged.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/htk.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/htk_modal.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iso.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iso_a.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iso_b.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iso_c.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iso_tri.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/isoq_dist.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/isoq_tri.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/loadcase1.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mixed.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mixed_dist.ans
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mixed_dist.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/modal.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/modal_8.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/modal_sample.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/modal_test.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nl_range.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pstress.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pstress_a.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pstress_dist.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pstress_new.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rod.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rod_transient.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/spring2.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/spring_modal.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/timoshenko.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/timoshenko_a.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/timoshenko_c.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tower.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss3d.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss_a.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss_canvas.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss_d.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss_nl.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/beam3d_a.flt
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss_spec.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/truss_trig.flt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrench.flt
|
||||
%%DATADIR%%/beam.defaults
|
||||
%%DATADIR%%/material.defaults
|
||||
%%DATADIR%%/truss.defaults
|
||||
%%DATADIR%%/german.trn
|
||||
%%DATADIR%%/german_new.trn
|
||||
%%DATADIR%%/material.defaults
|
||||
%%DATADIR%%/spanish.trn
|
||||
%%DATADIR%%/truss.defaults
|
||||
@dirrm %%DATADIR%%
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user