Commit graph

102 commits

Author SHA1 Message Date
tron
114fece0f0 Backout last change because "lib/config" gets created by the INSTALL
script and removed by the DEINSTALL script. Problem pointed out
by Joerg Sonnenberger.
2009-04-01 17:12:57 +00:00
tron
b7163e2ec9 Fix package list problem introduced in revision 1 by adding
"lib/graphviz/config" back. Problem noted by Jens Rehsack.
2009-04-01 16:36:06 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
wiz
bee1bef3d2 Include fontconfig instead of jpeg and png (which were removed from
Makefile). Unbreaks e.g. doxygen build.
2009-03-06 07:36:34 +00:00
wiz
339569eb2f MKDIR lib/graphviz/guile, its existence depends on PKG_OPTIONS. 2009-03-06 07:35:53 +00:00
joerg
b5cd29413f Fix DESTDIR build. 2009-03-03 16:04:53 +00:00
tron
7558a63ee6 Don't attempt to remove the the directory "/usr/pkg/lib/lua/5.1" after
building because it is owned by the "lua" package.
2009-03-02 20:15:43 +00:00
tron
f18a07c65b Fix more problems in borked recent update:
1.) Add binary and manual page symlinks which "CHECK_FILES" didn't catch
    on my system as there were already present from previous installs.
    Problem noted by Hasso Tepper in private e-mail.
2.) Stop the install phase from creating "/usr/lib/lua/5.1" and writing
    files to it.

Bump package revision again because of these fixes.
2009-03-02 11:24:58 +00:00
tron
b1a0a83801 Fix a lot of problems caused by th recent update:
1.) Add missing RCS Ids.
2.) Add missing ".pdf" files to the package list.
3.) Remove all entries for ".so*" and ".a" files and let "pkgsrc"
    derive them automatically from the ".la" files.
4.) Fix interpreter path in two example scripts.

Bump package revision after all these fixes.
2009-03-01 21:58:53 +00:00
drochner
99614dd6db kill a bash specific variable substitution in the "configure" script
so that it can be executed by a standard shell
(the section is question is windows specific, so just remove it)
This should fix PR pkg/40765 by Joern Clausen
2009-02-28 13:19:46 +00:00
sno
cb4ecb9af0 pkgsrc changes:
- update to 2.20.3

Upstream changes:

October 7, 2008
        - Release 2.20.1
        - Security fix for stack overflow problem in the graph parser reported by IBM
June 25, 2008
        - Release 2.20.2
        - Fix bug in HTML-like labels
June 23, 2008
        - Release 2.20.1
        - Fix bug in ccomps related to conversion to cgraph
June 20, 2008
        - Release 2.20.0
        - Preparing for Release 2.20
        - Fixed bugs: 1315, 1317, 1324, 1336, 1343, 1364
        - Add new "folder" shape for nodes.
        - Migration of gvpr tools to libcgraph.
        - New output format -Teps  (encapsulated postscript)
        - Various NetBSD and SuSE fixes incorporated
        - ./configure now provides a summary
        - RPM specfile updates for fedora-10 (no more string comparisons)
        - Add MacOS support (Glen Low)
March 10, 2008
        - Release 2.18
        - Fixed bugs: 1249, 1255, 1256, 1268, 1276, 1289, 1295, 1300,
                Fedora BZ#247376,
        - in -Tps use a new number formatter that suppresses trailing 0.
        - support tcl/tk-8.5
        - support gcc-4.3
        - support for node usershapes/images in svg format (thanks Alex Poylisher)
        - install: perl, php, python, ruby, tcl, bindings in language-specified directories
        - add arrowhead scaling with edge penwidth
        - add "folder" node shape (thanks Pander)
        - many windows and mac fixes (thanks Glen)
        - add "smyna" large graph view (thanks Arif) (not yet included in binary distros)
2009-02-26 19:45:14 +00:00
epg
ef3c2af691 Fix some PLIST bugs:
- Drop duplicate PLIST vars (e.g. ${PLIST.tcl}${PLIST.guile}
  instead of just ${PLIST.tcl}).
- Include ocaml files when using ocaml option.
2008-11-15 01:28:41 +00:00
wiz
285b7dd776 Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal. 2008-11-10 17:21:33 +00:00
tron
419e63577a Add patch for the graphviz 2.20.3 release to fix the security
vulnerability reported in SA32186.
2008-10-12 13:14:39 +00:00
gdt
55d8b34142 Remove commented out buildlink3.mk lines that are now in options.mk. 2008-08-01 12:02:09 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
gdt
daad29fe99 remove ${TCL} from lua files in PLIST, because they do get built and
installed when lua is enabled and tcl is not.
2008-03-14 12:56:01 +00:00
joerg
b0817a2185 Ensure that pthread it linked for any program that might open graphviz
plugins. This should fix the crash on NetBSD 4 and earlier, the
remaining part of PR 38045.
2008-03-14 01:16:36 +00:00
joerg
7424964de5 Fix dynamic linkage (again). Fix a segmentation fault when the config
file can't be opened for write. Fix guile option.

Bump revision.
2008-03-11 15:46:57 +00:00
wiz
44a6599d29 Create the empty directories that are removed during uninstall even
for binary packages.

Bump PKGREVISION.
2008-03-10 12:37:58 +00:00
adam
e6dc71ea32 Changes 2.16.1:
- Fixed bugs
- Improvements to PHP binding
- Improvements to OCAML binding
- Make regression tests run from the build tree, rather than require
  installation
- Repair freetype detection on RedHat-7 (Yes, people still use it!!)
- Fix zoom-at-mouse-location in -Txlib and -Tgtk
- Fix some dotty regressions

Changes 2.16:
- Fixed bugs
- new regression test suite
- new cgraph library (will eventually replace graph and agraph)
- add "image" and "imagescale" for simpler support for images in nodes
- add "tab" "box3d" and "component" shapes
- replace arith.h in distro
- add functions to access version info to avoid need for gvcint.h
- Fix problem with irregular character spacing at 96dpi in pango/cairo output
  formats.
- Add gdk_pixbuf plugin providing: .bmp .ico .jpg .png .tif
- Add DevIL plugin providing: .bmp .jpg .png .tif .tga
- Extend GD plugin to provide a backend to cairo for: .gif .jpg .png .gd .gd2
  .wbmp  <- gifs are now antialiased
- Rework plugin framework to separate device from renderer, and to autoload
  load dependendent plugins
- show defaults in output from: ./configure --help
- add more info to dot -v  and dot -v2 debug outputs
- various issues with CR/LF in windows, but not in binary outputs.
2008-02-06 18:56:52 +00:00
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