[Pkg-ocaml-maint-commits] r3258 - in /trunk/packages/camomile: trunk/debian/ trunk/debian/patches/ trunk/debian/xml-man/ upstream/

gildor at users.alioth.debian.org gildor at users.alioth.debian.org
Mon Oct 23 23:10:13 UTC 2006


Author: gildor
Date: Mon Oct 23 23:10:12 2006
New Revision: 3258

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=3258
Log:
* Use CDBS,
* New upstream version,
* Add manpages,
-- SLG

Added:
    trunk/packages/camomile/trunk/debian/libcamomile-ocaml-data.install
    trunk/packages/camomile/trunk/debian/libcamomile-ocaml-dev.dirs.in
    trunk/packages/camomile/trunk/debian/libcamomile-ocaml-dev.links
    trunk/packages/camomile/trunk/debian/libcamomile-ocaml-dev.manpages
    trunk/packages/camomile/trunk/debian/xml-man/
    trunk/packages/camomile/trunk/debian/xml-man/Makefile
    trunk/packages/camomile/trunk/debian/xml-man/camomilecharmap.xml
    trunk/packages/camomile/trunk/debian/xml-man/camomilelocaledef.xml
    trunk/packages/camomile/trunk/debian/xml-man/license.xml
    trunk/packages/camomile/trunk/debian/xml-man/refentry.xml
    trunk/packages/camomile/upstream/camomile_0.7.1.orig.tar.gz   (with props)
Removed:
    trunk/packages/camomile/upstream/camomile_0.6.6.orig.tar.gz
Modified:
    trunk/packages/camomile/trunk/debian/changelog
    trunk/packages/camomile/trunk/debian/compat
    trunk/packages/camomile/trunk/debian/control
    trunk/packages/camomile/trunk/debian/control.in
    trunk/packages/camomile/trunk/debian/patches/makefile.dpatch
    trunk/packages/camomile/trunk/debian/rules

Modified: trunk/packages/camomile/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camomile/trunk/debian/changelog?rev=3258&op=diff
==============================================================================
--- trunk/packages/camomile/trunk/debian/changelog (original)
+++ trunk/packages/camomile/trunk/debian/changelog Mon Oct 23 23:10:12 2006
@@ -1,3 +1,12 @@
+camomile (0.7.1-1) unstable; urgency=low
+
+  * New upstream release, ship with META.in (Closes: #389470)
+  * Use CDBS for debian/rules,
+  * Upgrade debhelper debian/compat to 5,
+  * Write manpages for camomilecharmap and camomilelocaledef,
+
+ -- Sylvain Le Gall <gildor at debian.org>  Tue, 24 Oct 2006 01:05:04 +0200
+
 camomile (0.6.6-1) unstable; urgency=low
 
   * New upstream release

Modified: trunk/packages/camomile/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camomile/trunk/debian/compat?rev=3258&op=diff
==============================================================================
--- trunk/packages/camomile/trunk/debian/compat (original)
+++ trunk/packages/camomile/trunk/debian/compat Mon Oct 23 23:10:12 2006
@@ -1,1 +1,1 @@
-4
+5

Modified: trunk/packages/camomile/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camomile/trunk/debian/control?rev=3258&op=diff
==============================================================================
--- trunk/packages/camomile/trunk/debian/control (original)
+++ trunk/packages/camomile/trunk/debian/control Mon Oct 23 23:10:12 2006
@@ -2,9 +2,9 @@
 Section: libdevel
 Priority: optional
 Maintainer: Sylvain Le Gall <gildor at debian.org>
-Build-Depends: ocaml-nox (>= 3.09.2), debhelper (>= 4), dpatch (>= 1.11), ocaml-findlib,  dpkg-dev (>= 1.13.19)
+Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), dpatch, ocaml-nox (>= 3.09.2), ocaml-findlib, dpkg-dev (>= 1.13.19)
 Standards-Version: 3.7.2
-XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/camomile
+XS-X-Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/camomile
 
 Package: libcamomile-ocaml-data
 Section: libdevel

Modified: trunk/packages/camomile/trunk/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camomile/trunk/debian/control.in?rev=3258&op=diff
==============================================================================
--- trunk/packages/camomile/trunk/debian/control.in (original)
+++ trunk/packages/camomile/trunk/debian/control.in Mon Oct 23 23:10:12 2006
@@ -2,7 +2,7 @@
 Section: libdevel
 Priority: optional
 Maintainer: Sylvain Le Gall <gildor at debian.org>
-Build-Depends: ocaml-nox (>= #OCamlABI#), debhelper (>= 4), dpatch (>= 1.11), ocaml-findlib,  dpkg-dev (>= 1.13.19)
+Build-Depends: @cdbs@, ocaml-nox (>= 3.09.2), ocaml-findlib, dpkg-dev (>= 1.13.19)
 Standards-Version: 3.7.2
 XS-X-Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/camomile
 

Added: trunk/packages/camomile/trunk/debian/libcamomile-ocaml-data.install
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camomile/trunk/debian/libcamomile-ocaml-data.install?rev=3258&op=file
==============================================================================
--- trunk/packages/camomile/trunk/debian/libcamomile-ocaml-data.install (added)
+++ trunk/packages/camomile/trunk/debian/libcamomile-ocaml-data.install Mon Oct 23 23:10:12 2006
@@ -1,0 +1,4 @@
+dochtml/*                /usr/share/doc/libcamomile-ocaml-data/html/
+unidata/UnicodeData.html /usr/share/doc/libcamomile-ocaml-data/
+unidata/README           /usr/share/doc/libcamomile-ocaml-data/unidata/
+unidata/tr10/README      /usr/share/doc/libcamomile-ocaml-data/unidata/tr10

Added: trunk/packages/camomile/trunk/debian/libcamomile-ocaml-dev.dirs.in
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camomile/trunk/debian/libcamomile-ocaml-dev.dirs.in?rev=3258&op=file
==============================================================================
--- trunk/packages/camomile/trunk/debian/libcamomile-ocaml-dev.dirs.in (added)
+++ trunk/packages/camomile/trunk/debian/libcamomile-ocaml-dev.dirs.in Mon Oct 23 23:10:12 2006
@@ -1,0 +1,2 @@
+ at OCamlStdlibDir@
+/usr/bin

Added: trunk/packages/camomile/trunk/debian/libcamomile-ocaml-dev.links
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camomile/trunk/debian/libcamomile-ocaml-dev.links?rev=3258&op=file
==============================================================================
--- trunk/packages/camomile/trunk/debian/libcamomile-ocaml-dev.links (added)
+++ trunk/packages/camomile/trunk/debian/libcamomile-ocaml-dev.links Mon Oct 23 23:10:12 2006
@@ -1,0 +1,4 @@
+usr/share/man/man1/camomilecharmap.1.gz usr/share/man/man1/camomilecharmap.opt.1.gz
+usr/share/man/man1/camomilecharmap.1.gz usr/share/man/man1/camomilecharmap.byte.1.gz
+usr/share/man/man1/camomilelocaledef.1.gz usr/share/man/man1/camomilelocaledef.opt.1.gz
+usr/share/man/man1/camomilelocaledef.1.gz usr/share/man/man1/camomilelocaledef.byte.1.gz

Added: trunk/packages/camomile/trunk/debian/libcamomile-ocaml-dev.manpages
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camomile/trunk/debian/libcamomile-ocaml-dev.manpages?rev=3258&op=file
==============================================================================
--- trunk/packages/camomile/trunk/debian/libcamomile-ocaml-dev.manpages (added)
+++ trunk/packages/camomile/trunk/debian/libcamomile-ocaml-dev.manpages Mon Oct 23 23:10:12 2006
@@ -1,0 +1,2 @@
+debian/xml-man/camomilecharmap.1
+debian/xml-man/camomilelocaledef.1

Modified: trunk/packages/camomile/trunk/debian/patches/makefile.dpatch
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camomile/trunk/debian/patches/makefile.dpatch?rev=3258&op=diff
==============================================================================
--- trunk/packages/camomile/trunk/debian/patches/makefile.dpatch (original)
+++ trunk/packages/camomile/trunk/debian/patches/makefile.dpatch Mon Oct 23 23:10:12 2006
@@ -23,10 +23,10 @@
 exit 0
 
 @DPATCH@
-diff -urNad camomile-0.6.5~/Makefile.in camomile-0.6.5/Makefile.in
---- camomile-0.6.5~/Makefile.in	2006-03-13 13:17:35.000000000 +0100
-+++ camomile-0.6.5/Makefile.in	2006-06-09 00:47:31.000000000 +0200
-@@ -60,12 +60,12 @@
+diff -urNad camomile-0.7.1~/Makefile.in camomile-0.7.1/Makefile.in
+--- camomile-0.7.1~/Makefile.in	2006-08-14 13:35:01.000000000 +0200
++++ camomile-0.7.1/Makefile.in	2006-10-18 01:06:35.000000000 +0200
+@@ -61,12 +61,12 @@
  # Generic targets
  #################
  
@@ -39,14 +39,14 @@
 -lib : byte $(OCAMLBEST) opt
 +lib : byte $(OCAMLBEST)
  
- INT = \
- public/xArray.cmi public/oOChannel.cmi \
-@@ -382,7 +382,7 @@
- 	if [ -f camomile.cma ]; then files="camomile.* $$files"; fi&& \
- 	if [ -f libcamomile.a ]; then files="libcamomile.a $$files"; fi && \
- 	if [ -f dllcamomile.so ]; then files="dllcamomile.so $$files"; fi && \
--	ocamlfind install camomile $(INT) $$files META $(INT:cmi=mli)
-+	ocamlfind install $(DESTDIR) camomile $(INT) $$files META $(INT:cmi=mli)
+ NOOBJ_INT= \
+ public/unicodeString.cmi configInt.cmi internal/uReStrParserType.cmi
+@@ -372,7 +372,7 @@
+ 	if [ -f camomile.cma ]; then files="camomile.cma $$files"; fi&& \
+ 	if [ -f camomile.cmxa ]; then files="camomile.cmxa $$files"; fi&& \
+ 	if [ -f camomile.a ]; then files="camomile.a $$files"; fi && \
+-	ocamlfind install camomile $$files META $(MLI) camomileLibrary.cmi
++	ocamlfind install $(OCAMLFIND_INSTALL_FLAGS) camomile $$files META $(MLI) camomileLibrary.cmi
  
- install-data:
- 	mkdir -p $(DATADIR)
+ install-bin:
+ 	cp -f tools/camomilecharmap.$(OCAMLBEST) $(BINDIR)

Modified: trunk/packages/camomile/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camomile/trunk/debian/rules?rev=3258&op=diff
==============================================================================
--- trunk/packages/camomile/trunk/debian/rules (original)
+++ trunk/packages/camomile/trunk/debian/rules Mon Oct 23 23:10:12 2006
@@ -1,92 +1,79 @@
 #!/usr/bin/make -f
+# debian/rules for camomile package
+# Copyright (C) 2006 Sylvain Le Gall <gildor at debian.org>
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+# MA 02110-1301, USA.
 
-include /usr/share/dpatch/dpatch.make 
+# Generate debian/control using
+# fakeroot debian/rules debian/control DEB_AUTO_UPDATE_DEBIAN_CONTROL:=yes
 
-OCAMLIBDIR=`ocamlc -where`
-PACKAGE_DEV=libcamomile-ocaml-dev
-DESTDIR_DEV=$(CURDIR)/debian/$(PACKAGE_DEV)
-PACKAGE_COMMON=libcamomile-ocaml-data
-DESTDIR_COMMON=$(CURDIR)/debian/$(PACKAGE_COMMON)
-OCAMLABI=$(shell ocamlc -version)
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
+include /usr/share/cdbs/1/class/autotools.mk
 
-debian/control: debian/control.in
-	sed -e 's%#OCamlABI#%$(OCAMLABI)%' $@.in >$@
+OCAMLABI               := $(shell ocamlc -version)
+DEB_DH_GENCONTROL_ARGS += -- -VF:OCamlABI="$(OCAMLABI)"
+OCAML_STDLIB_DIR       := $(shell ocamlc -where)
 
-config: config-stamp
-config-stamp:
-	dh_testdir
-	./configure --datadir=/usr/share
-	touch config-stamp
+OFILES := $(filter-out debian/control,$(patsubst %.in,%,$(wildcard debian/*.in)))
 
-build-arch: build-arch-stamp
-build-arch-stamp: config-stamp
-	dh_testdir
-	$(MAKE)
-	touch build-arch-stamp
+ocamlinit:
+	echo -n > $(CURDIR)/ocamlinit-stamp; \
+	for f in $(OFILES); do \
+	  sed -e 's/@OCamlStdlibDir@/$(subst /,\/,$(OCAML_STDLIB_DIR))/g' \
+	  $$f.in > $$f; \
+	  echo $$f >> $(CURDIR)/ocamlinit-stamp; \
+	done
 
-build-indep: build-indep-stamp
-build-indep-stamp: config-stamp
-	dh_testdir
-	$(MAKE) dochtml
-	touch build-indep-stamp
+clean::
+	if [ -e $(CURDIR)/ocamlinit-stamp ]; then \
+	  for f in `cat $(CURDIR)/ocamlinit-stamp`; do \
+	    if [ -e $$f.in ] && [ -e $$f ]; then \
+	      $(RM) $$f; \
+	    fi; \
+	  done; \
+	  $(RM) $(CURDIR)/ocamlinit-stamp; \
+	fi
 
-build: build-stamp
-build-stamp: patch-stamp build-arch build-indep
-	touch build-stamp
+PACKAGE_DEV := libcamomile-ocaml-dev
+DESTDIR_DEV := $(CURDIR)/debian/$(PACKAGE_DEV)
 
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	-$(RM) build-arch-stamp build-indep-stamp build-stamp config-stamp
-	-$(MAKE) clean
+PACKAGE_COMMON := libcamomile-ocaml-data
+DESTDIR_COMMON := $(CURDIR)/debian/$(PACKAGE_COMMON)
+
+DEB_MAKE_CLEAN_TARGET    := clean
+DEB_MAKE_BUILD_TARGET    := all dochtml
+DEB_MAKE_INSTALL_TARGET  := install \
+                            OCAMLFIND_INSTALL_FLAGS="-ldconf  ignore \
+                               -destdir $(DESTDIR_DEV)/$(OCAML_STDLIB_DIR)" \
+                            DATADIR="$(DESTDIR_COMMON)/usr/share/" \
+                            BINDIR="$(DESTDIR_DEV)/usr/bin/"
+
+DEB_CONFIGURE_EXTRA_FLAGS := --datadir=/usr/share
+
+clean::
 	-$(RM) config.* Makefile
-	-$(RM) -f dochtml
+	-$(RM) -r dochtml
 	-$(RM) toolslib/toolslib.a toolslib/colParser.output
-	-$(RM) camomileconfig.ml 
 	-$(RM) internal/uReStrParser.output
-	#-$(RM) unidata/UnicodeData.txt
-	dh_clean
+	-$(RM) META
+	-$(RM) camomileDefaultConfig.ml
+	-$(DEB_MAKE_ENVVARS) $(MAKE) -C debian/xml-man clean
 
-install: DH_OPTIONS=
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	mkdir -p $(DESTDIR_DEV)/$(OCAMLIBDIR)
-	$(MAKE) install \
-	 DESTDIR="-ldconf ignore -destdir $(DESTDIR_DEV)/$(OCAMLIBDIR)" \
-	 DATADIR="$(DESTDIR_COMMON)/usr/share"
-	cp -R dochtml               $(DESTDIR_COMMON)/usr/share/doc/$(PACKAGE_COMMON)/html
-	cp unidata/UnicodeData.html $(DESTDIR_COMMON)/usr/share/doc/$(PACKAGE_COMMON)/
-	cp unidata/README           $(DESTDIR_COMMON)/usr/share/doc/$(PACKAGE_COMMON)/README.unidata
-	cp unidata/tr10/README      $(DESTDIR_COMMON)/usr/share/doc/$(PACKAGE_COMMON)/README.unidata.tr10
+common-configure-indep common-configure-arch:: ocamlinit
 
-binary-indep: build install
-	dh_testdir -i
-	dh_testroot -i
-	dh_installdocs -i
-	dh_installchangelogs Changes -i
-	dh_compress -i
-	dh_fixperms -i
-	dh_installdeb -i
-	dh_gencontrol -i -- -VF:OCamlABI="$(OCAMLABI)"
-	dh_md5sums -i
-	dh_builddeb -i
-
-binary-arch: build install
-	dh_testdir -a
-	dh_testroot -a
-	dh_installdocs -a
-	dh_installchangelogs Changes -a
-	dh_strip -a
-	dh_compress -a
-	dh_fixperms -a
-	dh_installdeb -a
-	dh_shlibdeps -a
-	dh_gencontrol -a -- -VF:OCamlABI="$(OCAMLABI)"
-	dh_md5sums -a
-	dh_builddeb -a
-
-binary: binary-arch binary-indep
-.PHONY: build clean binary-indep binary-arch binary install debian/control
+build/libcamomile-ocaml-dev::
+	$(DEB_MAKE_ENVVARS) $(MAKE) -C debian/xml-man all

Added: trunk/packages/camomile/trunk/debian/xml-man/Makefile
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camomile/trunk/debian/xml-man/Makefile?rev=3258&op=file
==============================================================================
--- trunk/packages/camomile/trunk/debian/xml-man/Makefile (added)
+++ trunk/packages/camomile/trunk/debian/xml-man/Makefile Mon Oct 23 23:10:12 2006
@@ -1,0 +1,14 @@
+
+all: camomilecharmap.1 camomilelocaledef.1
+
+clean:
+	-$(RM) *.1 
+
+%.1: %.xml
+	# Verification
+	xmllint --nonet --postvalid --xinclude $^
+	# Compilation
+	xsltproc --nonet --xinclude \
+	  /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \
+	  $^
+

Added: trunk/packages/camomile/trunk/debian/xml-man/camomilecharmap.xml
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camomile/trunk/debian/xml-man/camomilecharmap.xml?rev=3258&op=file
==============================================================================
--- trunk/packages/camomile/trunk/debian/xml-man/camomilecharmap.xml (added)
+++ trunk/packages/camomile/trunk/debian/xml-man/camomilecharmap.xml Mon Oct 23 23:10:12 2006
@@ -1,0 +1,128 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 
+"/usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd" [
+  <!ENTITY debian      "<!--productname-->Debian GNU/Linux<!--/productname-->">
+  <!ENTITY dhprg       "<command>camomilecharmap</command>">
+  <!ENTITY camomile    "<!--productname-->camomile<!--/productname-->">
+]>
+
+<!--**********************************************************************-->
+<!-- Camomilecharmap 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                                           -->
+<!--**********************************************************************-->
+
+
+<refentry>
+
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="refentry.xml"/>
+
+  <refmeta>
+    <refentrytitle>CAMOMILECHARMAP</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+
+  <refnamediv>
+    <refname>&dhprg;</refname>
+
+    <refpurpose>a charmap database translators for &camomile;.</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv>
+    <cmdsynopsis>          
+      &dhprg;           
+      <arg choice="opt">-d         
+        <arg choice="req">
+          <replaceable>dir</replaceable>
+        </arg>
+      </arg>
+      <group>
+        <arg choice="plain">-help</arg>
+        <arg choice="plain">--help</arg>
+      </group>
+      <arg choice="opt">
+        <replaceable>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 made to convert standard charmap file into 
+      <filename>.mar</filename> file. This convert a standard charmap
+      file into the internal database format of &camomile;.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term>
+          <option>-d 
+            <parameter>dir</parameter>
+          </option>
+        </term>
+        <listitem>
+          <para>Output directory.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>
+          <option>-help</option>
+        </term>
+        <term>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Display help message.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>
+          file
+        </term>
+        <listitem>
+          <para>Charmap file.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+
+  </refsect1>
+
+  <refsect1>
+          <title>SEE ALSO</title>
+
+          <para>
+            <citerefentry>
+              <refentrytitle>camomilelocaledef</refentrytitle>
+              <manvolnum>1</manvolnum>
+            </citerefentry>
+          </para>
+  </refsect1>
+
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="license.xml"/>
+
+</refentry>

Added: trunk/packages/camomile/trunk/debian/xml-man/camomilelocaledef.xml
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camomile/trunk/debian/xml-man/camomilelocaledef.xml?rev=3258&op=file
==============================================================================
--- trunk/packages/camomile/trunk/debian/xml-man/camomilelocaledef.xml (added)
+++ trunk/packages/camomile/trunk/debian/xml-man/camomilelocaledef.xml Mon Oct 23 23:10:12 2006
@@ -1,0 +1,144 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 
+"/usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd" [
+  <!ENTITY debian      "<!--productname-->Debian GNU/Linux<!--/productname-->">
+  <!ENTITY dhprg       "<command>camomilelocaledef</command>">
+  <!ENTITY camomile    "<!--productname-->camomile<!--/productname-->">
+]>
+
+<!--**********************************************************************-->
+<!-- Camomilelocaledef 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                                           -->
+<!--**********************************************************************-->
+
+
+<refentry>
+
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="refentry.xml"/>
+
+  <refmeta>
+    <refentrytitle>CAMOMILELOCALEDEF</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+
+  <refnamediv>
+    <refname>&dhprg;</refname>
+
+    <refpurpose>a localedef database translators for &camomile;.</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv>
+    <cmdsynopsis>          
+      &dhprg;           
+      <arg choice="opt">--enc         
+        <arg choice="req">
+          <replaceable>encoding</replaceable>
+        </arg>
+      </arg>
+      <arg choice="opt">--file
+        <arg choice="req">
+          <replaceable>file</replaceable>
+        </arg>
+      </arg>
+      <group>
+        <arg choice="plain">-help</arg>
+        <arg choice="plain">--help</arg>
+      </group>
+      <arg choice="opt">
+        <replaceable>dir</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 made to convert standard localedef file into 
+      <filename>.mar</filename> files. This convert and split a standard 
+      localedef file into the internal database format of &camomile;.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term>
+          <option>--enc 
+            <parameter>encoding</parameter>
+          </option>
+        </term>
+        <listitem>
+          <para>Encoding used for reading the input file. If omitted, default to UTF-8.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>
+          <option>--file
+            <parameter>file</parameter>
+          </option>
+        </term>
+        <listitem>
+          <para>Input localedef file. If ommited, use <filename>stdin</filename>.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>
+          <option>-help</option>
+        </term>
+        <term>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Display help message.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term>
+          dir
+        </term>
+        <listitem>
+          <para>Output directory. If omitted, default to the current directory.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+
+  </refsect1>
+
+  <refsect1>
+          <title>SEE ALSO</title>
+
+          <para>
+            <citerefentry>
+              <refentrytitle>camomilecharmap</refentrytitle>
+              <manvolnum>1</manvolnum>
+            </citerefentry>
+          </para>
+  </refsect1>
+
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="license.xml"/>
+
+</refentry>

Added: trunk/packages/camomile/trunk/debian/xml-man/license.xml
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camomile/trunk/debian/xml-man/license.xml?rev=3258&op=file
==============================================================================
--- trunk/packages/camomile/trunk/debian/xml-man/license.xml (added)
+++ trunk/packages/camomile/trunk/debian/xml-man/license.xml Mon Oct 23 23:10:12 2006
@@ -1,0 +1,18 @@
+<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 GNU/Linux 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/camomile/trunk/debian/xml-man/refentry.xml
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camomile/trunk/debian/xml-man/refentry.xml?rev=3258&op=file
==============================================================================
--- trunk/packages/camomile/trunk/debian/xml-man/refentry.xml (added)
+++ trunk/packages/camomile/trunk/debian/xml-man/refentry.xml Mon Oct 23 23:10:12 2006
@@ -1,0 +1,12 @@
+<refentryinfo>
+	<author>
+		<firstname>Sylvain</firstname>
+		<surname>Le Gall</surname>
+                <email>gildor at debian.org</email>
+	</author>
+	<copyright>
+		<year>2006</year>
+		<holder>Sylvain Le Gall</holder>
+	</copyright>
+	<date>Oct 23, 2006</date>
+</refentryinfo>

Added: trunk/packages/camomile/upstream/camomile_0.7.1.orig.tar.gz
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/camomile/upstream/camomile_0.7.1.orig.tar.gz?rev=3258&op=file
==============================================================================
Binary file - no diff available.

Propchange: trunk/packages/camomile/upstream/camomile_0.7.1.orig.tar.gz
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream




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