summaryrefslogtreecommitdiff
path: root/graphics/gfract
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-08-12 22:07:50 +0000
committerzuntum <zuntum>2001-08-12 22:07:50 +0000
commit20ba5c32f788c7723db4187ba3fb583f0890b145 (patch)
tree854317c1c66507ee814d34e65ce5b6abfe76359b /graphics/gfract
parentc6cce5e52cc4a3f75c07ae153e583db67c469967 (diff)
downloadpkgsrc-20ba5c32f788c7723db4187ba3fb583f0890b145.tar.gz
Initial import of gfract-0.21
Gfract is a GTK-based fractal program that currently implements the standard Mandelbrot and Julia sets. It features infinite image size with infinite anti-aliasing if you have the memory for it (well, at least 2^31 x 2^31 image sizes), Julia instant preview mode and PNG support. For palette files it uses the same format as Fractint does. Package provided by Ben Collver <collver@linuxfreemail.com> in pkg/13696
Diffstat (limited to 'graphics/gfract')
-rw-r--r--graphics/gfract/Makefile30
-rw-r--r--graphics/gfract/distinfo8
-rw-r--r--graphics/gfract/patches/patch-aa30
-rw-r--r--graphics/gfract/patches/patch-ab13
-rw-r--r--graphics/gfract/pkg/DESCR5
-rw-r--r--graphics/gfract/pkg/PLIST310
6 files changed, 396 insertions, 0 deletions
diff --git a/graphics/gfract/Makefile b/graphics/gfract/Makefile
new file mode 100644
index 00000000000..5cd1ad01343
--- /dev/null
+++ b/graphics/gfract/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/08/12 22:07:50 zuntum Exp $
+#
+
+DISTNAME= gfract-0.21
+CATEGORIES= graphics x11
+MASTER_SITES= http://www.cs.Helsinki.FI/u/salerma/gfract/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} gfract-palettes-0.1.tar.gz
+
+MAINTAINER= collver@linuxfreemail.com
+HOMEPAGE= http://www.cs.Helsinki.FI/u/salerma/gfract/
+COMMENT= gtk-based fractal program
+
+USE_BUILDLINK_ONLY= yes
+
+USE_X11= yes
+ALL_TARGET= gfract
+
+post-extract:
+ ${MV} ${WRKDIR}/monk2\'.map ${WRKDIR}/monk2.map
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/gfract
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/gfract/palettes
+ ${INSTALL_DATA} ${WRKDIR}/*.map ${PREFIX}/share/gfract/palettes/
+ ${INSTALL_DATA} ${WRKSRC}/gfract.xpm ${PREFIX}/share/gfract/
+ ${INSTALL_PROGRAM} ${WRKSRC}/gfract ${PREFIX}/bin/
+
+.include "../../graphics/png/buildlink.mk"
+.include "../../x11/gtk/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/gfract/distinfo b/graphics/gfract/distinfo
new file mode 100644
index 00000000000..9bdea8077a0
--- /dev/null
+++ b/graphics/gfract/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/08/12 22:07:50 zuntum Exp $
+
+SHA1 (gfract-0.21.tar.gz) = 0d996547359ba5f52e43fdb2b4c4baf2a4773a88
+Size (gfract-0.21.tar.gz) = 27927 bytes
+SHA1 (gfract-palettes-0.1.tar.gz) = f05e06e6012e1b1526e0c796ca7f6617fca8ab7d
+Size (gfract-palettes-0.1.tar.gz) = 223648 bytes
+SHA1 (patch-aa) = bc03fea85fdb9978c0738ee097e52c1ba8b7b9d4
+SHA1 (patch-ab) = 529cdf7658dc8863552f26d9f24b95a5cb6155de
diff --git a/graphics/gfract/patches/patch-aa b/graphics/gfract/patches/patch-aa
new file mode 100644
index 00000000000..a042452969e
--- /dev/null
+++ b/graphics/gfract/patches/patch-aa
@@ -0,0 +1,30 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/08/12 22:07:50 zuntum Exp $
+
+--- Makefile.orig Fri Feb 9 01:25:57 2001
++++ Makefile
+@@ -1,7 +1,7 @@
+-CC=gcc
++#CC=gcc
+ #CFLAGS=-g -Wall
+-CFLAGS=-O2 -Wall -Winline
+-LIBS=-lpng -lz
++CFLAGS+=`${BUILDLINK_DIR}/bin/gtk-config --cflags`
++LIBS+=`${BUILDLINK_DIR}/bin/gtk-config --libs` -lpng -lz
+
+ OBJS=main.o fractal.o palette.o globals.o misc.o attr_dlg.o my_png.o \
+ pal_rot_dlg.o timer.o
+@@ -9,13 +9,9 @@
+ pal_rot_dlg.h timer.h version.h
+
+ gfract: $(OBJS)
+- $(CC) `gtk-config --cflags` $(CFLAGS) $(OBJS) -o gfract \
+-`gtk-config --libs` $(LIBS)
++ $(CC) $(CFLAGS) $(OBJS) -o gfract $(LIBS)
+
+ %.o : %.c $(HEADERS)
+- $(CC) `gtk-config --cflags` $(CFLAGS) -c $<
+-
+-main.o: main.c $(HEADERS) *.xpm
+
+ clean:
+ rm -f gfract $(OBJS)
diff --git a/graphics/gfract/patches/patch-ab b/graphics/gfract/patches/patch-ab
new file mode 100644
index 00000000000..d835ac465cd
--- /dev/null
+++ b/graphics/gfract/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/08/12 22:07:50 zuntum Exp $
+
+--- main.c.orig Fri Feb 9 01:25:57 2001
++++ main.c
+@@ -40,7 +40,7 @@
+
+
+ #define DUMP_COMMAND "--read-dump-from"
+-#define DEFAULT_PALETTE_FILE "/usr/local/share/gfract/palettes/blues.map"
++#define DEFAULT_PALETTE_FILE "/usr/pkg/share/gfract/palettes/blues.map"
+
+ /* why the fuck does gtk have to define these in its header files?
+ the glib/gdk/gtk combo is forgetting seriously that it's just a Yet
diff --git a/graphics/gfract/pkg/DESCR b/graphics/gfract/pkg/DESCR
new file mode 100644
index 00000000000..3382056617d
--- /dev/null
+++ b/graphics/gfract/pkg/DESCR
@@ -0,0 +1,5 @@
+Gfract is a GTK-based fractal program that currently implements the
+standard Mandelbrot and Julia sets. It features infinite image size
+with infinite anti-aliasing if you have the memory for it (well, at
+least 2^31 x 2^31 image sizes), Julia instant preview mode and PNG
+support. For palette files it uses the same format as Fractint does.
diff --git a/graphics/gfract/pkg/PLIST b/graphics/gfract/pkg/PLIST
new file mode 100644
index 00000000000..79496ebeaec
--- /dev/null
+++ b/graphics/gfract/pkg/PLIST
@@ -0,0 +1,310 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/08/12 22:07:50 zuntum Exp $
+bin/gfract
+share/gfract/gfract.xpm
+share/gfract/palettes/2.map
+share/gfract/palettes/23.map
+share/gfract/palettes/3.map
+share/gfract/palettes/3d.map
+share/gfract/palettes/4.map
+share/gfract/palettes/4zebbow.map
+share/gfract/palettes/4zebbowx.map
+share/gfract/palettes/560sel.map
+share/gfract/palettes/8rain.map
+share/gfract/palettes/8rain2.map
+share/gfract/palettes/8temp.map
+share/gfract/palettes/8zebbow2.map
+share/gfract/palettes/altern.map
+share/gfract/palettes/anenome.map
+share/gfract/palettes/autumn.map
+share/gfract/palettes/autumn2.map
+share/gfract/palettes/bandbow1.map
+share/gfract/palettes/bandw.map
+share/gfract/palettes/basic.map
+share/gfract/palettes/bbr001.map
+share/gfract/palettes/bears.map
+share/gfract/palettes/bgold.map
+share/gfract/palettes/biglake.map
+share/gfract/palettes/black.map
+share/gfract/palettes/blakwhit.map
+share/gfract/palettes/blakwht.map
+share/gfract/palettes/blend.map
+share/gfract/palettes/blend1.map
+share/gfract/palettes/blend2.map
+share/gfract/palettes/blend3.map
+share/gfract/palettes/blend4.map
+share/gfract/palettes/blend8.map
+share/gfract/palettes/blendfff.map
+share/gfract/palettes/blengbyg.map
+share/gfract/palettes/bluein.map
+share/gfract/palettes/blueout.map
+share/gfract/palettes/blues.map
+share/gfract/palettes/bluorng.map
+share/gfract/palettes/border.map
+share/gfract/palettes/bp.map
+share/gfract/palettes/bpg.map
+share/gfract/palettes/brass.map
+share/gfract/palettes/brite.map
+share/gfract/palettes/brwg.map
+share/gfract/palettes/bwb.map
+share/gfract/palettes/caramel.map
+share/gfract/palettes/cat.map
+share/gfract/palettes/china.map
+share/gfract/palettes/chroma.map
+share/gfract/palettes/chroma2.map
+share/gfract/palettes/chroma3.map
+share/gfract/palettes/chroma4.map
+share/gfract/palettes/clouds.map
+share/gfract/palettes/coldfire.map
+share/gfract/palettes/colors.map
+share/gfract/palettes/cool.map
+share/gfract/palettes/copper.map
+share/gfract/palettes/cranes.map
+share/gfract/palettes/crwn.map
+share/gfract/palettes/cycler.map
+share/gfract/palettes/darkie.map
+share/gfract/palettes/default.map
+share/gfract/palettes/defaultw.map
+share/gfract/palettes/dragon.map
+share/gfract/palettes/dw.map
+share/gfract/palettes/egan1.map
+share/gfract/palettes/egan2.map
+share/gfract/palettes/egan3.map
+share/gfract/palettes/egan4.map
+share/gfract/palettes/egasoft.map
+share/gfract/palettes/fadechr1.map
+share/gfract/palettes/fadern1.map
+share/gfract/palettes/fadern2.map
+share/gfract/palettes/fadern3.map
+share/gfract/palettes/fadern4.map
+share/gfract/palettes/fadern5.map
+share/gfract/palettes/fire2.map
+share/gfract/palettes/firestrm.map
+share/gfract/palettes/fish.map
+share/gfract/palettes/fourain.map
+share/gfract/palettes/fourain2.map
+share/gfract/palettes/frcoast.map
+share/gfract/palettes/frosty1.map
+share/gfract/palettes/frosty2.map
+share/gfract/palettes/froth3.map
+share/gfract/palettes/froth316.map
+share/gfract/palettes/froth6.map
+share/gfract/palettes/froth616.map
+share/gfract/palettes/gamma1.map
+share/gfract/palettes/gamma2.map
+share/gfract/palettes/garden.map
+share/gfract/palettes/glass.map
+share/gfract/palettes/glasses1.map
+share/gfract/palettes/glasses2.map
+share/gfract/palettes/glasses5.map
+share/gfract/palettes/goodega.map
+share/gfract/palettes/grayish.map
+share/gfract/palettes/gred.map
+share/gfract/palettes/green.map
+share/gfract/palettes/greenin.map
+share/gfract/palettes/greenout.map
+share/gfract/palettes/grey.map
+share/gfract/palettes/grid.map
+share/gfract/palettes/hawaii.map
+share/gfract/palettes/haystack.map
+share/gfract/palettes/headache.map
+share/gfract/palettes/hls1.map
+share/gfract/palettes/hls10.map
+share/gfract/palettes/hls12.map
+share/gfract/palettes/hls15.map
+share/gfract/palettes/hls16.map
+share/gfract/palettes/hls17.map
+share/gfract/palettes/hls19.map
+share/gfract/palettes/hls2.map
+share/gfract/palettes/hls20.map
+share/gfract/palettes/hls3.map
+share/gfract/palettes/hls4.map
+share/gfract/palettes/hls5.map
+share/gfract/palettes/hls6.map
+share/gfract/palettes/hls7.map
+share/gfract/palettes/hls8.map
+share/gfract/palettes/hls9.map
+share/gfract/palettes/hlsrain1.map
+share/gfract/palettes/hlsrain2.map
+share/gfract/palettes/hlsrain3.map
+share/gfract/palettes/hlsrain4.map
+share/gfract/palettes/hlsrain5.map
+share/gfract/palettes/hlsrainb.map
+share/gfract/palettes/horns.map
+share/gfract/palettes/hunk.map
+share/gfract/palettes/hybrid.map
+share/gfract/palettes/indigo.map
+share/gfract/palettes/janine.map
+share/gfract/palettes/japan.map
+share/gfract/palettes/jellyfsh.map
+share/gfract/palettes/jewel.map
+share/gfract/palettes/jfan.map
+share/gfract/palettes/jstripe.map
+share/gfract/palettes/juteblue.map
+share/gfract/palettes/jutemap.map
+share/gfract/palettes/jutemap2.map
+share/gfract/palettes/jutes.map
+share/gfract/palettes/kahki.map
+share/gfract/palettes/lace.map
+share/gfract/palettes/landscap.map
+share/gfract/palettes/laser.map
+share/gfract/palettes/leon.map
+share/gfract/palettes/lichen.map
+share/gfract/palettes/light.map
+share/gfract/palettes/lite.map
+share/gfract/palettes/litnin1.map
+share/gfract/palettes/longs.map
+share/gfract/palettes/lyapunov.map
+share/gfract/palettes/mandel.map
+share/gfract/palettes/mandel2.map
+share/gfract/palettes/mandmap.map
+share/gfract/palettes/masts.map
+share/gfract/palettes/med.map
+share/gfract/palettes/metal.map
+share/gfract/palettes/mist.map
+share/gfract/palettes/mixed.map
+share/gfract/palettes/monk.map
+share/gfract/palettes/monk1.map
+share/gfract/palettes/monk2.map
+share/gfract/palettes/necklace.map
+share/gfract/palettes/neon.map
+share/gfract/palettes/new.map
+share/gfract/palettes/new1.map
+share/gfract/palettes/new2.map
+share/gfract/palettes/newmap.map
+share/gfract/palettes/nice.map
+share/gfract/palettes/nkohala.map
+share/gfract/palettes/nobow.map
+share/gfract/palettes/noel.map
+share/gfract/palettes/oil.map
+share/gfract/palettes/okay.map
+share/gfract/palettes/olympus.map
+share/gfract/palettes/op2.map
+share/gfract/palettes/osb.map
+share/gfract/palettes/owl.map
+share/gfract/palettes/paintjet.map
+share/gfract/palettes/pale.map
+share/gfract/palettes/panda.map
+share/gfract/palettes/pastel.map
+share/gfract/palettes/pc.map
+share/gfract/palettes/peach.map
+share/gfract/palettes/plasma1.map
+share/gfract/palettes/plasma2.map
+share/gfract/palettes/poppy.map
+share/gfract/palettes/porche01.map
+share/gfract/palettes/povray.map
+share/gfract/palettes/pumpkin.map
+share/gfract/palettes/pvland.map
+share/gfract/palettes/rain4.map
+share/gfract/palettes/rain4g1.map
+share/gfract/palettes/rain4x.map
+share/gfract/palettes/rain4x2.map
+share/gfract/palettes/rain4x3.map
+share/gfract/palettes/rainb.map
+share/gfract/palettes/rainbow.map
+share/gfract/palettes/rainbow2.map
+share/gfract/palettes/rainbow3.map
+share/gfract/palettes/rainbow4.map
+share/gfract/palettes/rainbow5.map
+share/gfract/palettes/rainbow6.map
+share/gfract/palettes/rainbow7.map
+share/gfract/palettes/rainhyb.map
+share/gfract/palettes/rbow.map
+share/gfract/palettes/rby.map
+share/gfract/palettes/redand.map
+share/gfract/palettes/redgrn.map
+share/gfract/palettes/redin.map
+share/gfract/palettes/redout.map
+share/gfract/palettes/reds.map
+share/gfract/palettes/reg.map
+share/gfract/palettes/rgb.map
+share/gfract/palettes/rgb2.map
+share/gfract/palettes/ribbon.map
+share/gfract/palettes/ribbon1.map
+share/gfract/palettes/ribbon10.map
+share/gfract/palettes/ribbon12.map
+share/gfract/palettes/ribbon13.map
+share/gfract/palettes/ribbon15.map
+share/gfract/palettes/ribbon16.map
+share/gfract/palettes/ribbon17.map
+share/gfract/palettes/ribbon18.map
+share/gfract/palettes/ribbon2.map
+share/gfract/palettes/ribbon20.map
+share/gfract/palettes/ribbon21.map
+share/gfract/palettes/ribbon22.map
+share/gfract/palettes/ribbon3.map
+share/gfract/palettes/ribbon4.map
+share/gfract/palettes/ribbon5.map
+share/gfract/palettes/ribbon6.map
+share/gfract/palettes/ribbon7.map
+share/gfract/palettes/ribbon8.map
+share/gfract/palettes/ribbon9.map
+share/gfract/palettes/room.map
+share/gfract/palettes/rose1.map
+share/gfract/palettes/royal.map
+share/gfract/palettes/roygbv.map
+share/gfract/palettes/rw.map
+share/gfract/palettes/ryb1.map
+share/gfract/palettes/sanfran.map
+share/gfract/palettes/sea.map
+share/gfract/palettes/sea2.map
+share/gfract/palettes/seattle.map
+share/gfract/palettes/smooth.map
+share/gfract/palettes/snowtree.map
+share/gfract/palettes/sparse.map
+share/gfract/palettes/special2.map
+share/gfract/palettes/spect1.map
+share/gfract/palettes/spect2.map
+share/gfract/palettes/spect3.map
+share/gfract/palettes/spect4.map
+share/gfract/palettes/spect5.map
+share/gfract/palettes/spect6.map
+share/gfract/palettes/spect7.map
+share/gfract/palettes/spiral.map
+share/gfract/palettes/spirit.map
+share/gfract/palettes/star.map
+share/gfract/palettes/steptoe.map
+share/gfract/palettes/storm.map
+share/gfract/palettes/stripe.map
+share/gfract/palettes/stripe2.map
+share/gfract/palettes/stripe3.map
+share/gfract/palettes/sweet.map
+share/gfract/palettes/temp.map
+share/gfract/palettes/topo.map
+share/gfract/palettes/topo2.map
+share/gfract/palettes/trace4.map
+share/gfract/palettes/tropic.map
+share/gfract/palettes/turqoise.map
+share/gfract/palettes/twist.map
+share/gfract/palettes/tworain.map
+share/gfract/palettes/tworain2.map
+share/gfract/palettes/tworain3.map
+share/gfract/palettes/twowhite.map
+share/gfract/palettes/unknown.map
+share/gfract/palettes/vertigo.map
+share/gfract/palettes/vette63.map
+share/gfract/palettes/volcano.map
+share/gfract/palettes/volcano2.map
+share/gfract/palettes/volcano3.map
+share/gfract/palettes/volcano4.map
+share/gfract/palettes/volcano5.map
+share/gfract/palettes/volcano6.map
+share/gfract/palettes/volcano7.map
+share/gfract/palettes/vooon.map
+share/gfract/palettes/white.map
+share/gfract/palettes/whiteblk.map
+share/gfract/palettes/wild.map
+share/gfract/palettes/windsrf2.map
+share/gfract/palettes/windsurf.map
+share/gfract/palettes/wine.map
+share/gfract/palettes/wood.map
+share/gfract/palettes/world.map
+share/gfract/palettes/worms.map
+share/gfract/palettes/wybr.map
+share/gfract/palettes/yelpurp1.map
+share/gfract/palettes/ygb.map
+share/gfract/palettes/yools.map
+share/gfract/palettes/zebbow2.map
+share/gfract/palettes/zebra.map
+share/gfract/palettes/zoot.map
+@dirrm share/gfract/palettes
+@dirrm share/gfract