the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: xmountains
Version: 2.7
Revision: 1
Source: http://www.epcc.ed.ac.uk/~spb/%n/%n_%v.tar.gz
Source-MD5: 871c43cc065b20a42b9da3e8ecaa5293
SourceDirectory: .
BuildDepends: fink (>= 0.24.12-1), x11-dev, xmkmf (>= 1.0.2-3)
Depends: x11
PatchFile: %n.patch
PatchFile-MD5: 35ff791fdad9a9e01b7f8c20327a7545
CompileScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
export IMAKEINCLUDE=-I%p/lib/X11/config
xmkmf
make
cat copyright.h >> LICENSE
<<
InstallScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
export IMAKEINCLUDE=-I%p/lib/X11/config
strip %n
make install DESTDIR=%d BINDIR=%p/bin INSTALLFLAGS=-c
mkdir -p %i/share/man/man1
cp %n.man %i/share/man/man1/%n.1
<<
DocFiles: README LICENSE
Description: Fractal landscape generator
DescDetail: <<
Generates random fractal surfaces and displays them in a window. While the
program
is running the fractal is continuously extended on the right and the image is
scrolled from right to left to expose the newly generated area.
<<
License: OSI-Approved
Maintainer: Ben Hines
Homepage: http://www.epcc.ed.ac.uk/~spb/xmountains/
--- xmountains/artist.c Wed Dec 3 10:39:15 1997
+++ xmountains-patched/artist.c Fri May 31 16:50:14 2002
@@ -1,6 +1,7 @@
/*
* routines to render a fractal landscape as an image
*/
+#include
#include
#include
#include "paint.h"
--- xmountains/calcalt.c Fri Mar 30 04:35:44 2001
+++ xmountains-patched/calcalt.c Fri May 31 16:50:54 2002
@@ -16,6 +16,7 @@
* is called itself so it will take a number of iterations for any changes to
* be notices by the bottom (long length scale) level.
*/
+#include
#include
#include
#include "crinkle.h"
--- xmountains/crinkle.h Fri Oct 24 07:55:16 1997
+++ xmountains-patched/crinkle.h Fri May 31 17:00:51 2002
@@ -78,6 +78,15 @@
void v_update(Fold *, float, float, Strip *, Strip *, Strip *);
void vside_update(Fold *, float, float, Strip *);
void hside_update(Fold *, float, float, Strip *, Strip *, Strip *);
+void init_parameters();
+void plot_column(Graph *g);
+void print_algorithm();
+void seed_uni(int ijkl);
+void blank_region(int lx,int ly,int ux,int uy);
+void flush_region(int x, int y, int w, int h);
+void scroll_screen( int dist );
+void plot_pixel( int x, int y, Gun value );
+void finish_artist();
#else
Strip *make_strip ();
void free_strip ();
@@ -95,7 +104,15 @@
void v_update();
void vside_update();
void hside_update();
-
+void init_parameters();
+void plot_column();
+void print_algorithm();
+void seed_uni();
+void blank_region();
+void flush_region();
+void scroll_screen();
+void plot_pixel();
+void finish_artist();
#endif
/* }}} */
#endif
--- xmountains/X_graphics.c Fri Mar 30 04:13:12 2001
+++ xmountains-patched/X_graphics.c Fri May 31 16:53:12 2002
@@ -1,3 +1,4 @@
+#include
#include
#include
#include
@@ -79,7 +80,7 @@
{
XEvent event;
XExposeEvent *expose = (XExposeEvent *)&event;
- int exw, exh, i;
+ int exw, exh;
while( XPending(dpy) ){
XNextEvent(dpy, &event);
@@ -219,8 +220,8 @@
{
/*{{{defs*/
Visual *vis;
- int mask;
- int count;
+// int mask;
+// int count;
int x=0;
int y=0;
int gbits=0;
--- xmountains/xmountains.c Fri Mar 30 04:34:45 2001
+++ xmountains-patched/xmountains.c Fri May 31 17:00:07 2002
@@ -1,4 +1,5 @@
-
+#include
+#include
#include
#include
#include "crinkle.h"