Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,8 +0,0 @@
===========================================================================
$NetBSD: MESSAGE,v 1.4 2005/10/08 08:11:10 adam Exp $
Please read graphviz license terms in:
${PREFIX}/share/graphviz/doc/COPYING
===========================================================================

View File

@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.151 2015/08/07 11:20:34 jaapb Exp $
# $NetBSD: Makefile,v 1.160 2016/09/15 14:32:41 wiz Exp $
DISTNAME= graphviz-2.38.0
PKGREVISION= 8
PKGREVISION= 16
CATEGORIES= graphics
MASTER_SITES= http://www.graphviz.org/pub/graphviz/stable/SOURCES/
@@ -16,7 +16,7 @@ PRIVILEGED_STAGES+= clean
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= automake bison lex pkg-config
USE_TOOLS+= automake bison flex pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-java
CONFIGURE_ARGS+= --disable-php

View File

@@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.54 2015/01/31 23:25:26 jperkin Exp $
$NetBSD: distinfo,v 1.56 2015/12/13 17:44:45 richard Exp $
SHA1 (graphviz-2.38.0.tar.gz) = 053c771278909160916ca5464a0a98ebf034c6ef
RMD160 (graphviz-2.38.0.tar.gz) = a80c2fa6b9955444b2103a99167d7020b23e4c4e
SHA512 (graphviz-2.38.0.tar.gz) = 0e51a97dae595f4e80bc9e4a12ba3c48485fab19941a28d522f5a0624b6a767e0ba720e9e55bff8efe8308dd1cd3793e2c99cb5fdfceb2d5cafb0cbee907e531
Size (graphviz-2.38.0.tar.gz) = 25848858 bytes
SHA1 (patch-cmd_lefty_os_unix_io.c) = 48f91c79b97928b54ae24af59a9fea173f34dfe5
SHA1 (patch-config_config__perl.pl) = 85d535282a819c1055386244f7b520387d0ddbb1
@@ -9,4 +10,5 @@ SHA1 (patch-configure) = f772bedfac63c3b473ebae1621b72982a13fe5a3
SHA1 (patch-configure.ac) = ec844ae85b6be9cf095ec800df6983b061d62b5d
SHA1 (patch-lib_cgraph_scan.l) = 72cc178acb369007a4a672d20af196bb6b6df35b
SHA1 (patch-lib_gvc_Makefile.in) = 985ffe3efb0e7f876ece14dc0d2a719ec06357e2
SHA1 (patch-plugin_gs_gvloadimage__gs.c) = b5b46a1e7dc52f163526c5b8b7e1b893d5500e3c
SHA1 (patch-plugin_xlib_gvdevice__xlib.c) = 932c337dcf9cb53d52f24c6c20818038ed169cd0

View File

@@ -1,7 +1,7 @@
# $NetBSD: options.mk,v 1.20 2015/07/04 16:18:35 joerg Exp $
# $NetBSD: options.mk,v 1.22 2016/09/16 10:53:14 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.graphviz
PKG_SUPPORTED_OPTIONS= gd ghostscript gtk guile lua ocaml pangocairo rsvg tcl x11 perl
PKG_SUPPORTED_OPTIONS= gd ghostscript gtk lua ocaml pangocairo rsvg tcl x11 perl # guile does not build with guile20
PKG_SUGGESTED_OPTIONS= gd gtk lua pangocairo perl tcl x11
# Explanation of consequence of options, to help those trying to slim down:
# guile ocaml lua tcl perl: extension language support
@@ -144,7 +144,7 @@ CONFIGURE_ARGS+= --disable-tcl
.if !empty(PKG_OPTIONS:Mguile)
USING_SWIG= yes
.include "../../lang/guile/buildlink3.mk"
.include "../../lang/guile20/buildlink3.mk"
CONFIGURE_ARGS+= --enable-guile
PLIST.guile= yes
.else

View File

@@ -0,0 +1,34 @@
$NetBSD: patch-plugin_gs_gvloadimage__gs.c,v 1.1 2015/12/13 17:44:45 richard Exp $
ghostscript-agpl enforces using gserrors.h which is not included
by default in ghostscript-gpl, so conditionalise based upon which
one is being used.
--- plugin/gs/gvloadimage_gs.c.orig 2014-04-13 20:40:25.000000000 +0000
+++ plugin/gs/gvloadimage_gs.c
@@ -72,6 +72,16 @@ static void gs_error(GVJ_t * job, const
assert (err < 0);
+#ifdef gserrors_INCLUDED /* ghostscript-agpl uses gserrors.h */
+ if (err >= gs_error_VMerror)
+ errsrc = "PostScript Level 1";
+ else if (err >= gs_error_unregistered)
+ errsrc = "PostScript Level 2";
+ else if (err >= gs_error_invalidid)
+ errsrc = "DPS error";
+ else
+ errsrc = "Ghostscript internal error";
+#else
if (err >= e_VMerror)
errsrc = "PostScript Level 1";
else if (err >= e_unregistered)
@@ -80,7 +90,7 @@ static void gs_error(GVJ_t * job, const
errsrc = "DPS error";
else
errsrc = "Ghostscript internal error";
-
+#endif
job->common->errorfn("%s: %s() returned: %d \"%s\" (%s)\n",
name, funstr, err, gs_error_names[-err - 1], errsrc);
}