diff -Nru graphviz-2.38.0/debian/changelog graphviz-2.38.0/debian/changelog --- graphviz-2.38.0/debian/changelog 2015-12-17 17:12:28.000000000 -0800 +++ graphviz-2.38.0/debian/changelog 2016-02-17 18:27:32.000000000 -0800 @@ -1,3 +1,10 @@ +graphviz (2.38.0-12ubuntu1) xenial; urgency=medium + + * Disable libgv-php5 while swig does not support PHP 7.0 + (LP: #1546823). + + -- Nishanth Aravamudan Wed, 17 Feb 2016 18:14:22 -0800 + graphviz (2.38.0-12build1) xenial; urgency=medium * Rebuild for Perl 5.22.1. diff -Nru graphviz-2.38.0/debian/control graphviz-2.38.0/debian/control --- graphviz-2.38.0/debian/control 2015-11-17 09:30:45.000000000 -0800 +++ graphviz-2.38.0/debian/control 2016-02-17 18:12:11.000000000 -0800 @@ -27,8 +27,6 @@ liblua5.2-dev, ruby, ruby-dev (>= 1:2.2), - php5-dev, - php5-cli, python-all-dev (>= 2.6.6-3~), libcairo2-dev, libpango1.0-dev, @@ -105,16 +103,6 @@ . This package contains the Perl bindings. -Package: libgv-php5 -Architecture: any -Section: php -Depends: ${shlibs:Depends}, ${php:Depends}, ${misc:Depends} -Description: PHP5 bindings for graphviz - Graphviz is a set of graph drawing tools. See the description of the graphviz - package for a full description. - . - This package contains the PHP5 bindings. - Package: libgv-python Architecture: any Section: python diff -Nru graphviz-2.38.0/debian/libgv-php5.install graphviz-2.38.0/debian/libgv-php5.install --- graphviz-2.38.0/debian/libgv-php5.install 2014-12-10 07:25:41.000000000 -0800 +++ graphviz-2.38.0/debian/libgv-php5.install 1969-12-31 16:00:00.000000000 -0800 @@ -1,2 +0,0 @@ -usr/lib/graphviz/php -usr/share/man/man3/gv.3php diff -Nru graphviz-2.38.0/debian/libgv-php5.README.Debian graphviz-2.38.0/debian/libgv-php5.README.Debian --- graphviz-2.38.0/debian/libgv-php5.README.Debian 2014-12-10 07:25:41.000000000 -0800 +++ graphviz-2.38.0/debian/libgv-php5.README.Debian 1969-12-31 16:00:00.000000000 -0800 @@ -1,17 +0,0 @@ -README for libgv-php5: ----------------------- - - * This PHP extension contains two parts: gv.php and gv.so. - * Since the search path isn't recursive, one has to use the following - to use this extension (filename relative to /usr/share/php): - include('libgv-php5/gv.php'); - * Since this extension contains a loadable module, it seems needed to - enable them in the PHP configuration. At the time of this writing, it - can be done by switching enable_dl from Off to On in the following - configuration file: - /etc/php5/cli/php.ini - * This particular file contains comments about possible security issues - when enabling loadable modules. Those comments probably should be - taken into account. - - -- Cyril Brulebois , Mon, 28 Jul 2008 05:09:59 +0200 diff -Nru graphviz-2.38.0/debian/patches/0_bindings_documentation graphviz-2.38.0/debian/patches/0_bindings_documentation --- graphviz-2.38.0/debian/patches/0_bindings_documentation 2014-12-10 07:25:41.000000000 -0800 +++ graphviz-2.38.0/debian/patches/0_bindings_documentation 2016-02-17 18:13:47.000000000 -0800 @@ -25,17 +25,6 @@ } USAGE { } -@@ -348,8 +355,8 @@ - SYNOPSIS { - {#!/usr/bin/php} - {} - } - USAGE { @@ -395,7 +402,6 @@ } SYNOPSIS { diff -Nru graphviz-2.38.0/debian/rules graphviz-2.38.0/debian/rules --- graphviz-2.38.0/debian/rules 2015-11-17 09:52:39.000000000 -0800 +++ graphviz-2.38.0/debian/rules 2016-02-17 18:13:21.000000000 -0800 @@ -27,9 +27,6 @@ SO_XDOT = 4 SO_GVPR = 2 -PHP_EXTENSION_DIR = $(shell php-config5 --extension-dir) -PHP_PACKAGE = $(CURDIR)/debian/libgv-php5 - LUA_VERSION = 5.2 LUA_PACKAGE = $(CURDIR)/debian/libgv-lua @@ -76,7 +73,6 @@ --without-rsvg \ --enable-guile \ --enable-lua \ - --enable-php \ --enable-ruby \ --enable-tcl \ --disable-java \ @@ -125,7 +121,7 @@ rm -f debian/libgvc$(SO_GVC)-config-update.8 dh_clean $(CONFIG_SCRIPTS) \ - tclpkg/gv/gv.R tclpkg/gv/php_gv.h + tclpkg/gv/gv.R dh_autoreconf_clean dh_clean @@ -175,18 +171,6 @@ mv $(CURDIR)/debian/libgvc$(SO_GVC)/usr/sbin/dot \ $(CURDIR)/debian/libgvc$(SO_GVC)/usr/sbin/libgvc$(SO_GVC)-config-update - # Some additional work for libgv-php5 - install -d $(PHP_PACKAGE)/$(PHP_EXTENSION_DIR) - mv $(PHP_PACKAGE)/usr/lib/graphviz/php/libgv_php.so \ - $(PHP_PACKAGE)/$(PHP_EXTENSION_DIR)/gv.so - install -d $(PHP_PACKAGE)/usr/share/php/libgv-php5 - mv $(PHP_PACKAGE)/usr/lib/graphviz/php/gv.php \ - $(PHP_PACKAGE)/usr/share/php/libgv-php5 - rm -rf $(PHP_PACKAGE)/usr/lib/graphviz - echo "php:Depends=phpapi-`php-config5 --phpapi`" >> $(PHP_PACKAGE).substvars - install -d $(PHP_PACKAGE)/etc/php5/mods-available/ - cp $(CURDIR)/debian/gv.ini $(PHP_PACKAGE)/etc/php5/mods-available/ - # Some additional work for libgv-lua # 1. Rename using the LUA_VERSION mv $(LUA_PACKAGE)/usr/lib/graphviz/lua/libgv_lua.so \