--- camomile-0.7.2.orig/debian/libcamomile-ocaml-dev.install +++ camomile-0.7.2/debian/libcamomile-ocaml-dev.install @@ -0,0 +1 @@ +dochtml/* /usr/share/doc/libcamomile-ocaml-dev/html/api/ --- camomile-0.7.2.orig/debian/clean +++ camomile-0.7.2/debian/clean @@ -0,0 +1,10 @@ +config.log +config.status +config.cache +toolslib/toolslib.a +toolslib/colParser.output +internal/uReStrParser.output +META +debian/xml-man/en/camomilecharmap.1 +debian/xml-man/en/camomilelocaledef.1 +camomileDefaultConfig.ml --- camomile-0.7.2.orig/debian/libcamomile-ocaml-dev.dirs.in +++ camomile-0.7.2/debian/libcamomile-ocaml-dev.dirs.in @@ -0,0 +1,2 @@ +@OCamlStdlibDir@ +/usr/bin --- camomile-0.7.2.orig/debian/libcamomile-ocaml-data.install +++ camomile-0.7.2/debian/libcamomile-ocaml-data.install @@ -0,0 +1,3 @@ +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 --- camomile-0.7.2.orig/debian/watch +++ camomile-0.7.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/camomile/camomile-([0-9].*)\.tar\.bz2 --- camomile-0.7.2.orig/debian/gbp.conf +++ camomile-0.7.2/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True --- camomile-0.7.2.orig/debian/changelog +++ camomile-0.7.2/debian/changelog @@ -0,0 +1,128 @@ +camomile (0.7.2-1) unstable; urgency=low + + * New Upstream Version + * Upgrade standards-version to 3.8.2 (section ocaml) + * Tighten Build Depends for OCaml 3.11.1 transition (findlib) + + -- Sylvain Le Gall Thu, 02 Jul 2009 21:58:22 +0000 + +camomile (0.7.1-5) unstable; urgency=low + + * Switch packaging to git + * Remove obsolete debian/control.in related variables and files + * Remove dpkg-dev build-dependency since source:Version is now + standard + * Add dh-ocaml build-dependency (rules/ocaml.mk) + * Set maintainer to Debian OCaml Maintainers + * Upgrade debian/compat to 7 (use debian/clean) + * Upgrade Standards-Version to 3.8.0 (debian/README.source) + * Add Homepage field to debian/control + + -- Sylvain Le Gall Thu, 05 Mar 2009 12:41:41 +0100 + +camomile (0.7.1-4) experimental; urgency=low + + [ Sylvain Le Gall ] + * Use ocaml 3.10.0-9 for generating .ocamldoc-apiref automatically + + [ Stefano Zacchiroli ] + * fix vcs-svn field to point just above the debian/ dir + + [ Romain Beauxis ] + * Upload to experimental to build against ocaml 3.11 + * Versioned ocaml-relared build-deps to avoid confusion. + * Added build-dep on dh-ocaml. + + -- Romain Beauxis Sun, 14 Dec 2008 00:11:29 +0100 + +camomile (0.7.1-3) unstable; urgency=low + + * Build for ocaml 3.10.0 + * Move API documentation in to usr/share/doc/libcamomile-ocaml-dev/html/api + + -- Sylvain Le Gall Tue, 04 Sep 2007 00:26:44 +0200 + +camomile (0.7.1-2) experimental; urgency=low + + * Change email address to gildor@debian.org everywhere + * Upgrade debian/watch version to 3, + * Use ocaml.mk for CDBS, + * Add extra double quote to protect the variable inside the + Makefile, + * Modify debian/xml-man/Makefile to disable result output + of xmllint command, + * Modify debian/xml-man/*.xml to remove some comments, + * Remove ocaml-nox depends in debian/control.in (added through + ocaml.mk), + * Remove libcamomile-ocaml-dev.dirs when cleaning (generated by + ocaml.mk), + * Change watch URL to sf.net + * Use CDBS docbook classes and po4a for documentation + * Rebuild for ocaml 3.10.0 + * Add camlp4 dependency + + -- Sylvain Le Gall Sun, 08 Jul 2007 01:43:41 +0200 + +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 Tue, 24 Oct 2006 01:05:04 +0200 + +camomile (0.6.6-1) unstable; urgency=low + + * New upstream release + * Correct standards version (3.7.2.0->3.7.2) + * Remove Debian OCaml Maintainer as uploader (this is non sense) + + -- Sylvain Le Gall Tue, 11 Jul 2006 22:46:25 +0200 + +camomile (0.6.5-1) unstable; urgency=low + + * New upstream release, + * Change my email address, + * Acknowledge NMU from Ralf Treinen (thanks for doing it), + * Upgrade standards version to 3.7.2.0 (no change), + * Apply a tip to made the package binNMU safe, thanks to Aaron M. Ucko, for + suggesting to use dpkg-dev(>= 1.13.19) and substituting ${source:Version} + for ${Source-Version} (Closes: #370007), + * Add debian-ocaml-maint@lists.debian.org as uploaders... because this + package stands in the pkg-ocaml-maint snv repository, + + -- Sylvain Le Gall Fri, 9 Jun 2006 00:30:18 +0200 + +camomile (0.6.3-3.1) unstable; urgency=low + + * NMU for transition OCaml 3.09.1 -> 3.09.2 + * Rebuild for OCaml 3.09.2 + * debian/rules: declared the target "debian/control" as phony + + -- Ralf Treinen Wed, 7 Jun 2006 22:46:20 +0200 + +camomile (0.6.3-3) unstable; urgency=low + + * Rebuild for OCaml 3.09.1 + + -- Sylvain Le Gall Wed, 11 Jan 2006 22:45:08 +0100 + +camomile (0.6.3-2) unstable; urgency=low + + * Update patch makefile to support compilation on non-opt platform + (Closes: #343874) + + -- Sylvain Le Gall Mon, 19 Dec 2005 23:45:08 +0100 + +camomile (0.6.3-1) unstable; urgency=low + + * Initial upload ( closes: #211991 ) + * Split packages into libcamomile-ocaml-dev and libcamomile-ocaml-data + because there is a lot of arch-indep data file + * The name of the package in the archive will be libcamomile-ocaml-dev + following the ocaml policy convention + * Place doc in usr/share/doc/.../html as it is html doc | add an entry + in doc-base + + -- Sylvain Le Gall Sat, 3 Dec 2005 01:18:55 +0100 --- camomile-0.7.2.orig/debian/README +++ camomile-0.7.2/debian/README @@ -0,0 +1,9 @@ +----------------- +* Documentation * +----------------- + +Documentation for this library is in the package libcamomile-ocaml-data. + +Please have a look to /usr/share/doc/libcamomile-ocaml-data. + + -- Sylvain Le Gall Tue, 16 Mar 2004 23:31:16 +0100 --- camomile-0.7.2.orig/debian/control +++ camomile-0.7.2/debian/control @@ -0,0 +1,41 @@ +Source: camomile +Section: libdevel +Priority: optional +Maintainer: Debian OCaml Maintainers +Uploaders: Sylvain Le Gall +Build-Depends: cdbs (>= 0.4.23-1.1), + debhelper (>= 7), + dpatch, + ocaml-nox (>= 3.11.1), + po4a, docbook-xml (>= 4.4), docbook-xsl, libxml2-utils, xsltproc, + ocaml-findlib (>= 1.2.4-2), + dh-ocaml (>= 0.4.1), + camlp4 +Standards-Version: 3.8.2 +Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/camomile.git +Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/camomile.git +Homepage: http://sourceforge.net/projects/camomile/ + +Package: libcamomile-ocaml-data +Section: ocaml +Architecture: all +Suggests: libcamomile-ocaml-dev +Depends: ${misc:Depends} +Description: Unicode data for OCaml + Camomile is a comprehensive Unicode library for objective caml language. + The library is currently designed to conform Unicode Standard 3.2. + . + This package contains the data needed by camomile. + +Package: libcamomile-ocaml-dev +Section: ocaml +Architecture: any +Depends: ocaml-nox-${F:OCamlABI}, libcamomile-ocaml-data (= ${source:Version}), ${misc:Depends}, ${shlibs:Depends} +Description: Unicode library for OCaml + Camomile is a comprehensive Unicode library for objective caml language. + The library is currently designed to conform Unicode Standard 3.2. + . + Normalisers (NFD, NFKD, NFC, NFKC) and collator (string comparison) pass + the conformance tests defined Unicode Technical Reports. Collator is also + tested to Canadian, Thai and Japanese standards with their locales. + --- camomile-0.7.2.orig/debian/rules +++ camomile-0.7.2/debian/rules @@ -0,0 +1,55 @@ +#!/usr/bin/make -f +# debian/rules for camomile package +# Copyright (C) 2006-2008 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/debhelper.mk +include /usr/share/cdbs/1/rules/dpatch.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/ocaml.mk +include $(CURDIR)/debian/mk/docbook-manpage.mk + +PACKAGE_DEV := libcamomile-ocaml-dev +DESTDIR_DEV := $(CURDIR)/debian/$(PACKAGE_DEV) + +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 + +PO4A_SOURCES := $(CURDIR)/debian/xml-man/po4a/po4a.cfg + +DOCBOOK_MANPAGE_SOURCES := $(CURDIR)/debian/xml-man/en/camomilecharmap.xml \ + $(CURDIR)/debian/xml-man/en/camomilelocaledef.xml + +DOCBOOK_MANPAGE_EXTRA_SOURCES := $(CURDIR)/debian/xml-man/en/license.xml \ + $(CURDIR)/debian/xml-man/en/refentryinfo.xml + + +OCAML_OCAMLDOC_PACKAGES_DOCBASE := libcamomile-ocaml-dev + +clean:: + -$(RM) '$(CURDIR)/Makefile' + -$(RM) -r '$(CURDIR)/dochtml' --- camomile-0.7.2.orig/debian/README.source +++ camomile-0.7.2/debian/README.source @@ -0,0 +1,5 @@ +This package use dpatch for patching the source. + +Please consider reading dpatch manpage to patch the source. + + -- Sylvain Le Gall Sun, 22 Jun 2008 23:26:52 +0200 --- camomile-0.7.2.orig/debian/compat +++ camomile-0.7.2/debian/compat @@ -0,0 +1 @@ +7 --- camomile-0.7.2.orig/debian/libcamomile-ocaml-dev.links +++ camomile-0.7.2/debian/libcamomile-ocaml-dev.links @@ -0,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 --- camomile-0.7.2.orig/debian/copyright +++ camomile-0.7.2/debian/copyright @@ -0,0 +1,47 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +Upstream-Author: Yamagata Yoriyuki +Packaged-By: Sylvain Le Gall +Packaged-Date: Wed, 20 Sep 2003 17:50:39 +0200 +Original-Source-Location: http://camomile.sourceforge.net/ + +Files: * +Copyright: (C) 2001-2006 Yamagata Yoriyuki +License: LGPL-2.1 + +Files: configure.in, Makefile.in +Copyright: Jean-Christophe Filliatre +License: LGPL + +This Library is distributed under the terms of the GNU Library General +Public License version 2.1. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. + +Files: locales/* +Copyright: (C) 1997-2002 International Business Machines +License: other + +Derived from the ICU package. + +Files: charmaps/* +Copyright: (C) Free Software Foundation +License: other + +Derived from glibc (iconv). Distribution and use, even for commercial purpose, +is free. + +Files: unidata/* +Copyright: (C) 1991-2008 Unicode Inc. +License: + +The file allkey.txt is obtained from Unicode Consortium Web site. Its copyright +is owned by Unicode Consortium. Its use, reproduction, distribution are +permitted under the term of http://www.unicode.org/copyright.html. + +See README.unidata of package libcamomile-ocaml-data. + +Files: debian/* +Copyright: (C) 2006-2008 Sylvain Le Gall +License: GPL-2+ + --- camomile-0.7.2.orig/debian/libcamomile-ocaml-dev.manpages +++ camomile-0.7.2/debian/libcamomile-ocaml-dev.manpages @@ -0,0 +1,2 @@ +debian/xml-man/en/camomilecharmap.1 +debian/xml-man/en/camomilelocaledef.1 --- camomile-0.7.2.orig/debian/utils/purify_camomile +++ camomile-0.7.2/debian/utils/purify_camomile @@ -0,0 +1,14 @@ +#!/bin/sh + +CAMOMILE_VERSION=$2 +ORIG=$1 + +set -e + +TMPFILE=`tempfile -s .tar` + +bzip2 -dc $ORIG > $TMPFILE + +#tar --delete -f $TMPFILE camomile-$CAMOMILE_VERSION/unidata/UnicodeData.txt + +gzip -c $TMPFILE > ${ORIG%%-$CAMOMILE_VERSION.tar.bz2}_$CAMOMILE_VERSION.orig.tar.gz --- camomile-0.7.2.orig/debian/patches/makefile.dpatch +++ camomile-0.7.2/debian/patches/makefile.dpatch @@ -0,0 +1,52 @@ +#!/bin/sh -e +## makefile.dpatch by Sylvain Le Gall +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +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 + ################# + +-all : byte $(OCAMLBEST) opt unidata unimaps charmap_data locale_data ++all : byte $(OCAMLBEST) unidata unimaps charmap_data locale_data + + # Build the library + ################### + +-lib : byte $(OCAMLBEST) opt ++lib : byte $(OCAMLBEST) + + 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-bin: + cp -f tools/camomilecharmap.$(OCAMLBEST) $(BINDIR) --- camomile-0.7.2.orig/debian/patches/00list +++ camomile-0.7.2/debian/patches/00list @@ -0,0 +1 @@ +makefile --- camomile-0.7.2.orig/debian/patches/fix_bigarray.dpatch +++ camomile-0.7.2/debian/patches/fix_bigarray.dpatch @@ -0,0 +1,48 @@ +#!/bin/sh -e +## fix_bigarray.dpatch by Sylvain Le Gall +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /mnt/nfs0/gildor/deb/cvs-package/camomile/camomile-0.4.1/META camomile-0.4.1/META +--- /mnt/nfs0/gildor/deb/cvs-package/camomile/camomile-0.4.1/META 2003-09-21 18:33:12.000000000 +0200 ++++ camomile-0.4.1/META 2003-09-21 18:52:21.000000000 +0200 +@@ -1,6 +1,6 @@ + name="camomile" + version="0.4.1" + description="Unicode library for ocaml" +-requires="" ++requires="bigarray" + archive(byte)="camomile.cma" + archive(native)="camomile.cmxa" +diff -urNad /mnt/nfs0/gildor/deb/cvs-package/camomile/camomile-0.4.1/public/camomile.ml camomile-0.4.1/public/camomile.ml +--- /mnt/nfs0/gildor/deb/cvs-package/camomile/camomile-0.4.1/public/camomile.ml 2003-09-21 18:33:54.000000000 +0200 ++++ camomile-0.4.1/public/camomile.ml 2003-09-21 18:52:36.000000000 +0200 +@@ -100,7 +100,7 @@ + + let add_array x a = + expand x (x.len + Array.length a); +- Array.blit a 0 x.buf 0 (Array.length a); ++ Array.blit a 0 x.buf x.len (Array.length a); + x.len <- x.len + Array.length a + + let add_xarray x1 x2 = --- camomile-0.7.2.orig/debian/mk/docbook-manpage.mk +++ camomile-0.7.2/debian/mk/docbook-manpage.mk @@ -0,0 +1,126 @@ +# -*- 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: 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 --- camomile-0.7.2.orig/debian/mk/po4a.mk +++ camomile-0.7.2/debian/mk/po4a.mk @@ -0,0 +1,80 @@ +# -*- 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: 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 --- camomile-0.7.2.orig/debian/xml-man/po4a/po4a.cfg +++ camomile-0.7.2/debian/xml-man/po4a/po4a.cfg @@ -0,0 +1,9 @@ +[po4a_paths] debian/xml-man/po4a/po/camomile-man.pot + +[type: docbook] debian/xml-man/en/camomilecharmap.xml + +[type: docbook] debian/xml-man/en/camomilelocaledef.xml + +[type: docbook] debian/xml-man/en/license.xml + +[type: docbook] debian/xml-man/en/refentryinfo.xml --- camomile-0.7.2.orig/debian/xml-man/po4a/po/camomile-man.pot +++ camomile-0.7.2/debian/xml-man/po4a/po/camomile-man.pot @@ -0,0 +1,257 @@ +# 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-07-02 22:00+0000\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/camomilecharmap.xml:4 debian/xml-man/en/camomilelocaledef.xml:4 debian/xml-man/en/license.xml:4 +msgid "Debian GNU/Linux" +msgstr "" + +#. type: Content of the dhprg entity +#: debian/xml-man/en/camomilecharmap.xml:5 +msgid "camomilecharmap" +msgstr "" + +#. type: Content of the camomile entity +#: debian/xml-man/en/camomilecharmap.xml:6 debian/xml-man/en/camomilelocaledef.xml:6 +msgid "camomile" +msgstr "" + +#. type: Content of: +#: debian/xml-man/en/camomilecharmap.xml:39 +msgid "CAMOMILECHARMAP" +msgstr "" + +#. type: Content of: +#: debian/xml-man/en/camomilecharmap.xml:40 debian/xml-man/en/camomilelocaledef.xml:40 +msgid "1" +msgstr "" + +#. type: Content of: +#: debian/xml-man/en/camomilecharmap.xml:44 debian/xml-man/en/camomilelocaledef.xml:44 +msgid "&dhprg;" +msgstr "" + +#. type: Content of: +#: debian/xml-man/en/camomilecharmap.xml:46 +msgid "a charmap database translators for &camomile;." +msgstr "" + +#. type: Content of: +#: debian/xml-man/en/camomilecharmap.xml:51 +msgid "" +"&dhprg; -d " +"dir -help --help " +" file " +msgstr "" + +#. type: Content of: +#: debian/xml-man/en/camomilecharmap.xml:68 debian/xml-man/en/camomilelocaledef.xml:73 +msgid "DESCRIPTION" +msgstr "" + +#. type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/camomilecharmap.xml:70 debian/xml-man/en/camomilelocaledef.xml:75 +msgid "This manual page documents briefly the &dhprg; command." +msgstr "" + +#. type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/camomilecharmap.xml:72 debian/xml-man/en/camomilelocaledef.xml:77 +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/camomilecharmap.xml:75 +msgid "" +"&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;." +msgstr "" + +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> +#: debian/xml-man/en/camomilecharmap.xml:82 +msgid "<option>-d <parameter>dir</parameter> </option>" +msgstr "" + +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/camomilecharmap.xml:87 +msgid "Output directory." +msgstr "" + +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> +#: debian/xml-man/en/camomilecharmap.xml:93 debian/xml-man/en/camomilelocaledef.xml:109 +msgid "<option>-help</option>" +msgstr "" + +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> +#: debian/xml-man/en/camomilecharmap.xml:96 debian/xml-man/en/camomilelocaledef.xml:112 +msgid "<option>--help</option>" +msgstr "" + +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/camomilecharmap.xml:99 debian/xml-man/en/camomilelocaledef.xml:115 +msgid "Display help message." +msgstr "" + +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> +#: debian/xml-man/en/camomilecharmap.xml:105 +msgid "file" +msgstr "" + +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/camomilecharmap.xml:108 +msgid "Charmap file." +msgstr "" + +#. type: Content of: <refentry><refsect1><title> +#: debian/xml-man/en/camomilecharmap.xml:116 debian/xml-man/en/camomilelocaledef.xml:132 +msgid "SEE ALSO" +msgstr "" + +#. type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/camomilecharmap.xml:119 +msgid "" +"<citerefentry> <refentrytitle>camomilelocaledef</refentrytitle> " +"<manvolnum>1</manvolnum> </citerefentry>" +msgstr "" + +#. type: Content of the dhprg entity +#: debian/xml-man/en/camomilelocaledef.xml:5 +msgid "<command>camomilelocaledef</command>" +msgstr "" + +#. type: Content of: <refentry><refmeta><refentrytitle> +#: debian/xml-man/en/camomilelocaledef.xml:39 +msgid "CAMOMILELOCALEDEF" +msgstr "" + +#. type: Content of: <refentry><refnamediv><refpurpose> +#: debian/xml-man/en/camomilelocaledef.xml:46 +msgid "a localedef database translators for &camomile;." +msgstr "" + +#. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> +#: debian/xml-man/en/camomilelocaledef.xml:51 +msgid "" +"&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>" +msgstr "" + +#. type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/camomilelocaledef.xml:80 +msgid "" +"&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;." +msgstr "" + +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> +#: debian/xml-man/en/camomilelocaledef.xml:87 +msgid "<option>--enc <parameter>encoding</parameter> </option>" +msgstr "" + +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/camomilelocaledef.xml:92 +msgid "Encoding used for reading the input file. If omitted, default to UTF-8." +msgstr "" + +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> +#: debian/xml-man/en/camomilelocaledef.xml:98 +msgid "<option>--file <parameter>file</parameter> </option>" +msgstr "" + +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/camomilelocaledef.xml:103 +msgid "Input localedef file. If ommited, use <filename>stdin</filename>." +msgstr "" + +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> +#: debian/xml-man/en/camomilelocaledef.xml:121 +msgid "dir" +msgstr "" + +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: debian/xml-man/en/camomilelocaledef.xml:124 +msgid "Output directory. If omitted, default to the current directory." +msgstr "" + +#. type: Content of: <refentry><refsect1><para> +#: debian/xml-man/en/camomilelocaledef.xml:135 +msgid "" +"<citerefentry> <refentrytitle>camomilecharmap</refentrytitle> " +"<manvolnum>1</manvolnum> </citerefentry>" +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 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." +msgstr "" + +#. ********************************************************************** +#. refentryinfo.xml +#. +#. Copyright (C) 2006 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 +#. ********************************************************************** +#. type: Content of: <refentryinfo> +#: debian/xml-man/en/refentryinfo.xml:31 +msgid "" +" <author> <firstname>Sylvain</firstname> <surname>Le Gall</surname> " +"<email>gildor@debian.org</email> </author> <copyright> <year>2006</year> " +"<holder>Sylvain Le Gall</holder> </copyright> <date>Oct 23, 2006</date> " +"<corpname>Debian</corpname>" +msgstr "" + +#. type: Content of: outside any tag (error?) +#: debian/xml-man/en/refentryinfo.xml:30 +msgid "<placeholder type=\"refentryinfo\" id=\"0\"/>" +msgstr "" --- camomile-0.7.2.orig/debian/xml-man/en/camomilecharmap.xml +++ camomile-0.7.2/debian/xml-man/en/camomilecharmap.xml @@ -0,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 "Debian GNU/Linux"> + <!ENTITY dhprg "<command>camomilecharmap</command>"> + <!ENTITY camomile "camomile"> +]> + +<!--**********************************************************************--> +<!-- Camomilecharmap manpage --> +<!-- --> +<!-- Copyright (C) 2006 Sylvain Le Gall <gildor@debian.org> --> +<!-- --> +<!-- This library is free software; you can redistribute it and/or --> +<!-- modify it under the terms of the GNU Lesser General Public --> +<!-- License as published by the Free Software Foundation; either --> +<!-- version 2.1 of the License, or (at your option) any later version; --> +<!-- with the OCaml static compilation exception. --> +<!-- --> +<!-- This library is distributed in the hope that it will be useful, --> +<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of --> +<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --> +<!-- Lesser General Public License for more details. --> +<!-- --> +<!-- You should have received a copy of the GNU Lesser General Public --> +<!-- License along with this library; if not, write to the Free Software --> +<!-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, --> +<!-- MA 02110-1301, USA. --> +<!-- --> +<!-- Contact: gildor@debian.org --> +<!--**********************************************************************--> + + +<refentry> + + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="refentryinfo.xml"/> + + <refmeta> + <refentrytitle>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 + + 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 made to convert standard charmap file into + .mar file. This convert a standard charmap + file into the internal database format of &camomile;. + + + + + + + + Output directory. + + + + + + + + + + + + Display help message. + + + + + + file + + + Charmap file. + + + + + + + + SEE ALSO + + + + camomilelocaledef + 1 + + + + + + + --- camomile-0.7.2.orig/debian/xml-man/en/camomilelocaledef.xml +++ camomile-0.7.2/debian/xml-man/en/camomilelocaledef.xml @@ -0,0 +1,144 @@ + + + camomilelocaledef"> + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CAMOMILELOCALEDEF + 1 + + + + &dhprg; + + a localedef database translators for &camomile;. + + + + + &dhprg; + --enc + + encoding + + + --file + + file + + + + -help + --help + + + dir + + + + + + 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 made to convert standard localedef file into + .mar files. This convert and split a standard + localedef file into the internal database format of &camomile;. + + + + + + + + Encoding used for reading the input file. If omitted, default to UTF-8. + + + + + + + + + Input localedef file. If ommited, use stdin. + + + + + + + + + + + + Display help message. + + + + + + dir + + + Output directory. If omitted, default to the current directory. + + + + + + + + SEE ALSO + + + + camomilecharmap + 1 + + + + + + + --- camomile-0.7.2.orig/debian/xml-man/en/license.xml +++ camomile-0.7.2/debian/xml-man/en/license.xml @@ -0,0 +1,48 @@ + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + LICENSE + + + This manual page was written by + + Sylvain + Le Gall + + gildor@debian.org + 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 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. + + --- camomile-0.7.2.orig/debian/xml-man/en/refentryinfo.xml +++ camomile-0.7.2/debian/xml-man/en/refentryinfo.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sylvain + Le Gall + gildor@debian.org + + + 2006 + Sylvain Le Gall + + Oct 23, 2006 + Debian +