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: 1005
Maintainer: None
Depends: <<
libgl,
libjpeg8-shlibs,
libpng15-shlibs,
libtiff-shlibs,
readline5-shlibs (>= 5.0-1004),
x11,
xforms-shlibs (>= 1.0.90-4)
<<
BuildDepends: <<
fink (>= 0.24.12-1),
fink-package-precedence,
libjpeg8,
libpng15,
libtiff,
readline5 (>= 5.0-1004),
x11-dev,
xforms (>= 1.0.90-4)
<<
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: 91285817191fb9a7f900a95a44d67a6f
SetCPPFLAGS: -MD
SetLDFLAGS: -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 I_PATHS="$CPPFLAGS -I/usr/X11R6/include" L_PATHS="$LDFLAGS -L/usr/X11R6/lib"
fink-package-precedence --depfile-ext='\.d' .
<<
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
diff -Nurd -x'*~' dynagraph-1.3f.orig/src/write_png.c dynagraph-1.3f/src/write_png.c
--- dynagraph-1.3f.orig/src/write_png.c 2002-07-01 09:44:28.000000000 -0400
+++ dynagraph-1.3f/src/write_png.c 2011-09-26 01:19:02.000000000 -0400
@@ -36,7 +36,7 @@
return;
}
- if (setjmp(png_ptr->jmpbuf)) {
+ if (setjmp(png_jmpbuf(png_ptr))) {
printf("\terror: an error occured in the PNG library initialization\n");
fclose(fp);
png_destroy_write_struct(&png_ptr, (png_infopp) NULL);