gfan stable port information

Package: gfan
Version: 0.5
Revision: 1
Maintainer: Dustin Cartwright
HomePage: http://www.math.tu-berlin.de/~jensen/software/gfan/gfan.html
License: GPL
Description: Computes Grobner fans and tropical varieties
DescDetail: <<
Gfan is a software package for computing Grobner fans and tropical varieties,
which are polyhedral fans associated to polynomial ideals. It contains many
tools which are useful in the stody of Grobner bases, intial ideals, and
tropical geometry.
<<
BuildDepends: fink (>= 0.24.12), gmp, cddlib
Source: http://www.math.tu-berlin.de/~jensen/software/gfan/gfan%v.tar.gz
Source-MD5: 2d76d1625e0766c57c2b3ece809c23c8
Source2: http://www.math.tu-berlin.de/~jensen/software/gfan/gfanmanual%v.pdf
Source2-MD5: 3151b479749ed03acddb82307253e081
SourceDirectory: gfan%v
PatchFile: %n.patch
PatchFile-MD5: c869adc5305510559b79ce8296396cce
GCC: 4.0
CompileScript: <<
make gmppath=%p cddpath=%p
<<
InfoTest: <<
TestScript: <<
./gfan _test
<<
<<
DocFiles: COPYING ../gfanmanual%v.pdf
InstallScript: make -j1 install PREFIX=%i
DescPort: <<
The patch changes the installlinks command to create links with relative
instead of absolute paths, which would break under fink.
<<
UseMaxBuildJobs: true

gfan stable port .patch

diff -ru gfan0.5/application.cpp gfan0.5-patched/application.cpp
--- gfan0.5/application.cpp 2011-01-25 16:33:16.000000000 +0100
+++ gfan0.5-patched/application.cpp 2011-05-18 22:46:02.000000000 +0200
@@ -547,7 +547,7 @@
if(strlen(p->name())>0)
{
char c[1024];
- sprintf(c,"ln -s %s%s %s%s%s\n",path,name,path,name,p->name());
+ sprintf(c,"ln -s %s %s%s%s\n",name,path,name,p->name());
fprintf(stderr,"%s",c);
system(c);
}
diff -ru gfan0.5/testsuite/0056WeildDivisor/command gfan0.5-patched/testsuite/0056WeildDivisor/command
--- gfan0.5/testsuite/0056WeildDivisor/command 2011-01-25 16:33:19.000000000 +0100
+++ gfan0.5-patched/testsuite/0056WeildDivisor/command 2011-05-18 22:52:23.000000000 +0200
@@ -1 +1 @@
-%s _tropicalhypersurface >temp1.poly ; %s _tropicalweildivisor -i1 temp1.poly -i2 func.poly > temp2.poly ; %s _tropicalweildivisor -i1 temp2.poly -i2 func.poly | grep MULTIPLICITIES -A1
+%s _tropicalhypersurface >temp1.poly ; %s _tropicalweildivisor -i1 temp1.poly -i2 testsuite/0056WeildDivisor/func.poly > temp2.poly ; %s _tropicalweildivisor -i1 temp2.poly -i2 testsuite/0056WeildDivisor/func.poly | grep MULTIPLICITIES -A1
diff -ru gfan0.5/testsuite/0507InitialIdeal/command gfan0.5-patched/testsuite/0507InitialIdeal/command
--- gfan0.5/testsuite/0507InitialIdeal/command 2011-01-25 10:33:20.000000000 -0500
+++ gfan0.5-patched/testsuite/0507InitialIdeal/command 2012-02-17 16:07:45.000000000 -0500
@@ -1 +1 @@
-gfan _overintegers --initialIdeal -m
+%s _overintegers --initialIdeal -m
diff -ru gfan0.5/testsuite/0508IntegerGroebnerCone/command gfan0.5-patched/testsuite/0508IntegerGroebnerCone/command
--- gfan0.5/testsuite/0508IntegerGroebnerCone/command 2011-01-25 10:33:20.000000000 -0500
+++ gfan0.5-patched/testsuite/0508IntegerGroebnerCone/command 2012-02-17 16:07:45.000000000 -0500
@@ -1 +1 @@
-gfan _overintegers --groebnerCone | grep N_RAYS -v | grep RAYS -A3 | sort
+%s _overintegers --groebnerCone | grep N_RAYS -v | grep RAYS -A3 | sort
diff -ru gfan0.5/testsuite/0509IntegerGroebnerFan/command gfan0.5-patched/testsuite/0509IntegerGroebnerFan/command
--- gfan0.5/testsuite/0509IntegerGroebnerFan/command 2011-01-25 10:33:20.000000000 -0500
+++ gfan0.5-patched/testsuite/0509IntegerGroebnerFan/command 2012-02-17 16:07:45.000000000 -0500
@@ -1 +1 @@
-gfan _overintegers --groebnerFan |grep F_VECTOR
+%s _overintegers --groebnerFan |grep F_VECTOR

gfan _unstable_ port .patch