the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: dynagraph
Version: 1.3f
Revision: 1002
Maintainer: None
Depends: libgl, libjpeg-shlibs, libpng3-shlibs, libtiff-shlibs, readline5-shlibs (>= 5.0-1004), libncurses5-shlibs (>= 5.4-20041023-1006), xforms-shlibs (>= 1.0-1), x11
BuildDepends: libjpeg, libpng3, libtiff, readline5 (>= 5.0-1004), libncurses5 (>= 5.4-20041023-1006), xforms (>= 1.0-1), x11-dev, fink (>= 0.24.12-1)
Source: http://www.math.umbc.edu/~rouben/dynagraph/download/%n-%v-src.tar.gz
Source-MD5: fd790be9186a28b8779a19724100eba3
SourceDirectory: %n-%v
PatchFile: %n.patch
PatchFile-MD5: ff0ac5077352f33d973cb2050bb378e5
SetLDFLAGS: -L/usr/X11R6/lib -framework OpenGL -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
CompileScript: make PREFIX=%p L_PATHS="$LDFLAGS"
InstallScript: <<
make PREFIX=%i MANDIR=%i/share/man/man1 install
mkdir -p %i/share/doc/%n
ln -s %p/share/%n/html %i/share/doc/%n
<<
DocFiles: BUGS Changes COPYRIGHT README
Description: 3D plotting utility for X
DescDetail: <<
Dynagraph is a 3D plotting utility for the X Window System. It draws
graphs of mathematical symbolic expressions and numerical data and allows
interactive rotations, zooming, and other manipulations of the displayed
graph.
<<
DescPackaging: <<
Originally packaged by Matt Stephenson.
<<
License: GPL
Homepage: http://www.math.umbc.edu/~rouben/dynagraph
diff -Nurd -x'*~' dynagraph-1.3f.orig/src/glcanvas.c dynagraph-1.3f/src/glcanvas.c
--- dynagraph-1.3f.orig/src/glcanvas.c 2003-10-28 19:54:36.000000000 -0500
+++ dynagraph-1.3f/src/glcanvas.c 2005-12-21 03:03:42.000000000 -0500
@@ -38,6 +38,11 @@
}
CSPEC;
+/* forward declaration */
+FL_OBJECT *
+fl_create_glcanvas(int type, FL_Coord x, FL_Coord y, FL_Coord w, FL_Coord h,
+ const char *label);
+
/*
* Default GL canvas configuration. The user can modify this default
* using fl_set_glcanvas_defaults(const int *config) or
Package: dynagraph
Version: 1.3f
Revision: 1002
Maintainer: None
Depends: libgl, libjpeg-shlibs, libpng3-shlibs, libtiff-shlibs, readline5-shlibs (>= 5.0-1004), libncurses5-shlibs (>= 5.4-20041023-1006), xforms-shlibs (>= 1.0-1), x11
BuildDepends: libjpeg, libpng3, libtiff, readline5 (>= 5.0-1004), libncurses5 (>= 5.4-20041023-1006), xforms (>= 1.0-1), x11-dev, fink (>= 0.24.12-1)
Source: http://www.math.umbc.edu/~rouben/dynagraph/download/%n-%v-src.tar.gz
Source-MD5: fd790be9186a28b8779a19724100eba3
SourceDirectory: %n-%v
PatchFile: %n.patch
PatchFile-MD5: ff0ac5077352f33d973cb2050bb378e5
SetLDFLAGS: -L/usr/X11R6/lib -framework OpenGL -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
CompileScript: make PREFIX=%p L_PATHS="$LDFLAGS"
InstallScript: <<
make PREFIX=%i MANDIR=%i/share/man/man1 install
mkdir -p %i/share/doc/%n
ln -s %p/share/%n/html %i/share/doc/%n
<<
DocFiles: BUGS Changes COPYRIGHT README
Description: 3D plotting utility for X
DescDetail: <<
Dynagraph is a 3D plotting utility for the X Window System. It draws
graphs of mathematical symbolic expressions and numerical data and allows
interactive rotations, zooming, and other manipulations of the displayed
graph.
<<
DescPackaging: <<
Originally packaged by Matt Stephenson.
<<
License: GPL
Homepage: http://www.math.umbc.edu/~rouben/dynagraph
diff -Nurd -x'*~' dynagraph-1.3f.orig/src/glcanvas.c dynagraph-1.3f/src/glcanvas.c
--- dynagraph-1.3f.orig/src/glcanvas.c 2003-10-28 19:54:36.000000000 -0500
+++ dynagraph-1.3f/src/glcanvas.c 2005-12-21 03:03:42.000000000 -0500
@@ -38,6 +38,11 @@
}
CSPEC;
+/* forward declaration */
+FL_OBJECT *
+fl_create_glcanvas(int type, FL_Coord x, FL_Coord y, FL_Coord w, FL_Coord h,
+ const char *label);
+
/*
* Default GL canvas configuration. The user can modify this default
* using fl_set_glcanvas_defaults(const int *config) or