From owner-svn-ports-head@freebsd.org Tue Oct 8 19:35:05 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0E4BA1347AA; Tue, 8 Oct 2019 19:35:05 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46nncS6jGdz4QLD; Tue, 8 Oct 2019 19:35:04 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CAA5E5095; Tue, 8 Oct 2019 19:35:04 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x98JZ4xj015659; Tue, 8 Oct 2019 19:35:04 GMT (envelope-from dinoex@FreeBSD.org) Received: (from dinoex@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x98JZ4TK015656; Tue, 8 Oct 2019 19:35:04 GMT (envelope-from dinoex@FreeBSD.org) Message-Id: <201910081935.x98JZ4TK015656@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dinoex set sender to dinoex@FreeBSD.org using -f From: Dirk Meyer Date: Tue, 8 Oct 2019 19:35:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r514099 - in head/graphics/graphviz: . files X-SVN-Group: ports-head X-SVN-Commit-Author: dinoex X-SVN-Commit-Paths: in head/graphics/graphviz: . files X-SVN-Commit-Revision: 514099 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2019 19:35:05 -0000 Author: dinoex Date: Tue Oct 8 19:35:03 2019 New Revision: 514099 URL: https://svnweb.freebsd.org/changeset/ports/514099 Log: - new option GO - fix option PYTHON PR: 241123 Modified: head/graphics/graphviz/Makefile head/graphics/graphviz/files/patch-configure.ac head/graphics/graphviz/pkg-plist Modified: head/graphics/graphviz/Makefile ============================================================================== --- head/graphics/graphviz/Makefile Tue Oct 8 19:13:02 2019 (r514098) +++ head/graphics/graphviz/Makefile Tue Oct 8 19:35:03 2019 (r514099) @@ -51,8 +51,8 @@ FIX_TK_SCRIPT= tclpkg/tcldot/demo/doted.tcl \ OPTIONS_DEFINE= XPM DIGCOLA IPSEPCOLA ICONV NLS PANGOCAIRO POPPLER \ ANN GTS GTK2 GDK GDK_PIXBUF GNOMEUI SMYRNA DEVIL \ - GHOSTSCRIPT PERL PHP PYTHON RUBY LUA TCL TK GUILE NVTHREADS \ - DOCS EXAMPLES + GHOSTSCRIPT PERL PHP PYTHON RUBY LUA TCL TK GUILE GO \ + NVTHREADS DOCS EXAMPLES OPTIONS_DEFAULT= XPM DIGCOLA IPSEPCOLA ICONV PANGOCAIRO NVTHREADS NO_OPTIONS_SORT=yes OPTIONS_SUB= yes @@ -75,6 +75,7 @@ RUBY_DESC= Ruby bindings (swig) LUA_DESC= Lua bindings (swig) TCL_DESC= TCL bindings (swig) GUILE_DESC= Guile bindings (swig) +GO_DESC= Go bindings (swig) TK_DESC= TK toolkit support NVTHREADS_DESC= Link with threads (needed for nvidia) @@ -89,10 +90,11 @@ GHOSTSCRIPT_USES=ghostscript PERL_USES= perl5 PHP_USE= GNOME=libxml2 PHP_USES= php:build -PYTHON_USES= python:2.7,build +PYTHON_USES= python:build RUBY_USE= RUBY=yes LUA_USES= lua TK_USES= tk:build +GO_USES= go:no_targets DOCS_USES= ghostscript:build POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib @@ -138,6 +140,7 @@ PHP_VARS= SHEBANG_FILES+=tclpkg/gv/demo/modgraph.php PYTHON_CONFIGURE_ENABLE= python PYTHON_LDFLAGS= "-L${PYTHONBASE}/lib" PYTHON_VARS= SHEBANG_FILES+=tclpkg/gv/demo/modgraph.py +PYTHON_CONFIGURE_ENV= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" RUBY_CONFIGURE_ENABLE= ruby RUBY_CONFIGURE_ENV= RUBY="${RUBY}" RUBY_VARS= SHEBANG_FILES+=tclpkg/gv/demo/modgraph.rb @@ -157,6 +160,7 @@ TK_CONFIGURE_ON= --with-wish=${WISH} TK_CONFIGURE_ENV= TKCONFIG="${TK_LIBDIR}/tkConfig.sh" TK_IMPLIES= TCL GUILE_CONFIGURE_ENABLE= guile +GO_CONFIGURE_ENABLE= go NVTHREADS_LDFLAGS= -lpthread .include @@ -176,6 +180,7 @@ CONFIGURE_ARGS+= --program-transform-name="s/x/x/" \ --without-rsvg \ --with-qt=no \ --disable-io --disable-ocaml --disable-java \ + --disable-python2 --disable-python3 \ --disable-sharp .if ${PORT_OPTIONS:MICONV} @@ -187,7 +192,7 @@ CONFIGURE_ARGS+= --without-libiconv-prefix .if ${PORT_OPTIONS:MPERL} || ${PORT_OPTIONS:MPHP} || ${PORT_OPTIONS:MPYTHON} || \ ${PORT_OPTIONS:MRUBY} || ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MTCL} || \ - ${PORT_OPTIONS:MGUILE} + ${PORT_OPTIONS:MGUILE} || ${PORT_OPTIONS:MGO} BUILD_DEPENDS+= swig3.0:devel/swig30 RUN_DEPENDS+= swig3.0:devel/swig30 CONFIGURE_ARGS+= --enable-swig Modified: head/graphics/graphviz/files/patch-configure.ac ============================================================================== --- head/graphics/graphviz/files/patch-configure.ac Tue Oct 8 19:13:02 2019 (r514098) +++ head/graphics/graphviz/files/patch-configure.ac Tue Oct 8 19:35:03 2019 (r514099) @@ -30,6 +30,15 @@ LUA_LIBS="$LUA_LFLAGS "`$PKG_CONFIG --libs lualib$l` fi break +@@ -1181,7 +1181,7 @@ else + use_python="No (python is too old)" + else + PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"` +- PYTHON_INCLUDES=-I$PYTHON_PREFIX/include/python$PYTHON_VERSION_SHORT ++ PYTHON_INCLUDES=-I$PYTHON_INCLUDEDIR + # PYTHON_LIBS="-lpython$PYTHON_VERSION_SHORT" + PYTHON_LIBS="-undefined dynamic_lookup" + PYTHON_INSTALL_DIR="`$PYTHON $srcdir/config/config_python.py archsitelib`" @@ -1412,6 +1412,7 @@ else use_ruby="No (ruby not available)" else Modified: head/graphics/graphviz/pkg-plist ============================================================================== --- head/graphics/graphviz/pkg-plist Tue Oct 8 19:13:02 2019 (r514098) +++ head/graphics/graphviz/pkg-plist Tue Oct 8 19:35:03 2019 (r514099) @@ -76,6 +76,10 @@ include/graphviz/usershape.h include/graphviz/vis.h include/graphviz/vispath.h include/graphviz/xdot.h +%%GO%%lib/graphviz/go/gv.go +%%GO%%lib/graphviz/go/libgv_go.la +%%GO%%lib/graphviz/go/libgv_go.so +%%GO%%lib/graphviz/go/runtime.h %%GUILE%%lib/graphviz/guile/libgv_guile.la %%GUILE%%lib/graphviz/guile/libgv_guile.so lib/graphviz/libgvplugin_core.la @@ -275,6 +279,7 @@ man/man3/cdt.3.gz man/man3/cgraph.3.gz man/man3/expr.3.gz %%TCL%%man/man3/gdtclft.3tcl.gz +%%GO%%man/man3/gv.3go.gz %%GUILE%%man/man3/gv.3guile.gz %%LUA%%man/man3/gv.3lua.gz %%PERL%%man/man3/gv.3perl.gz @@ -504,6 +509,7 @@ man/man7/graphviz.7.gz %%TCL%%%%PORTDOCS%%%%DOCSDIR%%/pdf/gdtclft.3tcl.pdf %%PORTDOCS%%%%DOCSDIR%%/pdf/gml2gv.1.pdf %%PORTDOCS%%%%DOCSDIR%%/pdf/graphml2gv.1.pdf +%%GO%%%%PORTDOCS%%%%DOCSDIR%%/pdf/gv.3go.pdf %%GUILE%%%%PORTDOCS%%%%DOCSDIR%%/pdf/gv.3guile.pdf %%LUA%%%%PORTDOCS%%%%DOCSDIR%%/pdf/gv.3lua.pdf %%PERL%%%%PORTDOCS%%%%DOCSDIR%%/pdf/gv.3perl.pdf