Update of /cvsroot/fink/experimental/fangism/finkinfo
In directory vz-cvs-3.sog:/tmp/cvs-serv19634
Added Files:
octave-forge-symbolic.info
Log Message:
work-in-progress, compile fails now
--- NEW FILE: octave-forge-symbolic.info ---
Info2: <<
Package: octave-forge-symbolic
Version: 1.0.9
Revision: 1
Type: octave (3.0.5), forge (symbolic)
Maintainer: Alexander Hansen <[email protected]>
BuildDepends: <<
gcc44,
ginac2 ,
pkgconfig (>= 0.9.0)
<<
Depends: <<
gcc44-shlibs,
ginac2-shlibs,
octave (>= %type_raw[octave]-1) | octave-atlas (>= %type_raw[octave]-1),
octave (<= %type_raw[octave]-9999) | octave-atlas (<= %type_raw[octave]-9999)
<<
Conflicts: octave-forge
Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz
Source-MD5: ff27e5482b3b4025d13b3bbf23b8c7d9
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
SetLIBRARY_PATH: /usr/X11R6/lib:%p/lib
SetMAKEFLAGS: -j1
CompileScript: echo ''
InstallScript: <<
#!/bin/bash -ev
export CPATH=/usr/X11R6/include:%p/include
cd ..
m=%i/share/octave/packages
o=%i/lib/octave/packages
mkdir -p $m $o
echo "pkg prefix $m $o" > tmp
echo "pkg global_list %i/share/octave/octave_packages" >> tmp
echo "pkg install -verbose -nodeps %type_raw[forge]-%v" >> tmp
octave -V tmp
echo "load %i/share/octave/octave_packages" > tmp
echo "striplength = length('%d');" >> tmp
echo "apfx = global_packages {1}.archprefix;" >> tmp
echo "global_packages {1}.archprefix = apfx(striplength+1:end);" >> tmp
echo "dr = global_packages {1}.dir;" >> tmp
echo "global_packages {1}.dir = dr(striplength+1:end);" >> tmp
echo "save -text %i/share/octave/octave_packages global_packages" >> tmp
octave -q tmp
mv %i/share/octave/octave_packages
%i/share/octave/packages/%type_raw[forge]-%v/.
rm -rf %i/share/octave/packages/%type_raw[forge]-%v/doc/RCS
<<
PostInstScript: <<
if [ -f %p/share/octave/octave_packages ]
then
tf=/var/tmp/tmp-inst
echo "load %p/share/octave/packages/%type_raw[forge]-%v/octave_packages" > $tf
echo "newpackage = global_packages;" >> $tf
echo "load %p/share/octave/octave_packages" >> $tf
echo "global_packages = {global_packages{:},newpackage{:}};" >> $tf
echo "save -text %p/share/octave/octave_packages global_packages" >> $tf
octave -q $tf
rm %p/share/octave/packages/%type_raw[forge]-%v/octave_packages
rm $tf
else
mv %p/share/octave/packages/%type_raw[forge]-%v/octave_packages
%p/share/octave/octave_packages
fi
<<
PreRmScript: <<
tf=/var/tmp/tmp-rem
echo "load %p/share/octave/octave_packages" > $tf
echo "for i = 1:length(global_packages)" >> $tf
echo " if strcmp(global_packages{i}.name,'%type_raw[forge]')" >> $tf
echo " global_packages(i) = [];" >> $tf
echo " break" >> $tf
echo " endif" >> $tf
echo "endfor" >> $tf
echo "save -text %p/share/octave/octave_packages global_packages" >> $tf
octave -q $tf
rm $tf
<<
Description: Symbolic library bindings for octave
DescDetail: <<
Octave bindings to the GiNaC Library.
Provides the following special functions:
Symbols
symbols: Initialize symbolic manipulation
sym: Create an object of type symbol
ex_matrix: Creates a variable precision arithmetic variable from S.
Pi: Pi evaluated to the current value of Digits
Extended precision arithmetic
digits: Change the precision for the vpa type
vpa: Creates a variable precision arithmetic variable from S.
to_double: Convert a vpa, string, ex or string type to a double.
Properties
is_ex: Return true if an object is a symbolic expression.
is_ex_matrix: Not implemented.
is_sym: Return true if an object is of type sym false otherwise.
is_vpa: Return true if an object is of type vpa, false otherwise.
syminfo: Returns information of symbolic expression EQN in a structure.
Expression manipulation
subs: Substitute variables in an expression.
collect: collect the terms in A as a univariate polynomial in X.
expand: Expand an expression A.
lcoeff: Return the leading coefficient of a symbolic expression.
numden: Return the numerator and denominator of symbolic expression F.
findsymbols: Returns the symbols in symbolic expression F in a list.
findsym: Find symbols in expression F.
Special Functions
Abs: Not implemented.
Cos: Return the cosine of a symbolic expression.
Cosh: Return the hyperbolic cosine of a symbolic expression.
Exp: Return the exponential of a symbolic expression.
Gcd: Not implemented.
Log: Return the logarithm of a symbolic expression.
Sin: Return the sine of a symbolic expression.
Sinh: Return the hyperbolic sine of a symbolic expression.
Tan: Return the tangent of a symbolic expression.
Tanh: Return the hyperbolic tangent of a symbolic expression.
aCos: Return the inverse cosine of a symbolic expression.
aCosh: Return the inverse hyperbolic cosine of a symbolic expression.
aSin: Return the inverse sine of a symbolic expression.
aSinh: Return the inverse hyperbolic sine of a symbolic expression.
aTan: Return the inverse tangent of a symbolic expression.
aTanh: Return the inverse hyperbolic tangent of a symbolic expression.
Sqrt: Return the square root of a symbolic expression.
Polynomials
tcoeff: Return the trailing coeffiecient of a symbolic expression.
coeff: Obtain the Nth coefficient of the variable X in A.
degree: Return the degree of a symbolic expression.
ldegree: Return the low degree of a symbolic expression.
sym2poly: Not implemented.
poly2sym: Not implemented.
sumterms: Returns a list of terms that are summed in expression F.
Calculus
differentiate: Return the Nth derivative of A with respect to X.
Solving Equations
symlsolve: Apply the GiNaC lsolve() method to the given linear system.
symfsolve: Solve a set of symbolic equations using fsolve().
Number theory
probably_prime: Return true if the number is probably prime.
quotient: Return the quotient of a symbolic expression.
remainder: Return the remainder of a symbolic expression.
premainder: Return the pseudo-remainder of a symbolic expression.
Plot
splot: Plot a symbolic function f(x) over range.
Conversion
to_char: Convert a vpa, string, ex type to a string.
<<
Homepage: http://octave.sourceforge.net/symbolic/index.html
License: GPL
<<
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs