debian/0000755000000000000000000000000012247726705007202 5ustar debian/control0000644000000000000000000000720312237556607010610 0ustar Source: tyxml Priority: optional Maintainer: Debian OCaml Maintainers Uploaders: Stéphane Glondu Build-Depends: debhelper (>= 8), dh-ocaml (>= 0.9), ocaml-findlib (>= 1.4), camlp4-extra (>= 4.01), libocamlnet-ocaml-dev (>= 3.7), ocaml-nox (>= 4.01) Standards-Version: 3.9.4 Section: ocaml Homepage: http://ocsigen.org/tyxml Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/tyxml.git Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/tyxml.git Package: libtyxml-ocaml-dev Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Recommends: ocaml-findlib Description: typed XML in OCaml (development files) TyXML allows one to build XML trees whose validity is ensured by the typechecker. It's based on a translation of XML types into polymorphic variants, originally written by Thorsten Ohl. Currently, the transcription has been done for XHTML 1.0 and 1.1, HTML5 and SVG (partial). . TyXML also provides a generic printer and some low-level (and untyped) iterators over XML trees. The printer has options for printing XHTML in more browser-friendly way when served as "text/html" (instead of "text/xml"). HTML5 is always printed with those options. . All modules provided by TyXML are also provided in functorial interface, where every module is parameterised by the underlying XML representation. . A camlp4 extension, named Pa_tyxml, allows one to write HTML pages or HTML fragments with the usual syntax. . This package contains the development files needed to use TyXML. Package: libtyxml-ocaml Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Description: typed XML in OCaml (plugins) TyXML allows one to build XML trees whose validity is ensured by the typechecker. It's based on a translation of XML types into polymorphic variants, originally written by Thorsten Ohl. Currently, the transcription has been done for XHTML 1.0 and 1.1, HTML5 and SVG (partial). . TyXML also provides a generic printer and some low-level (and untyped) iterators over XML trees. The printer has options for printing XHTML in more browser-friendly way when served as "text/html" (instead of "text/xml"). HTML5 is always printed with those options. . All modules provided by TyXML are also provided in functorial interface, where every module is parameterised by the underlying XML representation. . A camlp4 extension, named Pa_tyxml, allows one to write HTML pages or HTML fragments with the usual syntax. . This package contains dynamically loadable modules for plugins. Package: libtyxml-ocaml-doc Architecture: all Section: doc Depends: ${misc:Depends} Description: typed XML in OCaml (documentation) TyXML allows one to build XML trees whose validity is ensured by the typechecker. It's based on a translation of XML types into polymorphic variants, originally written by Thorsten Ohl. Currently, the transcription has been done for XHTML 1.0 and 1.1, HTML5 and SVG (partial). . TyXML also provides a generic printer and some low-level (and untyped) iterators over XML trees. The printer has options for printing XHTML in more browser-friendly way when served as "text/html" (instead of "text/xml"). HTML5 is always printed with those options. . All modules provided by TyXML are also provided in functorial interface, where every module is parameterised by the underlying XML representation. . A camlp4 extension, named Pa_tyxml, allows one to write HTML pages or HTML fragments with the usual syntax. . This package contains the documentation of TyXML. debian/source/0000755000000000000000000000000012237556005010473 5ustar debian/source/format0000644000000000000000000000001412237556005011701 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000507212237556005011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: The Ocsigen Team Files: * Copyright: 2004, Thorsten Ohl 2007-2011, Vincent Balat and many others License: LGPL-2.1+ and other Files: lib/Makefile Copyright: 2004, Thorsten Ohl License: GPL-2+ Files: debian/* Copyright: © 2011 Stéphane Glondu License: LGPL-2.1+ and other License: LGPL-2.1+ and other This program is released under the LGPL version 2.1 with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. . As a special exception to the GNU Library General Public License, you may also link, statically or dynamically, a "work that uses the Library" with a publicly distributed version of the Library to produce an executable file containing portions of the Library, and distribute that executable file under terms of your choice, without any of the additional requirements listed in clause 6 of the GNU Library General Public License. By "a publicly distributed version of the Library", we mean either the unmodified Library, or a modified version of the Library that is distributed under the conditions defined in clause 3 of the GNU Library General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU Library General Public License. . The complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. . 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. . 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. License: GPL-2+ XHTML 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. . XHTML 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. . The complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/libtyxml-ocaml-doc.docs0000644000000000000000000000001512237556005013541 0ustar doc/api-html debian/watch0000644000000000000000000000013512237556005010223 0ustar version=3 opts="uversionmangle=s/-rc/~rc/" \ http://ocsigen.org/download/tyxml-(.*)\.tar\.gz debian/libtyxml-ocaml-dev.install.in0000644000000000000000000000033712237556005014704 0ustar @OCamlStdlibDir@/tyxml/*.mli @OCamlStdlibDir@/tyxml/*.cmi @OCamlStdlibDir@/tyxml/pa_*.cmo OPT: @OCamlStdlibDir@/tyxml/*.o OPT: @OCamlStdlibDir@/tyxml/*.cmx OPT: @OCamlStdlibDir@/tyxml/*.a OPT: @OCamlStdlibDir@/tyxml/*.cmxa debian/compat0000644000000000000000000000000212237556005010371 0ustar 8 debian/rules0000755000000000000000000000154212237556607010265 0ustar #!/usr/bin/make -f # -*- makefile -*- DESTDIR=$(CURDIR)/debian/tmp include /usr/share/ocaml/ocamlvars.mk export OCAMLFIND_DESTDIR := $(DESTDIR)/$(OCAML_STDLIB_DIR) ifeq ($(OCAML_HAVE_OCAMLOPT),yes) BUILD_TARGET := byte opt INSTALL_TARGET := install else BUILD_TARGET := byte INSTALL_TARGET := install-byte endif ifeq ($(OCAML_NATDYNLINK),yes) MAKE_EXTRA_VARS := else MAKE_EXTRA_VARS := NATDYNLINK=NO endif %: dh $@ --with ocaml .PHONY: override_dh_auto_build override_dh_auto_build: $(MAKE) $(MAKE_EXTRA_VARS) $(BUILD_TARGET) .PHONY: override_dh_auto_install override_dh_auto_install: mkdir -p $(OCAMLFIND_DESTDIR) $(MAKE) $(MAKE_EXTRA_VARS) $(INSTALL_TARGET) ifneq ($(findstring libtyxml-ocaml-doc,$(shell dh_listpackages)),) $(MAKE) $(MAKE_EXTRA_VARS) doc endif .PHONY: override_dh_install override_dh_install: dh_install --fail-missing debian/libtyxml-ocaml-doc.doc-base0000644000000000000000000000050212237556005014267 0ustar Document: tyxml-api-html Title: HTML API documentation of TyXML Author: Thorsten Ohl, Vincent Balat and others Abstract: Documentation of TyXML (generated by ocamldoc) Section: Programming/OCaml Format: HTML Index: /usr/share/doc/libtyxml-ocaml-doc/api-html/index.html Files: /usr/share/doc/libtyxml-ocaml-doc/api-html/* debian/gbp.conf0000644000000000000000000000003612237556005010611 0ustar [DEFAULT] pristine-tar = True debian/libtyxml-ocaml.install.in0000644000000000000000000000025312237556005014125 0ustar @OCamlStdlibDir@/tyxml/META @OCamlStdlibDir@/tyxml/*.cma @OCamlStdlibDir@/tyxml/xmllexer.cmo @OCamlStdlibDir@/tyxml/simplexmlparser.cmo DYN: @OCamlStdlibDir@/tyxml/*.cmxs debian/clean0000644000000000000000000000000512237556005010173 0ustar META debian/changelog0000644000000000000000000000361412247726705011060 0ustar tyxml (2.2.0-4) unstable; urgency=low * Upload to unstable -- Stéphane Glondu Wed, 04 Dec 2013 23:33:41 +0100 tyxml (2.2.0-3) experimental; urgency=low * Fix compilation with ocamlnet >= 3.6.5 (netstring-pcre) * Disable ocamlduce support * Compile with OCaml >= 4.01 -- Stéphane Glondu Sun, 10 Nov 2013 02:13:22 +0100 tyxml (2.2.0-2) unstable; urgency=low * Bump Standards-Version to 3.9.4 * Upload to unstable -- Stéphane Glondu Thu, 09 May 2013 23:16:00 +0200 tyxml (2.2.0-1) experimental; urgency=low * New upstream release -- Stéphane Glondu Fri, 07 Dec 2012 20:27:37 +0100 tyxml (2.1-1) unstable; urgency=low * New upstream release -- Stéphane Glondu Fri, 08 Jun 2012 07:45:24 +0200 tyxml (2.0.2-1) unstable; urgency=low * New upstream release - remove patch (merged upstream) * Switch debian/copyright to format 1.0 * Bump Standards-Version to 3.9.3 -- Stéphane Glondu Tue, 28 Feb 2012 10:14:33 +0100 tyxml (2.0.1c-1) unstable; urgency=low * New upstream release - add Fix-typo-causing-FTBFS-with-ocamlduce.patch * Update debian/watch -- Stéphane Glondu Sat, 31 Dec 2011 13:33:01 +0100 tyxml (2.0.1-1) unstable; urgency=low * New upstream release -- Stéphane Glondu Tue, 22 Nov 2011 07:08:13 +0100 tyxml (2.0-1) unstable; urgency=low * New upstream release -- Stéphane Glondu Thu, 22 Sep 2011 21:11:08 +0200 tyxml (2.0~rc1-1) unstable; urgency=low * New upstream release * Create new runtime binary package libtyxml-ocaml -- Stéphane Glondu Sat, 13 Aug 2011 18:50:07 +0200 tyxml (1.91-1) unstable; urgency=low * Initial release (Closes: #633953) -- Stéphane Glondu Fri, 15 Jul 2011 14:34:52 +0200 debian/patches/0000755000000000000000000000000012237556606010631 5ustar debian/patches/0001-Fix-compilation-with-ocamlnet-3.6.5.patch0000644000000000000000000000177112237556606020520 0ustar From: Stephane Glondu Date: Thu, 6 Jun 2013 11:53:16 +0200 Subject: Fix compilation with ocamlnet 3.6.5 --- files/META.in | 2 +- lib/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/META.in b/files/META.in index e5a2d83..230fbe4 100644 --- a/files/META.in +++ b/files/META.in @@ -2,7 +2,7 @@ _LIBDIR_ description = "XHTML and HTML5 pages typed with polymorphic variants" version = "dev" -requires = "netstring" +requires = "netstring,netstring-pcre" archive(byte) = "_LIBNAME_.cma" archive(native) = "_LIBNAME_.cmxa" diff --git a/lib/Makefile b/lib/Makefile index 3122f1a..510d231 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -13,7 +13,7 @@ DUCE_INTF := xml_sigs_duce.mli xhtml_types_duce.mli xml_print_duce.mli xhtml_du DUCE_FILES := xml_print_duce.ml xhtml_duce.ml -LIBS := -package netstring +LIBS := -package netstring -package netstring-pcre # SYNTAX := -ppopt ../syntax/pa_include.cmo -package camlp4 -syntax camlp4o -- debian/patches/series0000644000000000000000000000005712237556606012050 0ustar 0001-Fix-compilation-with-ocamlnet-3.6.5.patch