[Pkg-ocaml-maint-commits] r5780 - in /trunk/packages/ocamlgraph/trunk/debian: ./ mk/ xml-man/ xml-man/en/ xml-man/po4a/ xml-man/po4a/po/
gildor at users.alioth.debian.org
gildor at users.alioth.debian.org
Sat Jun 21 13:34:36 UTC 2008
Author: gildor
Date: Sat Jun 21 13:34:35 2008
New Revision: 5780
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=5780
Log:
* Add manpage for ocamlgraph-editor
* Clean files that are generated and prevents building debian diff
files
Added:
trunk/packages/ocamlgraph/trunk/debian/mk/
trunk/packages/ocamlgraph/trunk/debian/mk/docbook-manpage.mk
trunk/packages/ocamlgraph/trunk/debian/mk/po4a.mk
trunk/packages/ocamlgraph/trunk/debian/ocamlgraph-editor.manpages
trunk/packages/ocamlgraph/trunk/debian/xml-man/
trunk/packages/ocamlgraph/trunk/debian/xml-man/en/
trunk/packages/ocamlgraph/trunk/debian/xml-man/en/license.xml
trunk/packages/ocamlgraph/trunk/debian/xml-man/en/ocamlgraph-editor.xml
trunk/packages/ocamlgraph/trunk/debian/xml-man/en/refentryinfo.xml
trunk/packages/ocamlgraph/trunk/debian/xml-man/po4a/
trunk/packages/ocamlgraph/trunk/debian/xml-man/po4a/po/
trunk/packages/ocamlgraph/trunk/debian/xml-man/po4a/po4a.cfg
Modified:
trunk/packages/ocamlgraph/trunk/debian/changelog
trunk/packages/ocamlgraph/trunk/debian/control
trunk/packages/ocamlgraph/trunk/debian/rules
Modified: trunk/packages/ocamlgraph/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlgraph/trunk/debian/changelog?rev=5780&op=diff
==============================================================================
--- trunk/packages/ocamlgraph/trunk/debian/changelog (original)
+++ trunk/packages/ocamlgraph/trunk/debian/changelog Sat Jun 21 13:34:35 2008
@@ -37,8 +37,11 @@
* Use ocaml 3.10.0-9 for generating .ocamldoc-apiref automatically
* Set debian-ocaml-maint at 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 at debian.org> Fri, 20 Jun 2008 23:08:41 +0200
+ -- Sylvain Le Gall <gildor at debian.org> Sat, 21 Jun 2008 12:58:39 +0200
ocamlgraph (0.98-3) unstable; urgency=low
Modified: trunk/packages/ocamlgraph/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlgraph/trunk/debian/control?rev=5780&op=diff
==============================================================================
--- trunk/packages/ocamlgraph/trunk/debian/control (original)
+++ trunk/packages/ocamlgraph/trunk/debian/control Sat Jun 21 13:34:35 2008
@@ -7,7 +7,9 @@
ocamlweb,
ocaml-findlib (>= 1.1.2pl1-4),
liblablgtk2-ocaml-dev,
- liblablgtk2-gnome-ocaml-dev
+ liblablgtk2-gnome-ocaml-dev,
+ docbook-xml (>= 4.4), docbook-xsl, libxml2-utils, xsltproc,
+ po4a
Standards-Version: 3.8.0
Homepage: http://ocamlgraph.lri.fr/
Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/ocamlgraph/trunk
Added: trunk/packages/ocamlgraph/trunk/debian/mk/docbook-manpage.mk
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlgraph/trunk/debian/mk/docbook-manpage.mk?rev=5780&op=file
==============================================================================
--- trunk/packages/ocamlgraph/trunk/debian/mk/docbook-manpage.mk (added)
+++ trunk/packages/ocamlgraph/trunk/debian/mk/docbook-manpage.mk Sat Jun 21 13:34:35 2008
@@ -1,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 at 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, at 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
Added: trunk/packages/ocamlgraph/trunk/debian/mk/po4a.mk
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlgraph/trunk/debian/mk/po4a.mk?rev=5780&op=file
==============================================================================
--- trunk/packages/ocamlgraph/trunk/debian/mk/po4a.mk (added)
+++ trunk/packages/ocamlgraph/trunk/debian/mk/po4a.mk Sat Jun 21 13:34:35 2008
@@ -1,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
Added: trunk/packages/ocamlgraph/trunk/debian/ocamlgraph-editor.manpages
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlgraph/trunk/debian/ocamlgraph-editor.manpages?rev=5780&op=file
==============================================================================
--- trunk/packages/ocamlgraph/trunk/debian/ocamlgraph-editor.manpages (added)
+++ trunk/packages/ocamlgraph/trunk/debian/ocamlgraph-editor.manpages Sat Jun 21 13:34:35 2008
@@ -1,0 +1,1 @@
+debian/xml-man/en/ocamlgraph-editor.1
Modified: trunk/packages/ocamlgraph/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlgraph/trunk/debian/rules?rev=5780&op=diff
==============================================================================
--- trunk/packages/ocamlgraph/trunk/debian/rules (original)
+++ trunk/packages/ocamlgraph/trunk/debian/rules Sat Jun 21 13:34:35 2008
@@ -17,10 +17,18 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
# MA 02110-1301, USA.
+clean::
+ -cp '$(CURDIR)/src/dot_parser.ml' '$(CURDIR)/src/dot_parser.ml.old'
+ -cp '$(CURDIR)/src/dot_lexer.ml' '$(CURDIR)/src/dot_lexer.ml.old'
+ -cp '$(CURDIR)/src/dot_parser.mli' '$(CURDIR)/src/dot_parser.mli.old'
+ -cp '$(CURDIR)/src/version.ml' '$(CURDIR)/src/version.ml.old'
+ -cp '$(CURDIR)/src/gml.ml' '$(CURDIR)/src/gml.ml.old'
+
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/dpatch.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/class/ocaml.mk
+include $(CURDIR)/debian/mk/docbook-manpage.mk
DEV_PKG = libocamlgraph-ocaml-dev
DEB_MAKE_CLEAN_TARGET = distclean
@@ -33,9 +41,39 @@
DEB_DH_GENCONTROL_ARGS += -VF:OCamlInterp="ocaml-base-nox-$(OCAML_ABI), liblablgtk2-ocaml, liblablgtk2-gnome-ocaml"
endif
+PO4A_SOURCES := $(CURDIR)/debian/xml-man/po4a/po4a.cfg
+
+DOCBOOK_MANPAGE_SOURCES := $(CURDIR)/debian/xml-man/en/ocamlgraph-editor.xml
+
+DOCBOOK_MANPAGE_EXTRA_SOURCES := $(CURDIR)/debian/xml-man/en/license.xml \
+ $(CURDIR)/debian/xml-man/en/refentryinfo.xml
+
clean::
-$(RM) -r '$(CURDIR)/doc'
-$(RM) $(CURDIR)/*.byte
-$(RM) $(CURDIR)/*.opt
-$(RM) '$(CURDIR)/debian/$(DEV_PKG).dirs'
-$(RM) '$(CURDIR)/debian/$(DEV_PKG).doc-base.ocamldoc-apiref'
+ -$(RM) '$(CURDIR)/debian/xml-man/en/ocamlgraph-editor.1'
+ -$(RM) '$(CURDIR)/graph.o'
+ -$(RM) '$(CURDIR)/graph.cmi'
+ -$(RM) '$(CURDIR)/graph.cmo'
+ -$(RM) '$(CURDIR)/graph.cmx'
+ -$(RM) '$(CURDIR)/editor/editor.byte'
+ -$(RM) '$(CURDIR)/editor/editor.opt'
+ -$(RM) '$(CURDIR)/editor/ocamlgraph-editor'
+
+ # Restore file deleted; to be removed when upstream will correct this
+ # Additional file to remove of archive :
+ # - .depend
+ # - src/version.ml
+ -cp '$(CURDIR)/src/dot_parser.ml.old' '$(CURDIR)/src/dot_parser.ml'
+ -cp '$(CURDIR)/src/dot_lexer.ml.old' '$(CURDIR)/src/dot_lexer.ml'
+ -cp '$(CURDIR)/src/dot_parser.mli.old' '$(CURDIR)/src/dot_parser.mli'
+ -cp '$(CURDIR)/src/version.ml.old' '$(CURDIR)/src/version.ml'
+ -cp '$(CURDIR)/src/gml.ml.old' '$(CURDIR)/src/gml.ml'
+ -$(RM) '$(CURDIR)/src/dot_parser.ml.old'
+ -$(RM) '$(CURDIR)/src/dot_lexer.ml.old'
+ -$(RM) '$(CURDIR)/src/dot_parser.mli.old'
+ -$(RM) '$(CURDIR)/src/version.ml.old'
+ -$(RM) '$(CURDIR)/src/gml.ml.old'
Added: trunk/packages/ocamlgraph/trunk/debian/xml-man/en/license.xml
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlgraph/trunk/debian/xml-man/en/license.xml?rev=5780&op=file
==============================================================================
--- trunk/packages/ocamlgraph/trunk/debian/xml-man/en/license.xml (added)
+++ trunk/packages/ocamlgraph/trunk/debian/xml-man/en/license.xml Sat Jun 21 13:34:35 2008
@@ -1,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 at 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 at debian.org -->
+<!--**********************************************************************-->
+
+<refsect1>
+ <title>LICENSE</title>
+
+ <para>
+ This manual page was written by
+ <personname>
+ <firstname>Sylvain</firstname>
+ <surname>Le Gall</surname>
+ </personname>
+ <email>gildor at 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>
Added: trunk/packages/ocamlgraph/trunk/debian/xml-man/en/ocamlgraph-editor.xml
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlgraph/trunk/debian/xml-man/en/ocamlgraph-editor.xml?rev=5780&op=file
==============================================================================
--- trunk/packages/ocamlgraph/trunk/debian/xml-man/en/ocamlgraph-editor.xml (added)
+++ trunk/packages/ocamlgraph/trunk/debian/xml-man/en/ocamlgraph-editor.xml Sat Jun 21 13:34:35 2008
@@ -1,0 +1,115 @@
+<?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 at 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 at debian.org -->
+<!--**********************************************************************-->
+
+<refentry>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="refentryinfo.xml"/>
+
+ <refmeta>
+ <refentrytitle>OCAMLGRAPH-EDITOR</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </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>
Added: trunk/packages/ocamlgraph/trunk/debian/xml-man/en/refentryinfo.xml
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlgraph/trunk/debian/xml-man/en/refentryinfo.xml?rev=5780&op=file
==============================================================================
--- trunk/packages/ocamlgraph/trunk/debian/xml-man/en/refentryinfo.xml (added)
+++ trunk/packages/ocamlgraph/trunk/debian/xml-man/en/refentryinfo.xml Sat Jun 21 13:34:35 2008
@@ -1,0 +1,41 @@
+<?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 at 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 at debian.org -->
+<!--**********************************************************************-->
+
+<refentryinfo>
+ <author>
+ <firstname>Sylvain</firstname>
+ <surname>Le Gall</surname>
+ <email>gildor at debian.org</email>
+ </author>
+ <copyright>
+ <year>2008</year>
+ <holder>Sylvain Le Gall</holder>
+ </copyright>
+ <date>June 21, 2008</date>
+</refentryinfo>
Added: trunk/packages/ocamlgraph/trunk/debian/xml-man/po4a/po4a.cfg
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlgraph/trunk/debian/xml-man/po4a/po4a.cfg?rev=5780&op=file
==============================================================================
--- trunk/packages/ocamlgraph/trunk/debian/xml-man/po4a/po4a.cfg (added)
+++ trunk/packages/ocamlgraph/trunk/debian/xml-man/po4a/po4a.cfg Sat Jun 21 13:34:35 2008
@@ -1,0 +1,6 @@
+[po4a_paths] debian/xml-man/po4a/po/ocamlgaph-man.pot
+
+[type: docbook] debian/xml-man/en/ocamlgraph-editor.xml
+
+[type: docbook] debian/xml-man/en/license.xml
+
More information about the Pkg-ocaml-maint-commits
mailing list