--- graphviz-2.20.2.orig/debian/README.source
+++ graphviz-2.20.2/debian/README.source
@@ -0,0 +1,46 @@
+Packaging graphviz for Debian
+-----------------------------
+
+  [ New upstream release ]
+  * Update the list of config scripts if needed.
+
+  [ Patches ]
+  * Patch management: quilt is used, remember to run "autoreconf -vfi" with
+    automake1.10 installed, so as to produce the appropriate patch, stored as
+    the last patch of the series, 0_autoreconf_run. One shouldn't forget to
+    delete autom4te.cache directories before refreshing the patch.
+  * As of 2.14, there are no longer patches which imply an autoreconf run, so
+    this patch no longer exists. Anyway, upstream now uses automake1.10.
+  * The following prefix convention was originally used for patch names:
+     0 - Debian-specific fix
+     1 - Backported fix (followed by a 4-digit upstream bug number, if any)
+     2 - Submitted fix (followed by a 4-digit upstream bug number, if any)
+     3 - Not-yet submitted fix.
+    The frontier between 2 and 3 is no longer clear, since there was a lot of
+    patches sent upstream during the last weeks (may 2007), so 3_* patches
+    might have already been incorporated into upstream's CVS, and further
+    patches are likely to be sent upstream as soon as added to the package.
+
+  [ Library handling ]
+  * dh_makeshlibs: the -V option is used to ensure that the versioned-Depends
+    on libgraphvizN is sufficient, so that one is sure that the config file
+    update mechanism is present.
+
+  [ Plugins & config file ]
+  * They are/will be named libgraphvizN-*-plugin.
+  * They have to use this mechanism in post{inst,rm} scripts to ensure that
+    they are correctly registered. Copying the first stanza (about
+    libgraphvizN-dev-config-update) of libgraphvizN's postinst to both plugin's
+    postinst and postrm should be sufficient.
+  * Each libgraphvizN should take care of its own "configN" file (creation,
+    update, removal). In addition, "config" file should be removed (e.g. in
+    postinst), since it may have subsisted during 2.8 -> 2.12 migration.
+  * Care must be taken about the plugin files, they have to be excluded from
+    the libgraphvizN package (see libgraphvizN.install), that's why the content
+    of this latter package has to be listed in extenso, and that's why jokers
+    aren't used for some files (esp. under /usr/lib/graphviz).
+  * lib/gvc/gvconfig.c:gvconfig() is patched to use "configN" instead of
+    "config", so as to be able to have several library versions installed at
+    the same time, which is not possible with a common configuration file.
+
+ -- Cyril Brulebois <kibi@debian.org>  Sun, 22 Jun 2008 15:37:43 +0200
--- graphviz-2.20.2.orig/debian/changelog
+++ graphviz-2.20.2/debian/changelog
@@ -0,0 +1,1072 @@
+graphviz (2.20.2-3~bpo40+1) etch-backports; urgency=low
+
+  * Backport for etch
+  * control: etch: downgrade to tcl/tk 8.4 [etch].
+  * Build-dep: Downgrade to libgd2-noxpm-dev (>= 2.0.33) [etch].
+  * rules/control: Disable libgv-python && 	--enable-python25 configure
+    option [build problems].
+  * rules/control: Disable libgv-php5 [swig in etch].
+
+ -- Stephan Suerken <absurd@debian.org>  Thu, 11 Dec 2008 17:47:44 +0100
+
+graphviz (2.20.2-3) unstable; urgency=high
+
+  * Backport patch to fix a stack overflow in the graph parser, reported
+    by IBM and fixed in 2.20.3. To avoid autotools noise, only the actual
+    fix is backported here, instead of pulling a brand new upstream
+    release (though functionally minimal). As usual, thanks to upstream
+    for their absolute kindness:
+     - debian/patches/20_fix_parser_stack_overflow
+  * Set “urgency=high” accordingly, after discussion with the security
+    team.
+
+ -- Cyril Brulebois <kibi@debian.org>  Sun, 12 Oct 2008 23:24:12 +0200
+
+graphviz (2.20.2-2) unstable; urgency=low
+
+  * Backport patch by Emden R. Gansner to fix a regression in tred, which
+    happened during the transition to cgraph (in 2.20.0), spotted by
+    Wouter Koolen-Wijkstra (Closes: #493494):
+     - debian/patches/10_fix_tred_regression
+
+ -- Cyril Brulebois <kibi@debian.org>  Sat, 16 Aug 2008 07:29:59 +0200
+
+graphviz (2.20.2-1) unstable; urgency=low
+
+  * New upstream bugfix release.
+  * debian/rules:
+     - Add “--without-gts” to configure arguments to make sure not to link
+       against GTS, at least for now.
+     - Add “--disable-r” since there's no need to build it for now, as it
+       isn't shipped anyway.
+  * debian/libgraphviz-dev.install:
+     - Add cgraph.3 manpage, forgotten in the previous upload.
+  * Fix the PHP bindings (Closes: #489964):
+     - Ship gv.php under /usr/share/php/libgv-php5.
+     - Ship gv.so under /usr/lib/php5/<version>/libgv-php5, instead of the
+       previous libgv_php.so.
+     - Ship a README.Debian in the libgv-php5 package explaining how to
+       use this extension.
+     - Update the 0_bindings_documentation patch to reflect that the
+       correct usage is include()ing the .php file, rather than dl()ing
+       the .so file.
+  * Update fonts dependencies since Times is now available in main, thanks
+    to Thijs Kinkhorst for the notice (Closes: #490043):
+     - Drop Suggests on msttcorefonts.
+     - Add Recommends on ttf-liberation.
+
+ -- Cyril Brulebois <kibi@debian.org>  Fri, 01 Aug 2008 04:04:54 +0200
+
+graphviz (2.20.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/patches/0_versioned_plugin_config_file:
+     - Refresh context.
+  * debian/patches/0_bindings_documentation:
+     - Refresh, drop some hunks merged upstream.
+  * debian/patches/0_tcl_manpages_section:
+     - Refresh.
+  * debian/patches/1_disable_lumping_all_include_directories:
+     - Drop, was backported from upstream.
+  * debian/patches/0_autoreconf_run:
+     - Drop, no longer needed.
+  * debian/libgraphviz4.lintian-overrides:
+     - Drop several-sonames-in-same-package, no longer reported.
+     - Update package-name-doesnt-match-sonames.
+  * debian/rules:
+     - Bump shlibs, new symbols.
+     - Call chrpath to strip the rpath on /usr/lib (at least on amd64),
+       but not the one on /usr/lib/graphviz (needed for a plugin at
+       least), and fail if there's an unknown RPATH, so that the
+       appropriate tweak can be added.
+  * debian/README.Debian-packaging:
+     - Rename into debian/README.source per Policy 3.8.0.
+  * debian/control:
+     - Add chrpath to Build-Depends.
+     - Add lua5.1 to Build-Depends, now needed for lua detection.
+     - Bump Standards-Version from 3.7.3 to 3.8.0 (one change, see above).
+     - Update my mail address. Thanks for their sponsorship to:
+        - Mohammed Adnène Trojette (adn),
+        - Alexander Sack,
+        - Kari Pahula,
+        - Ana Beatriz Guerrero Lopez,
+        - Paul Wise,
+        - Lucas Nussbaum,
+        - Pierre Habouzit,
+       with special thanks to Ana and Pierre who got poked more than the
+       others, and to Alexander who got me through NM.
+
+ -- Cyril Brulebois <kibi@debian.org>  Sun, 29 Jun 2008 17:24:08 +0200
+
+graphviz (2.18-1) unstable; urgency=low
+
+  * New upstream release:
+     - Move from Tcl/Tk 8.4 to 8.5.
+     - Now build python2.4 and python2.5 modules.
+  * debian/control:
+     - Replace tcl8.4-dev and tk8.4-dev with tcl8.5-dev and tk8.5-dev in
+       Build-Depends accordingly.
+     - Update the version in the long description of libgv-tcl.
+     - Add python2.5-dev to Build-Depends.
+     - Mention both versions in the long description of libgv-python.
+     - Drop libttf-dev from Build-Depends since that's a deprecated
+       package, replaced by libfreetype6-dev (which is already there),
+       thanks to Moritz Muehlenhoff for the notice (Closes: #473487).
+  * debian/libgv-tcl.install:
+     - Delete the entry about pkgIndex.tcl since it's now shipped under
+       the tcl directory.
+  * debian/libgv-python/install:
+     - Add “usr/lib/graphviz/python{24,25}”, later rearranged through
+       debian/rules.
+  * debian/pyversions:
+     - Add it, containing “2.4,2.5”.
+  * debian/rules:
+     - Pass an extra flag to configure: “--without-rsvg” to avoid an extra
+       plugin to be built, which would pull many other dependencies. A new
+       binary package might be introduced later, with both gtk and rsvg
+       plugins.
+     - Bump shlibs, new symbols.
+     - Use “pyversions -s” rather than “pyversions -d”.
+     - Use “--enable-python{24,25}” instead of just “--enable-python”.
+     - Install both python modules under appropriate site-packages
+       directories.
+     - Duplicate gv.py in both directories, then taken care of by
+       python-support.
+     - Get rid of tclpkg/gv/gv.R and tclpkg/gv/php_gv.h through dh_clean
+       to keep the diff clean.
+  * Drop workaround for FTBFS with gcc-4.3, fixed upstream:
+     - 2_workaround_ftbfs_with_gcc-4.3.
+  * Backport fix from CVS, preventing all include directories from being
+    lumped together, does causing python2.5 to be misbuilt (using
+    python2.4 includes).
+     - Add 1_disable_lumping_all_include_directories: Actual fix.
+     - Add 0_autoreconf_run: Needed since a Makefile.am is touched.
+     - Disable 0_libtool_linking_reorder_workaround: no longer applies
+       because of the autoreconf run.
+
+ -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>  Sat, 12 Apr 2008 02:11:00 +0200
+
+graphviz (2.16.1-3) unstable; urgency=low
+
+  * Add workaround for FTBFS with gcc-4.3 (Closes: #466810):
+     - 2_workaround_ftbfs_with_gcc-4.3.
+  * Update doc-base section: from “Apps/Graphics” to “Graphics”.
+
+ -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>  Wed, 26 Mar 2008 00:43:57 +0100
+
+graphviz (2.16.1-2) unstable; urgency=low
+
+  * Improved debian/copyright:
+     - Distinguish between copyright and license.
+     - Add copyright years and copyright holder (AT&T Corp.).
+     - Use “Copyright” and “©” instead of “(C)”.
+
+ -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>  Tue, 26 Feb 2008 14:33:24 +0100
+
+graphviz (2.16.1-1) experimental; urgency=low
+
+  * New upstream release:
+     - Fixes regressions in dotty (Closes: #461530).
+  * Replaced “-V” with “-V 'libgraphviz4 (>= 2.16)'” in the dh_makeshlibs
+    call since no shlibs bump is required for this new upstream release.
+  * Dropped patch (merged upstream):
+     - 2_ocaml_tweak.
+     - 0_autoreconf_run (it was only needed because of 2_ocaml_tweak).
+  * Refreshed patches:
+     - 0_versioned_plugin_config_file.
+     - 0_bindings_documentation.
+  * Moved sections, resolving override disparities:
+     - libgv-python: from interpreters to python.
+     - graphviz-dev: from graphics to devel.
+  * Now ship diffimg since it actually looks useful to at least someone,
+    thanks to David Liontooth for having requested it (Closes: #460595).
+    Done by reverting the diffimg deletion in “install” target.
+  * Adapted Tcl bindings: moved to a subdirectory of /usr/lib/tcltk to
+    comply with the Tcl/Tk policy.
+  * Adapted the manpage accordingly: in the “load” call, adjusted the
+    path to the shared object.
+  * Dropped NEWS.Debian since its content wasn't really what one would
+    expect when stumbling upon it, thanks to Steve Langasek for the
+    original comment.
+  * Refreshed README.Debian:
+     - Dropped the note about gpr->gvpr and colorize->gvcolor renames.
+       That was done long ago (graphviz 1.10).
+     - Dropped notices about: bindings, -dev, and -doc packages.
+     - Updated pointers to examples and contrib files (Closes: #459955).
+     - Added a note about diffimg now being shipped (see above).
+     - Kept notes about the suggested packages mostly as-is, they need an
+       update.
+     - Refreshed entry about graphviz.7 (included upstream).
+     - Included former NEWS.Debian's item about C# and Java bindings.
+  * Improved handling of libgraphvizN-config-update:
+     - Build it from perlpod: debian/libgraphviz-config-update.pod.in
+       (and delete generated files in the “clean” target).
+     - Use a placeholder to refresh the SONAME automatically.
+     - Dropped debian/libgraphviz4-config-update.1 accordingly.
+  * No longer ship any .la file. Remaining ones were shipped through
+    libgraphviz-dev and libgv-tcl. Reverse dependencies can still be built
+    from sources without any troubles, so this deletion sounds safe.
+
+ -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>  Thu, 21 Feb 2008 23:25:37 +0100
+
+graphviz (2.16-3) unstable; urgency=low
+
+  * Renamed libgraphviz4-dev to libgraphviz-dev since a single version is
+    supported at once:
+     - debian/control:
+        - Replaced libgraphviz4-dev with libgraphviz-dev.
+        - Added “Conflicts/Replaces: libgraphviz4-dev (<< 2.16-3)” to the
+          libgraphviz-dev package so that upgrades are possible for people
+          having installed the libgraphviz4-dev package from experimental.
+        - Added “Replaces: libgraphviz3-dev” at the same time.
+     - debian/rules: Removed $(SONAME) from libgraphviz$(SONAME)-dev.
+     - debian/libgraphviz4-dev.install -> debian/ libgraphviz-dev.install.
+  * Added “LDFLAGS="-Wl,--as-needed"” to the ./configure call so as to
+    avoid extra linking. It works for all binaries (/usr/bin/*) at least.
+  * Since the above isn't sufficient to get rid of extra linking in
+    libraries (because of libtool's bug #347650), the following patch
+    against config/ltmain.sh and libltdl/ltmain.sh has been added:
+     - 0_libtool_linking_reorder_workaround.
+  * Added “--without-ipsepcola” to ./configure to avoid FTBFS on arm. The
+    problem is due to a wrong linking of C++ code (since g++ isn't used
+    at the moment). Not that easy to fix (but being worked on), disabling
+    this feature for now.
+  * Nuke trailing whitespaces in various debian/* files.
+  * Order ./configure arguments, grouping them by category (build options,
+    general options, features, bindings).
+  * Switch to a build-time update of config.{guess,sub} scripts:
+     - Listed in $(CONFIG_SCRIPTS), to be updated on each new upstream
+       release (added to debian/README.Debian-packaging).
+     - Updated during the “configure” target, dh_clean'd during the
+       “clean” one.
+     - The Build-Depends on autotools-dev was there already.
+  * Deleted patch (no longer needed, see above):
+     - 0_autotools_config_files.
+  * Don't ship empty directories, by deleting /usr/lib/graphviz for php
+    and python bindings, rather than /usr/lib/graphviz/$LANGUAGE.
+  * Fixed ruby bindings, now that a policy draft exists:
+     - Ship the ruby module where it belongs (Closes: #454622).
+     - Updated patch (the RUBYLIB trick is no longer needed):
+        - 0_bindings_documentation.
+     - Added an explicit dependency on ruby1.8.
+  * Moved the build dependency from libgd2-xpm-dev to libgd2-noxpm-dev,
+    since this latter is sufficient, and since appropriate dependencies
+    are computed (libgd2-xpm | libgd2-noxpm). This allows for more
+    flexibility from a user point of view (Closes: #459537). Many thanks
+    to Ben Finney for the notice. The only change regarding the supported
+    features is that “xbm” is no longer supported in “loadimage”
+    according to the output of “dot -v”.
+  * Removed unneeded “Conflicts: graphviz (<< 2.12)” from libgv-ruby,
+    which got here when copying the libgv-tcl stanza.
+  * Bumped Standards-Version to 3.7.3 (no change needed).
+  * Added a copyright statement about the Debian packaging.
+
+ -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>  Wed, 09 Jan 2008 03:18:46 +0100
+
+graphviz (2.16-2) experimental; urgency=low
+
+  * Added patches:
+     - 2_ocaml_tweaks:
+        - Make the generation of native objects conditional since ocamlopt
+          isn't available on every arch. Upstream didn't include the
+          conditional statements when merging the submitted patch. This patch
+          adds an AM_CHECK_PROG on ocamlopt and conditionally adds the native
+          objects to OCAML_data when needed (Closes: Bug#451763).
+        - Also delete duplicates in the OCAML_data, while adding the missing
+          gv.cmo file.
+     - 0_autoreconf_run: Needed again since configure.ac and a Makefile.am are
+       touched. Only keep in there the changes to aclocal.m4, configure, and
+       all Makefile.in's.
+  * Dropped OCaml-related files (merged upstream) and adapted related
+    instructions in debian/rules:
+     - debian/ocaml/Makefile.ocaml
+     - debian/ocaml/META.gv
+
+ -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>  Mon, 19 Nov 2007 02:47:51 +0100
+
+graphviz (2.16-1) experimental; urgency=low
+
+  * New upstream release (Closes: #438420).
+  * Fixed regression in this new upstream release:
+     - Corrupted output creation for certain inputs (Closes: #432890).
+  * Fixed bug:
+     - Invalid EPS code creation (Closes: #397060). It was probably a bug in
+       2.8, thus might be fixed in 2.12 already. This version closes it for
+       sure at least. Further explanations from upstream are available on the
+       bugreport.
+  * Refreshed patches:
+     - 0_autotools_config_files: Updated to autotools-dev/20070725.1. Added a
+       TODO item about moving this patch to a build-time update.
+     - 0_versioned_plugin_config_file: Drop the first hunk, which modified
+       cmd/dot/Makefile.am to not run “dot -c”. Upstream now has a better
+       way to detect the installation for packaging purposes (using DESTDIR).
+     - 0_bindings_documentation: Updated lua manpage from lua5.0 old style to
+       lua5.1, thanks to Enrico Tassi (Closes: #448365).
+  * Dropped patches:
+     - 3_manpages_fix: Merged upstream.
+     - 3_manpages_hyphen_fix: Merged upstream.
+     - 1_diffimg_Makefile.am_fix: Merged upstream.
+     - 1_lefty_fix: Merged upstream.
+     - 3_gnomeui_configure.ac_fix: Merged upstream.
+     - 3_ruby-bindings_configure.ac_fix: Merged upstream.
+     - 3_php5-bindings_configure.ac_fix: Merged upstream.
+     - 3_bindings_Makefile.am_fix: Merged upstream.
+     - 3_lua-bindings_configure.ac_fix: Merged upstream.
+     - 0_autoreconf_run: No longer needed, given the dropped patches.
+  * Added patch:
+     - 0_tcl_manpages_section: Upstream ships tcl-related manpages in “mann”
+       instead of “man3” and wants to keep it that way. This patch modifies
+       the headers so that they contain “3” instead of “n”.
+  * debian/rules:
+     - Use a SONAME variable to ease SONAME transitions.
+     - Remove the extra “rm” calls now that upstream's “make distclean” is
+       sufficient.
+     - Modify the manpage handling since upstream now installs *.n manpages
+       under usr/share/man/mann. Also adapted some *.install files to install
+       some additional manpages.
+     - Drop the parameter of the “-V” option in the “dh_makeshlibs” call,
+       since a dependency based on the upstream version number is sufficient
+       by now.
+     - Do not install the “diffimg” binary, see NEWS.Debian.
+  * debian/NEWS:
+     - Add a note about “diffimg”.
+     - Add a status update about the bindings, especially about the python
+       one.
+  * debian/libgraphvizN.install:
+     - Made SONAME-independant: only specifies the overrides directory, no
+       longer the filename.
+  * debian/README.Debian-packaging:
+     - Updated to match the autoreconf patch dropping, and document the needed
+       automake version in case this patch has to be added again.
+  * debian/graphviz.7:
+     - Dropped, merged upstream.
+  * SONAME 3 -> 4 transition (all files are in debian/):
+     - rules:
+        - Adjusted SONAME variable.
+        - Adjusted versioned dependency for the shlibs.
+     - libgraphviz3-config-update.1:
+     - libgraphviz3.install:
+     - libgraphviz3.lintian-overrides:
+     - libgraphviz3.postinst:
+     - libgraphviz3.postrm:
+        - Renamed with s/3/4/.
+     - libgraphviz4.lintian-overrides:
+        - Updated SONAME in each override.
+     - libgraphviz4.post{inst,rm}:
+        - Updated with s/3/4/.
+     - patches/0_versioned_plugin_config_file:
+        - Updated with s/config3/config4/.
+     - control:
+        - Adjusted libgv-ocaml long description, which mentions the
+          libgraphvizN-dev package.
+  * debian/libgraphviz4.lintian-overrides:
+     - In addition to the SONAME bump, deletion of “libexpr” since it is now
+       used a convenience library, and addition of “libcgraph”.
+  * debian/watch:
+     - Upstream now uses x.y.z and not only x.y, updated regex to catch
+       [0-9.]+\.tar\.gz (the development snapshots are in another directory).
+  * debian/control:
+     - Version the B-D on libgd2-xpm-dev (>= 2.0.35) to ensure the internal
+       code copy isn't used.
+  * NOT added support for the gdk-pixbuf renderer:
+     - It supports .bmp .ico .jpg .png .tif.
+     - debian/control would need an additional B-D on libgtk2.0-dev.
+     - debian/rules would need an additional “--with-gdk-pixbuf”.
+     - But that pulls gtk, which is far too much for what graphviz has to do.
+     - Therefore, added a “--without-gdk-pixbuf” to ensure it isn't built,
+       even if gdk-pixbuf development files are available.
+
+ -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>  Tue, 13 Nov 2007 00:50:12 +0100
+
+graphviz (2.12-5) unstable; urgency=low
+
+  * Modified bindings handling:
+     - tclpkg/gv/Makefile.am is now patched to set “-module -avoid-version” in
+       LDFLAGS. There are dynamically loadable modules rather than shared
+       libraries.
+     - Added patch for this:
+        - 3_bindings_module_avoid-version_options.
+     - Refreshed patch so as to refresh the appropriate Makefile.in (with only
+       an automake run):
+        - 0_autoreconf_run.
+     - There's still Tcl parts that are versioned.
+  * Fixed libgv-guile description, thanks to Kanru Chen (Closes: #439385).
+  * Fixed libgv-lua (Closes: #439525):
+     - After a discussion with Enrico Tassi, it has been decided to only build
+       against lua5.1, and not against both lua5.0 and lua5.1 as planned at
+       the beginning. Description updated to mention lua5.1 explicitely.
+     - debian/libgv-lua.install: Only mention the .so now (the .la's are
+       probably unneeded for bindings, they'll probably be amm dropped once
+       the tcl case has been sorted out).
+     - debian/rules: Some additional work is done to make it loadable
+       directly, and to document the used liblua version.
+        - Rename libgv_lua.so into liblua$(LUA_VERSION)-libgv.so.
+        - Add a symlink from /usr/lib/lua5.1/gv.so to the .so in /usr/lib.
+     - It looks like it is now usable directly with a single “require "gv"”.
+     - The documentation has still to be updated, though.
+  * Fixed libgv-ocaml:
+     - Rebuild against ocaml 3.10 (Closes: #441494).
+     - debian/control: Added a Suggests: on ocaml-base-nox to the -dev package
+       since it is needed for the OCaml development files, but not a stronger
+       relation since one will usually want to use the C headers.
+     - debian/control: Also added a Suggests: on ocaml-findlib to the -dev
+       package since it is suggested to use findlib to use the package (and
+       per pkg-ocaml-maint policy).
+     - debian/control: Modified long descriptions to detail the decision about
+       the OCaml binary packages.
+     - debian/rules: Moved the library to the stublibs directory of the
+       current ocaml version. Moved the devel files to the -dev package.
+       Drop the .la file and the now-empty /usr/lib/graphviz/ocaml directory.
+     - debian/ocaml/Makefile.ocaml: Add some instructions to build the missing
+       library files so that it is possible to actually load the gv library in
+       the interpreter. This file is copied into the source tree after the
+       usual build, and then use to build them. Its “clean” target is called
+       from debian/rules, and it gets removed before the usual “clean”.
+     - debian/ocaml/META.gv: Add META file used to handle OCaml dependencies.
+  * Improved libgv-python (Closes: #440829):
+     - debian/control: Added python-support to Build-Depends, python:Depends
+       to libgv-python's Depends.
+     - debian/rules: Added a call to dh_pysupport. Move to a site-packages
+       directory depending on the current default python version.
+     - Dropped the use of “-lpython”:
+        - Added patch: 3_python-bindings_configure.ac_fix.
+        - Refreshed patch: 0_autoreconf_run.
+     - Dropped .la file.
+     - Other points of the bugreports are already mentioned above.
+  * Other bindings (libgv-guile, libgv-perl, libgv-ruby):
+     - Dropped .la by specifying only the .so in their respective .install
+       file, instead of “*”.
+  * Adapted documentation:
+     - Lua: updated instructions (package.loadlib, new path).
+     - Python: one can now “import gv” directly.
+     - Refreshed patch: 0_bindings_documentation.
+  * debian/control: (thanks to dpkg 1.14.7)
+     - Rename XS-Vcs-* to Vcs-*.
+     - Move the Homepage from the description to the new header.
+
+ -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>  Tue, 23 Oct 2007 03:21:13 +0200
+
+graphviz (2.12-4) unstable; urgency=low
+
+  * Added bindings:
+     - guile      (Closes: #360969);
+     - lua        (Closes: #360971);
+     - ocaml      (Closes: #360975);
+     - php5       (Closes: #360973);
+     - python     (Closes: #360974);
+     - ruby       (Closes: #360978).
+  * Added Build-Depends accordingly:
+     - guile-1.6-dev;
+     - liblua5.1-0-dev;
+     - ocaml-nox;
+     - php5-dev, php5-cli;
+     - python2.4-dev, python-minimal;
+     - ruby1.8-dev, ruby.
+  * Some patches are needed to enable some bindings:
+     - added 3_bindings_Makefile.am_fix, since some variables were missing;
+     - added 3_ruby-bindings_configure.ac_fix to force ``-lruby1.8'' instead
+       of ``-lruby'', which isn't working;
+     - added 3_lua-bindings_configure.ac_fix to detect lua correctly.
+     - added 3_php5-bindings_configure.ac_fix to fix include paths (basically,
+       it does s/php/php5/g on this line). Maybe php5-cli might be unneeded,
+       if the detection of the php binary is turned off (it looks like
+       unneeded).
+  * Added a variable (control, rules) for ocaml, so that the Depends: is set
+    on the correct ocaml-base-nox-${F:OCamlABI} package.
+  * Binding manpages are shipped as gv_*.3, after some modifications to the
+    upstream templates, stored in the 0_bindings_documentation patch.
+  * Enabled diffimg:
+     - modified 0_disable_diffimg to only modify contrib/Makefile.am, since
+       now an autoconf/automake round is needed, due to the modifications to
+       configure.ac et al. This way it can be pop'd.
+     - renamed into 1_diffimg_Makefile.am_fix, since diffimg is now built,
+       thanks to a slight modification to the Makefile.am: there was an
+       erroneous condition on WITH_LIBGD, instead of WITH_MYLIBGD (this is
+       fixed in CVS).
+  * Added README.Debian-packaging to document some packaging howtos (at the
+    moment, what should be done to get the last patch: autoreconf run).
+  * Refreshed 0_autotools_config_files to patch config.{guess,sub} in the
+    following directories, with files from autotools-dev_20070306.1:
+     - config
+     - lib/gd/config
+     - libltdl
+  * Added 1_lefty_fix, which is a backport of a regression (2.8 -> 2.12) fix
+    for lefty, thanks to Sune Vuorela for reporting, and to Emden R. Gansner
+    for the patch.
+  * Adjusted clean target in debian/rules to clean appropriately.
+  * Added the -V 'libgraphviz3 (>= 2.12-3)' parameter to the dh_makeshlibs
+    call so that the appropriate library version is depended on, avoiding the
+    hardcoded values in the control file, and the duplicates in the Depends:
+    fields after substitution. Now ${shlibs:Depends} is used instead, almost
+    everywhere. libgraphviz3-dev still has hardcoded dependencies, see
+    TODO.Debian. Also turned ``-a'' into ``-plibgraphviz3'' since it is the
+    only package needing an shlibs file and ldconfig calls in post{inst,rm}
+    scripts.
+  * Added installation of /usr/bin/dot under /usr/sbin in the libgraphviz3
+    package, so that it can be called when needed, during libgraphviz3 or
+    libgraphviz3-*-plugin installation or removal. Added a call to ``mv'' in
+    debian/rules to rename it to libgraphviz3-config-update since dh_install
+    doesn't allow renaming.
+  * Changed 0_test_fix into 0_versioned_plugin_config_file:
+     - Former patch needed so that no ``dot -c'' is run at build time.
+     - Adjusted configuration file accordingly, by patching
+       lib/gvc/gvconfig.c, using "config3" instead of "config".
+  * Added ``--list-missing'' option to dh_install, so that files not installed
+    are spotted easily.
+  * Maintainer scripts, plugin configuration file:
+     - Dropped debian/postinst and debian/postrm, the configuration
+       (``dot -c'') of the plugins is now handled as documented in
+       through libgraphviz3(|*-plugin).{postinst,postrm}, as documented in
+       README.Debian-packaging.
+     - Added a check and a removal-when-needed for the ancient "config" file.
+     - Added a manpage accordingly.
+  * Fixed some hyphens in Debian-specific manpages.
+  * Fixed broken links in index.html by not compressing PDF files (``-X.pdf''
+    added to the ``dh_compress -i'' call), since they are in a separate
+    package, there's not much space loss, and it makes users' life easier
+    (Closes: #378522).
+  * Adapted lintian overrides since the output changed (SONAMES are now
+    sorted, see #428681, fixed in lintian 1.23.32).
+  * Fixed pango plugin misconfiguration, due to some autotools blackmagic. Now
+    that ./configure and the like are regenerated, everything seems to be
+    fine (Closes: #424883, #422859). Please also note that the upstream
+    graphviz-cairo package is now superseded by the graphviz package.
+  * Added missing -dev packages to the Depends: of the libgraphviz3-dev
+    package, in particular libexpat1-dev (libfreetype6-dev seems to be no
+    longer needed), using d-devlibdeps from the d-shlibs package. Build
+    dependency added accordingly (Closes: #404384).
+  * Set the Maintainer field to myself.
+  * Do not ignore ``make distclean'' errors.
+  * Added XS-Vcs-Git and XS-Vcs-Browser fields in debian/control.
+  * Moved ``Apps/Graphics'' to ``Applications/Graphics'' for the menu
+    transition.
+
+ -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>  Thu, 09 Aug 2007 16:25:51 +0200
+
+graphviz (2.12-3) unstable; urgency=low
+
+  * Re-enable lefty, which was a leftover during the 2.8 -> 2.12 upgrade:
+     - turned back configure's --without-x to --with-x;
+     - adjusted graphviz.install to install *.lefty under
+       /usr/share/graphviz/lefty
+    (Closes: #423541).
+
+ -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>  Sun, 13 May 2007 21:20:24 +0200
+
+graphviz (2.12-2) unstable; urgency=low
+
+  * Fixed gnomeui + pango/cairo pulling: (Closes: #422862, #422873)
+     - added 3_gnomeui_configure_fix patch: adds support in configure.ac
+       for --with(out)-gnomeui, so that it can be used to disable the link
+       against gnomeui libraries even if they are found;
+     - added configure_autoconf_rerun: contains the modifications to configure
+       after autoconf has been rerun;
+     - added --without-gnomeui and --without-pangocairo in debian/rules
+       accordingly;
+     - added --without-gtk as well, and turned --with-x into --without-x
+       since the associated shared objects weren't built anyway.
+  * The associated features might be added in separate package(s) later.
+
+ -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>  Tue, 08 May 2007 17:16:29 +0200
+
+graphviz (2.12-1) unstable; urgency=low
+
+  * New upstream release.
+    Hopefully it addresses the longstanding rpath issue, since all public
+    libraries now belongs to /usr/lib (Closes: #312532, #343476, #360968).
+    The problem of language bindings will be addressed in further uploads.
+  * Maintainer upload.
+     - Added myself in the Uploaders field.
+  * ACK previous NMUs: many thanks for having taken care of graphviz when
+    needed.
+     - Margarita Manterola <marga@debian.org> (no NMU diff in the BTS);
+     - Steinar H. Gunderson <sesse@debian.org> (Closes: #375024, #389396);
+     - and my own NMUs (Closes: #399212, #400161).
+
+  [debian/patches]
+  * Disabled no longer needed backported patches:
+     - 10000_lua_python_bindings;
+     - 10918_nop_fix.
+  * Disabled the build of the contrib `diffimg' tool since it looks like
+    there's a missing .la file:
+     - 0_disable_diffimg.
+  * Added a patch to handle minus vs hyphen signs in the manpages: 
+     - 3_manpages_hyphen_fix. 
+
+  [debian/control]
+  * Made the package binNMU safe by switching from `${Source-Version}' to
+    `{binary:Version}'.
+  * Resplitted packaging into graphviz, libgraphvizN, libgraphvizN-dev,
+    graphviz-doc, where N matches the SONAME, currently 3.
+  * Additional packages also count the following bindings: libgv-perl and
+    libgv-tcl, which were included in the monolithic graphviz package before.
+    The transition should be quite smooth this way. The bindings package will
+    be named libgv-* so as to avoid name clashing with e.g. libgraphviz-perl,
+    which is a pure perl package. It also reflects the name of the bindings
+    (shared objects). The dependencies have still to be polished, that is
+    listed in TODO(.Debian).
+     - Perl's "gv"  has been moved under /usr/lib/perl5, according to the
+       Debian Perl Policy, and this module is loadable without the additional
+       `use lib' line, which can be kept though because:
+         1) it is harmless;
+         2) it should ensure compatibility with default upstream installation
+            paths.
+     - Tcl files are kept under /usr/lib/graphviz/tcl, as in the previous
+       packages. When loading it through the "load" instruction specified in
+       the manpage, everything's alright. But if it is loaded using the
+       following, an error is displayed, although apparently harmless:
+         % package require Tcldot
+         Error: invalid api in config: libgvplugin_usershape_gd.so.2 usershape
+         2.12
+       It can happen when an older graphviz package hasn't been purged, so
+       that an older config file is still present under /usr/lib/graphviz.
+  * Not added a conflict between libgraphviz3 and former versions of graphviz,
+    since there is no file overlapping, with both SONAME bump and package
+    resplit (in particular thanks to the binding packages).
+  * Added a conflict between new graphviz-doc and older graphviz, since
+    documentation and examples are now in graphviz-doc.
+  * Added a transitional graphviz-dev package to ensure a smooth upgrade from
+    graphviz-dev to libgraphviz3-dev.
+  * Adjusted all the descriptions, and the sections the packages belong to.
+
+  [debian/rules]
+  * Revamped the install target of the debian Makefile to use dh_install and
+    *.install files instead of dh_movefiles and *.{dirs,files}. These
+    *.install files have been adjusted to be as clean as possible. Some files
+    (documentation, examples) present in the previous packages might now be
+    missing, but it is already known, see the updated TODO(.Debian) file.
+  * Turned the dh_shlibdeps call into a normal call w/o rpath since upstream
+    now ships under /usr/lib and no longer under /usr/lib/graphviz.
+  * Deleted the `-n' option of `dh_makeshlibs' so that the needed `ldconfig'
+    calls are added in the maintainer scripts.
+  * Added an override for libgraphviz3 since we are aware of the multiple
+    share objects, and since lintian signals that all have `3' as SONAME,
+    which is considered an error...
+  * Renamed menu to graphviz.menu to ensure it gets installed properly.
+  * Changed the ``make install'' to using ``DESTDIR='' instead of ``prefix='',
+    thanks to Alexander Sack.
+  * Added dh_perl calls, to be able to use ${perl:Depends} in the control
+    file, even though no dependency is added for now.
+
+ -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>  Thu, 16 Apr 2007 16:45:34 +0200
+
+graphviz (2.8-2.6) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Moved groff-base and gs-common from Build-Depends-Indep to Build-Depends.
+    Fixes FTBFS when building binary-arch only.
+
+ -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>  Fri,  8 Dec 2006 11:47:06 +0000
+
+graphviz (2.8-2.5) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Switched to the quilt system to keep the patches readable and handy. As a
+    convention, the following prefixes are used:
+     0 - Debian-specific fix
+     1 - Backported fix (followed by a 4-digit upstream bug number)
+     2 - Submitted fix (followed by a 4-digit upstream bug number)
+     3 - Not-yet submitted fix
+    Patches already present:
+     - 0_autotools_config_files:
+         Adds config.{guess,sub} from /usr/share/misc (from the autotools-dev
+         package). debian/rules adjusted accordingly so that it doesn't
+         refresh them. The autotools-dev B-D could probably be dropped.
+     - 0_test_fix:
+         Fixes an error during the build due to the fact that the installation
+         is not done directly into the system but on a subdirectory.
+     - 10000_lua_python_bindings:
+         Backport from upstream modification into configure.ac, patch
+         generated after having run `autoconf'.
+     - 10918_nop_fix:
+         Backport introduced in 2.8-2.4.
+     - 3_manpages_fix:
+         See the next two items.
+  * Added a patch to fix some warnings in the manpages (Closes: #381063).
+  * Added a graphviz.7 manpage and a reference to it in README.Debian.
+    Thanks to Joachim Berdal Haga <jbh@lupus.ig3.net> for the documentation
+    effort this manpage is based on (Closes: #389105).
+  * Updated debian/rules to use dh_installman to handle manpages.
+  * Modified debian/graphviz.dirs so that the build is less vulnerable to
+    behaviour modifications of core utils (Closes: #376049).
+    Thanks to Florent Bayle <florent@sarcelle.net> for the patch.
+  * Updated URL in debian/control (Closes: #377691).
+  * Improved descriptions in debian/control.
+  * Removed the erroneous trailing backslash in debian/graphviz-doc.doc-base.
+  * Bumped Standards-Version from 3.6.2 to 3.7.2 (no change needed).
+  * Bumped debhelper compatibility from 4 to 5 (no change needed).
+
+ -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>  Mon, 20 Nov 2006 04:46:07 +0000
+
+graphviz (2.8-2.4) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fixed totally broken `nop' utility by applying a patch backported from the
+    2.9 version, fixing the linking against a wrong library. Since the current
+    packaging doesn't provide any means of keeping patches separate, the files
+    cmd/tools/Makefile.{am,in} are patched directly, using the patch submitted
+    in the BTS (closes: #359870).
+
+ -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>  Fri, 17 Nov 2006 21:05:35 +0100
+
+graphviz (2.8-2.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Tell configure not to build language packages we don't distribute; fixes
+    FTBFS when libruby1.8-dev is installed. (Closes: #388056)
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Mon, 25 Sep 2006 15:16:12 +0200
+
+graphviz (2.8-2.2) unstable; urgency=medium
+
+  * NMU to fix a Failure To Build From Source due to a missing dependency on
+    liblua50-dev. (Closes: #377694).
+  * Fixed debian/rules so that the .diff.gz is cleaner. (Closes: #373256) 
+
+ -- Margarita Manterola <marga@debian.org>  Tue, 18 Jul 2006 15:27:49 -0300
+
+graphviz (2.8-2.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * When moving the demo tree into /usr/share/doc/graphviz/examples, don't
+    try to move demo/pathplan_data/* after demo/*, since the latter includes
+    the former anyhow; fixes FTBFS. (Closes: #373254)
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Thu, 22 Jun 2006 21:27:26 +0200
+
+graphviz (2.8-2) unstable; urgency=low
+
+  * Awaken Tcl parts missed in 2.8-1 package 
+  * Apply patch from upstream enabling python I/F to build on 64bit machines
+  * Apply patch from upstream adding warn when python won't be built
+  * Ensure all index.html links work again (Closes: Bug#298463)
+  * Move -doc package to arch-all from any (Closes: Bug#360967)
+  * Ensure libs exist for symlinks (Closes: Bug#361444)
+  * Ensure graphviz plugins exist (Closes: Bug#359998)
+  * v2.8 fixes segfault (Closes: Bug#292635)
+
+ -- Stephen M Moraco <stephen@debian.org>  Sat,  8 Apr 2006 17:04:15 -0600
+
+graphviz (2.8-1) unstable; urgency=low
+
+  * Accept NM contributions from Dirk, Thanks! (Closes: Bug#320813)
+  * The NMUs fix: (Closes: Bug#359808, #360049, #359903, #359622)
+    and (Closes: Bug#359312, #360207)
+  * This upstream release closes many bugs.  (Closes: Bug#332205)
+    and (Closes: Bug#332204, #332203, #332202, #332201, #335175, #344256)
+    and (Closes: Bug#312596, #321128, #305375, #298133)
+  * Add gsfonts to suggested packages list. This is normally already installed
+    with X but when using graphviz w/o X then we need this package for the
+    default fonts (Closes: Bug#353050)
+  * Moved files to proper pkgconfig directory (Closes: Bug#313508)
+
+ -- Stephen M Moraco <stephen@debian.org>  Sat,  1 Apr 2006 16:12:12 -0700
+
+graphviz (2.8-0.4) unstable; urgency=low
+
+  * NMU, coordinating with the maintainer
+  * debian/control: At last added libltdl3-dev to Build-Depends which 
+    should have happened in revision 2.8-0.2 	(Closes: #359903, #360049)
+  * debian/rules: Give dh_shlibdeps an explicit -l target
+  * debian/rules: Add -n to dh_mkshlibs call to not modify post{inst,rm}
+  * debian/control: Increase Standards-Version: to 3.6.2
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 30 Mar 2006 20:04:06 -0600
+
+graphviz (2.8-0.3) unstable; urgency=low
+
+  * NMU, coordinating with the maintainer
+  
+  * debian/postinst: Call 'dot -c' to pre-seed configuration. This is 
+    typically done at build-time via the upstream Makefile, but cannot be
+    used for a Debian build (yet, at least).  Running it in the postinst 
+    is a close enough approximation.   (Closes: #359312, #359622, #359808)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 29 Mar 2006 17:53:20 -0600
+
+graphviz (2.8-0.2) unstable; urgency=low
+
+  * NMU 
+  * debian/rules: Remove /usr/lib/libltdl.* and /usr/include/ltdl.h
+  * debian/control: Add Depends: libltdl3-dev to graphiviz-dev
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 25 Mar 2006 22:35:51 -0600
+
+graphviz (2.8-0.1) unstable; urgency=low
+
+  * NMU
+  * New upstream release (Closes: #320813)
+
+  * cmd/doc/Makefile.{in,am}: Comment out 'doc -c' in install-exec-hook
+    as shared libs cannot be resolved right after build
+
+  * debian/rules: Set DH_COMPAT=4
+  * debian/rules: As the upstream change a few things since the last Debian 
+    new build of a new major release a year ago, chose to commented out a 
+    large section of postprocessing and cleaning following make install 
+  * debian/rules: Added removal of dot_static and extra COPYING (lintian)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 25 Mar 2006 17:05:35 -0600
+
+graphviz (2.2.1-1sarge1) stable-security; urgency=high
+
+  * Non-maintainer upload by the Security Team
+  * Applied upstream patch to fix insecure temporary file creation
+    [dotty/dotty.lefty, CAN-2005-2965]
+
+ -- Martin Schulze <joey@infodrom.org>  Fri, 30 Sep 2005 14:00:46 +0200
+
+graphviz (2.2.1-1) unstable; urgency=low
+
+  * New Upstream Version
+  * Fix Suggests missing comma (Closes: Bug#301216)
+  * Comma-fix allows suggests to work (Closes: Bug#303248)
+  * Added menu items for dotty,lefty (Closes: Bug#297238)
+
+ -- Stephen M Moraco <stephen@debian.org>  Sun, 10 Apr 2005 23:58:56 -0600
+
+graphviz (2.2-2) unstable; urgency=low
+
+  * Fix -doc depend (Closes: Bug#292428)
+
+ -- Stephen M Moraco <stephen@debian.org>  Mon,  7 Feb 2005 22:42:28 -0700
+
+graphviz (2.2-1) unstable; urgency=low
+
+  * New Upstream Version
+  * Moving from non-free to main.  Yeay! 
+     License is now cpl-1.0 (Closes: Bug#290112)
+  * Fixed doc-base files, now simply using top-level index (Closes: Bug#285642)
+  * Fixed neato: die with SIGFPE 8 on simple graph (Closes: Bug#270492)
+  * Fixed neato: fixes for abnormal term. cases (Closes: Bug#212192)
+  * Fixed dotty: fixes segfault on mouse wheel movement (Closes: Bug#178938)
+  * Fixed dotty: mouse/numlock interaction (Closes: Bug#268132)
+  * Fixed dot: SVG output corruption (Closes: Bug#278176)
+  * Fixed dot: manpage/doc updated (Closes: Bug#249589)
+
+ -- Stephen M Moraco <stephen@debian.org>  Wed, 19 Jan 2005 20:56:43 -0700
+
+graphviz (1.16-1) unstable; urgency=low
+
+  * New Upstream
+
+ -- Stephen M Moraco <stephen@debian.org>  Mon,  1 Nov 2004 21:00:59 -0700
+
+graphviz (1.14-1) unstable; urgency=low
+
+  * New Upstream Version
+
+ -- Stephen M Moraco <stephen@debian.org>  Mon, 30 Aug 2004 19:29:30 -0600
+
+graphviz (1.12-3) unstable; urgency=low
+
+  * Fix -dev section
+  * Cleanup copyright file (Closes: Bug#268565)
+
+ -- Stephen M Moraco <stephen@debian.org>  Sat, 28 Aug 2004 17:41:35 -0600
+
+graphviz (1.12-2) unstable; urgency=low
+
+  * Adopt NMU... (Closes: Bug#241124, Bug#255982) Thanks Dirk!
+  * Split stuff supporting build to -dev package (Closes: Bug#212682)
+    -- this treats differently the work done in 1.12-1 
+  * debian/control: Added Suggests for "msttcorefonts" for 
+    Times font (Closes: Bug#239486).  If writing .png files then you
+    may find that you want the Times font as suggested by this bug.
+    NOTE: if there is a better package for the Times font, please let
+    me know.
+  * debian/control: Backoff Standards-Version to 3.6.1
+
+ -- Stephen M Moraco <stephen@debian.org>  Tue, 17 Aug 2004 13:25:47 -0600
+
+graphviz (1.12-1) unstable; urgency=low
+
+  * Non-maintainer hijacking and new upstream upload
+  * This package _really_ needs a new maintainer (see #255982)
+  * New upstream version (Closes: #241124)
+    -- this potentially closes a few of the open bugs on functionality
+    -- could someone please volunteer and check this ?
+  * debian/rules: do not remove include files so that other packages
+    can actually build against graphviz  (Closes: #212682) -- though
+    #212682 also calls for an explicit libgraphviz package.
+  * debian/rules: do not muck around among the freshly built libraries
+
+  * debian/control: Updated Build-Depends: "libjpeg62-dev, libpng12-dev, 
+    libxaw7-dev" instead of unversioned "libjpeg-dev, libpng-dev, libxaw-dev"
+  * debian/control: Added Build-Depends "libttf-dev" for Freetype
+  * debian/control: Added Build-Depends "libexpat1-dev" for Expat
+  * debian/changelog: Remove obsolete emacs mode variable
+  * debian/control: Updated Standards-Version to 3.6.1.1
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 26 Jul 2004 20:59:06 -0500
+
+graphviz (1.10.20030915.0415-2) unstable; urgency=low
+
+  * Fix embedded path to lefty libs (Closes: Bug#211443)
+
+ -- Stephen M Moraco <stephen@debian.org>  Wed, 17 Sep 2003 20:56:33 -0600
+
+graphviz (1.10.20030915.0415-1) unstable; urgency=low
+
+  * New Upstream Version (Closes: Bug#204457)
+  * Fixes dot -Tfig when '>' used in names (Closes: Bug#167890)
+  * Fixes font finding algorithm (Closes: Bug#193560)
+  * Unable to recreate non-end of neato with this version (Closes: Bug#197059)
+  * Unable to recreate TclDot rendergd failure this version (Closes: Bug#203208)
+  * This is official 1.10 plus fixes specifically for Debian reported issues
+     (generated by graphviz team): new manpage, tool renames, Makefile fixes
+  * Update per debhelper best practice changes
+  * Adjust Depends (Closes: Bug#195223, Bug#194433, Bug#200694)
+  * Update Policy Version
+
+ -- Stephen M Moraco <stephen@debian.org>  Mon, 15 Sep 2003 20:40:22 -0600
+
+graphviz (1.8.9-1) unstable; urgency=low
+
+  * Update to latest policy version
+  * New Upstream Version (Closes: Bug#147424, Bug#157980, Bug#148457)
+
+ -- Stephen M Moraco <stephen@debian.org>  Sat, 21 Sep 2002 15:21:06 -0600
+
+graphviz (1.8.5-2) unstable; urgency=low
+
+  * Fix doc-base links, add missing doc (Closes: Bug#149647)
+  * Apply missing bracket fix (to ihi script in examples), Bug148457 is marked
+     as fixed but stays open awaiting upstream fix
+
+ -- Stephen M Moraco <stephen@debian.org>  Thu,  4 Jul 2002 12:02:22 -0600
+
+graphviz (1.8.5-1) unstable; urgency=low
+
+  * New upstram version (Closes: Bug#138425)
+
+ -- Stephen M Moraco <stephen@debian.org>  Tue, 16 Apr 2002 23:09:06 -0600
+
+graphviz (1.7.16-2) unstable; urgency=low
+
+  * Rename gpr(1) to gvgpr and fix refs to it. (Closes: Bug#132543)
+  * Head off next bug by renaming colorize to gvcolorize (before the
+    overlap is discovered and reported ;-)
+
+ -- Stephen M Moraco <stephen@debian.org>  Tue,  5 Feb 2002 18:52:12 -0700
+
+graphviz (1.7.16-1) unstable; urgency=low
+
+  * New upstream version (Closes: Bug#127118)
+  * Add autoupdate of config.sub, config.guess
+  * Questionable postscript output appears fixed (Closes: Bug#128648)
+  * Update to latest policy version
+
+ -- Stephen M Moraco <stephen@debian.org>  Sat,  2 Feb 2002 00:58:13 -0700
+
+graphviz (1.7.5-7) unstable; urgency=low
+
+  * Fixup build-depends (Closes: Bug#101331)
+
+ -- Stephen M Moraco <stephen@debian.org>  Mon, 25 Jun 2001 21:11:40 -0600
+
+graphviz (1.7.5-6) unstable; urgency=low
+
+  * Fix path in lefty / remove LEFTYPATH overrides from lneato/dotty
+
+ -- Stephen M Moraco <stephen@debian.org>  Fri, 20 Apr 2001 08:48:49 -0600
+
+graphviz (1.7.5-5) unstable; urgency=low
+
+  * Now fix searchpath in lefty binary (2nd attempt on 94373)
+    first attempt fixed all but lefty binary
+
+ -- Stephen M Moraco <stephen@debian.org>  Fri, 20 Apr 2001 03:01:45 -0600
+
+graphviz (1.7.5-4) unstable; urgency=low
+
+  * Correct LEFTY library paths (Closes: Bug#94373)
+
+ -- Stephen M Moraco <stephen@debian.org>  Wed, 18 Apr 2001 10:02:19 -0600
+
+graphviz (1.7.5-3) unstable; urgency=low
+
+  * Build against newer libs (Closes: Bug#91466)
+
+ -- Stephen M Moraco <stephen@debian.org>  Mon, 26 Mar 2001 15:00:24 -0700
+
+graphviz (1.7.5-2) unstable; urgency=low
+
+  * Fix man3 removal cmds (didn't work first time...)
+
+ -- Stephen M Moraco <stephen@debian.org>  Sun, 25 Mar 2001 18:50:58 -0700
+
+graphviz (1.7.5-1) unstable; urgency=low
+
+  * Remove man3 pages as they are not for end-user and conflict with blt-dev
+  * Convert to use freetype6 and remove xaw3dg build-dep (Closes: Bug#90378)
+  * Add Conflicts: with gdtclft pkg (Closes: Bug#90544) 
+    NOTE: this may not be final solution. 90378 proposes alternatives, 
+    still negotiating
+  * Directories verified, close fixed-by-NMU (Closes: Bug#76025)
+  * Lefty.psp verified, close fixed-by-NMU (Closes: Bug#78511)
+  * Is latest upstream, close fixed-by-NMU (Closes: Bug#89387)
+  * Delivered HTML for otherwise missing section-n man-pages.
+  * Registered all docs with dwww, dhelp via doc-base mech.
+
+ -- Stephen M Moraco <stephen@debian.org>  Wed, 21 Mar 2001 20:48:01 -0700
+
+graphviz (1.7.5-0.3) unstable; urgency=low
+
+  * See README.Debian for issues and work remaining
+  * tkspline lib now present (Closes: Bug#76030)
+  * New version uses installed libs vs. had own (Closes: Bug#66941)
+  * Adjust to new maintainer address
+    (Thanks Torsten for handling things during my absence)
+
+ -- Stephen M Moraco <stephen@debian.org>  Mon, 19 Mar 2001 08:37:46 -0700
+
+graphviz (1.7.5-0.2) unstable; urgency=low
+
+  * NMU
+  * this and the last NMU closes: #78511, #76025
+  * fixed some lintian warnings and errors
+  * fixed Depends and Build-Depends (partially)
+
+ -- Torsten Werner <twerner@debian.org>  Sun, 18 Mar 2001 14:40:33 +0100
+
+graphviz (1.7.5-0.1) unstable; urgency=low
+
+  * NMU
+  * new upstream, closes: #89387
+
+ -- Torsten Werner <twerner@debian.org>  Sun, 18 Mar 2001 02:22:08 +0100
+
+graphviz (1.5-3) unstable; urgency=low
+
+  * restore to non-free location
+
+ -- Stephen M. Moraco <stephen@col.hp.com>  Wed, 19 Jul 2000 15:29:42 -0600
+
+graphviz (1.5-2) unstable; urgency=low
+
+  * removed manpages that overlap with real package (this is only partial
+    solution called for in #66941.  I'll finish the conversion in next
+    upload.)
+  * tcldot.1 manpage should really be a tcldot.n - need to figure out what's
+    correct for Debian and correct, if need be, in next upload
+  * added Build-Depends to source package
+  * adjusted text in tcldot.1 to show accuate syntax for shell script
+    -- (missing required back-slash)
+  * adjusted build of dotty/lneato to build-in default lefty path
+  * removed man3 pages (may appear later in -dev)
+  * converted makes to build w/ -fPIC for .so use
+  * add rest of system to package (Closes: #63520, #63685)
+    -- new /usr/lib/lefty & Tcldot... subtrees
+    -- corrected mod-bits in examples tree  (per lintian)
+  * fixed URL in copyright file (Closes: #66020)
+
+ -- Stephen M. Moraco <stephen@col.hp.com>  Wed, 19 Jul 2000 15:29:07 -0600
+
+graphviz (1.5-1) unstable; urgency=low
+
+  * Initial Release.  
+
+ -- Stephen M. Moraco <stephen@col.hp.com>  Fri, 31 Dec 1999 15:37:17 -0700
+
+
--- graphviz-2.20.2.orig/debian/graphviz-doc.doc-base
+++ graphviz-2.20.2/debian/graphviz-doc.doc-base
@@ -0,0 +1,11 @@
+Document: graphviz-index
+Title: Graphviz - Documentation Index
+Author: The Graphviz Team
+Abstract: Graphviz is a suite of graph drawing tools. This document provides
+ a single index to all the graphviz related documentation.
+Section: Graphics
+
+Format: HTML
+Index: /usr/share/doc/graphviz/html/index.html
+Files: /usr/share/doc/graphviz/html/*.html
+       /usr/share/doc/graphviz/html/info/*
--- graphviz-2.20.2.orig/debian/control
+++ graphviz-2.20.2/debian/control
@@ -0,0 +1,157 @@
+Source: graphviz
+Section: graphics
+Priority: optional
+Maintainer: Cyril Brulebois <kibi@debian.org>
+Standards-Version: 3.8.0
+Build-Depends: tk8.4-dev, tcl8.4-dev, debhelper (>= 5), libfreetype6-dev, zlib1g-dev, libjpeg62-dev, libpng12-dev, libxaw7-dev, bison, flex, autotools-dev, pdksh, libexpat1-dev, libfontconfig1-dev, libltdl3-dev, swig, libperl-dev, libgd2-noxpm-dev (>= 2.0.33), quilt (>= 0.40), groff-base, gs-common, lua5.1, liblua5.1-0-dev, ruby, ruby1.8-dev, php5-dev, php5-cli, ocaml-nox, python2.4-dev, python2.5-dev, python-minimal, libcairo2-dev, libpango1.0-dev, guile-1.6-dev, d-shlibs, python-support, chrpath
+Vcs-Git: git://git.debian.org/git/collab-maint/graphviz.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/graphviz.git
+Homepage: http://www.graphviz.org/
+
+Package: graphviz
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: gdtclft
+Recommends: ttf-liberation
+Suggests: gsfonts, graphviz-doc
+Description: rich set of graph drawing tools
+ Graph drawing addresses the problem of visualizing structural information
+ by constructing geometric representations of abstract graphs and networks.
+ Automatic generation of graph drawings has important applications in key
+ technologies such as database design, software engineering, VLSI and
+ network design and visual interfaces in other domains. Situations where
+ these tools might be particularly useful include:
+ .
+   * you would like to restructure a program and first need to understand
+     the relationships between its types, procedures, and source files
+   * you need to find the bottlenecks in an Internet backbone - not only
+     individual links, but their relationships
+   * you're debugging a protocol or microarchitecture represented as a
+     finite state machine and need to figure out how a certain
+     error state arises
+   * you would like to browse a database schema, knowledge base, or
+     distributed program represented graphically
+   * you would like to see an overview of a collection of linked documents
+   * you would like to discover patterns and communities of interest in a
+     database of telephone calls or e-mail messages
+ .
+ This package contains the command-line tools.
+
+Package: libgv-guile
+Architecture: any
+Section: interpreters
+Depends: ${shlibs:Depends}
+Description: Guile 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 guile (1.6) bindings.
+
+Package: libgv-lua
+Architecture: any
+Section: interpreters
+Depends: ${shlibs:Depends}
+Description: Lua 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 lua5.1 bindings.
+
+Package: libgv-ocaml
+Architecture: any
+Section: libs
+Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}
+Description: OCaml 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 OCaml bindings. The associated development files
+ are in the libgraphviz-dev package so as to limit the number of binary
+ packages.
+
+Package: libgv-perl
+Architecture: any
+Section: perl
+Depends: ${perl:Depends}, ${shlibs:Depends}
+Conflicts: graphviz (<< 2.12-1)
+Description: Perl 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 Perl bindings.
+
+Package: libgv-ruby
+Architecture: any
+Section: interpreters
+Depends: ${shlibs:Depends}, ruby1.8
+Description: Ruby 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 Ruby (1.8) bindings.
+
+Package: libgv-tcl
+Architecture: any
+Section: interpreters
+Depends: ${shlibs:Depends}
+Conflicts: graphviz (<< 2.12-1)
+Description: Tcl 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 Tcl (8.4) bindings.
+
+Package: libgraphviz4
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: rich set of graph drawing tools
+ Graphviz is a set of graph drawing tools. See the description of the graphviz
+ package for a full description.
+ .
+ This package contains the libraries.
+
+Package: libgraphviz-dev
+Architecture: any
+Section: libdevel
+Depends: libgraphviz4 (= ${binary:Version}), ${devlibs:Depends}
+Suggests: ocaml-base-nox-${F:OCamlABI}, ocaml-findlib
+Conflicts: graphviz-dev (<< 2.12-1), libgraphviz3-dev, libgraphviz4-dev (<< 2.16-3)
+Replaces: libgraphviz3-dev, libgraphviz4-dev (<< 2.16-3)
+Provides: graphviz-dev
+Description: graphviz libs and headers against which to build applications
+ Graphviz is a set of graph drawing tools. See the description of the graphviz
+ package for a full description.
+ .
+ This package installs the libraries and headers necessary to link graphviz
+ library routines into an application. It also installs additional man pages.
+ .
+ This package also contains the OCaml development files.
+ .
+ Note: A graphviz user doesn't need to install this package.
+
+Package: graphviz-doc
+Architecture: all
+Section: doc
+Conflicts: graphviz (<< 2.12-1)
+Suggests: graphviz
+Description: additional documentation for graphviz
+ Graphviz is a set of graph drawing tools. See the description of the graphviz
+ package for a full description.
+ .
+ This package installs HTML and PDF documentation for Graphviz, as well as
+ examples.
+
+Package: graphviz-dev
+Architecture: all
+Section: devel
+Depends: libgraphviz-dev
+Description: transitional package for graphviz-dev rename
+ Graphviz is a set of graph drawing tools. See the description of the graphviz
+ package for a full description.
+ .
+ This package is targeted at easing the upgrade from older graphviz-dev to the
+ new libgraphviz-dev package.
+ .
+ This package can be purged at anytime once the libgraphviz-dev package has
+ been installed.
--- graphviz-2.20.2.orig/debian/libgv-ruby.install
+++ graphviz-2.20.2/debian/libgv-ruby.install
@@ -0,0 +1,2 @@
+usr/lib/graphviz/ruby/libgv_ruby.so
+usr/share/man/man3/gv_ruby.3
--- graphviz-2.20.2.orig/debian/rules
+++ graphviz-2.20.2/debian/rules
@@ -0,0 +1,245 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
+
+# Get build platform info
+export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+UPSTREAM_VERSION  = $(shell dpkg-parsechangelog | perl -ne 'print $$1 if /^Version: (.*?)-(.*)$$/')
+SONAME            = 4
+
+OCAMLABI          = $(shell ocamlc -version)
+OCAML_PACKAGE     = $(CURDIR)/debian/libgv-ocaml
+
+PHP_EXTENSION_DIR = $(shell php-config5 --extension-dir)
+PHP_PACKAGE       = $(CURDIR)/debian/libgv-php5
+
+LUA_VERSION       = 5.1
+LUA_PACKAGE       = $(CURDIR)/debian/libgv-lua
+
+DEV_PACKAGE       = $(CURDIR)/debian/libgraphviz-dev
+
+PYTHON_VERSIONS   = $(shell pyversions -s)
+PYTHON_PACKAGE    = $(CURDIR)/debian/libgv-python
+
+RUBY_VERSION      = 1.8
+RUBY_PACKAGE      = $(CURDIR)/debian/libgv-ruby
+
+CONFIG_SCRIPTS=config/config.guess lib/gd/config/config.guess libltdl/config.guess \
+	       config/config.sub   lib/gd/config/config.sub   libltdl/config.sub
+
+configure: patch configure-stamp
+configure-stamp:
+	dh_testdir
+
+	# Update the config scripts
+	for i in $(CONFIG_SCRIPTS); do \
+		cp /usr/share/misc/`basename $$i` $$i ; \
+	done
+
+	# Configure the package
+	./configure --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) \
+	--prefix=/usr \
+	--datadir=\$${prefix}/share \
+	--infodir=\$${prefix}/share/info \
+	--mandir=\$${prefix}/share/man \
+	--disable-static \
+	--with-pangocairo \
+	--with-x \
+	--without-gdk-pixbuf \
+	--without-gnomeui \
+	--without-gtk \
+	--without-gts \
+	--without-ipsepcola \
+	--without-rsvg \
+	--enable-guile \
+	--enable-lua \
+	--enable-ocaml \
+	--enable-php \
+	--enable-python24 \
+	--enable-ruby \
+	--enable-tcl \
+	--disable-java \
+	--disable-r \
+	--disable-sharp \
+	LDFLAGS="-Wl,--as-needed"
+	touch configure-stamp
+
+build: configure build-stamp
+build-stamp:
+	dh_testdir
+
+	# Build
+	$(MAKE)
+	touch build-stamp
+
+	# Build the manpage from SONAME-independent perlpod
+	sed -e 's/##SONAME##/$(SONAME)/g' \
+		debian/libgraphviz-config-update.pod.in > \
+		debian/libgraphviz$(SONAME)-config-update.pod
+	pod2man --center "GRAPHVIZ CONFIGURATION MANAGEMENT" \
+		--release $(UPSTREAM_VERSION) \
+		debian/libgraphviz$(SONAME)-config-update.pod \
+		debian/libgraphviz$(SONAME)-config-update.1
+
+clean: clean-patched unpatch
+clean-patched:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Clean up if a build already happened
+	[ ! -f Makefile ] || $(MAKE) distclean
+
+	# Clean up intermediate and generated manpages
+	rm -f debian/libgraphviz$(SONAME)-config-update.pod
+	rm -f debian/libgraphviz$(SONAME)-config-update.1
+
+	dh_clean $(CONFIG_SCRIPTS) \
+		tclpkg/gv/gv.R tclpkg/gv/php_gv.h
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Install the package into debian/tmp
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+	# Remove .la files
+	find -name '*.la' -delete
+
+	# Strip the rpath on /usr/lib (at least on amd64), but not
+	# on /usr/lib/graphviz (needed for the plugins), and bail
+	# out if it is another case, while ignoring if there's no
+	# RPATH at all (there are shell scripts under /usr/bin).
+	for i in debian/tmp/usr/bin/* ; do \
+		case `chrpath -l -k $$i` in \
+			*RPATH=/usr/lib/graphviz) ;; \
+			*RPATH=/usr/lib) chrpath -d $$i ;; \
+			*RPATH=/usr/lib:/usr/lib/graphviz) chrpath -r /usr/lib/graphviz $$i ;; \
+			*RPATH=*) echo "Unknown RPATH: $$i" ; exit 1 ;; \
+			*) ;; \
+		esac ; \
+	done
+
+	# Install lintian overrides
+	install -d $(CURDIR)/debian/tmp/usr/share/lintian/overrides
+	install -m 644 $(CURDIR)/debian/libgraphviz$(SONAME).lintian-overrides \
+		$(CURDIR)/debian/tmp/usr/share/lintian/overrides/libgraphviz$(SONAME)
+
+	# Rename manpages: s/.n$/.3/
+	for i in $(CURDIR)/debian/tmp/usr/share/man/mann/*.n ; do \
+		mv $$i $${i%%.n}.3; \
+	done
+
+	# Move manpages
+	install -d $(CURDIR)/debian/tmp/usr/share/man/man3
+	find $(CURDIR)/debian/tmp/usr/share/man/mann -name '*.3' \
+		-exec mv {} $(CURDIR)/debian/tmp/usr/share/man/man3 ';'
+
+	# Compute the dependencies of the -dev package
+	# NOTE: It is important to do that before splitting the files into
+	# their respective packages, otherwise the symlinks are broken
+	d-devlibdeps \
+		--override s/libpathplan$(SONAME)-dev// \
+		--override s/libgraph$(SONAME)-dev//    \
+		--override s/libcdt$(SONAME)-dev//      \
+		$(CURDIR)/debian/libgraphviz-dev.substvars \
+		$(CURDIR)/debian/tmp/usr/lib/*.so
+
+	# Move from debian/tmp to the appropriate packages, rename one binary
+	dh_install --sourcedir=debian/tmp --list-missing
+	mv $(CURDIR)/debian/libgraphviz$(SONAME)/usr/sbin/dot \
+		$(CURDIR)/debian/libgraphviz$(SONAME)/usr/sbin/libgraphviz$(SONAME)-config-update
+
+	# Some additional work for libgv-lua
+	# 1. Rename using the LUA_VERSION
+	mv $(LUA_PACKAGE)/usr/lib/graphviz/lua/libgv_lua.so \
+		$(LUA_PACKAGE)/usr/lib/graphviz/lua/liblua$(LUA_VERSION)-libgv.so
+	# 2. Add a symlink
+	install -d $(LUA_PACKAGE)/usr/lib/lua/$(LUA_VERSION)
+	ln -s /usr/lib/graphviz/lua/liblua$(LUA_VERSION)-libgv.so \
+		$(LUA_PACKAGE)/usr/lib/lua/$(LUA_VERSION)/gv.so
+
+	# Some additional work for libgv-ocaml
+	# 1. Move the shared object to the stublibs directory
+	install -d $(OCAML_PACKAGE)/usr/lib/ocaml/$(OCAMLABI)/stublibs
+	mv $(OCAML_PACKAGE)/usr/lib/graphviz/ocaml/libgv_ocaml.so \
+		$(OCAML_PACKAGE)/usr/lib/ocaml/$(OCAMLABI)/stublibs/dllgv.so
+	# 2. Move the devel files where they belong
+	install -d $(DEV_PACKAGE)/usr/lib/ocaml/$(OCAMLABI)/gv
+	mv $(OCAML_PACKAGE)/usr/lib/graphviz/ocaml/*.ml* \
+		$(DEV_PACKAGE)/usr/lib/ocaml/$(OCAMLABI)/gv
+	# 3. Trash the (almost empty) directory (and its .la)
+	rm -rf $(OCAML_PACKAGE)/usr/lib/graphviz
+
+	# Debian-specific manpage
+	dh_installman -plibgraphviz$(SONAME)      \
+		$(CURDIR)/debian/libgraphviz$(SONAME)-config-update.1
+
+	# Some additional work for libgv-ruby
+	install -d $(RUBY_PACKAGE)/usr/lib/ruby/$(RUBY_VERSION)
+	mv $(RUBY_PACKAGE)/usr/lib/graphviz/ruby/libgv_ruby.so \
+		$(RUBY_PACKAGE)/usr/lib/ruby/$(RUBY_VERSION)/gv.so
+	rm -rf $(RUBY_PACKAGE)/usr/lib/graphviz
+
+	# Install additional ocaml files
+	install -d $(DEV_PACKAGE)/usr/lib/ocaml/$(OCAMLABI)/gv
+	cp debian/tmp/usr/lib/graphviz/ocaml/gv.cm* \
+		$(DEV_PACKAGE)/usr/lib/ocaml/$(OCAMLABI)/gv
+	install -d $(DEV_PACKAGE)/usr/lib/ocaml/$(OCAMLABI)/METAS
+	mv debian/tmp/usr/lib/graphviz/ocaml/META.gv \
+		$(DEV_PACKAGE)/usr/lib/ocaml/$(OCAMLABI)/METAS
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installdocs -i
+	dh_installmenu -i
+	dh_installchangelogs ChangeLog -i
+	dh_perl -i
+	dh_link -i
+	dh_strip -i
+	dh_compress -i -X.pdf
+	dh_fixperms -i
+	dh_makeshlibs -i
+	dh_installdeb -i
+	dh_shlibdeps -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+# Pass -a to all debhelper commands in this target to reduce clutter.
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installdocs -a -XMakefile
+	dh_installexamples -a
+	dh_installmenu -a
+	dh_installman -a
+	dh_installchangelogs ChangeLog -a
+	dh_perl -a
+	dh_pysupport -a
+	dh_link -a
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_makeshlibs -plibgraphviz$(SONAME) -V 'libgraphviz4 (>= 2.20.0)'
+	dh_installdeb -a
+	dh_shlibdeps -a -L libgraphviz$(SONAME) $(CURDIR)/debian/libgraphviz$(SONAME)/usr/lib
+	dh_gencontrol -a -- -VF:OCamlABI="$(OCAMLABI)"
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- graphviz-2.20.2.orig/debian/graphviz-doc.install
+++ graphviz-2.20.2/debian/graphviz-doc.install
@@ -0,0 +1,11 @@
+usr/share/graphviz/lefty    usr/share/doc/graphviz/examples
+usr/share/graphviz/graphs   usr/share/doc/graphviz/examples
+usr/share/graphviz/demo     usr/share/doc/graphviz/examples
+usr/share/graphviz/doc/pdf  usr/share/doc/graphviz
+usr/share/graphviz/doc/html usr/share/doc/graphviz
+
+usr/share/graphviz/doc/AUTHORS               usr/share/doc/graphviz
+usr/share/graphviz/doc/ChangeLog             usr/share/doc/graphviz
+usr/share/graphviz/doc/Dot.ref               usr/share/doc/graphviz
+usr/share/graphviz/doc/latex_suggestions.txt usr/share/doc/graphviz
+
--- graphviz-2.20.2.orig/debian/libgraphviz4.install
+++ graphviz-2.20.2/debian/libgraphviz4.install
@@ -0,0 +1,7 @@
+# To be changed into an in extenso list if plugins are added
+usr/lib/graphviz/lib*.so.*
+usr/lib/lib*.so.*
+usr/share/lintian/overrides
+
+# Renamed afterwards to graphvizN-config-update in debian/rules
+usr/bin/dot usr/sbin
--- graphviz-2.20.2.orig/debian/libgraphviz4.postrm
+++ graphviz-2.20.2/debian/libgraphviz4.postrm
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+# Remove the configuration file if present, see README.Debian-packaging
+# Needed only in libgraphivzN
+if [ -f /usr/lib/graphviz/config4 ]; then
+	rm -f /usr/lib/graphviz/config4
+fi
+
+
+#DEBHELPER#
--- graphviz-2.20.2.orig/debian/watch
+++ graphviz-2.20.2/debian/watch
@@ -0,0 +1,3 @@
+# Site      Directory       Pattern         Version Script
+version=3
+http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-([0-9.]+)\.tar\.gz
--- graphviz-2.20.2.orig/debian/libgraphviz4.postinst
+++ graphviz-2.20.2/debian/libgraphviz4.postinst
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+set -e
+
+# Update the configuration file (/usr/lib/graphviz/config3)
+# Needed for the plugins too
+if [ -x /usr/sbin/libgraphviz4-config-update ]; then
+	/usr/sbin/libgraphviz4-config-update -c
+fi
+
+# Remove the old configuration file if present, see README.Debian-packaging
+# Needed only in libgraphivzN
+if [ -f /usr/lib/graphviz/config ]; then
+	rm -f /usr/lib/graphviz/config
+fi
+
+#DEBHELPER#
--- graphviz-2.20.2.orig/debian/libgv-tcl.install
+++ graphviz-2.20.2/debian/libgv-tcl.install
@@ -0,0 +1,5 @@
+usr/lib/graphviz/tcl          usr/lib/tcltk/graphviz
+usr/share/man/man3/gv_tcl.3
+usr/share/man/man3/gdtclft.3
+usr/share/man/man3/tkspline.3
+usr/share/man/man3/tcldot.3
--- graphviz-2.20.2.orig/debian/libgv-php5.README.Debian
+++ graphviz-2.20.2/debian/libgv-php5.README.Debian
@@ -0,0 +1,17 @@
+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 <kibi@debian.org>, Mon, 28 Jul 2008 05:09:59 +0200
--- graphviz-2.20.2.orig/debian/README.Debian
+++ graphviz-2.20.2/debian/README.Debian
@@ -0,0 +1,28 @@
+graphviz for Debian
+-------------------
+
+  * Various examples are available in the graphviz-doc package,
+    shipped under /usr/share/doc/graphviz/examples. It might be needed
+    to adjust some paths to make the demo scripts work out of the box,
+    patches are welcome.
+  * One might also be interested in the contrib/ directory of the
+    source package. Note that starting with 2.16.1-1, the diffimg
+    utility is built and shipped in the graphviz package.
+  * Original notes about packages suggested by graphviz:
+     - The msttcorefonts package is suggested so that TrueType fonts
+       are available if necessary.
+     - The gsfonts package is suggested in case X isn't installed,
+       since it contains default fonts.
+  * Those notes were kept verbatim and probably need an update, like
+    the package relationships themselves. Comments are welcome in the
+    meanwhile.
+  * A “global” manpage (graphviz.7) is available so that one can
+    easily find all graphviz-related binaries and their role. Thanks
+    again to Joachim Berdal Haga <jbh@lupus.ig3.net> for having
+    proposed such a list.
+  * For references, from the 2.12-4 upload (Thu, 09 Aug 2007): Java
+    and C# bindings (#360970 and #360977) are not planned at the
+    moment, given the restrictions on the architectures on which they
+    are available. Anyway, any tested patch is welcome to add them.
+
+ -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>, Thu, 14 Feb 2008 14:15:32 +0100
--- graphviz-2.20.2.orig/debian/pyversions
+++ graphviz-2.20.2/debian/pyversions
@@ -0,0 +1 @@
+2.4,2.5
--- graphviz-2.20.2.orig/debian/libgraphviz4.lintian-overrides
+++ graphviz-2.20.2/debian/libgraphviz4.lintian-overrides
@@ -0,0 +1,2 @@
+# We have several shared objects...
+libgraphviz4: package-name-doesnt-match-sonames libagraph4 libcdt4 libcgraph4 libgraph4 libgvc4 libpathplan4
--- graphviz-2.20.2.orig/debian/copyright
+++ graphviz-2.20.2/debian/copyright
@@ -0,0 +1,246 @@
+This package was originally debianized by Stephen M Moraco <stephen@debian.org>
+ on Fri, 31 Dec 1999 15:37:17 -0700.
+
+It was downloaded from http://www.graphviz.org/
+
+
+Upstream Authors:
+
+   John Ellson, Lucent (TCL/tk and codegen extensions)
+   Emden Gansner, AT&T Research (dot, neato)
+   Eleftherios Koutsofios, AT&T Research (dotty, lefty, spline-o-matic)
+   John Mocenigo, AT&T Research (Grappa)
+   Stephen North, AT&T Research (dot, neato)
+   Gordon Woodhull (Montage)
+      and
+   David Dobkin (spline-o-matic)
+   Vladimir Alexiev (codegen improvements)
+
+
+Copyright:
+
+   Copyright 1994-2007 AT&T Corp.
+
+
+License:
+                  Common Public License Version 1.0
+
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC
+LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
+CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+
+1. DEFINITIONS
+
+"Contribution" means:
+
+    a) in the case of the initial Contributor, the initial code and
+documentation distributed under this Agreement, and
+
+    b) in the case of each subsequent Contributor:
+
+    i) changes to the Program, and
+
+    ii) additions to the Program;
+
+    where such changes and/or additions to the Program originate from and are
+distributed by that particular Contributor. A Contribution 'originates' from a
+Contributor if it was added to the Program by such Contributor itself or anyone
+acting on such Contributor's behalf. Contributions do not include additions to
+the Program which: (i) are separate modules of software distributed in
+conjunction with the Program under their own license agreement, and (ii) are not
+derivative works of the Program.
+
+"Contributor" means any person or entity that distributes the Program.
+
+"Licensed Patents " mean patent claims licensable by a Contributor which are
+necessarily infringed by the use or sale of its Contribution alone or when
+combined with the Program.
+
+"Program" means the Contributions distributed in accordance with this Agreement.
+
+"Recipient" means anyone who receives the Program under this Agreement,
+including all Contributors.
+
+2. GRANT OF RIGHTS
+
+    a) Subject to the terms of this Agreement, each Contributor hereby grants
+Recipient a non-exclusive, worldwide, royalty-free copyright license to
+reproduce, prepare derivative works of, publicly display, publicly perform,
+distribute and sublicense the Contribution of such Contributor, if any, and such
+derivative works, in source code and object code form.
+
+    b) Subject to the terms of this Agreement, each Contributor hereby grants
+Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed
+Patents to make, use, sell, offer to sell, import and otherwise transfer the
+Contribution of such Contributor, if any, in source code and object code form.
+This patent license shall apply to the combination of the Contribution and the
+Program if, at the time the Contribution is added by the Contributor, such
+addition of the Contribution causes such combination to be covered by the
+Licensed Patents. The patent license shall not apply to any other combinations
+which include the Contribution. No hardware per se is licensed hereunder.
+
+    c) Recipient understands that although each Contributor grants the licenses
+to its Contributions set forth herein, no assurances are provided by any
+Contributor that the Program does not infringe the patent or other intellectual
+property rights of any other entity. Each Contributor disclaims any liability to
+Recipient for claims brought by any other entity based on infringement of
+intellectual property rights or otherwise. As a condition to exercising the
+rights and licenses granted hereunder, each Recipient hereby assumes sole
+responsibility to secure any other intellectual property rights needed, if any.
+For example, if a third party patent license is required to allow Recipient to
+distribute the Program, it is Recipient's responsibility to acquire that license
+before distributing the Program.
+
+    d) Each Contributor represents that to its knowledge it has sufficient
+copyright rights in its Contribution, if any, to grant the copyright license set
+forth in this Agreement.
+
+3. REQUIREMENTS
+
+A Contributor may choose to distribute the Program in object code form under its
+own license agreement, provided that:
+
+    a) it complies with the terms and conditions of this Agreement; and
+
+    b) its license agreement:
+
+    i) effectively disclaims on behalf of all Contributors all warranties and
+conditions, express and implied, including warranties or conditions of title and
+non-infringement, and implied warranties or conditions of merchantability and
+fitness for a particular purpose;
+
+    ii) effectively excludes on behalf of all Contributors all liability for
+damages, including direct, indirect, special, incidental and consequential
+damages, such as lost profits;
+
+    iii) states that any provisions which differ from this Agreement are offered
+by that Contributor alone and not by any other party; and
+
+    iv) states that source code for the Program is available from such
+Contributor, and informs licensees how to obtain it in a reasonable manner on or
+through a medium customarily used for software exchange.
+
+When the Program is made available in source code form:
+
+    a) it must be made available under this Agreement; and
+
+    b) a copy of this Agreement must be included with each copy of the Program.
+
+Contributors may not remove or alter any copyright notices contained within the
+Program.
+
+Each Contributor must identify itself as the originator of its Contribution, if
+any, in a manner that reasonably allows subsequent Recipients to identify the
+originator of the Contribution.
+
+4. COMMERCIAL DISTRIBUTION
+
+Commercial distributors of software may accept certain responsibilities with
+respect to end users, business partners and the like. While this license is
+intended to facilitate the commercial use of the Program, the Contributor who
+includes the Program in a commercial product offering should do so in a manner
+which does not create potential liability for other Contributors. Therefore, if
+a Contributor includes the Program in a commercial product offering, such
+Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
+every other Contributor ("Indemnified Contributor") against any losses, damages
+and costs (collectively "Losses") arising from claims, lawsuits and other legal
+actions brought by a third party against the Indemnified Contributor to the
+extent caused by the acts or omissions of such Commercial Contributor in
+connection with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any claims or Losses
+relating to any actual or alleged intellectual property infringement. In order
+to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
+Contributor in writing of such claim, and b) allow the Commercial Contributor to
+control, and cooperate with the Commercial Contributor in, the defense and any
+related settlement negotiations. The Indemnified Contributor may participate in
+any such claim at its own expense.
+
+For example, a Contributor might include the Program in a commercial product
+offering, Product X. That Contributor is then a Commercial Contributor. If that
+Commercial Contributor then makes performance claims, or offers warranties
+related to Product X, those performance claims and warranties are such
+Commercial Contributor's responsibility alone. Under this section, the
+Commercial Contributor would have to defend claims against the other
+Contributors related to those performance claims and warranties, and if a court
+requires any other Contributor to pay any damages as a result, the Commercial
+Contributor must pay those damages.
+
+5. NO WARRANTY
+
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
+IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
+NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
+Recipient is solely responsible for determining the appropriateness of using and
+distributing the Program and assumes all risks associated with its exercise of
+rights under this Agreement, including but not limited to the risks and costs of
+program errors, compliance with applicable laws, damage to or loss of data,
+programs or equipment, and unavailability or interruption of operations.
+
+6. DISCLAIMER OF LIABILITY
+
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
+CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
+PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
+GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+7. GENERAL
+
+If any provision of this Agreement is invalid or unenforceable under applicable
+law, it shall not affect the validity or enforceability of the remainder of the
+terms of this Agreement, and without further action by the parties hereto, such
+provision shall be reformed to the minimum extent necessary to make such
+provision valid and enforceable.
+
+If Recipient institutes patent litigation against a Contributor with respect to
+a patent applicable to software (including a cross-claim or counterclaim in a
+lawsuit), then any patent licenses granted by that Contributor to such Recipient
+under this Agreement shall terminate as of the date such litigation is filed. In
+addition, if Recipient institutes patent litigation against any entity
+(including a cross-claim or counterclaim in a lawsuit) alleging that the Program
+itself (excluding combinations of the Program with other software or hardware)
+infringes such Recipient's patent(s), then such Recipient's rights granted under
+Section 2(b) shall terminate as of the date such litigation is filed.
+
+All Recipient's rights under this Agreement shall terminate if it fails to
+comply with any of the material terms or conditions of this Agreement and does
+not cure such failure in a reasonable period of time after becoming aware of
+such noncompliance. If all Recipient's rights under this Agreement terminate,
+Recipient agrees to cease use and distribution of the Program as soon as
+reasonably practicable. However, Recipient's obligations under this Agreement
+and any licenses granted by Recipient relating to the Program shall continue and
+survive.
+
+Everyone is permitted to copy and distribute copies of this Agreement, but in
+order to avoid inconsistency the Agreement is copyrighted and may only be
+modified in the following manner. The Agreement Steward reserves the right to
+publish new versions (including revisions) of this Agreement from time to time.
+No one other than the Agreement Steward has the right to modify this Agreement.
+IBM is the initial Agreement Steward. IBM may assign the responsibility to serve
+as the Agreement Steward to a suitable separate entity. Each new version of the
+Agreement will be given a distinguishing version number. The Program (including
+Contributions) may always be distributed subject to the version of the Agreement
+under which it was received. In addition, after a new version of the Agreement
+is published, Contributor may elect to distribute the Program (including its
+Contributions) under the new version. Except as expressly stated in Sections
+2(a) and 2(b) above, Recipient receives no rights or licenses to the
+intellectual property of any Contributor under this Agreement, whether
+expressly, by implication, estoppel or otherwise. All rights in the Program not
+expressly granted under this Agreement are reserved.
+
+This Agreement is governed by the laws of the State of New York and the
+intellectual property laws of the United States of America. No party to this
+Agreement will bring a legal action under this Agreement more than one year
+after the cause of action arose. Each party waives its rights to a jury trial in
+any resulting litigation.
+
+
+
+The Debian packaging was started by Stephen M Moraco <stephen@debian.org> and
+then was taken over in late 2006 by Cyril Brulebois, placing his work under the
+same terms as graphviz itself.
+ © 2006-2008, Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
+
--- graphviz-2.20.2.orig/debian/TODO
+++ graphviz-2.20.2/debian/TODO
@@ -0,0 +1,27 @@
+TODO for graphviz
+-----------------
+
+  * Check the dependencies for all bindings, e.g. libgv-guile doesn't seem to
+    depend on any guile package.
+  * The handling of the libgv-php5 package could be better. An idea would be to
+    have a debian/libgv-php5.install.in file, which would be preprocessed, so
+    that the appropriate path is computed at build-time (using the output of
+    the “php-config5 --extension-dir” command).
+  * That should really be done for all languages needing extra work,
+    see debian/rules.
+  * Think about putting the configuration file into /var, see the discussion
+    with Alexander on the 10th of August.
+  * Stop using -lstdc++ and use CXX (not trivial actually).
+  * Adjust --build and --host options to ./configure so as to support cross-
+    compilation correctly.
+  * The Conflicts between libgv-perl and older graphviz might go away since the
+    location of perl files was adapted to follow the perl policy. To be checked
+    with piuparts.
+  * Check and eventually refresh the package relationships (Suggests:,
+    and maybe the Conflicts: towards gdtclft).
+  * Tcl/Tk:
+     - Check the .0.0.0 stuff for the Tcl parts. Should it be using
+       “-module -avoid-version” too?
+  * fontconfig results in no dependency, that might be dropped from the B-D.
+
+ -- Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>  Wed, 09 Jan 2008 03:18:46 +0100
--- graphviz-2.20.2.orig/debian/libgraphviz-config-update.pod.in
+++ graphviz-2.20.2/debian/libgraphviz-config-update.pod.in
@@ -0,0 +1,32 @@
+=head1 NAME
+
+libgraphviz##SONAME##-config-update - maintain libgraphviz's configuration file
+
+
+=head1 SYNOPSIS
+
+B<libgraphviz##SONAME##-config-update> B<-c>
+
+
+=head1 DESCRIPTION
+
+Graphviz tools are using a configuration file
+(F</usr/lib/graphviz/config##SONAME##> at the moment) to get some
+plugin options. This command is used in B<libgraphviz##SONAME##> and
+B<libgraphviz##SONAME##-*-plugin> packages' maintainer scripts to
+update this configuration file when plugins are installed, updated, or
+removed.
+
+
+=head1 NOTE
+
+This tool is intended to be used only in maintainer scripts and it
+shouldn't be needed to run it manually.
+
+
+=head1 AUTHOR
+
+This manual page was written by Cyril Brulebois
+<cyril.brulebois@enst-bretagne.fr>.
+
+It can be distributed under the same terms as the graphviz package.
--- graphviz-2.20.2.orig/debian/libgv-perl.install
+++ graphviz-2.20.2/debian/libgv-perl.install
@@ -0,0 +1,4 @@
+usr/lib/graphviz/perl/gv.pm         usr/lib/perl5
+usr/lib/graphviz/perl/gv.so         usr/lib/perl5/auto/gv
+usr/lib/graphviz/perl/libgv_perl.so usr/lib/perl5/auto/gv
+usr/share/man/man3/gv_perl.3
--- graphviz-2.20.2.orig/debian/graphviz.install
+++ graphviz-2.20.2/debian/graphviz.install
@@ -0,0 +1,4 @@
+usr/bin
+usr/share/man/man1
+usr/share/man/man7
+usr/share/graphviz/lefty
--- graphviz-2.20.2.orig/debian/libgv-guile.install
+++ graphviz-2.20.2/debian/libgv-guile.install
@@ -0,0 +1,2 @@
+usr/lib/graphviz/guile/libgv_guile.so
+usr/share/man/man3/gv_guile.3
--- graphviz-2.20.2.orig/debian/compat
+++ graphviz-2.20.2/debian/compat
@@ -0,0 +1 @@
+5
--- graphviz-2.20.2.orig/debian/libgv-python.install
+++ graphviz-2.20.2/debian/libgv-python.install
@@ -0,0 +1,4 @@
+usr/lib/graphviz/python
+usr/lib/graphviz/python24
+usr/lib/graphviz/python25
+usr/share/man/man3/gv_python.3
--- graphviz-2.20.2.orig/debian/libgv-php5.install
+++ graphviz-2.20.2/debian/libgv-php5.install
@@ -0,0 +1,2 @@
+usr/lib/graphviz/php
+usr/share/man/man3/gv_php.3
--- graphviz-2.20.2.orig/debian/libgraphviz-dev.install
+++ graphviz-2.20.2/debian/libgraphviz-dev.install
@@ -0,0 +1,12 @@
+usr/include/graphviz
+usr/lib/pkgconfig
+usr/lib/*.so
+usr/lib/graphviz/*.so
+
+# usr/share/man/man3/*  w/o  gv_*.3 (bindings)
+usr/share/man/man3/cdt.3
+usr/share/man/man3/graph.3
+usr/share/man/man3/agraph.3
+usr/share/man/man3/cgraph.3
+usr/share/man/man3/pathplan.3
+usr/share/man/man3/gvc.3
--- graphviz-2.20.2.orig/debian/graphviz.menu
+++ graphviz-2.20.2/debian/graphviz.menu
@@ -0,0 +1,4 @@
+?package(graphviz):needs="X11" section="Applications/Graphics" \
+  title="dotty" command="/usr/bin/dotty"
+?package(graphviz):needs="X11" section="Applications/Graphics" \
+  title="lefty" command="/usr/bin/lefty"
--- graphviz-2.20.2.orig/debian/libgv-ocaml.install
+++ graphviz-2.20.2/debian/libgv-ocaml.install
@@ -0,0 +1,2 @@
+usr/lib/graphviz/ocaml
+usr/share/man/man3/gv_ocaml.3
--- graphviz-2.20.2.orig/debian/libgv-lua.install
+++ graphviz-2.20.2/debian/libgv-lua.install
@@ -0,0 +1,2 @@
+usr/lib/graphviz/lua/libgv_lua.so
+usr/share/man/man3/gv_lua.3
--- graphviz-2.20.2.orig/debian/patches/0_tcl_manpages_section
+++ graphviz-2.20.2/debian/patches/0_tcl_manpages_section
@@ -0,0 +1,27 @@
+--- a/tclpkg/gdtclft/gdtclft.n
++++ b/tclpkg/gdtclft/gdtclft.n
+@@ -1,4 +1,4 @@
+-.TH gdtclft n 8.0 "Tcl-Extensions"
++.TH gdtclft 3 8.0 "Tcl-Extensions"
+ .HS gdtclft tcl
+ .BS
+ .SH NAME
+--- a/tclpkg/tcldot/tcldot.n
++++ b/tclpkg/tcldot/tcldot.n
+@@ -1,4 +1,4 @@
+-.TH TCLDOT n "02 December 1996"
++.TH TCLDOT 3 "02 December 1996"
+ 
+ .SH NAME
+ 
+--- a/tclpkg/tkspline/tkspline.n
++++ b/tclpkg/tkspline/tkspline.n
+@@ -235,7 +235,7 @@
+ \\$1\l'|0\(ul'\\$2
+ ..
+ .lf 2 tkspline.n
+-.TH tkspline n 8.0 Tk "Tk Spline \- An additional smoothing method for canvas items "
++.TH tkspline 3 8.0 Tk "Tk Spline \- An additional smoothing method for canvas items "
+ .BS
+ '\" Note:  do not modify the .SH NAME line immediately below!
+ .SH NAME
--- graphviz-2.20.2.orig/debian/patches/0_libtool_linking_reorder_workaround
+++ graphviz-2.20.2/debian/patches/0_libtool_linking_reorder_workaround
@@ -0,0 +1,60 @@
+--- a/config/ltmain.sh	2007-12-26 15:10:00.000000000 +0100
++++ b/config/ltmain.sh	2007-12-26 15:10:24.000000000 +0100
+@@ -1784,6 +1784,11 @@
+ 	arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
+ 	;;
+ 
++      -Wl,--as-needed)
++	deplibs="$deplibs $arg"
++	continue
++	;;
++      
+       -Wl,*)
+ 	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
+ 	arg=
+@@ -2124,6 +2129,15 @@
+ 	lib=
+ 	found=no
+ 	case $deplib in
++	-Wl,--as-needed)
++	  if test "$linkmode,$pass" = "prog,link"; then
++	    compile_deplibs="$deplib $compile_deplibs"
++	    finalize_deplibs="$deplib $finalize_deplibs"
++	  else
++	    deplibs="$deplib $deplibs"
++	  fi
++	  continue
++	  ;;
+ 	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
+ 	  if test "$linkmode,$pass" = "prog,link"; then
+ 	    compile_deplibs="$deplib $compile_deplibs"
+--- a/libltdl/ltmain.sh	2007-12-26 15:10:00.000000000 +0100
++++ b/libltdl/ltmain.sh	2007-12-26 15:10:43.000000000 +0100
+@@ -1784,6 +1784,11 @@
+ 	arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
+ 	;;
+ 
++      -Wl,--as-needed)
++	deplibs="$deplibs $arg"
++	continue
++	;;
++      
+       -Wl,*)
+ 	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
+ 	arg=
+@@ -2124,6 +2129,15 @@
+ 	lib=
+ 	found=no
+ 	case $deplib in
++	-Wl,--as-needed)
++	  if test "$linkmode,$pass" = "prog,link"; then
++	    compile_deplibs="$deplib $compile_deplibs"
++	    finalize_deplibs="$deplib $finalize_deplibs"
++	  else
++	    deplibs="$deplib $deplibs"
++	  fi
++	  continue
++	  ;;
+ 	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
+ 	  if test "$linkmode,$pass" = "prog,link"; then
+ 	    compile_deplibs="$deplib $compile_deplibs"
--- graphviz-2.20.2.orig/debian/patches/10_fix_tred_regression
+++ graphviz-2.20.2/debian/patches/10_fix_tred_regression
@@ -0,0 +1,11 @@
+--- a/cmd/tools/tred.c
++++ b/cmd/tools/tred.c
+@@ -102,7 +102,7 @@
+ 			agnameof(agtail(e)), agnameof(aghead(e)));
+ 	    }
+ 	} else
+-	    warn = dfs(aghead(e), e, warn);
++	    warn = dfs(aghead(e), AGOUT2IN(e), warn);
+     }
+ 
+     MARK(n) = 0;
--- graphviz-2.20.2.orig/debian/patches/series
+++ graphviz-2.20.2/debian/patches/series
@@ -0,0 +1,6 @@
+0_versioned_plugin_config_file
+0_bindings_documentation
+0_tcl_manpages_section
+#0_libtool_linking_reorder_workaround
+10_fix_tred_regression
+20_fix_parser_stack_overflow
--- graphviz-2.20.2.orig/debian/patches/20_fix_parser_stack_overflow
+++ graphviz-2.20.2/debian/patches/20_fix_parser_stack_overflow
@@ -0,0 +1,66 @@
+--- a/lib/graph/parser.c
++++ b/lib/graph/parser.c
+@@ -110,7 +110,8 @@ static Agraph_t		*G;
+ static Agnode_t		*N;
+ static Agedge_t		*E;
+ static objstack_t	*SP;
+-static Agraph_t		*Gstack[32];
++#define GSTACK_SIZE 64
++static Agraph_t         *Gstack[GSTACK_SIZE];
+ static int			GSP;
+ 
+ static void subgraph_warn (void)
+@@ -123,6 +124,9 @@ static void subgraph_warn (void)
+ 
+ static void push_subg(Agraph_t *g)
+ {
++	if (GSP >= GSTACK_SIZE) {
++		agerr (AGERR, "Gstack overflow in graph parser\n"); exit(1);
++	}
+ 	G = Gstack[GSP++] = g;
+ }
+ 
+--- a/lib/graph/parser.y
++++ b/lib/graph/parser.y
+@@ -31,7 +31,8 @@ static Agraph_t		*G;
+ static Agnode_t		*N;
+ static Agedge_t		*E;
+ static objstack_t	*SP;
+-static Agraph_t		*Gstack[32];
++#define GSTACK_SIZE 64
++static Agraph_t         *Gstack[GSTACK_SIZE];
+ static int			GSP;
+ 
+ static void subgraph_warn (void)
+@@ -44,6 +45,9 @@ static void subgraph_warn (void)
+ 
+ static void push_subg(Agraph_t *g)
+ {
++	if (GSP >= GSTACK_SIZE) {
++		agerr (AGERR, "Gstack overflow in graph parser\n"); exit(1);
++	}
+ 	G = Gstack[GSP++] = g;
+ }
+ 
+--- a/lib/graph/y.tab.c
++++ b/lib/graph/y.tab.c
+@@ -110,7 +110,8 @@ static Agraph_t		*G;
+ static Agnode_t		*N;
+ static Agedge_t		*E;
+ static objstack_t	*SP;
+-static Agraph_t		*Gstack[32];
++#define GSTACK_SIZE 64
++static Agraph_t         *Gstack[GSTACK_SIZE];
+ static int			GSP;
+ 
+ static void subgraph_warn (void)
+@@ -123,6 +124,9 @@ static void subgraph_warn (void)
+ 
+ static void push_subg(Agraph_t *g)
+ {
++	if (GSP >= GSTACK_SIZE) {
++		agerr (AGERR, "Gstack overflow in graph parser\n"); exit(1);
++	}
+ 	G = Gstack[GSP++] = g;
+ }
+ 
--- graphviz-2.20.2.orig/debian/patches/0_bindings_documentation
+++ graphviz-2.20.2/debian/patches/0_bindings_documentation
@@ -0,0 +1,50 @@
+--- a/tclpkg/gv/gv_doc_langs.tcl
++++ b/tclpkg/gv/gv_doc_langs.tcl
+@@ -58,7 +58,7 @@
+ 			gv.  (  {, }   {);}
+ 		}
+ 		SYNOPSIS {
+-			{(load-extension "./libgv.so" "SWIG_init")}
++			{(load-extension "/usr/lib/graphviz/guile/libgv_guile.so" "SWIG_init")}
+ 		}
+ 		USAGE {
+ 		}
+@@ -209,6 +209,13 @@
+ 			gv.  (  {, }   {);}
+ 		}
+ 		SYNOPSIS {
++			{Run the ocaml interpreter}
++			{}
++			{#use "topfind";;}
++			{- : unit = ()}
++			{}
++			{#require "gv";;}
++			{/usr/lib/ocaml/3.10.0/gv/gv.cma: loaded}
+ 		}
+ 		USAGE {
+ 		}
+@@ -297,7 +304,7 @@
+ 		SYNOPSIS {
+ 			{#!/usr/bin/php}
+ 			{<?}
+-			{include("gv.php")}
++			{include('libgv-php5/gv.php');}
+ 			{...}
+ 			{?>}
+ 		}
+@@ -343,7 +350,6 @@
+ 		}
+ 		SYNOPSIS {
+ 			{#!/usr/bin/python}
+-			{import sys}
+ 			{import gv}
+ 		}
+ 		USAGE {
+--- a/tclpkg/gv/gv_doc_template.tcl
++++ b/tclpkg/gv/gv_doc_template.tcl
+@@ -1,4 +1,4 @@
+-.TH GV_[string toupper $lang] N \"[clock format [clock seconds] -format "%d %B %Y"]\"
++.TH GV_[string toupper $lang] 3 \"[clock format [clock seconds] -format "%d %B %Y"]\"
+ 
+ .SH NAME
+ 
--- graphviz-2.20.2.orig/debian/patches/0_versioned_plugin_config_file
+++ graphviz-2.20.2/debian/patches/0_versioned_plugin_config_file
@@ -0,0 +1,11 @@
+--- a/lib/gvc/gvconfig.c
++++ b/lib/gvc/gvconfig.c
+@@ -474,7 +474,7 @@
+     FILE *f = NULL;
+     char *config_text = NULL;
+     char *libdir;
+-    char *config_file_name = "config";
++    char *config_file_name = "config4";
+ 
+ #define MAX_SZ_CONFIG 100000
+ #endif
