Commit graph

81 commits

Author SHA1 Message Date
joerg
ec00ea2009 Revert, config does *not* belong into the PLIST as it is a dynamic
entity handled by the scripts.
2007-09-25 20:13:36 +00:00
garbled
33a60af8ae add missing file lib/graphviz/config to allow make package to work 2007-09-25 19:48:19 +00:00
wiz
b2c1d54bb6 CHECK_FILES_SKIP needs an absolute path. 2007-09-25 13:59:21 +00:00
joerg
1a24e4676e Skip the config file, it is handled by INSTALL/DEINSTALL. 2007-09-23 15:38:58 +00:00
joerg
08228711ef Build plugin configuration file at install time and remove it at
deinstall time. This makes it possible to split off individual plugins
and add DESTDIR support. Bump revision.
2007-09-21 17:40:38 +00:00
joerg
6bccc27377 Fix almost all shared library issues (with the exception of libgvc_builtin,
where I have no idea what it is supposed to be). Force pthread linkage
for dot and gvchackm as some of the plugins can pull in pthread and that
avoids the abort on NetBSD. Fixes PR 35679 and 35865. Bump revision.
2007-03-03 16:51:36 +00:00
joerg
cf990d1560 Now that gd was updated, use it instead of the local version. Bump
revision. Fixes PR 35679.
2007-02-22 14:45:47 +00:00
dmcmahill
cd4ae33c3b since we do not have the csharp stuff in the PLIST, explicitly do not build it 2007-02-16 23:49:11 +00:00
minskim
49037f63e2 Remove the patch obsoleted by swig-1.3.31nb1. This fixes PR 35453. 2007-01-21 16:41:27 +00:00
minskim
69b612a806 Include stdlib.h instead of malloc.h. 2007-01-20 22:17:53 +00:00
joerg
f5f0c5822d Actually include the fix for the memory leak. Noticed by veego. 2007-01-20 14:07:12 +00:00
joerg
66d53e8c0d Disable pangocairo and the resulting xlib plugin for now.
Reenable dynamic loading. It was originally disabled as it
causes segmentation faults on NetBSD for what seems like
memory corruption.
Fix an obvious memory leak.
Depend on ghostscript-fonts to make this much more useful.
Bump revision.
2007-01-20 13:49:03 +00:00
joerg
3ebd7e81ef Modular Xorg support. 2007-01-08 16:35:15 +00:00
adam
6960241fb7 Changes 2.12:
- Bug fix release for 2.10
- The gd plugin for font handlers was not being used at all if the build
  did not use fontconfig, e.g., on Windows. In addition, the code had
  dropped the name mapping to Windows font names.
- PostScript output had an extraneous '%' character on the first line,
  which would cause printing to fail.
- Text handling, during both sizing and layout, incorrectly handled
  empty lines such as label="\nabc".
- HTML-like tables had been changed to use too much vertical space,
  to possibly use the wrong font in calculating the height of a line,
  and to use the wrong offset when moving the baseline from one line to
  the next.
2007-01-08 11:29:47 +00:00
seb
b13b0ec83b As per Makefile revision 1.49 comment out inclusion
of graphics/gd/buildlink3.mk.

This fix the build of packages including
graphics/graphviz/buildlink3.mk
2006-07-16 15:02:43 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
jmc
abaa0a66a9 Add USE_LANGUAGES here as some files are c++.
XXX: gotta love changes which cause builds to fail with (Error 1) and nothing
else. The complete lack of design around this is appalling.
2006-05-11 21:51:40 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
minskim
da1249c351 Remove the dependency on gd. The configure script of graphviz
requires gd>=2.0.34, which was never released.  Thus, it always uses
the internal gd library (gd-2.0.33 with some improvements) and doesn't
depend on the pkgsrc gd library.

Bump PKGREVISION.
2006-03-09 17:40:24 +00:00
minskim
6c3a7e1b8a Link libgvplugin_usershape_gd against all the libraries it depends on to
avoid undefined symbols on Darwin.  This closes PR pkg/32753.
2006-03-09 17:04:58 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
minskim
c15633b67d Use _NSGetEnviron() instead of environ if it is available (e.g. on Darwin).
Suggested by Idar Tollefsen in PR pkg/32753.
2006-02-15 02:53:29 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
minskim
dcc8ad50e1 Do not use hardcoded URW Type 1 font names, which cause errors when
running doxygen. Instead, let fontconfig find PostScript fonts.

Bump PKGREVISION.
2005-11-19 07:36:35 +00:00
rillig
a6fd366b1f gcc-2.* does not understand the -Wno-unused-parameter option, so tell
buildlink to filter it out. Fixes the bulk build on NetBSD 1.6.2/i386.
2005-11-06 23:54:46 +00:00
seb
c1d8ef18eb Relinquish stewardship. 2005-10-08 19:55:21 +00:00
adam
0043b531ed Fix buildling with PHP and/or Ruby installed 2005-10-08 11:20:26 +00:00
adam
2c6e0bf6b4 Changes 2.6:
- experimentally moved source code management from CVS to GIT
	- added iterator functions to script bindings
	- more C-API tuning
	- add "-c" switch to dot to explicitly generate plugin "config" file
		instead of generating it as a side-effect of "dot -V"
	- better support for binary relocation.
	- plugin versioning and version checking
	- clean up of header files
	- provide statically linked "dot_static" (not incl. in rpms)
	- additional "event" support for GUIs (e.g. "DotEdit" graphviz-cairo)
	- add some information about plugins to "dot -v" output.
	- lefty/dotty fixes
	- fix bugs
2005-10-08 08:11:10 +00:00
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00
wiz
d774725534 Change path from devel/pkgconfig to devel/pkg-config.
No PKGREVISION bump since pkg-config is only a BUILD_DEPENDS.
2005-07-21 16:29:42 +00:00
gdt
a2cb88e8d9 Remove LICENSE= and license file because graphviz is licensed under
the Common Public License, which is approved by OSI as an open-source
license.
2005-07-19 14:45:52 +00:00
minskim
f2f919ba32 Depend on the bug-fixed version of gd. 2005-06-07 16:07:14 +00:00
minskim
4226926c6c This package requires gd>=2.0.33. 2005-06-05 22:29:07 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
wiz
2e49a8db83 Including the png buildlink3.mk file once is enough. lha@ found it. 2005-04-28 14:58:06 +00:00
jlam
bc0b927b48 Don't use the new tools framework yet... it's not ready for general use. 2005-04-22 02:18:20 +00:00
seb
ed85e9ae82 Update to version 2.2.1.
Use USE_NEW_TOOLS.

Changes since last packaged version (2.2):
April 7, 2005
        - correct license headers to CPL in .cpp files
        - undo indentation cleanup to dynagraph .h files
        - fix bugs: 183, 247, 419, 615, 616, 625, 626, 627, 643,
                        646, 651, 658, 661, 664, 674
        - fix buffer overrun in Gvfilepath construction
2005-04-20 12:37:57 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
seb
9f32d0ee3b Update to graphviz version 2.2
This should take care of PR pkg/28596.

Changes since last packaged version (2.0)
January 19 2005
        - release 2.2
        - fix bugs: 86, 345, 517, 579, 580, 597, 600, 601, 604
        - use the original cpl1.0.txt as the license master, instead of CPL.html
        - fix for bug generating in memory bitmaps that was affecting webdot
        - fixes for windows builds
        - documenttion updates
2005-03-19 09:13:57 +00:00
agc
6a7b384635 Add RMD160 digests 2005-02-24 08:45:01 +00:00
minskim
8c1170628f Enable pkgviews installation. Patches provided by Joachim Kuebart on
tech-pkg@.
2005-02-23 04:09:50 +00:00
seb
20ea5d562e Update to version 2.0.
Package changes:
  - use GD library from the graphics/gd package

Changes since last packaged version (1.16):
December 11, 2004
  - release 2.0
  - new CPL license
  - re indent all sources
December 11, 2004
  - release 1.18
 dotneato
  - fix bugs: 451, 536, 545, 547, 548, 559, 561, 565, 572
  - increase max size  of HTML tables.
  - spline cluster edges in fdp
  - center userimages in nodes
  - support user images in HTML table cells
  - syntax extension for node:port:compass as well as node:compass
  - FreeBSD fixes
  - sync with gd-2.0.32
  - attempt to catch some out-of-memory conditions with very large graphs
  - support background and node-fill partial transparency when truecolor=true
2004-12-24 18:26:56 +00:00
seb
d1d076e27f Force use of bundled libgd: fix build when libgd is installed beforehand.
Please note that for now the use of an external libgd is still considered
experimental by graphviz team.

Reported by abs@. Thanks!
2004-12-03 11:42:57 +00:00
seb
13c8ee8910 Sort includes and remove a commented out include. 2004-11-30 10:16:14 +00:00
seb
1c70f097e8 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 22:11:50 +00:00