[Pkg-ocaml-maint-commits] r3497 - in /trunk/packages/camlidl/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
Sun Jan 7 22:51:19 CET 2007


Author: gildor
Date: Sun Jan  7 22:51:18 2007
New Revision: 3497

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=3497
Log:
* Rewrite documentation using docbook-manpage CDBS makefile,
-- SLG

Added:
    trunk/packages/camlidl/trunk/debian/mk/
    trunk/packages/camlidl/trunk/debian/mk/docbook-manpage.mk
    trunk/packages/camlidl/trunk/debian/mk/po4a.mk
    trunk/packages/camlidl/trunk/debian/xml-man/
    trunk/packages/camlidl/trunk/debian/xml-man/en/
    trunk/packages/camlidl/trunk/debian/xml-man/en/camlidl.xml
    trunk/packages/camlidl/trunk/debian/xml-man/en/license.xml
    trunk/packages/camlidl/trunk/debian/xml-man/en/refentryinfo.xml
    trunk/packages/camlidl/trunk/debian/xml-man/po4a/
    trunk/packages/camlidl/trunk/debian/xml-man/po4a/po/
    trunk/packages/camlidl/trunk/debian/xml-man/po4a/po/camlidl-man.pot
    trunk/packages/camlidl/trunk/debian/xml-man/po4a/po4a.cfg
Removed:
    trunk/packages/camlidl/trunk/debian/camlidl.1
Modified:
    trunk/packages/camlidl/trunk/debian/changelog
    trunk/packages/camlidl/trunk/debian/control
    trunk/packages/camlidl/trunk/debian/rules
    trunk/packages/camlidl/trunk/debian/watch

Modified: trunk/packages/camlidl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camlidl/trunk/debian/changelog?rev=3497&op=diff
==============================================================================
--- trunk/packages/camlidl/trunk/debian/changelog (original)
+++ trunk/packages/camlidl/trunk/debian/changelog Sun Jan  7 22:51:18 2007
@@ -1,3 +1,10 @@
+camlidl (1.05-8) UNRELEASED; urgency=low
+
+  * Upgrade debian/watch version to 3,
+  * Correct the debian/rules license,
+
+ -- Sylvain Le Gall <gildor at debian.org>  Sun, 12 Nov 2006 23:55:01 +0100
+
 camlidl (1.05-7) unstable; urgency=low
 
   * Use CDBS for debian/rules,

Modified: trunk/packages/camlidl/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camlidl/trunk/debian/control?rev=3497&op=diff
==============================================================================
--- trunk/packages/camlidl/trunk/debian/control (original)
+++ trunk/packages/camlidl/trunk/debian/control Sun Jan  7 22:51:18 2007
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
 Uploaders:  Julien Cristau <julien.cristau at ens-lyon.org>, Ralf Treinen <treinen at debian.org>, Remi Vanicat <vanicat at debian.org>, Samuel Mimram <smimram at debian.org>, Stefano Zacchiroli <zack at debian.org>, Sven Luther <luther at debian.org>, Sylvain Le Gall <gildor at debian.org>
-Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), dpatch, ocaml-nox (>= 3.09.2-7), cpp, binutils
+Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), dpatch, ocaml-nox (>= 3.09.2-7), po4a, docbook-xml (>= 4.4), docbook-xsl, libxml2-utils, xsltproc, cpp, binutils
 Standards-Version: 3.7.2
 XS-X-Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/camlidl
 

Added: trunk/packages/camlidl/trunk/debian/mk/docbook-manpage.mk
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camlidl/trunk/debian/mk/docbook-manpage.mk?rev=3497&op=file
==============================================================================
--- trunk/packages/camlidl/trunk/debian/mk/docbook-manpage.mk (added)
+++ trunk/packages/camlidl/trunk/debian/mk/docbook-manpage.mk Sun Jan  7 22:51:18 2007
@@ -1,0 +1,124 @@
+# -*- 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.
+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
+
+# 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/camlidl/trunk/debian/mk/po4a.mk
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camlidl/trunk/debian/mk/po4a.mk?rev=3497&op=file
==============================================================================
--- trunk/packages/camlidl/trunk/debian/mk/po4a.mk (added)
+++ trunk/packages/camlidl/trunk/debian/mk/po4a.mk Sun Jan  7 22:51:18 2007
@@ -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

Modified: trunk/packages/camlidl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camlidl/trunk/debian/rules?rev=3497&op=diff
==============================================================================
--- trunk/packages/camlidl/trunk/debian/rules (original)
+++ trunk/packages/camlidl/trunk/debian/rules Sun Jan  7 22:51:18 2007
@@ -1,5 +1,5 @@
 #!/usr/bin/make -f
-# debian/rules for mlpcap package
+# debian/rules for camlidl package
 # Copyright (C) 2006 Sylvain Le Gall <gildor at debian.org>
 #
 # This program is free software; you can redistribute it and/or
@@ -24,6 +24,7 @@
 include /usr/share/cdbs/1/rules/dpatch.mk
 include /usr/share/cdbs/1/class/makefile.mk
 include /usr/share/cdbs/1/class/ocaml.mk
+include $(CURDIR)/debian/mk/docbook-manpage.mk
 
 PACKAGE := camlidl
 DESTDIR := $(CURDIR)/debian/$(PACKAGE)
@@ -37,10 +38,19 @@
 
 CDBS_BUILD_DEPENDS := $(subst ocaml-nox,ocaml-nox (>= 3.09.2-7),$(CDBS_BUILD_DEPENDS))
 
+PO4A_SOURCES := $(CURDIR)/debian/xml-man/po4a/po4a.cfg
+
+DOCBOOK_MANPAGE_SOURCES := $(CURDIR)/debian/xml-man/en/camlidl.xml
+
+DOCBOOK_MANPAGE_EXTRA_SOURCES := $(CURDIR)/debian/xml-man/en/license.xml      \
+                                 $(CURDIR)/debian/xml-man/en/refentryinfo.xml
 clean::
-	-$(RM) lib/com.cmxa lib/com.a lib/com.o 
-	-$(RM) config/Makefile
+	-$(RM) $(CURDIR)/lib/com.cmxa 
+	-$(RM) $(CURDIR)/lib/com.a 
+	-$(RM) $(CURDIR)/lib/com.o 
+	-$(RM) $(CURDIR)/config/Makefile
+	-$(RM) $(CURDIR)/debian/xml-man/en/*.1
 
 common-configure-indep common-configure-arch::
-	cp config/Makefile.unix config/Makefile
+	cp $(CURDIR)/config/Makefile.unix $(CURDIR)/config/Makefile
 

Modified: trunk/packages/camlidl/trunk/debian/watch
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camlidl/trunk/debian/watch?rev=3497&op=diff
==============================================================================
--- trunk/packages/camlidl/trunk/debian/watch (original)
+++ trunk/packages/camlidl/trunk/debian/watch Sun Jan  7 22:51:18 2007
@@ -1,2 +1,2 @@
-version=2
+version=3
 http://caml.inria.fr/distrib/bazar-ocaml/camlidl-([0-9\.]*)\.tar\.gz

Added: trunk/packages/camlidl/trunk/debian/xml-man/en/camlidl.xml
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camlidl/trunk/debian/xml-man/en/camlidl.xml?rev=3497&op=file
==============================================================================
--- trunk/packages/camlidl/trunk/debian/xml-man/en/camlidl.xml (added)
+++ trunk/packages/camlidl/trunk/debian/xml-man/en/camlidl.xml Sun Jan  7 22:51:18 2007
@@ -1,0 +1,203 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 
+"/usr/share/sgml/docbook/dtd/xml/4.4/docbookx.dtd" [ 
+  <!ENTITY debian "Debian GNU/Linux">
+  <!ENTITY dhprg  "<command>camlidl</command>">
+]>
+
+<!--**********************************************************************-->
+<!-- Camlidl manpage                                                      -->
+<!--                                                                      -->
+<!-- Copyright (C) 2006 Sylvain Le Gall <gildor at debian.org>               -->
+<!-- Copyright (C) 2001-2006 Georges Mariano <georges.mariano at inrets.fr>  -->
+<!--                                                                      -->
+<!-- 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>CAMLIDL</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+
+  <refnamediv>
+    <refname>camlidl</refname>
+  
+    <refpurpose>A stub code generator for OCaml</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      &dhprg; 
+      <arg>-I <replaceable>dir</replaceable></arg>
+      <arg>-D <replaceable>symbol</replaceable></arg>
+      <arg>-cpp</arg>
+      <arg>-nocpp</arg>
+      <arg>-prepro <replaceable>cmd</replaceable></arg>
+      <arg>-header</arg>
+      <arg>-no-include</arg>
+      <arg>-prefix-all-labels</arg>
+      <arg>-keep-labels</arg>
+      <arg>-help</arg>
+      <group>
+        <arg>-v</arg>
+        <arg>--version</arg>
+      </group>
+      <arg rep="repeat">
+        <replaceable>file.idl</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 a program that generates stub code for interfacing Caml with
+      C from an IDL description of the C functions.</para>
+    
+  </refsect1>
+
+  <refsect1>
+    <title>OPTIONS</title>
+    
+    <para>A summary of options is included below.</para>
+    
+    <para>Options for &dhprg;</para>
+    
+    <variablelist>
+      <varlistentry>
+        <term>
+          <option>-I <replaceable>dir</replaceable></option>
+        </term>
+        <listitem>
+          <para>Add directory to search path.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-D <replaceable>symbol</replaceable></option>
+        </term>
+        <listitem>
+          <para>Pass <option>-D<replaceable>symbol</replaceable></option> 
+            to the C preprocessor.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-cpp</option>
+        </term>
+        <listitem>
+          <para>Pass the <filename>.idl</filename> files through the 
+            C preprocessor. This is the default behavior.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-nocpp</option>
+        </term>
+        <listitem>
+          <para>Do not pass the <filename>.idl</filename> files through the 
+            C preprocessor.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-prepro <replaceable>cmd</replaceable></option>
+        </term>
+        <listitem>
+          <para>Use <command>cmd</command> as the preprocessor instead of 
+            the C preprocessor.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-header</option>
+        </term>
+        <listitem>
+          <para>Generate a <filename>.h</filename> file containing all type 
+            definitions.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-no-include</option>
+        </term>
+        <listitem>
+          <para>Do not #include the <filename>.h</filename> file in the 
+            generated <filename>.c</filename> file.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-prefix-all-labels</option>
+        </term>
+        <listitem>
+          <para>Prefix all ML name of record labels with name of enclosing 
+            struct.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-keep-labels</option>
+        </term>
+        <listitem>
+          <para>Do not prefix ML names of record labels, even if ambiguous.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-help</option>
+        </term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>-v</option>
+        </term>
+        <term>
+          <option>--version</option>
+        </term>
+        <listitem>
+          <para>Show version of program.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <filename>file.idl</filename>
+        </term>
+        <listitem>
+          <para>Files to process.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="license.xml"/>
+
+</refentry>

Added: trunk/packages/camlidl/trunk/debian/xml-man/en/license.xml
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camlidl/trunk/debian/xml-man/en/license.xml?rev=3497&op=file
==============================================================================
--- trunk/packages/camlidl/trunk/debian/xml-man/en/license.xml (added)
+++ trunk/packages/camlidl/trunk/debian/xml-man/en/license.xml Sun Jan  7 22:51:18 2007
@@ -1,0 +1,53 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE refsect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 
+"/usr/share/sgml/docbook/dtd/xml/4.4/docbookx.dtd" [
+  <!ENTITY debian "Debian GNU/Linux">
+]>
+
+<!--**********************************************************************-->
+<!-- License include for manpage                                          -->
+<!--                                                                      -->
+<!-- Copyright (C) 2006 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>, using the work of 
+    <personname>
+      <firstname>Georges</firstname>
+      <surname>Mariano</surname>
+    </personname>
+    <email>georges.mariano at inrets.fr</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/camlidl/trunk/debian/xml-man/en/refentryinfo.xml
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camlidl/trunk/debian/xml-man/en/refentryinfo.xml?rev=3497&op=file
==============================================================================
--- trunk/packages/camlidl/trunk/debian/xml-man/en/refentryinfo.xml (added)
+++ trunk/packages/camlidl/trunk/debian/xml-man/en/refentryinfo.xml Sun Jan  7 22:51:18 2007
@@ -1,0 +1,50 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE refentryinfo PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 
+"/usr/share/sgml/docbook/dtd/xml/4.4/docbookx.dtd" [
+]>
+
+<!--**********************************************************************-->
+<!-- Info include for manpage                                             -->
+<!--                                                                      -->
+<!-- Copyright (C) 2006 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>
+  <author>
+    <firstname>Georges</firstname>
+    <surname>Mariano</surname>
+    <email>georges.mariano at inrets.fr</email>
+  </author>
+  <copyright>
+    <year>2006</year>
+    <holder>Sylvain Le Gall</holder>
+  </copyright>
+  <copyright>
+    <year>2001, 2002, 2003, 2004, 2005, 2006</year>
+    <holder>Georges Mariano</holder>
+  </copyright>
+  <date>Nov 17, 2006</date>
+</refentryinfo>

Added: trunk/packages/camlidl/trunk/debian/xml-man/po4a/po/camlidl-man.pot
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camlidl/trunk/debian/xml-man/po4a/po/camlidl-man.pot?rev=3497&op=file
==============================================================================
--- trunk/packages/camlidl/trunk/debian/xml-man/po4a/po/camlidl-man.pot (added)
+++ trunk/packages/camlidl/trunk/debian/xml-man/po4a/po/camlidl-man.pot Sun Jan  7 22:51:18 2007
@@ -1,0 +1,275 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+# 
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2006-11-22  1:25+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: ENCODING"
+
+# type: Content of the debian entity
+#: debian/xml-man/en/camlidl.xml:4 debian/xml-man/en/license.xml:4
+msgid "Debian GNU/Linux"
+msgstr ""
+
+# type: Content of the dhprg entity
+#: debian/xml-man/en/camlidl.xml:5
+msgid "<command>camlidl</command>"
+msgstr ""
+
+# type: Content of: <refentry><refnamediv><refname>
+#: debian/xml-man/en/camlidl.xml:43
+msgid "camlidl"
+msgstr ""
+
+# type: Content of: <refentry><refnamediv><refpurpose>
+#: debian/xml-man/en/camlidl.xml:45
+msgid "A stub code generator for OCaml"
+msgstr ""
+
+# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
+#: debian/xml-man/en/camlidl.xml:50
+msgid ""
+"&dhprg; <arg>-I <replaceable>dir</replaceable></arg> <arg>-D "
+"<replaceable>symbol</replaceable></arg> <arg>-cpp</arg> <arg>-nocpp</arg> "
+"<arg>-prepro <replaceable>cmd</replaceable></arg> <arg>-header</arg> "
+"<arg>-no-include</arg> <arg>-prefix-all-labels</arg> <arg>-keep-labels</arg> "
+"<arg>-help</arg>"
+msgstr ""
+
+# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis><group>
+#: debian/xml-man/en/camlidl.xml:62
+msgid "<arg>-v</arg> <arg>--version</arg>"
+msgstr ""
+
+# type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
+#: debian/xml-man/en/camlidl.xml:65
+msgid "<arg rep=\"repeat\"> <replaceable>file.idl</replaceable> </arg>"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><title>
+#: debian/xml-man/en/camlidl.xml:72
+msgid "DESCRIPTION"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><para>
+#: debian/xml-man/en/camlidl.xml:74
+msgid "This manual page documents briefly the &dhprg; command."
+msgstr ""
+
+# type: Content of: <refentry><refsect1><para>
+#: debian/xml-man/en/camlidl.xml:76
+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/camlidl.xml:79
+msgid ""
+"&dhprg; is a program that generates stub code for interfacing Caml with C "
+"from an IDL description of the C functions."
+msgstr ""
+
+# type: Content of: <refentry><refsect1><title>
+#: debian/xml-man/en/camlidl.xml:85
+msgid "OPTIONS"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><para>
+#: debian/xml-man/en/camlidl.xml:87
+msgid "A summary of options is included below."
+msgstr ""
+
+# type: Content of: <refentry><refsect1><para>
+#: debian/xml-man/en/camlidl.xml:89
+msgid "Options for &dhprg;"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option>
+#: debian/xml-man/en/camlidl.xml:94
+msgid "-I <replaceable>dir</replaceable>"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/camlidl.xml:97
+msgid "Add directory to search path."
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option>
+#: debian/xml-man/en/camlidl.xml:102
+msgid "-D <replaceable>symbol</replaceable>"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/camlidl.xml:105
+msgid "Pass"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><option>
+#: debian/xml-man/en/camlidl.xml:105
+msgid "-D<replaceable>symbol</replaceable>"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/camlidl.xml:106
+msgid "to the C preprocessor."
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option>
+#: debian/xml-man/en/camlidl.xml:111
+msgid "-cpp"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/camlidl.xml:114
+msgid ""
+"Pass the <filename>.idl</filename> files through the C preprocessor. This is "
+"the default behavior."
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option>
+#: debian/xml-man/en/camlidl.xml:120
+msgid "-nocpp"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/camlidl.xml:123
+msgid "Do not pass the <filename>.idl</filename> files through the C preprocessor."
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option>
+#: debian/xml-man/en/camlidl.xml:129
+msgid "-prepro <replaceable>cmd</replaceable>"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/camlidl.xml:132
+msgid ""
+"Use <command>cmd</command> as the preprocessor instead of the C "
+"preprocessor."
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option>
+#: debian/xml-man/en/camlidl.xml:138
+msgid "-header"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/camlidl.xml:141
+msgid "Generate a <filename>.h</filename> file containing all type definitions."
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option>
+#: debian/xml-man/en/camlidl.xml:147
+msgid "-no-include"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/camlidl.xml:150
+msgid ""
+"Do not #include the <filename>.h</filename> file in the generated "
+"<filename>.c</filename> file."
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option>
+#: debian/xml-man/en/camlidl.xml:156
+msgid "-prefix-all-labels"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/camlidl.xml:159
+msgid "Prefix all ML name of record labels with name of enclosing struct."
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option>
+#: debian/xml-man/en/camlidl.xml:165
+msgid "-keep-labels"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/camlidl.xml:168
+msgid "Do not prefix ML names of record labels, even if ambiguous."
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option>
+#: debian/xml-man/en/camlidl.xml:173
+msgid "-help"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/camlidl.xml:176
+msgid "Show summary of options."
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option>
+#: debian/xml-man/en/camlidl.xml:181
+msgid "-v"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option>
+#: debian/xml-man/en/camlidl.xml:184
+msgid "--version"
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/camlidl.xml:187
+msgid "Show version of program."
+msgstr ""
+
+# type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
+#: debian/xml-man/en/camlidl.xml:195
+msgid "Files to process."
+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 at debian.org</email>, "
+"using the work of <personname> <firstname>Georges</firstname> "
+"<surname>Mariano</surname> </personname> "
+"<email>georges.mariano at inrets.fr</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"
+msgstr ""
+
+# type: Content of: <refsect1><para><acronym>
+#: debian/xml-man/en/license.xml:48
+msgid "GNU"
+msgstr ""
+
+# type: Content of: <refsect1><para>
+#: debian/xml-man/en/license.xml:48
+msgid ""
+"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 ""
+
+# type: Content of: <refentryinfo><copyright><holder>
+#: debian/xml-man/en/refentryinfo.xml:43
+msgid "Sylvain Le Gall"
+msgstr ""
+
+# type: Content of: <refentryinfo><copyright><holder>
+#: debian/xml-man/en/refentryinfo.xml:47
+msgid "Georges Mariano"
+msgstr ""
+
+# type: Content of: <refentryinfo><date>
+#: debian/xml-man/en/refentryinfo.xml:49
+msgid "Nov 17, 2006"
+msgstr ""

Added: trunk/packages/camlidl/trunk/debian/xml-man/po4a/po4a.cfg
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camlidl/trunk/debian/xml-man/po4a/po4a.cfg?rev=3497&op=file
==============================================================================
--- trunk/packages/camlidl/trunk/debian/xml-man/po4a/po4a.cfg (added)
+++ trunk/packages/camlidl/trunk/debian/xml-man/po4a/po4a.cfg Sun Jan  7 22:51:18 2007
@@ -1,0 +1,7 @@
+[po4a_paths] debian/xml-man/po4a/po/camlidl-man.pot
+
+[type: docbook] debian/xml-man/en/camlidl.xml
+
+[type: docbook] debian/xml-man/en/license.xml
+
+[type: docbook] debian/xml-man/en/refentryinfo.xml




More information about the Pkg-ocaml-maint-commits mailing list