debian/0000755000000000000000000000000012256130320007160 5ustar debian/libocamlgraph-ocaml-doc.ocamldoc0000644000000000000000000000012512244413124015324 0ustar -I src -I dgraph -I view_graph -I +lablgtk2 --include debian/libocamlgraph-ocaml-dev debian/libocamlgraph-ocaml-dev.docs0000644000000000000000000000002312244413124014501 0ustar README FAQ CREDITS debian/libocamlgraph-ocaml-dev.dirs.in0000644000000000000000000000002112244413124015115 0ustar @OCamlStdlibDir@ debian/copyright0000644000000000000000000000624012244413124011120 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=202 Source: http://ocamlgraph.lri.fr/ Upstream-Contact: Sylvain Conchon , Jean-Christophe Filliâtre , Julien Signoles Packaged-By: Sylvain Le Gall Packaged-Date: Sun, 22 Feb 2004 22:45:00 +0100 License: LGPL-2.1 The full text of the GNU Library General Public License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. Files: dgraph/* Copyright: © 2009 CEA License: LGPL-2.1 Files: view_graph/* Copyright: © 2008 Anne Pacalet License: LGPL-2.1 + linking exception The Library is distributed under the terms of the GNU Library General Public License version 2.1. . As a special exception to the GNU Library General Public License, you may link, statically or dynamically, a "work that uses the Library" with a publicly distributed version of the Library to produce an executable file containing portions of the Library, and distribute that executable file under terms of your choice, without any of the additional requirements listed in clause 6 of the GNU Library General Public License. By "a publicly distributed version of the Library", we mean either the unmodified Library as distributed, or a modified version of the Library that is distributed under the conditions defined in clause 3 of the GNU Library General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU Library General Public License. Files: src/graphml.ml, src/graphml.mli, tests/testgraphml.ml Copyright: © 2012 Pietro Abate License: LGPL-2.1 Files: * Copyright: © 2004-2010 Sylvain Conchon © 2004-2010 Jean-Christophe Filliâtre © 2004-2010 Julien Signoles License: LGPL-2.1 The Library is distributed under the terms of the GNU Library General Public License version 2.1. . As a special exception to the GNU Library General Public License, you may link, statically or dynamically, a "work that uses the Library" with a publicly distributed version of the Library to produce an executable file containing portions of the Library, and distribute that executable file under terms of your choice, without any of the additional requirements listed in clause 6 of the GNU Library General Public License. By "a publicly distributed version of the Library", we mean either the unmodified Library as distributed, or a modified version of the Library that is distributed under the conditions defined in clause 3 of the GNU Library General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU Library General Public License. Files: debian/* Copyright: © 2004-2008 Sylvain Le Gall © 2008 Stefano Zacchiroli © 2009-2011 Mehdi Dogguy License: GPL-2+ The full text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. debian/libocamlgraph-ocaml-dev.examples0000644000000000000000000000001312244413124015366 0ustar examples/* debian/ocamlgraph-editor.dirs0000644000000000000000000000001012244413124013436 0ustar usr/bin debian/libocamlgraph-ocaml-dev.install0000644000000000000000000000015112244413124015221 0ustar #TODO: reactivate when doc/intro.txt will be back #doc/* /usr/share/doc/libocamlgraph-ocaml-dev/html/api debian/changelog0000644000000000000000000002710412256130320011036 0ustar ocamlgraph (1.8.3-1build1) trusty; urgency=medium * Rebuild for ocaml-4.01. -- Matthias Klose Mon, 23 Dec 2013 21:53:20 +0000 ocamlgraph (1.8.3-1) unstable; urgency=low [ Sylvain Le Gall ] * Remove Sylvain Le Gall from uploaders [ Mehdi Dogguy ] * New upstream release * Update debian/copyright * Add new patches from upstream's repository: - 0003-fixed-compilation-issue-with-OCaml-3.12.1.patch - 0004-Merge-bug-fixed-compilation-issue-with-OCaml-3.12.1.patch * Bump Standards-Version to 3.9.4, no changes needed. -- Mehdi Dogguy Sun, 24 Nov 2013 16:29:52 +0100 ocamlgraph (1.8.2-2) unstable; urgency=low * Delete README.source file since its content is outdated. * Build manpages during binary-only builds too. This fixes FTBFS on autobuilders or when building with "-B". -- Mehdi Dogguy Tue, 15 May 2012 14:39:46 +0200 ocamlgraph (1.8.2-1) unstable; urgency=low * New upstream release. * Bump Standards-Version to 3.9.3 (no changes needed). -- Mehdi Dogguy Tue, 15 May 2012 11:31:18 +0200 ocamlgraph (1.8.1-3) unstable; urgency=low * Undo changes of 1.8.1-2 -- Ralf Treinen Sat, 11 Feb 2012 17:50:30 +0100 ocamlgraph (1.8.1-2) unstable; urgency=low * Team Upload * There is no gtk on the s390x architecture: do not build-depend on liblablgtk2-ocaml-dev and liblablgtk2-gnome-ocaml-dev on s390x. -- Ralf Treinen Sat, 11 Feb 2012 15:01:41 +0100 ocamlgraph (1.8.1-1) unstable; urgency=low [ Stéphane Glondu ] * Team upload * New upstream release * Switch source package format to 3.0 (quilt) * Bump Standards-Version to 3.9.2 [ Stefano Zacchiroli ] * remove myself from uploaders -- Stéphane Glondu Sat, 03 Dec 2011 18:01:34 +0100 ocamlgraph (1.7-1) unstable; urgency=low * New upstream version. * Update copyright file, and mention linking exception (Closes: #589032). -- Mehdi Dogguy Fri, 15 Apr 2011 22:15:07 +0200 ocamlgraph (1.5-1) unstable; urgency=low * New upstream release + Remove 0003-dgraph-handle-dotted-ellipse.patch -- Mehdi Dogguy 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 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 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 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 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 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 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 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 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 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 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 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 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 Wed, 14 Jun 2006 09:44:39 +0200 ocamlgraph (0.95-3) unstable; urgency=low * Rebuild for OCaml 3.09.1 -- Sylvain Le Gall Mon, 23 Jan 2006 23:28:34 +0100 ocamlgraph (0.95-2) unstable; urgency=low * Use Apps/Programming for doc-base -- Sylvain Le Gall 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 Fri, 2 Dec 2005 23:03:05 +0100 ocamlgraph (0.94a-2) unstable; urgency=low * Transition to svn-buildpackage -- Sylvain Le Gall 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 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 Wed, 23 Mar 2005 23:17:46 +0100 ocamlgraph (0.90-1) unstable; urgency=low * New upstream version -- Sylvain Le Gall 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 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 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 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 Mon, 19 Apr 2004 23:10:20 +0200 ocamlgraph (0.70-1) unstable; urgency=low * New upstream release -- Sylvain LE GALL 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 Sun, 22 Feb 2004 22:44:41 +0100 debian/xml-man/0000755000000000000000000000000012244413124010534 5ustar debian/xml-man/po4a/0000755000000000000000000000000012244413124011377 5ustar debian/xml-man/po4a/po/0000755000000000000000000000000012244413124012015 5ustar debian/xml-man/po4a/po/ocamlgraph-man.pot0000644000000000000000000001254412244413124015435 0ustar # SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , 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 \n" "Language-Team: LANGUAGE \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 "ocamlgraph-editor" msgstr "" #. type: Content of: #: debian/xml-man/en/ocamlgraph-editor.xml:37 msgid "OCAMLGRAPH-EDITOR" msgstr "" #. type: Content of: #: debian/xml-man/en/ocamlgraph-editor.xml:38 msgid "1" msgstr "" #. type: Content of: #: debian/xml-man/en/ocamlgraph-editor.xml:42 msgid "ocamlgraph-editor" msgstr "" #. type: Content of: #: debian/xml-man/en/ocamlgraph-editor.xml:44 msgid "GTK-based graph editor based on hyperbolic geometry." msgstr "" #. type: Content of: #: debian/xml-man/en/ocamlgraph-editor.xml:49 msgid "" "&dhprg; -dfs -bfs -rr " "refresh-rate -aa " "-help --help " "graph-file" msgstr "" #. type: Content of: #: 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 "" ������������������������������������������������������������������������������������������������������������������������������������������������������������debian/xml-man/po4a/po4a.cfg������������������������������������������������������������������������0000644�0000000�0000000�00000000240�12244413124�012717� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������[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 ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/xml-man/en/����������������������������������������������������������������������������������0000755�0000000�0000000�00000000000�12244413124�011136� 5����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/xml-man/en/license.xml�����������������������������������������������������������������������0000644�0000000�0000000�00000005102�12244413124�013300� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?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 This manual page was written by Sylvain Le Gall gildor@debian.org 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 GNU 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. debian/xml-man/en/refentryinfo.xml0000644000000000000000000000435012244413124014374 0ustar Sylvain Le Gall gildor@debian.org 2008 Sylvain Le Gall June 21, 2008 debian/xml-man/en/ocamlgraph-viewer.xml0000644000000000000000000000577712244413124015314 0ustar ocamlgraph-viewer"> ]> OCAMLGRAPH-VIEWER 1 OCamlGraph User Commands ocamlgraph-viewer GTK-based graph viewer. &dhprg; DESCRIPTION This manual page documents briefly the &dhprg; command. This manual page was written for the &debian; distribution because the original program does not have a manual page. &dhprg; is an OCaml and GTK based graph viewer and has no options. debian/xml-man/en/ocamlgraph-editor.xml0000644000000000000000000001074212244413124015265 0ustar ocamlgraph-editor"> ]> OCAMLGRAPH-EDITOR 1 OCamlGraph User Commands ocamlgraph-editor GTK-based graph editor based on hyperbolic geometry. &dhprg; -dfs -bfs -rr refresh-rate -aa -help --help graph-file DESCRIPTION This manual page documents briefly the &dhprg; command. This manual page was written for the &debian; distribution because the original program does not have a manual page. &dhprg; is an OCaml and GTK based graph editor based on hyperbolic geometry. DFS drawing strategy. BFS drawing strategy. Set the refresh rate, must be greater than 0. Turn off anti-aliased mode. Files to edit. Display an help message. debian/clean0000644000000000000000000000024012244413124010164 0ustar 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 debian/compat0000644000000000000000000000000212244413124010361 0ustar 7 debian/ocamlgraph-editor.links.in0000644000000000000000000000027412244413124014236 0ustar 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 debian/mk/0000755000000000000000000000000012244413124007572 5ustar debian/mk/docbook-manpage.mk0000644000000000000000000001070212244413124013151 0ustar # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2006 Sylvain Le Gall # 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 build-arch: 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 debian/mk/po4a.mk0000644000000000000000000000445512244413124010776 0ustar # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2006 Sylvain Le Gall # 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 build-arch: 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 debian/patches/0000755000000000000000000000000012244413124010612 5ustar debian/patches/0003-fixed-compilation-issue-with-OCaml-3.12.1.patch0000644000000000000000000000156212244413124021442 0ustar From: Julien Signoles Date: Wed, 22 May 2013 08:35:36 +0000 Subject: fixed compilation issue with OCaml 3.12.1 --- CHANGES | 1 + src/merge.mli | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 5a8db64..84afb9c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,4 @@ +o fixed compilation issue with OCaml 3.12.1 version 1.8.3, April 17, 2013 --------------------------- diff --git a/src/merge.mli b/src/merge.mli index 3b13413..8e574ae 100644 --- a/src/merge.mli +++ b/src/merge.mli @@ -133,10 +133,7 @@ module I(G: Sig.I): sig ?loop_killer:bool -> ?specified_vertex:(vertex list -> vertex) -> graph -> unit -end with type graph = G.t - and type vertex := G.vertex - and type edge := G.edge - and type edge_label = G.E.label +end (* Local Variables: -- debian/patches/0004-Merge-bug-fixed-compilation-issue-with-OCaml-3.12.1.patch0000644000000000000000000000564612244413124023262 0ustar From: Julien Signoles Date: Thu, 23 May 2013 11:13:58 +0000 Subject: [Merge] bug fixed + compilation issue with OCaml 3.12.1 --- CHANGES | 1 + src/merge.ml | 41 +++++++++++++++++++++++++++++++++++++---- 2 files changed, 38 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 84afb9c..ae5f8af 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,4 @@ +o Merge: fixed bug with vertices with no incoming nor outcoming edge. o fixed compilation issue with OCaml 3.12.1 version 1.8.3, April 17, 2013 diff --git a/src/merge.ml b/src/merge.ml index c8581e3..563ab77 100644 --- a/src/merge.ml +++ b/src/merge.ml @@ -57,12 +57,26 @@ module B(B: Builder.S) = struct in B.G.fold_edges_e f g [] + (* – former buggy version – the case where v is neither the source nor the + destination of some arrow was not taken into account, so that vertices were + just removed + + let merge_vertex g vl = match vl with + | [] -> g + | _ :: vl' -> + let to_be_added = identify_extremities g vl in + let g = List.fold_left B.remove_vertex g vl' in + List.fold_left B.add_edge_e g to_be_added + *) + let merge_vertex g vl = match vl with | [] -> g - | _ :: vl' -> + | v :: vl' -> let to_be_added = identify_extremities g vl in let g = List.fold_left B.remove_vertex g vl' in - List.fold_left B.add_edge_e g to_be_added + if to_be_added = [] + then B.add_vertex g v + else List.fold_left B.add_edge_e g to_be_added let merge_edges_e ?src ?dst g el = match el with | e :: el' -> @@ -108,13 +122,32 @@ module B(B: Builder.S) = struct in let edges_to_be_merged = B.G.fold_edges_e collect_edge g [] in merge_edges_e ?src ?dst g edges_to_be_merged + + (* To deduce a comparison function on labels from a comparison function on + edges *) + + let compare_label g = + try + let default_vertex = + let a_vertex_of_g = ref None in + (try B.G.iter_vertex (fun v -> a_vertex_of_g := Some v ; raise Exit) g + with Exit -> ()); + match !a_vertex_of_g with + | Some v -> v + | None -> raise Exit (*hence g is empty*) in + fun l1 l2 -> + let e1 = B.G.E.create default_vertex l1 default_vertex in + let e2 = B.G.E.create default_vertex l2 default_vertex in + B.G.E.compare e1 e2 + with Exit -> (fun l1 l2 -> 0) let merge_isolabelled_edges g = let module S = Set.Make(B.G.V) in let do_meet s1 s2 = S.exists (fun x -> S.mem x s2) s1 in let module M = - (* TODO: using [compare] here is really suspicious *) - Map.Make(struct type t = B.G.E.label let compare = compare end) + (* TODO: using [compare] here is really suspicious ... + DONE – yet not so clean *) + Map.Make(struct type t = B.G.E.label let compare = compare_label g end) in let accumulating e accu = let l = B.G.E.label e in -- debian/patches/0002-avoid-referencing-non-existent-icon-ed_icon.xpm.patch0000644000000000000000000000241512244413124023363 0ustar From: Mehdi Dogguy Date: Sun, 25 Apr 2010 14:51:39 +0200 Subject: avoid referencing non existent icon ed_icon.xpm --- editor/ed_main.ml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ; -- debian/patches/0001-prefix-binary-names-with-ocaml-and-do-not-install-us.patch0000644000000000000000000000271112244413124024163 0ustar From: Mehdi Dogguy Date: Sun, 25 Apr 2010 14:50:30 +0200 Subject: prefix binary names with 'ocaml' and do not install useless files --- Makefile.in | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 1b32d45..3aa2377 100644 --- a/Makefile.in +++ b/Makefile.in @@ -330,11 +330,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 @@ -342,6 +344,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 -- debian/patches/series0000644000000000000000000000035712244413124012034 0ustar 0001-prefix-binary-names-with-ocaml-and-do-not-install-us.patch 0002-avoid-referencing-non-existent-icon-ed_icon.xpm.patch 0003-fixed-compilation-issue-with-OCaml-3.12.1.patch 0004-Merge-bug-fixed-compilation-issue-with-OCaml-3.12.1.patch debian/control0000644000000000000000000001131712244413411010570 0ustar Source: ocamlgraph Section: libdevel Priority: optional Maintainer: Debian OCaml Maintainers Uploaders: Mehdi Dogguy Build-Depends: cdbs, dh-ocaml (>= 0.9), debhelper (>= 7), 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.9.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} Recommends: ocaml-findlib 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} Breaks: 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} Breaks: 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. debian/ocamlgraph-editor.manpages0000644000000000000000000000011412244413124014275 0ustar debian/xml-man/en/ocamlgraph-editor.1 debian/xml-man/en/ocamlgraph-viewer.1 debian/rules0000755000000000000000000000522012244413124010242 0ustar #!/usr/bin/make -f # debian/rules for ocamlgraph package # Copyright (C) 2006 Sylvain Le Gall # # 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 $(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 find $(CURDIR)/debian -name '*.mli' -exec chmod 644 '{}' ';' 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 debian/source/0000755000000000000000000000000012244413124010463 5ustar debian/source/format0000644000000000000000000000001412244413124011671 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000027512244413124010606 0ustar [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" ] debian/watch0000644000000000000000000000021712244413124010214 0ustar version=3 opts=dversionmangle=s/\+debian$//,uversionmangle=s/^1\.81$/1.8.1/ \ http://ocamlgraph.lri.fr/download/ocamlgraph-([0-9a-z.]+).tar.gz