pkgsrc/graphics/graphviz/Makefile

58 lines
1.8 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.51 2006/05/11 21:51:40 jmc Exp $
DISTNAME= graphviz-2.6
PKGREVISION= 5
CATEGORIES= graphics
Update to version 1.8.5. Changes in version 1.8.5: - various portability fixes - various SVG fixes and optimizations Changes in version 1.8.4: - SVG renderer: - make graph|node|edge ids unique, particularly for multiedges - put graph|node|edge names in <title>...</title> - use some property inheritance to reduce size of output - fix compile errors when no zlib - updated DTD reference - GD renderer: - Minimal Type1 font support - look in {${X11BASE},${X11PREFIX}}/lib/X11/fonts/Type1 - look for .pfa or .pfb font files based on fontname - run gdgen.c through dos2unix - problems with gcc on SuSE - fix Mac-OSX build problems: - improve strto[u]ll configure tests - add -fno-common for extern problem - function renamed to avoid conflicts (vis -> visibility) - add configure tests for search.h, malloc.h, getopt.h, errno.h - improve configure tests for FILE struct features - add configure tests for lrand48 - add new demo graphs: - graphs/undirected/Heawood.dot - graphs/undirected/Petersen.dot - neato: - fix for -x implementation in neato (Bug 77) - fix spline problem (Bug 87) - fix some divide-by-zero problems - twopi: - fix Bug 117 - update man pages for disconnected graphs capability - added arrowhead or arrowtail = tee - add dotneato/pack code to twopi - add contrib/prune to gnu build and install Changes in version 1.8.3: - fixed parse error for lines starting with '#' in .dot files - fixed a recently introduced bug that caused failure of: digraph G { {rank = same; A -> B; B -> A } } - updated DOCTYPE header in SVG outputs - added dotneato/common/xbuf.[ch] for dynamic string handling to avoid sprintf buffer overruns. - twopigen - handle special case of graphs with < 3 nodes. - neato - handle point shapes - added fontcolor support to svg - Fixed bug 109 - Removed duplicate definitions for str[n]casecmp - Added missing declarations needed for Windows - Cleaned up warning messages from set but unused variables - Removed use of DOS preprocessor variable; uniformly replaced by MSWIN32
2002-04-19 20:42:33 +02:00
MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/
MAINTAINER= pkgsrc-users@NetBSD.org
Update to version 1.8.9. Buildlink1 -> buildlink2. Update homepage. * Changes in version 1.8.9 August 2, 2002 - declare this version 1.8.9 - general - split rpm into: graphviz, graphviz-tcl, graphviz-graphs, graphviz-devel - gcc3 warning cleanup - Install lincdt, libgraph, libagraph, libgd, libpathplan, libexp, and libpack so that they can be used by other programs. Headers and man3 in graphviz-devel - dynagraph, graphsearch - New tools based on libagraph and written in C++ - dot, neato, twopi - Add node and edge tooltips for use with -Tcmap \N,\E,\H,\T substitutions also work in tooltips. - Add alt="label_string" to -Tcmap - Add edge-label and port mappings to -Tps and -Tps2 so that edges can be hyperlinked in PDF documents. - Add support for \E (edge name), \H (head-node name), \T (tail-node name) substitutions in edge labels and edge URLs - Add support for stylesheet="file.css" for use in -Tsvg - Fix -Tpic to work with recent gpic (Bruce Lilly) - Fix alignment of imagemaps to images. - Fix "transparent" color support in -Tsvg - Fix support for graph [URL="default.html"] in -Tsvg and -Tcmap. - Fix '&' escaping in URLs in -Tsvg - Fix infinite loop in dot layout algorithm - Fix text rotations again (hopefully freetype is stable now.) - Cluster layout improvements - Clean up warning messages from pathplan - Consolidation of mapping code from imapgen.c and ismapgen.c into mapgen.c - gpr - Added additional mode to extract components based sharing an edge or a cluster - Fix test for getopt - tcl-based tools - Disable tcl-based tool building if tcl/tk not available with stubs support. - documentation updates: FAQ, dotguide, dot.1 * Changes in version 1.8.8 July 5, 2002 - declare 1.8.7 a "brown bag" release and declare this version 1.8.8 - remove wrong assert in gdgen.c - fix graph centering in bitmap outputs - provide enough margins - fix line widths after scaling (test with directed/proc3d.dot) - fix text rotations (requires libfreetype.so.6.3.1) (test with directed/NaN.dot) * Changes in version 1.8.7 July 5, 2002 - declare this version 1.8.7 - Fix missing "]" in ihi demo. July 2, 2002 - Add URL mappings for clusters: svg,svgz,ps,ismap,imap,cmap. - Fix to avoid white edges in bitmap outputs when bgcolor is set. - Improve sizing and position of strings in bitmap outputs when using builtin fonts (when font file not found). - Fix \N substitution in edge URLs in imap and cmap outputs. - Add -Tcmap for client-side imagemaps. - Generate warnings instead of access violation for EPSF file problems. - Various spline fixes in neato. - Fixes to pack.c - Add feature to ccomps to allow extraction of individual component by number or node. - Cdt make to use iffe provided in the tools directory. - Various Makefile.old fixes. - Use HAVE_LIBZ to remove GD2 format if libz not available. Now bare-bones programs can be built without any add-on libraries. - Modified dot grammar to allow simple name attributes in attribute lists. Thus, [splines] is equivalent to [splines=true]. Adopted the same convention for command line attributes -G, -E and -N. In addition, such command line attributes now override any competing initial attribute statements. - HP-UX 11.11 build fixes for struct dioattr. - Fix for bug #158 "Nodes disappear with ports" - Various Windows-specific #ifdefs - Fix edge coordinates in -Tplain. * Changes in version 1.8.6 May 24, 2002 - declare this version 1.8.6 May 19, 2002 - Fixed segfault from use of bgcolor in clusters. May 15, 2002 - Changed install location of architecture-independent demo scripts and graphs to <prefix>/share/graphviz/ to conform to FHS. - Avoid multiple linking of libfreetype (and others) which caused problems on SunOS-2.8. May 6, 2002 - Factored out some duplicated arrow code from dotgen/splines.c and neatorgen/splines.c into common/arrows.c. - Added new arrow types: halfopen, box, obox, crow. - Touched up the arrow designs so that they look better at default size. - Modified/extended graphs/directed/newarrows.dot to show new arrows. May 3, 2002 - Added some UML arrow types from Diomidis Spinellis <dds@aueb.gr> empty, invempty, open, diamond, odiamond. May 2, 2002 - Added new pack option to neato. This causes each connected component to be laid out separately, and then the resulting graphs are packed together in a single layout. - Amended neato to accept new tee arrowhead. April 19, 2002 - Coords of rectangles changed to left/top right/bottom in -Timap. - Generate COPYING from LICENSE.html during ./authogen.sh, remove COPYING from CVS. April 16, 2002 - Minor license file patches. - Corrected one of those reversed flat edge bugs again.
2002-08-28 15:49:35 +02:00
HOMEPAGE= http://www.graphviz.org/
COMMENT= Graph Drawing Programs from AT&T Research and Lucent Bell Labs
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
Update to version 1.8.9. Buildlink1 -> buildlink2. Update homepage. * Changes in version 1.8.9 August 2, 2002 - declare this version 1.8.9 - general - split rpm into: graphviz, graphviz-tcl, graphviz-graphs, graphviz-devel - gcc3 warning cleanup - Install lincdt, libgraph, libagraph, libgd, libpathplan, libexp, and libpack so that they can be used by other programs. Headers and man3 in graphviz-devel - dynagraph, graphsearch - New tools based on libagraph and written in C++ - dot, neato, twopi - Add node and edge tooltips for use with -Tcmap \N,\E,\H,\T substitutions also work in tooltips. - Add alt="label_string" to -Tcmap - Add edge-label and port mappings to -Tps and -Tps2 so that edges can be hyperlinked in PDF documents. - Add support for \E (edge name), \H (head-node name), \T (tail-node name) substitutions in edge labels and edge URLs - Add support for stylesheet="file.css" for use in -Tsvg - Fix -Tpic to work with recent gpic (Bruce Lilly) - Fix alignment of imagemaps to images. - Fix "transparent" color support in -Tsvg - Fix support for graph [URL="default.html"] in -Tsvg and -Tcmap. - Fix '&' escaping in URLs in -Tsvg - Fix infinite loop in dot layout algorithm - Fix text rotations again (hopefully freetype is stable now.) - Cluster layout improvements - Clean up warning messages from pathplan - Consolidation of mapping code from imapgen.c and ismapgen.c into mapgen.c - gpr - Added additional mode to extract components based sharing an edge or a cluster - Fix test for getopt - tcl-based tools - Disable tcl-based tool building if tcl/tk not available with stubs support. - documentation updates: FAQ, dotguide, dot.1 * Changes in version 1.8.8 July 5, 2002 - declare 1.8.7 a "brown bag" release and declare this version 1.8.8 - remove wrong assert in gdgen.c - fix graph centering in bitmap outputs - provide enough margins - fix line widths after scaling (test with directed/proc3d.dot) - fix text rotations (requires libfreetype.so.6.3.1) (test with directed/NaN.dot) * Changes in version 1.8.7 July 5, 2002 - declare this version 1.8.7 - Fix missing "]" in ihi demo. July 2, 2002 - Add URL mappings for clusters: svg,svgz,ps,ismap,imap,cmap. - Fix to avoid white edges in bitmap outputs when bgcolor is set. - Improve sizing and position of strings in bitmap outputs when using builtin fonts (when font file not found). - Fix \N substitution in edge URLs in imap and cmap outputs. - Add -Tcmap for client-side imagemaps. - Generate warnings instead of access violation for EPSF file problems. - Various spline fixes in neato. - Fixes to pack.c - Add feature to ccomps to allow extraction of individual component by number or node. - Cdt make to use iffe provided in the tools directory. - Various Makefile.old fixes. - Use HAVE_LIBZ to remove GD2 format if libz not available. Now bare-bones programs can be built without any add-on libraries. - Modified dot grammar to allow simple name attributes in attribute lists. Thus, [splines] is equivalent to [splines=true]. Adopted the same convention for command line attributes -G, -E and -N. In addition, such command line attributes now override any competing initial attribute statements. - HP-UX 11.11 build fixes for struct dioattr. - Fix for bug #158 "Nodes disappear with ports" - Various Windows-specific #ifdefs - Fix edge coordinates in -Tplain. * Changes in version 1.8.6 May 24, 2002 - declare this version 1.8.6 May 19, 2002 - Fixed segfault from use of bgcolor in clusters. May 15, 2002 - Changed install location of architecture-independent demo scripts and graphs to <prefix>/share/graphviz/ to conform to FHS. - Avoid multiple linking of libfreetype (and others) which caused problems on SunOS-2.8. May 6, 2002 - Factored out some duplicated arrow code from dotgen/splines.c and neatorgen/splines.c into common/arrows.c. - Added new arrow types: halfopen, box, obox, crow. - Touched up the arrow designs so that they look better at default size. - Modified/extended graphs/directed/newarrows.dot to show new arrows. May 3, 2002 - Added some UML arrow types from Diomidis Spinellis <dds@aueb.gr> empty, invempty, open, diamond, odiamond. May 2, 2002 - Added new pack option to neato. This causes each connected component to be laid out separately, and then the resulting graphs are packed together in a single layout. - Amended neato to accept new tee arrowhead. April 19, 2002 - Coords of rectangles changed to left/top right/bottom in -Timap. - Generate COPYING from LICENSE.html during ./authogen.sh, remove COPYING from CVS. April 16, 2002 - Minor license file patches. - Corrected one of those reversed flat edge bugs again.
2002-08-28 15:49:35 +02:00
GNU_CONFIGURE= yes
Update to 1.9 Package changes: - Be a specific/verbose about dependencies' includes and libraries directories - Require Xaw type "standard" - Install complete html documentation - Add libiconv dependency - Remove libgd documentation - Add upcoming libcurl support in comments Changes since version 1.8.10: January 23, 2003 - declare this version 1.9 (3-level version numbering has been dropped now that we have nightly snapshot builds with their own extended numbering.) - general - config.h is no longer installed. config.h is generated by ./configure for the current build only. It may not be applicable for derivative builds. - improve ICONV configure tests - lots of janitor-work to clean up warning messages from -Wall - use @OBJEXT@ in Makefile.am so that .obj is used under cygwin - fixes for Solaris builds - use libpng-config if available - reduce long build times due to touching ast_common.h too often - improve dependency tracking. "make -j8" now works with distcc - autogen.sh fixes to work on RH7.3, RH8.0, and Solaris. - eliminate use of suffix rules which confused some makes. - DOT language allows '+' for concatenation of quoted strings - dot, neato, twopi - fix bugs 209, 210, 214, 216, 217, 222, 224, 225, 229, 230, 233, 236, 237 - update gd into alignment with gd-2.0.9 - change to make libagraph output compatible with libgraph input - add shapes: septagon, pentagon, a_ediamond, rect, rectangle - introduce "ND_...", "ED_...", "GD_...", node/edge/graph-data accessor macros in partial preparation for use of libagraph in dot. - add libdotneato.so, dotneato.h, dotneato-config to aid use of dot libraries by user apps based on installed graphviz-devel rpm and without access to graphviz sources. - new xdot output format providing detailed drawing instructions - new -y command line flag, inverts y coordinates - support multple -T when -o given, as in: cat xxx.dot | dot -Tpng -Tcmap -o xxx which produces xxx.png and xxx.cmap from a single layout computation. Intended for use in CGI programs. - agraph - correct callback ordering for deletions - tools - add gxl2dot and dot2gxl for GXL language conversions - gvui now provides *map output - tcldot, tcldgr, tcldgl - improve tcl8.4 support - extend search path for tcl.h to include /usr/local/include/tcl8.4/ in support of BSD install conventions. - dynagraph - many fixes - change to not build dynagraph by default (use --with-dynagraph) - docs - dotguide updates
2003-03-03 12:34:57 +01:00
XAW_TYPE= standard
PKGCONFIG_OVERRIDE= lib/agraph/libagraph.pc.in
PKGCONFIG_OVERRIDE+= lib/cdt/libcdt.pc.in
PKGCONFIG_OVERRIDE+= lib/graph/libgraph.pc.in
PKGCONFIG_OVERRIDE+= lib/gvc/libgvc.pc.in
PKGCONFIG_OVERRIDE+= lib/pathplan/libpathplan.pc.in
.include "../../mk/bsd.prefs.mk"
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-2*)
BUILDLINK_TRANSFORM+= rm:-Wno-unused-parameter
.endif
CONFIGURE_ENV+= TCLCONFIG=${TCLCONFIG_SH:Q}
CONFIGURE_ENV+= TKCONFIG=${TKCONFIG_SH:Q}
CONFIGURE_ENV+= X11PREFIX=${X11PREFIX:Q} X11BASE=${X11BASE:Q}
# build fails when PHP and/or Ruby are also installed
CONFIGURE_ENV+= ac_cv_prog_PHP=
CONFIGURE_ENV+= ac_cv_prog_RUBY=
CPPFLAGS+= -DNO_POSTSCRIPT_ALIAS=1
Update to version 1.16. Changes since last packaged version (1.12) September 14, 2004 - release 1.16 dotneato - fix bugs: 275, 523, 526, 527, 529, 534 August 30, 2004 - release 1.14 dotneato - the official gd now has support support for GIFs again - the internal gd is now closely sync'ed with the official version and will eventually be removed in favor of using a separate installation of the official version. - gd has new support for FontConfig (thanks to Dag Lem) NB. the fontname attribute in graphs is now a font pattern as understood by fontconfig (e.g. fontname="Times-Italic"), unless it contains a '/' in which case it is interpreted as a font path as before. - gd provides support for html4 entities in decimal, hex or named, e.g "&lt;" - "dot -v" debugging output now reports fontname -> fontpath resolutions - PostScript generated by -Tps now uses "xshow" operator for strings for better matching of bitmap and PostScript outputs. - ability to use an external gd-2.0.29 version of libgd (EXPERIMENTAL) - new feature: parallel edges by using a ":" separated list of edge colors - new feature: rankdir=BT and rankdir=RL (thanks to Dag Lem) - new layout engine: fdp - force directed placement (EXPERIMENTAL) a neato-like undirected layout engine that produces clustered symmetric layouts. Supports edges between clusters and nodes. - updated neato engine: now using stress majorization as the default, which avoids the potential for cycling - model=subset in neato provides a third distance function, where two nodes sharing many nodes will be place farther apart - shape=none now equivalent to shape=plaintext - fix label justification with \l and \r - first cut at <FONT> support added to html labels - various color transparency fixes - various fixes for UTF8 and Latin[12] character encodings. - various cluster fixes. - improved hyperlink support in -Tsvg - support tooltips on clusters in client-side imagemaps gvpr - add support for scanf and friends general - greater use of shared libraries. - pkg-config files provided for shared libraries (EXPERIMENTAL) - "./configure --disable-shared --enable-static" works if needed - C++ wrappers on all header files (thanks to Victor Wodecki) - various configuration and portablity fixes - provide pdf version of man pages - Windows package provides graphviz libraries and header files - Closed bugs: 195, 198, 234, 321, 330, 399, 401, 406, 410, 411, 412, 413, 415, 416, 417, 423, 424, 427, 430, 431, 433, 434, 435, 438, 441, 442, 444, 445, 449, 450, 452, 454, 457, 458, 462, 463, 464, 467, 468, 469, 471, 475, 480, 482, 485, 495, 496, 498, 499, 500, 501, 504, 508, 511, 512, 514 March 5, 2004 - added glyphwidths.ps support utility
2004-11-29 23:11:50 +01:00
# prevent another config.status run
pre-build:
${TOUCH} ${WRKSRC}/Makefile
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
Update to version 1.16. Changes since last packaged version (1.12) September 14, 2004 - release 1.16 dotneato - fix bugs: 275, 523, 526, 527, 529, 534 August 30, 2004 - release 1.14 dotneato - the official gd now has support support for GIFs again - the internal gd is now closely sync'ed with the official version and will eventually be removed in favor of using a separate installation of the official version. - gd has new support for FontConfig (thanks to Dag Lem) NB. the fontname attribute in graphs is now a font pattern as understood by fontconfig (e.g. fontname="Times-Italic"), unless it contains a '/' in which case it is interpreted as a font path as before. - gd provides support for html4 entities in decimal, hex or named, e.g "&lt;" - "dot -v" debugging output now reports fontname -> fontpath resolutions - PostScript generated by -Tps now uses "xshow" operator for strings for better matching of bitmap and PostScript outputs. - ability to use an external gd-2.0.29 version of libgd (EXPERIMENTAL) - new feature: parallel edges by using a ":" separated list of edge colors - new feature: rankdir=BT and rankdir=RL (thanks to Dag Lem) - new layout engine: fdp - force directed placement (EXPERIMENTAL) a neato-like undirected layout engine that produces clustered symmetric layouts. Supports edges between clusters and nodes. - updated neato engine: now using stress majorization as the default, which avoids the potential for cycling - model=subset in neato provides a third distance function, where two nodes sharing many nodes will be place farther apart - shape=none now equivalent to shape=plaintext - fix label justification with \l and \r - first cut at <FONT> support added to html labels - various color transparency fixes - various fixes for UTF8 and Latin[12] character encodings. - various cluster fixes. - improved hyperlink support in -Tsvg - support tooltips on clusters in client-side imagemaps gvpr - add support for scanf and friends general - greater use of shared libraries. - pkg-config files provided for shared libraries (EXPERIMENTAL) - "./configure --disable-shared --enable-static" works if needed - C++ wrappers on all header files (thanks to Victor Wodecki) - various configuration and portablity fixes - provide pdf version of man pages - Windows package provides graphviz libraries and header files - Closed bugs: 195, 198, 234, 321, 330, 399, 401, 406, 410, 411, 412, 413, 415, 416, 417, 423, 424, 427, 430, 431, 433, 434, 435, 438, 441, 442, 444, 445, 449, 450, 452, 454, 457, 458, 462, 463, 464, 467, 468, 469, 471, 475, 480, 482, 485, 495, 496, 498, 499, 500, 501, 504, 508, 511, 512, 514 March 5, 2004 - added glyphwidths.ps support utility
2004-11-29 23:11:50 +01:00
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
# The configure script requires gd>=2.0.34, which was never released.
# Uncomment the following when graphics/gd is updated to 2.0.34
#.include "../../graphics/gd/buildlink3.mk"
Update to version 1.12 Package changes: - bl3ify - provide a buildlinl3.mk - no more conflicting with package coreutils Changes in graphviz since last packaged version: March 1, 2004 - release 1.12 - general - rename bcc -> bcomps to avoid name conflict with "Bruce's C Compiler" on Redhat distributions. - all build without X11 (fix problem in lefty tree) - remove from distribution: dag, fdp, geo, grid, incr, shape, tcldgr, tcldgl - dotneato - fix "brown-bag" problem resulting in PNG and JPEG errors on RH8 and RH9. February 23, 2004 - release 1.11 - general - fix windows builds - add tool "bcc" to distribution - dotneato - add -Gviewport="X,Y,Z,x,y" where XY are the dimensions of a viewport in device coordinates (pixels), Z is a zooming factor, x,y is the location of the center of the viewport in graph coordinates. Supported in bitmap and imagemap outputs only. - fix memory leak in gd/gdft.c - clean up calculation of whitespace around labels - dotty, lefty - fix for bug #400 December 23, 2003 - added dijkstra (single source distance) filter September 10, 2003 - general - removed CVS directories from .tar.gz distributions - add "config" directory to contain some of the autoconf clutter - only remove flex products with "make maintainer-clean" to avoid trying to regenerate them after "make distclean" basically this is to avoid the broken flex on Debian. - suppress complaints from ./configure about config.rpath - doc/build.html updated with notes about Windows builds - build fixes for Forte 6sp2 compiler on Sun -xarch=v9a (64bit) - build fixes for OpenBSD - improved configure testing for Tcl/Tk - various bug fixes, internal restructuring, etc - dotneato - fix problem with extra escape chars in .fig output - support for "setlinewidth" in -Tfig - improved splines in -Tfig - add manpage for dotneato-config - neato: add defaultdist graph attribute to set distance between components - first cut at html table formatter add. not ready for use yet as the syntax is going to change some more. - tools - renamed "colorize" to "gvcolor" to avoid conflict on Debian - renamed "gpr" to "gvpr" to avoid conflict on Debian - add fflush() to acyclic, ccomps, gvcolor, tred, dot2gxl to try to fix truncated output when used in php or perl cgi scripts
2004-04-17 18:56:10 +02:00
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"