--- ocamlgraph-1.5.orig/debian/copyright
+++ ocamlgraph-1.5/debian/copyright
@@ -0,0 +1,27 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Upstream-Author: Sylvain Conchon <Sylvain.Conchon@lri.fr>
+                 Jean-Christophe Filliâtre <Jean-Christophe.Filliatre@lri.fr>
+                 Julien Signoles <Julien.Signoles@lri.fr>
+Packaged-By: Sylvain Le Gall <gildor@debian.org>
+Packaged-Date: Sun, 22 Feb 2004 22:45:00 +0100
+Original-Source-Location: http://ocamlgraph.lri.fr/
+
+Files: dgraph/*
+Copyright: © 2009 CEA
+License: LGPL-2.1
+
+Files: *
+Copyright: © 2004-2008 Sylvain Conchon <Sylvain.Conchon@lri.fr>
+           © 2004-2008 Jean-Christophe Filliâtre <Jean-Christophe.Filliatre@lri.fr>
+           © 2004-2008 Julien Signoles <Julien.Signoles@lri.fr>
+License: LGPL-2
+
+OCamlGraph is distributed under the terms of the LGPL licence, which  can be
+found in the /usr/share/common-licenses/LGPL-2 file on debian systems.
+
+Files: debian/*
+Copyright: © 2004-2008 Sylvain Le Gall <gildor@debian.org>
+           ©      2008 Stefano Zacchiroli <zack@debian.org>
+	   ©      2009 Mehdi Dogguy <mehdi@debian.org>
+License: GPL-3+
+
--- ocamlgraph-1.5.orig/debian/libocamlgraph-ocaml-dev.install
+++ ocamlgraph-1.5/debian/libocamlgraph-ocaml-dev.install
@@ -0,0 +1,2 @@
+#TODO: reactivate when doc/intro.txt will be back
+#doc/* /usr/share/doc/libocamlgraph-ocaml-dev/html/api
--- ocamlgraph-1.5.orig/debian/ocamlgraph-editor.manpages
+++ ocamlgraph-1.5/debian/ocamlgraph-editor.manpages
@@ -0,0 +1,2 @@
+debian/xml-man/en/ocamlgraph-editor.1
+debian/xml-man/en/ocamlgraph-viewer.1
--- ocamlgraph-1.5.orig/debian/changelog
+++ ocamlgraph-1.5/debian/changelog
@@ -0,0 +1,283 @@
+ocamlgraph (1.5-1) unstable; urgency=low
+
+  * New upstream release
+    + Remove 0003-dgraph-handle-dotted-ellipse.patch
+
+ -- Mehdi Dogguy <mehdi@debian.org>  Sat, 15 May 2010 15:10:43 +0200
+
+ocamlgraph (1.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Convert patches to quilt format
+  * Bump standard version to 3.8.4, no changed needed.
+
+ -- Mehdi Dogguy <mehdi@debian.org>  Tue, 27 Apr 2010 15:58:35 +0200
+
+ocamlgraph (1.3+debian-2) unstable; urgency=low
+
+  * Provide a new binary package to avoid installing gnome and gtk
+    libraries when you only need to manipulate Graphs (Closes: #572893)
+    - libocamlgraph-view-ocaml-dev
+  * Put the generated documentation in a new binary (arch:all) package.
+    - libocamlgraph-ocaml-doc
+  * Make the new binary packages conflicts/replaces former versions of
+    libocamlgraph-ocaml-dev.
+
+ -- Mehdi Dogguy <mehdi@debian.org>  Sun, 07 Mar 2010 21:40:23 +0100
+
+ocamlgraph (1.3+debian-1) unstable; urgency=low
+
+  * New upstream release
+  * Update README.source
+  * Fix include order in debian/rules
+  * Use new features of dh-ocaml 0.9
+    - Generate documentation using dh_ocamldoc (Closes: #559330)
+
+ -- Mehdi Dogguy <mehdi@debian.org>  Sun, 10 Jan 2010 14:42:40 +0100
+
+ocamlgraph (1.2+debian-1) unstable; urgency=low
+
+  * New Upstream Version
+  * Use my Debian address
+  * Remove 04_more_clean.dpatch: not needed anymore
+  * Bump standards version to 3.8.3, no changes needed
+  * Update copyright file
+  * Remove ocamlweb from build-dependencies as we don't use it.
+
+ -- Mehdi Dogguy <mehdi@debian.org>  Fri, 04 Sep 2009 09:41:53 +0200
+
+ocamlgraph (1.1-1) unstable; urgency=low
+
+  [ Mehdi Dogguy ]
+  * New Upstream Version
+  * Update some build-dependencies versions
+  * Upgrade Standards-Version to 3.8.2, no changes needed.
+  * Update patch 01_makefile
+
+  [ Sylvain Le Gall ]
+  * Clean and restore files to come back to pristine-tar state after
+    clean
+
+ -- Mehdi Dogguy <dogguy@pps.jussieu.fr>  Mon, 06 Jul 2009 20:50:04 +0000
+
+ocamlgraph (1.0-2) unstable; urgency=low
+
+  * Modify 01_makefile.dpatch to:
+    - install .cmi and .o files of the viewer
+    - install graph.o
+  * viewgraph has to link against gtkinit
+  * Install ocamlgraph-viewer
+  * Move libocamlgraph-ocaml-dev to section ocaml
+  * Upgrade Standards-Version to 3.8.1, no changes needed.
+  * Add myself to uploaders
+  * Add and install a manpage for ocamlgraph-viewer
+
+ -- Mehdi Dogguy <dogguy@pps.jussieu.fr>  Tue, 12 May 2009 13:05:12 +0200
+
+ocamlgraph (1.0-1) unstable; urgency=low
+
+  [ Sylvain Le Gall ]
+  * New upstream release:
+    * Don't ship viewgraph which is segfaulting
+    * Update 01_makefile.dpatch
+    * Don't use upstream documentation, since there is a bug in viewgraph
+      that prevent generating it
+  * Update copyright file to something more compliant with
+    http://wiki.debian.org/Proposals/CopyrightFormat
+  * Add build-dependency on dh-ocaml
+  * Upgrade Standards-Version to 3.8.0 (debian/README.source)
+
+  [ Stephane Glondu ]
+  * Switch packaging to git
+
+  [ Stefano Zacchiroli ]
+  * debian/control: add missing ${misc:Depends}
+  * bump debhelper compatibility level to 7
+  * debian/rules: use ocaml.mk as a CDBS "rules" snippet
+
+ -- Sylvain Le Gall <gildor@debian.org>  Fri, 20 Mar 2009 12:42:55 +0100
+
+ocamlgraph (0.99c-1) unstable; urgency=low
+
+  [ Stefano Zacchiroli ]
+  * new upstream release (Closes: #486910)
+    - split a new binary package ocamlgraph-editor to ship the GNOME-based
+      graph editor based on hyperbolic geometry
+  * promote Homepage to a real debian/control field
+  * fix vcs-svn field to point just above the debian/ dir
+  * debian/watch: update to point to the new homepage
+  * debian/control:
+    - update Homepage field to point to the new homepage
+    - drop versioning in cdbs dependency, the required version is in stable
+    - revamp long description mentioning new functionality
+    - in long description, formats list items properly as pre-formatted lines
+      (Closes: #480338)
+    - add Build-Depends on liblablgtk2{-gnome,}-ocaml-dev to build the editor
+  * debian/patches/
+    - 00dpatch.conf: add dpatch configuration fail pointing to ../upstream for
+      upstream tarballs
+    - 01_makefile.dpatch: refresh wrt latest upstream Makefile.in
+    - 02_editor_naming.dpatch: (new patch) rename the best built editor to
+      "ocamlgraph-editor"
+    - 03_hide_b0rken_icon.dpatch: (new patch) avoid references to the non
+      existent icon "ed_icon.xpm"
+    - remove no longer applied patches: 02_literals_overflow.dpatch,
+      03_META.dpatch, 04_ocamldoc_coloring.dpatch
+  * debian/libocamlgraph-ocaml-dev.examples: refresh according to new upstream
+    example placement
+  * bump Standards-Version to 3.8.0, no changes needed
+  * debian/copyright:
+    - revamp with more precise mention of copyright owners (separate from
+      contributors) and license version details (LGPL, v2 only)
+    - provide copyright details for Debian packaging, adding myself
+    - switch to machine parseable copyright format, as per
+      http://wiki.debian.org/Proposals/CopyrightFormat
+    - change file encoding to UTF-8, makes lintian happy
+
+  [ Sylvain Le Gall ]
+  * Use ocaml 3.10.0-9 for generating .ocamldoc-apiref automatically
+  * Set debian-ocaml-maint@l.d.o as maintainer, me and zack as uploaders
+  * Remove useless control.in
+  * Add manpage for ocamlgraph-editor
+  * Clean files that are generated and prevents building debian diff
+    files
+
+ -- Sylvain Le Gall <gildor@debian.org>  Sat, 21 Jun 2008 12:58:39 +0200
+
+ocamlgraph (0.98-3) unstable; urgency=low
+
+  * Build for ocaml 3.10.0
+  * Place the documentation in htm/api
+
+ -- Sylvain Le Gall <gildor@debian.org>  Tue, 04 Sep 2007 00:26:46 +0200
+
+ocamlgraph (0.98-2) experimental; urgency=low
+
+  * Upgrade debian/watch version to 3,
+  * Use ocaml.mk,
+  * Change email address to gildor@debian.org everywhere
+  * Rebuild for ocaml 3.10.0
+
+ -- Sylvain Le Gall <gildor@debian.org>  Tue, 24 Jul 2007 01:27:37 +0200
+
+ocamlgraph (0.98-1) unstable; urgency=low
+
+  * New upstream release
+  * Upgrade debhelper debian/compat to 5,
+  * Use CDBS for debian/rules,
+  * Add example sudoku.ml.
+
+ -- Sylvain Le Gall <gildor@debian.org>  Fri, 13 Oct 2006 23:41:06 +0200
+
+ocamlgraph (0.97-1) unstable; urgency=low
+
+  * New upstream version,
+  * Remove control.in as per ocaml policy,
+  * Add XS-X-Vcs-Svn in control,
+  * Update 01_makefile.dpatch,
+  * 04_ocamldoc_coloring.dpatch apply upstream.
+
+ -- Sylvain Le Gall <gildor@debian.org>  Fri, 15 Sep 2006 00:44:53 +0200
+
+ocamlgraph (0.96-1) unstable; urgency=low
+
+  * New upstream version
+  * Change my email address to gildor@debian.org,
+  * Made debian/control a PHONY target,
+  * Upgrade standards version to 3.7.2 (no change),
+  * Clean directory doc in debian/rules:clean,
+  * Apply patch 04_ocamldoc_coloring, to correct an ocamldoc 
+    generation error,
+
+ -- Sylvain Le Gall <gildor@debian.org>  Wed, 14 Jun 2006 09:44:39 +0200
+
+ocamlgraph (0.95-3) unstable; urgency=low
+
+  * Rebuild for OCaml 3.09.1
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Mon, 23 Jan 2006 23:28:34 +0100
+
+ocamlgraph (0.95-2) unstable; urgency=low
+
+  * Use Apps/Programming for doc-base
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Sat,  3 Dec 2005 01:14:11 +0100
+
+ocamlgraph (0.95-1) unstable; urgency=low
+
+  * New upstream release
+  * Remove direct reference to ocaml library dir
+  * Remove hardcoded OCaml ABI
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Fri,  2 Dec 2005 23:03:05 +0100
+
+ocamlgraph (0.94a-2) unstable; urgency=low
+
+  * Transition to svn-buildpackage
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Mon, 22 Aug 2005 23:51:35 +0200
+
+ocamlgraph (0.94a-1) unstable; urgency=low
+
+  * New upstream release
+  * Upgrade to standards version 3.6.2.0 (no change)
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Wed, 27 Jul 2005 23:26:42 +0200
+
+ocamlgraph (0.90-2) unstable; urgency=medium
+
+  * Transition to ocaml 3.08.3 : depends on ocaml-nox-3.08.3
+  * Patch 03_META use graph.cma and graph.cmxa ( Closes: #294806 )
+  * Correct the patch 01_makefile to install graph.a ( Closes: #289138 )
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Wed, 23 Mar 2005 23:17:46 +0100
+
+ocamlgraph (0.90-1) unstable; urgency=low
+
+  * New upstream version
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Fri,  3 Dec 2004 02:07:35 +0100
+
+ocamlgraph (0.81-1) unstable; urgency=low
+
+  * New upstream version ( ocaml 3.08 )
+  * Migration to ocaml 3.08. Files modified :
+    - control
+    - libocamlgraph-ocaml-dev.dirs
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Wed, 28 Jul 2004 00:42:33 +0200
+
+ocamlgraph (0.70-4) unstable; urgency=low
+
+  * Try to use an alternative for graphviz which is not available on all
+    platform ( for suggest fields )
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Fri, 21 May 2004 23:54:24 +0200
+
+ocamlgraph (0.70-3) unstable; urgency=low
+
+  * Forget to add dependency to ocaml-findlib ( Closes: #245709 )
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Mon, 26 Apr 2004 23:04:52 +0200
+
+ocamlgraph (0.70-2) unstable; urgency=low
+
+  * Rename the binary package to be more relevant regarding upstream
+    source : libgraph-ocaml-dev -> libocamlgraph-ocaml-dev
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Mon, 19 Apr 2004 23:10:20 +0200
+
+ocamlgraph (0.70-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Tue,  9 Mar 2004 01:07:45 +0100
+
+ocamlgraph (0.61-1) unstable; urgency=low
+
+  * New upstream release
+  * As it will be uploaded, close ITP : ( closes: #233764 )
+  * Use a watch file
+  * Build with doc
+
+ -- Sylvain LE GALL <sylvain.le-gall@polytechnique.org>  Sun, 22 Feb 2004 22:44:41 +0100
--- ocamlgraph-1.5.orig/debian/rules
+++ ocamlgraph-1.5/debian/rules
@@ -0,0 +1,58 @@
+#!/usr/bin/make -f
+# debian/rules for ocamlgraph package
+# Copyright (C) 2006 Sylvain Le Gall <gildor@debian.org>
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+# MA 02110-1301, USA.
+
+include /usr/share/cdbs/1/rules/ocaml.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include $(CURDIR)/debian/mk/docbook-manpage.mk
+
+DEV_PKG = libocamlgraph-ocaml-dev
+VIW_PKG = libocamlgraph-viewer-ocaml-dev
+DEB_MAKE_CLEAN_TARGET = distclean
+DEB_MAKE_BUILD_TARGET = all 
+DEB_MAKE_INSTALL_TARGET = install \
+			  BINDIR="$(CURDIR)/debian/ocamlgraph-editor/usr/bin" \
+			  INSTALL_LIBDIR="$(CURDIR)/debian/$(DEV_PKG)/$(OCAML_STDLIB_DIR)/ocamlgraph/"
+
+OCAML_DHOCAML_FLAGS += --nodefined-map $(DEV_PKG):Dgraph
+
+install/libocamlgraph-ocaml-dev:: install/libocamlgraph-ocaml-doc
+	mkdir -p $(CURDIR)/debian/$(VIW_PKG)/$(OCAML_STDLIB_DIR)/ocamlgraph/
+	for file in dgraph.cmx viewGraph_select.mli dGraphRandModel.mli viewgraph.cmo \
+		dGraphViewItem.mli dGraphModel.mli dgraph.cmo viewgraph.cmx viewgraph.cmi \
+		dgraph.cmi viewgraph.o dgraph.o dGraphView.mli viewGraph_utils.mli viewGraph_core.mli; do \
+		[ ! -f "$(CURDIR)/debian/$(DEV_PKG)$(OCAML_STDLIB_DIR)/ocamlgraph/$$file" ] || \
+			mv "$(CURDIR)/debian/$(DEV_PKG)$(OCAML_STDLIB_DIR)/ocamlgraph/$$file" \
+				"$(CURDIR)/debian/$(VIW_PKG)$(OCAML_STDLIB_DIR)/ocamlgraph/"; \
+	done
+
+DEB_STRIP_EXCLUDE += usr/bin/ocamlgraph-editor.byte usr/bin/ocamlgraph-viewer.byte
+ifeq ($(OCAML_HAVE_OCAMLOPT),no)
+DEB_STRIP_EXCLUDE += usr/bin/ocamlgraph-editor usr/bin/ocamlgraph-viewer
+endif
+DEB_DH_GENCONTROL_ARGS += -VF:OCamlInterp="ocaml-base-nox-$(OCAML_ABI), liblablgtk2-ocaml, liblablgtk2-gnome-ocaml"
+
+PO4A_SOURCES := $(CURDIR)/debian/xml-man/po4a/po4a.cfg
+
+DOCBOOK_MANPAGE_SOURCES := $(CURDIR)/debian/xml-man/en/ocamlgraph-editor.xml \
+			   $(CURDIR)/debian/xml-man/en/ocamlgraph-viewer.xml
+
+DOCBOOK_MANPAGE_EXTRA_SOURCES := $(CURDIR)/debian/xml-man/en/license.xml      \
+                                 $(CURDIR)/debian/xml-man/en/refentryinfo.xml
--- ocamlgraph-1.5.orig/debian/control
+++ ocamlgraph-1.5/debian/control
@@ -0,0 +1,139 @@
+Source: ocamlgraph
+Section: libdevel
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
+Uploaders: Sylvain Le Gall <gildor@debian.org>, Stefano Zacchiroli <zack@debian.org>, Mehdi Dogguy <mehdi@debian.org>
+Build-Depends:
+ cdbs,
+ dh-ocaml (>= 0.9),
+ debhelper (>= 7),
+ quilt,
+ ocaml-nox (>= 3.11.1),
+ ocaml-findlib (>> 1.2.4-2),
+ liblablgtk2-ocaml-dev,
+ liblablgtk2-gnome-ocaml-dev,
+ docbook-xml (>= 4.4),
+ docbook-xsl,
+ libxml2-utils,
+ xsltproc,
+ po4a
+Standards-Version: 3.8.4
+Homepage: http://ocamlgraph.lri.fr/
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocamlgraph.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocamlgraph.git
+
+Package: libocamlgraph-ocaml-dev
+Architecture: any
+Section: ocaml
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides:
+ ${ocaml:Provides}
+Description: graph library for OCaml
+ Ocamlgraph is a graph library for OCaml. Its contribution is
+ three-fold:
+ .
+  * It provides an easy-to-use graph data structure together with
+    several operations and algorithms over graphs.  It is a
+    reasonably efficient imperative data structure for directed
+    graphs with vertices and edges labeled with integers. 
+ .
+  * Then ocamlgraph provides several other graph implementations
+    for those not satisfied with the one above. Some are
+    persistent (imutable) and other imperative (mutable). Some
+    are directed and other are not. Some have labels for
+    vertices, or labels for edges, or both. Some have abstract
+    types for vertices. etc. 
+    These implementations are written as functors: you give the
+    types of vertices labels, edge labels, etc. and you get the
+    data structure as a result. 
+ .
+  * Finally, ocamlgraph provides several classic operations and
+    algorithms over graphs.
+    They are also written as functors i.e. independently of the
+    data structure for graphs. One consequence is that you can
+    define your own data structure for graphs and yet re-use all
+    the algorithms from this library -- you only need to provide
+    a few operations such as iterating over all vertices, over
+    the successors of a vertex, etc.
+
+Package: libocamlgraph-viewer-ocaml-dev
+Architecture: any
+Section: ocaml
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides:
+ ${ocaml:Provides}
+Conflicts:
+ libocamlgraph-ocaml-dev (<< 1.3+debian-2~)
+Replaces:
+ libocamlgraph-ocaml-dev (<< 1.3+debian-2~)
+Suggests: graphviz | springgraph
+Description: graph library for OCaml
+ Ocamlgraph is a graph library for OCaml. Its contribution is
+ three-fold:
+ .
+  * It provides an easy-to-use graph data structure together with
+    several operations and algorithms over graphs.  It is a
+    reasonably efficient imperative data structure for directed
+    graphs with vertices and edges labeled with integers.
+ .
+  * Then ocamlgraph provides several other graph implementations
+    for those not satisfied with the one above. Some are
+    persistent (imutable) and other imperative (mutable). Some
+    are directed and other are not. Some have labels for
+    vertices, or labels for edges, or both. Some have abstract
+    types for vertices. etc.
+    These implementations are written as functors: you give the
+    types of vertices labels, edge labels, etc. and you get the
+    data structure as a result.
+ .
+  * Finally, ocamlgraph provides several classic operations and
+    algorithms over graphs.
+    They are also written as functors i.e. independently of the
+    data structure for graphs. One consequence is that you can
+    define your own data structure for graphs and yet re-use all
+    the algorithms from this library -- you only need to provide
+    a few operations such as iterating over all vertices, over
+    the successors of a vertex, etc.
+ .
+ This package provides viewgraph and dgraph library to build graph
+ viewers.
+
+Package: libocamlgraph-ocaml-doc
+Architecture: all
+Section: doc
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Conflicts:
+ libocamlgraph-ocaml-dev (<< 1.3+debian-2~)
+Replaces:
+ libocamlgraph-ocaml-dev (<< 1.3+debian-2~)
+Description: Documentation for the OCamlgraph library
+  This package provides the API reference documentation generated by
+  ocamldoc.
+
+Package: ocamlgraph-editor
+Architecture: any
+Section: graphics
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+ ${ocaml:Depends}
+Description: graphical graph editor based on hyperbolic geometry
+ Ocamlgraph editor is an interactive graph editor for GNOME; it is based
+ on hyperbolic geometry (it "zooms" more on graph nodes which are in the
+ center of the editing area and zooms less on periferic nodes).
+ .
+ Ocamlgraph editor works with the following file formats to load and
+ save graphs: GML (Graph Modelling Language), DOT (the file format used
+ by Graphviz).
+ .
+ Ocamlgraph is still to be considered experimental.
+
--- ocamlgraph-1.5.orig/debian/clean
+++ ocamlgraph-1.5/debian/clean
@@ -0,0 +1,5 @@
+debian/xml-man/en/ocamlgraph-editor.1
+debian/xml-man/en/ocamlgraph-viewer.1
+view_graph/.depend
+view_graph/viewGraph.annot
+src/path.mlocamlwizard_tmp_file.annot
--- ocamlgraph-1.5.orig/debian/ocamlgraph-editor.links.in
+++ ocamlgraph-1.5/debian/ocamlgraph-editor.links.in
@@ -0,0 +1,2 @@
+OPT: usr/share/man/man1/ocamlgraph-editor.1.gz usr/share/man/man1/ocamlgraph-editor.byte.1.gz
+OPT: usr/share/man/man1/ocamlgraph-viewer.1.gz usr/share/man/man1/ocamlgraph-viewer.byte.1.gz
--- ocamlgraph-1.5.orig/debian/compat
+++ ocamlgraph-1.5/debian/compat
@@ -0,0 +1 @@
+7
--- ocamlgraph-1.5.orig/debian/libocamlgraph-ocaml-doc.ocamldoc
+++ ocamlgraph-1.5/debian/libocamlgraph-ocaml-doc.ocamldoc
@@ -0,0 +1,2 @@
+-I src -I dgraph -I view_graph -I +lablgtk2
+--include debian/libocamlgraph-ocaml-dev
--- ocamlgraph-1.5.orig/debian/libocamlgraph-ocaml-dev.examples
+++ ocamlgraph-1.5/debian/libocamlgraph-ocaml-dev.examples
@@ -0,0 +1 @@
+examples/*
--- ocamlgraph-1.5.orig/debian/libocamlgraph-ocaml-dev.dirs.in
+++ ocamlgraph-1.5/debian/libocamlgraph-ocaml-dev.dirs.in
@@ -0,0 +1 @@
+@OCamlStdlibDir@
--- ocamlgraph-1.5.orig/debian/watch
+++ ocamlgraph-1.5/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=dversionmangle=s/\+debian$// \
+http://ocamlgraph.lri.fr/download/ocamlgraph-([0-9a-z.]+).tar.gz
--- ocamlgraph-1.5.orig/debian/libocamlgraph-ocaml-dev.docs
+++ ocamlgraph-1.5/debian/libocamlgraph-ocaml-dev.docs
@@ -0,0 +1,3 @@
+README
+FAQ
+CREDITS
--- ocamlgraph-1.5.orig/debian/ocamlgraph-editor.dirs
+++ ocamlgraph-1.5/debian/ocamlgraph-editor.dirs
@@ -0,0 +1 @@
+usr/bin
--- ocamlgraph-1.5.orig/debian/gbp.conf
+++ ocamlgraph-1.5/debian/gbp.conf
@@ -0,0 +1,11 @@
+[DEFAULT]
+pristine-tar = True
+filter-pristine-tar = True
+filter = [
+  ".depend",
+  "src/dot_lexer.ml",
+  "src/dot_parser.ml",
+  "src/dot_parser.mli",
+  "src/gml.ml",
+  "src/version.ml"
+  ]
--- ocamlgraph-1.5.orig/debian/README.source
+++ ocamlgraph-1.5/debian/README.source
@@ -0,0 +1,12 @@
+
+The version number contains a "+debian" because we removed some
+useless files (can be generated from source) listed in
+debian/gbp.conf. Those files are filtered out using git-import-orig.
+
+ -- Mehdi Dogguy <mehdi@debian.org>, Tue, 13 Oct 2009 20:16:30 +0200
+
+This package use dpatch for patching the source. 
+
+Please consider reading dpatch manpage to patch the source.
+
+ -- Sylvain Le Gall <gildor@debian.org>  Sun, 22 Jun 2008 23:26:52 +0200
--- ocamlgraph-1.5.orig/debian/mk/docbook-manpage.mk
+++ ocamlgraph-1.5/debian/mk/docbook-manpage.mk
@@ -0,0 +1,126 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2006 Sylvain Le Gall <gildor#debian.org>
+# Description: Rules to manage manpages written in XML.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+# MA 02110-1301, USA. 
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_rules_docbookxml
+_cdbs_rules_docbook_manpage = 1
+
+# needed by debian/control:: rule below
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+# needed for po4a-stamp
+# TODO: if released in CDBS, change above
+include $(CURDIR)/debian/mk/po4a.mk$(_cdbs_makefile_suffix)
+
+# docbook manpages to build
+DOCBOOK_MANPAGE_SOURCES := 
+
+# extra docbook sources to look for (docbook extract to be included in 
+# other docbook manpage)
+DOCBOOK_MANPAGE_EXTRA_SOURCES :=
+
+# version of docbook sources to use (must follow the scheme " (>= version)")
+DOCBOOK_MANPAGE_VERSION := 
+
+# add required build dependency for used tools 
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), docbook-xml@docbook_version@, docbook-xsl, libxml2-utils, xsltproc
+
+# xmllint program to use
+DOCBOOK_MANPAGE_XMLLINT := xmllint
+
+# flags for xmllint
+DOCBOOK_MANPAGE_XMLLINT_FLAGS := --nonet --noout --postvalid --xinclude
+
+# xsltproc program to use
+DOCBOOK_MANPAGE_XSLTPROC := xsltproc
+
+# flags for xsltproc
+DOCBOOK_MANPAGE_XSLTPROC_FLAGS := --nonet --xinclude --param man.charmap.use.subset 0
+
+# XSL stylesheet to transform docbook to manpage
+DOCBOOK_MANPAGE_XSLTPROC_XSL := /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
+
+# file containing the list of generated files
+DOCBOOK_MANPAGE_LIST := $(CURDIR)/debian/docbook-manpage-list
+
+# compute higher docbook version, if required (no version provided and sources defined)
+# and replace it in generated control file.
+ifneq ($(DEB_AUTO_UPDATE_DEBIAN_CONTROL),)
+debian/control::
+	if test -f $(CURDIR)/debian/control && test -f $(CURDIR)/debian/control.in; then \
+	  DOCBOOK_MANPAGE_VERSION=$(strip $(DOCBOOK_MANPAGE_VERSION)); \
+	  if test "x$$DOCBOOK_MANPAGE_VERSION" == "x" && \
+	     test "x$(strip $(DOCBOOK_MANPAGE_SOURCES))" != "x"; then \
+	    DOCBOOK_ALL_SOURCES="$(DOCBOOK_MANPAGE_SOURCES) $(DOCBOOK_MANPAGE_EXTRA_SOURCES)"; \
+	    DOCBOOK_MANPAGE_VERSION=`grep -s -e "-//OASIS//DTD DocBook XML V[0-9\.]*//EN" $$DOCBOOK_ALL_SOURCES | \
+		                     sed "s,.*-//OASIS//DTD DocBook XML V\\([0-9\.]*\\)//EN.*,\\1," | \
+		                     sort -r | head -n 1`; \
+	    if test "x$$DOCBOOK_MANPAGE_VERSION" != "x"; then \
+	      DOCBOOK_MANPAGE_VERSION=" (>= $$DOCBOOK_MANPAGE_VERSION)"; \
+	    fi; \
+	  fi; \
+	  sed -i "s,@docbook_version@,$$DOCBOOK_MANPAGE_VERSION," $(CURDIR)/debian/control; \
+	fi
+endif
+
+# check docbook sources for any problem
+%.docbook-manpage-check:: % 
+	$(DOCBOOK_MANPAGE_XMLLINT) $(DOCBOOK_MANPAGE_XMLLINT_FLAGS) $<
+	echo $@ >> $(DOCBOOK_MANPAGE_LIST)
+	touch $@
+
+# build manpage
+%.docbook-manpage-build:: % $(DOCBOOK_MANPAGE_XSLTPROC_XSL)
+	$(DOCBOOK_MANPAGE_XSLTPROC) \
+	  $(DOCBOOK_MANPAGE_XSLTPROC_FLAGS) \
+	  -o $(dir $<) \
+	  $(DOCBOOK_MANPAGE_XSLTPROC_XSL) \
+	  $<
+	echo $@ >> $(DOCBOOK_MANPAGE_LIST)
+	touch $@
+
+
+# check all docbook sources and build manpage.
+# TODO: find a better solution than recursive call to debian/rules
+docbook-manpage: docbook-manpage-stamp
+docbook-manpage-stamp:: po4a-stamp
+	if test "x$(strip $(DOCBOOK_MANPAGE_SOURCES))" != "x" && \
+	   test "x$(strip $(DOCBOOK_MANPAGE_EXTRA_SOURCES))" != "x"; then \
+	   $(CURDIR)/debian/rules \
+	    $(addsuffix .docbook-manpage-check,\
+	      $(DOCBOOK_MANPAGE_SOURCES) \
+	      $(DOCBOOK_MANPAGE_EXTRA_SOURCES)) \
+	    $(addsuffix .docbook-manpage-build, \
+	      $(DOCBOOK_MANPAGE_SOURCES)); \
+	fi
+	touch $@
+
+build: docbook-manpage
+
+clean::
+	-if test -f $(DOCBOOK_MANPAGE_LIST); then \
+	  $(RM) `cat $(DOCBOOK_MANPAGE_LIST)`; \
+	  $(RM) $(DOCBOOK_MANPAGE_LIST); \
+	fi   
+	-$(RM) docbook-manpage-stamp
+	
+endif
--- ocamlgraph-1.5.orig/debian/mk/po4a.mk
+++ ocamlgraph-1.5/debian/mk/po4a.mk
@@ -0,0 +1,80 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2006 Sylvain Le Gall <gildor#debian.org>
+# Description: Rules to manage translation made through po4a.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+# MA 02110-1301, USA. 
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_rules_po4a
+_cdbs_rules_po4a = 1
+
+# needed by debian/control:: rule below
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+# po4a files 
+PO4A_SOURCES :=
+
+# po4a program to use
+PO4A := po4a
+
+# flags for po4a in clean target
+PO4A_CLEAN_FLAGS := --no-translations --rm-backups 
+
+# flags for po4a in build target
+PO4A_BUILD_FLAGS:= --rm-backups
+
+# file containing the list of generated files
+PO4A_LIST := $(CURDIR)/debian/po4a-list
+
+# add required build dependency for used tools 
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), po4a
+
+# generate the translations (rules follow recommendation of po4a author)
+%.po4a-build:: %
+	$(PO4A) $(PO4A_BUILD_FLAGS) $<
+	echo $@ >> $(PO4A_LIST) 
+	touch $@
+
+# call po4a when it is required
+# TODO: find a better solution than recursive call to debian/rules
+po4a: po4a-stamp
+po4a-stamp::
+	if test "x$(strip $(PO4A_SOURCES))" != "x"; then \
+	  $(CURDIR)/debian/rules \
+	    $(addsuffix .po4a-build,\
+	      $(PO4A_SOURCES)); \
+	fi
+	touch $@
+
+build: po4a
+
+# update the POT and PO (rules follow recommendation of po4a author)
+clean::
+	if test -f $(PO4A_LIST); then \
+	  for i in `grep ".po4a-build" $(PO4A_LIST)`; do \
+	    $(PO4A) $(PO4A_CLEAN_FLAGS) $${i%%.po4a-build}; \
+	  done; \
+	fi
+	-if test -f $(PO4A_LIST); then \
+	  $(RM) `cat $(PO4A_LIST)`; \
+	  $(RM) $(PO4A_LIST); \
+	fi
+	-$(RM) po4a-stamp
+
+endif
--- ocamlgraph-1.5.orig/debian/xml-man/en/ocamlgraph-viewer.xml
+++ ocamlgraph-1.5/debian/xml-man/en/ocamlgraph-viewer.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 
+"/usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd" [
+  <!ENTITY debian              "Debian GNU/Linux">
+  <!ENTITY dhprg               "<command>ocamlgraph-viewer</command>">
+]>
+
+<!--**********************************************************************-->
+<!-- ocamlgraph-editor manpage                                            -->
+<!--                                                                      -->
+<!-- Copyright (C) 2008 Sylvain Le Gall <gildor@debian.org>               -->
+<!--                                                                      -->
+<!-- This library is free software; you can redistribute it and/or        -->
+<!-- modify it under the terms of the GNU Lesser General Public           -->
+<!-- License as published by the Free Software Foundation; either         -->
+<!-- version 2.1 of the License, or (at your option) any later version;   -->
+<!-- with the OCaml static compilation exception.                         -->
+<!--                                                                      -->
+<!-- This library is distributed in the hope that it will be useful,      -->
+<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of       -->
+<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU    -->
+<!-- Lesser General Public License for more details.                      -->
+<!--                                                                      -->
+<!-- You should have received a copy of the GNU Lesser General Public     -->
+<!-- License along with this library; if not, write to the Free Software  -->
+<!-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               -->
+<!-- MA 02110-1301, USA.                                                  -->
+<!--                                                                      -->
+<!-- Contact: gildor@debian.org                                           -->
+<!--**********************************************************************-->
+
+<refentry>
+
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="refentryinfo.xml"/>
+
+  <refmeta>
+    <refentrytitle>OCAMLGRAPH-VIEWER</refentrytitle>
+    <manvolnum>1</manvolnum>
+    <refmiscinfo class="software">OCamlGraph</refmiscinfo>
+    <refmiscinfo class="manual">User Commands</refmiscinfo>
+  </refmeta>
+
+  <refnamediv>
+    <refname>ocamlgraph-viewer</refname>
+
+    <refpurpose>GTK-based graph viewer.</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      &dhprg; 
+    </cmdsynopsis>
+  </refsynopsisdiv>
+
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the &dhprg; command.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.</para>
+
+    <para>&dhprg; is an OCaml and GTK based graph viewer and has no options.</para>
+
+  </refsect1>
+
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="license.xml"/>
+</refentry>
--- ocamlgraph-1.5.orig/debian/xml-man/en/license.xml
+++ ocamlgraph-1.5/debian/xml-man/en/license.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refsect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 
+"/usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd" [
+  <!ENTITY debian "Debian GNU/Linux">
+]>
+
+<!--**********************************************************************-->
+<!-- License include for manpage                                          -->
+<!--                                                                      -->
+<!-- Copyright (C) 2008 Sylvain Le Gall <gildor@debian.org>               -->
+<!--                                                                      -->
+<!-- This library is free software; you can redistribute it and/or        -->
+<!-- modify it under the terms of the GNU Lesser General Public           -->
+<!-- License as published by the Free Software Foundation; either         -->
+<!-- version 2.1 of the License, or (at your option) any later version;   -->
+<!-- with the OCaml static compilation exception.                         -->
+<!--                                                                      -->
+<!-- This library is distributed in the hope that it will be useful,      -->
+<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of       -->
+<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU    -->
+<!-- Lesser General Public License for more details.                      -->
+<!--                                                                      -->
+<!-- You should have received a copy of the GNU Lesser General Public     -->
+<!-- License along with this library; if not, write to the Free Software  -->
+<!-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               -->
+<!-- MA 02110-1301, USA.                                                  -->
+<!--                                                                      -->
+<!-- Contact: gildor@debian.org                                           -->
+<!--**********************************************************************-->
+
+<refsect1>
+  <title>LICENSE</title>
+
+  <para>
+    This manual page was written by 
+    <personname>
+      <firstname>Sylvain</firstname>
+      <surname>Le Gall</surname>
+    </personname>
+    <email>gildor@debian.org</email>
+    for the &debian; system (but may be used by others).
+    Permission is granted to copy, distribute and/or modify this document
+    under the terms of the <acronym>GNU</acronym> Lesser General Public
+    License, Version 2.1 or any later version published by the Free
+    Software Foundation; considering as source code all the file that
+    enable the production of this manpage.
+  </para>
+</refsect1>
--- ocamlgraph-1.5.orig/debian/xml-man/en/ocamlgraph-editor.xml
+++ ocamlgraph-1.5/debian/xml-man/en/ocamlgraph-editor.xml
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 
+"/usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd" [
+  <!ENTITY debian              "Debian GNU/Linux">
+  <!ENTITY dhprg               "<command>ocamlgraph-editor</command>">
+]>
+
+<!--**********************************************************************-->
+<!-- ocamlgraph-editor manpage                                            -->
+<!--                                                                      -->
+<!-- Copyright (C) 2008 Sylvain Le Gall <gildor@debian.org>               -->
+<!--                                                                      -->
+<!-- This library is free software; you can redistribute it and/or        -->
+<!-- modify it under the terms of the GNU Lesser General Public           -->
+<!-- License as published by the Free Software Foundation; either         -->
+<!-- version 2.1 of the License, or (at your option) any later version;   -->
+<!-- with the OCaml static compilation exception.                         -->
+<!--                                                                      -->
+<!-- This library is distributed in the hope that it will be useful,      -->
+<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of       -->
+<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU    -->
+<!-- Lesser General Public License for more details.                      -->
+<!--                                                                      -->
+<!-- You should have received a copy of the GNU Lesser General Public     -->
+<!-- License along with this library; if not, write to the Free Software  -->
+<!-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               -->
+<!-- MA 02110-1301, USA.                                                  -->
+<!--                                                                      -->
+<!-- Contact: gildor@debian.org                                           -->
+<!--**********************************************************************-->
+
+<refentry>
+
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="refentryinfo.xml"/>
+
+  <refmeta>
+    <refentrytitle>OCAMLGRAPH-EDITOR</refentrytitle>
+    <manvolnum>1</manvolnum>
+    <refmiscinfo class="software">OCamlGraph</refmiscinfo>
+    <refmiscinfo class="manual">User Commands</refmiscinfo>
+  </refmeta>
+
+  <refnamediv>
+    <refname>ocamlgraph-editor</refname>
+
+    <refpurpose>GTK-based graph editor based on hyperbolic geometry.</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      &dhprg; 
+      <arg>-dfs</arg>
+      <arg>-bfs</arg>
+      <arg>-rr <replaceable>refresh-rate</replaceable></arg>
+      <arg>-aa</arg>
+      <group>
+        <arg>-help</arg>
+        <arg>--help</arg>
+      </group>
+      <arg><replaceable>graph-file</replaceable></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the &dhprg; command.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.</para>
+
+    <para>&dhprg; is an OCaml and GTK based graph editor based on hyperbolic geometry.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-dfs</option></term>
+        <listitem>
+          <para>DFS drawing strategy.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-bfs</option></term>
+        <listitem>
+          <para>BFS drawing strategy.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-rr <replaceable>refresh-rate</replaceable></option></term>
+        <listitem>
+          <para>Set the refresh rate, must be greater than 0.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-aa</option></term>
+        <listitem>
+          <para>Turn off anti-aliased mode.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option><replaceable>graph-file</replaceable></option></term>
+        <listitem>
+          <para>Files to edit.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-help</option></term>
+        <term><option>--help</option></term>
+        <listitem>
+          <para>Display an help message.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+    
+  </refsect1>
+
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="license.xml"/>
+</refentry>
--- ocamlgraph-1.5.orig/debian/xml-man/en/refentryinfo.xml
+++ ocamlgraph-1.5/debian/xml-man/en/refentryinfo.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentryinfo PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 
+"/usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd" [
+]>
+
+<!--**********************************************************************-->
+<!-- Info include for manpage                                             -->
+<!--                                                                      -->
+<!-- Copyright (C) 2008 Sylvain Le Gall <gildor@debian.org>               -->
+<!--                                                                      -->
+<!-- This library is free software; you can redistribute it and/or        -->
+<!-- modify it under the terms of the GNU Lesser General Public           -->
+<!-- License as published by the Free Software Foundation; either         -->
+<!-- version 2.1 of the License, or (at your option) any later version;   -->
+<!-- with the OCaml static compilation exception.                         -->
+<!--                                                                      -->
+<!-- This library is distributed in the hope that it will be useful,      -->
+<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of       -->
+<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU    -->
+<!-- Lesser General Public License for more details.                      -->
+<!--                                                                      -->
+<!-- You should have received a copy of the GNU Lesser General Public     -->
+<!-- License along with this library; if not, write to the Free Software  -->
+<!-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               -->
+<!-- MA 02110-1301, USA.                                                  -->
+<!--                                                                      -->
+<!-- Contact: gildor@debian.org                                           -->
+<!--**********************************************************************-->
+
+<refentryinfo>
+  <author>
+    <firstname>Sylvain</firstname>
+    <surname>Le Gall</surname>
+    <email>gildor@debian.org</email>
+    <personblurb><para></para></personblurb>
+  </author>
+  <copyright>
+    <year>2008</year>
+    <holder>Sylvain Le Gall</holder>
+  </copyright>
+  <date>June 21, 2008</date>
+</refentryinfo>
--- ocamlgraph-1.5.orig/debian/xml-man/po4a/po4a.cfg
+++ ocamlgraph-1.5/debian/xml-man/po4a/po4a.cfg
@@ -0,0 +1,6 @@
+[po4a_paths] debian/xml-man/po4a/po/ocamlgraph-man.pot
+
+[type: docbook] debian/xml-man/en/ocamlgraph-editor.xml
+
+[type: docbook] debian/xml-man/en/license.xml
+
--- ocamlgraph-1.5.orig/debian/xml-man/po4a/po/ocamlgraph-man.pot
+++ ocamlgraph-1.5/debian/xml-man/po4a/po/ocamlgraph-man.pot
@@ -0,0 +1,159 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2009-03-20 12:25+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: ENCODING"
+
+#. type: Content of the debian entity
+#: debian/xml-man/en/ocamlgraph-editor.xml:4 debian/xml-man/en/license.xml:4
+msgid "Debian GNU/Linux"
+msgstr ""
+
+#. type: Content of the dhprg entity
+#: debian/xml-man/en/ocamlgraph-editor.xml:5
+msgid "<command>ocamlgraph-editor</command>"
+msgstr ""
+
+#. type: Content of: <refentry><refmeta><refentrytitle>
+#: debian/xml-man/en/ocamlgraph-editor.xml:37
+msgid "OCAMLGRAPH-EDITOR"
+msgstr ""
+
+#. type: Content of: <refentry><refmeta><manvolnum>
+#: debian/xml-man/en/ocamlgraph-editor.xml:38
+msgid "1"
+msgstr ""
+
+#. type: Content of: <refentry><refnamediv><refname>
+#: debian/xml-man/en/ocamlgraph-editor.xml:42
+msgid "ocamlgraph-editor"
+msgstr ""
+
+#. type: Content of: <refentry><refnamediv><refpurpose>
+#: debian/xml-man/en/ocamlgraph-editor.xml:44
+msgid "GTK-based graph editor based on hyperbolic geometry."
+msgstr ""
+
+#. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
+#: debian/xml-man/en/ocamlgraph-editor.xml:49
+msgid ""
+"&dhprg; <arg>-dfs</arg> <arg>-bfs</arg> <arg>-rr "
+"<replaceable>refresh-rate</replaceable></arg> <arg>-aa</arg> <group> "
+"<arg>-help</arg> <arg>--help</arg> </group> "
+"<arg><replaceable>graph-file</replaceable></arg>"
+msgstr ""
+
+#. type: Content of: <refentry><refsect1><title>
+#: debian/xml-man/en/ocamlgraph-editor.xml:63
+msgid "DESCRIPTION"
+msgstr ""
+
+#. type: Content of: <refentry><refsect1><para>
+#: debian/xml-man/en/ocamlgraph-editor.xml:65
+msgid "This manual page documents briefly the &dhprg; command."
+msgstr ""
+
+#. type: Content of: <refentry><refsect1><para>
+#: debian/xml-man/en/ocamlgraph-editor.xml:67
+msgid ""
+"This manual page was written for the &debian; distribution because the "
+"original program does not have a manual page."
+msgstr ""
+
+#. type: Content of: <refentry><refsect1><para>
+#: debian/xml-man/en/ocamlgraph-editor.xml:70
+msgid "&dhprg; is an OCaml and GTK based graph editor based on hyperbolic geometry."
+msgstr ""
+
+#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
+#: debian/xml-man/en/ocamlgraph-editor.xml:74
+msgid "<option>-dfs</option>"
+msgstr ""
+
+#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/ocamlgraph-editor.xml:76
+msgid "DFS drawing strategy."
+msgstr ""
+
+#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
+#: debian/xml-man/en/ocamlgraph-editor.xml:80
+msgid "<option>-bfs</option>"
+msgstr ""
+
+#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/ocamlgraph-editor.xml:82
+msgid "BFS drawing strategy."
+msgstr ""
+
+#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
+#: debian/xml-man/en/ocamlgraph-editor.xml:86
+msgid "<option>-rr <replaceable>refresh-rate</replaceable></option>"
+msgstr ""
+
+#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/ocamlgraph-editor.xml:88
+msgid "Set the refresh rate, must be greater than 0."
+msgstr ""
+
+#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
+#: debian/xml-man/en/ocamlgraph-editor.xml:92
+msgid "<option>-aa</option>"
+msgstr ""
+
+#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/ocamlgraph-editor.xml:94
+msgid "Turn off anti-aliased mode."
+msgstr ""
+
+#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
+#: debian/xml-man/en/ocamlgraph-editor.xml:98
+msgid "<option><replaceable>graph-file</replaceable></option>"
+msgstr ""
+
+#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/ocamlgraph-editor.xml:100
+msgid "Files to edit."
+msgstr ""
+
+#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
+#: debian/xml-man/en/ocamlgraph-editor.xml:104
+msgid "<option>-help</option>"
+msgstr ""
+
+#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
+#: debian/xml-man/en/ocamlgraph-editor.xml:105
+msgid "<option>--help</option>"
+msgstr ""
+
+#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/ocamlgraph-editor.xml:107
+msgid "Display an help message."
+msgstr ""
+
+#. type: Content of: <refsect1><title>
+#: debian/xml-man/en/license.xml:32
+msgid "LICENSE"
+msgstr ""
+
+#. type: Content of: <refsect1><para>
+#: debian/xml-man/en/license.xml:35
+msgid ""
+"This manual page was written by <personname> <firstname>Sylvain</firstname> "
+"<surname>Le Gall</surname> </personname> <email>gildor@debian.org</email> "
+"for the &debian; system (but may be used by others).  Permission is granted "
+"to copy, distribute and/or modify this document under the terms of the "
+"<acronym>GNU</acronym> Lesser General Public License, Version 2.1 or any "
+"later version published by the Free Software Foundation; considering as "
+"source code all the file that enable the production of this manpage."
+msgstr ""
--- ocamlgraph-1.5.orig/debian/patches/0001-prefix-binary-names-with-ocaml-and-do-not-install-us.patch
+++ ocamlgraph-1.5/debian/patches/0001-prefix-binary-names-with-ocaml-and-do-not-install-us.patch
@@ -0,0 +1,39 @@
+From: Mehdi Dogguy <mehdi@debian.org>
+Date: Sun, 25 Apr 2010 14:50:30 +0200
+Subject: [PATCH] prefix binary names with 'ocaml' and do not install useless files
+
+---
+ Makefile.in |   11 +++++++----
+ 1 files changed, 7 insertions(+), 4 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index f138175..136909e 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -293,11 +293,13 @@ install: install-$(OCAMLBEST) install-byte
+ 	mkdir -p $(BINDIR)
+ ifeq (@LABLGNOMECANVAS@,yes)
+ ifeq ($(OCAMLBEST),byte)
+-	cp -f $(BINDIR)/graph-editor.byte $(BINDIR)/graph-editor$(EXE)
+-	cp -f $(BINDIR)/graph-viewer.byte $(BINDIR)/graph-viewer$(EXE)
++	mv $(BINDIR)/graph-editor.byte $(BINDIR)/ocamlgraph-editor$(EXE)
++	mv $(BINDIR)/graph-viewer.byte $(BINDIR)/ocamlgraph-viewer$(EXE)
+ else
+-	cp -f $(BINDIR)/graph-editor.opt $(BINDIR)/graph-editor$(EXE)
+-	cp -f $(BINDIR)/graph-viewer.opt $(BINDIR)/graph-viewer$(EXE)
++	mv $(BINDIR)/graph-editor.opt $(BINDIR)/ocamlgraph-editor$(EXE)
++	mv $(BINDIR)/graph-viewer.opt $(BINDIR)/ocamlgraph-viewer$(EXE)
++	mv $(BINDIR)/graph-editor.byte $(BINDIR)/ocamlgraph-editor.byte
++	mv $(BINDIR)/graph-viewer.byte $(BINDIR)/ocamlgraph-viewer.byte
+ endif
+ endif
+ 
+@@ -305,6 +307,7 @@ install-byte:
+ 	mkdir -p $(INSTALL_LIBDIR)
+ 	cp -f graph.cmo graph.cmi $(CMA) $(INSTALL_LIBDIR)
+ 	cp -f $(SRCDIR)/*.mli $(INSTALL_LIBDIR)
++	cp -f META $(SRCDIR)/*.mli $(INSTALL_LIBDIR)
+ ifeq (@LABLGNOMECANVAS@,yes)
+ 	mkdir -p $(BINDIR)
+ 	cp -f $(ED_DIR)/editor.byte $(BINDIR)/graph-editor.byte
+-- 
--- ocamlgraph-1.5.orig/debian/patches/series
+++ ocamlgraph-1.5/debian/patches/series
@@ -0,0 +1,2 @@
+0001-prefix-binary-names-with-ocaml-and-do-not-install-us.patch
+0002-avoid-referencing-non-existent-icon-ed_icon.xpm.patch
--- ocamlgraph-1.5.orig/debian/patches/0002-avoid-referencing-non-existent-icon-ed_icon.xpm.patch
+++ ocamlgraph-1.5/debian/patches/0002-avoid-referencing-non-existent-icon-ed_icon.xpm.patch
@@ -0,0 +1,36 @@
+From: Mehdi Dogguy <mehdi@debian.org>
+Date: Sun, 25 Apr 2010 14:51:39 +0200
+Subject: [PATCH] avoid referencing non existent icon ed_icon.xpm
+
+---
+ editor/ed_main.ml |    4 +++-
+ 1 files changed, 3 insertions(+), 1 deletions(-)
+
+diff --git a/editor/ed_main.ml b/editor/ed_main.ml
+index b5ece22..e66fb4a 100644
+--- a/editor/ed_main.ml
++++ b/editor/ed_main.ml
+@@ -899,7 +899,7 @@ described in file LICENSE.
+ This software is distributed in the hope that it will be useful, 
+ but WITHOUT ANY WARRANTY; without even the implied warranty of 
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+-    ~logo:(GdkPixbuf.from_file"ed_icon.xpm" )
++(*    ~logo:(GdkPixbuf.from_file"ed_icon.xpm" )*)
+     ~name:ed_name
+     ~version:"0.99"
+     ~website:"http://ocamlgraph.lri.fr/"
+@@ -929,11 +929,13 @@ let handbook_text (view:GText.view) =
+   (* title *)
+   buffer#insert ~iter ~tag_names:["title"] (ed_name^" Handbook\n");
+   (* editor's icon *)
++(*
+   let image_anchor = buffer#create_child_anchor iter in
+   let image = GMisc.image 
+     ~pixbuf:(GdkPixbuf.from_file_at_size "ed_icon.xpm" ~width:70 ~height:70) 
+     () in
+   view#add_child_at_anchor image#coerce image_anchor;
++*)
+   buffer#insert ~iter "\n\n\n";
+   let start,stop = buffer#bounds in
+   buffer#apply_tag_by_name "center" ~start ~stop ; 
+-- 
