debian/0000755000000000000000000000000012247445146007177 5ustar debian/control0000644000000000000000000000276212247445016010605 0ustar Source: sexplib310 Section: ocaml Priority: extra Maintainer: Debian OCaml Maintainers Uploaders: Lifeng Sun Build-Depends: debhelper (>= 9), ocaml-nox (>= 4.00.0), ocaml-findlib (>= 1.3.2), camlp4, camlp4-extra, libtype-conv-camlp4-dev (>= 109.28.00), dh-ocaml (>= 0.9~) Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ocaml-maint/packages/sexplib310.git Vcs-Git: git://anonscm.debian.org/pkg-ocaml-maint/packages/sexplib310.git Homepage: http://janestreet.github.io/ Package: libsexplib-camlp4-dev Provides: libsexplib-ocaml-dev, ${ocaml:Provides} Architecture: any Depends: ocaml-findlib, camlp4, ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Description: automated conversions between OCaml-values and S-expressions Sexplib library contains functionality for parsing and pretty-printing S-expressions. . Sexplib also contains a preprocessing module for Camlp4, which can be used to automatically generate code from type definitions for efficiently converting OCaml-values to S-expressions and vice versa. In combination with the parsing and pretty-printing functionality this frees users from having to write their own I/O-routines for the datastructures they define. Possible errors during automatic conversions from S-expressions to OCaml-values are reported in a very human-readable way. . Another module contained in Sexplib you to extract and replace sub-expressions in S-expressions. debian/TODO0000644000000000000000000000026512247445016007666 0ustar - create ocamldoc HTML documentation and ship it (naively invoke the ocamldoc feature of the ocaml.mk CDBS class does not work out of the box, due to module packing or similar) debian/README.Debian0000644000000000000000000000300612247445016011233 0ustar Syntax extension usage ====================== The easiest way to use Sexplib syntax extension is via findlib. To compile sources which are using it invoke findlib passing "-syntax camlp4o" and providing the "sexplib.syntax" package. For example: /tmp$ cp /usr/share/doc/libsexplib-camlp4-dev/examples/conv_test.ml /tmp /tmp$ ocamlfind ocamlc -linkpkg -package sexplib.syntax -syntax camlp4o -o conv_test conv_test.ml Similarly, to try the syntax extension in the toplevel: $ ledit ocaml Objective Caml version 3.10.1 # #use "topfind";; - : unit = () Findlib has been successfully loaded. Additional directives: # #camlp4o;; /usr/lib/ocaml/3.10.1/camlp4: added to search path /usr/lib/ocaml/3.10.1/camlp4/camlp4o.cma: loaded Camlp4 Parsing version 3.10.1 # #require "sexplib.syntax";; /usr/local/lib/ocaml/3.10.1/type-conv/pa_type_conv.cmo: loaded /usr/lib/ocaml/3.10.1/sexplib/pa_sexp_conv.cmo: loaded # type foo = Foo with sexp;; type foo = Foo val foo_of_sexp__ : Sexplib.Sexp.t -> foo = val foo_of_sexp : Sexplib.Sexp.t -> foo = val sexp_of_foo : foo -> Sexplib.Sexp.t = OCaml 3.10 ========== The only series of Sexplib supported in Debian is that for OCaml 3.10 or above, and the matching new CamlP4. If you want a Sexplib for OCaml << 3.10 you will need to compile it by yourself; old tarballs are available at http://www.ocaml.info/home/ocaml_sources.html . -- Stefano Zacchiroli Sat, 03 May 2008 14:59:47 +0200 debian/libsexplib-camlp4-dev.ocamldoc0000644000000000000000000000002412247445016014761 0ustar --doc-base-generate debian/source/0000755000000000000000000000000012247445016010473 5ustar debian/source/format0000644000000000000000000000001412247445016011701 0ustar 3.0 (quilt) debian/docs0000644000000000000000000000001212247445016010037 0ustar README.md debian/copyright0000644000000000000000000000374312247445016011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Packaged-By: Stefano Zacchiroli Packaged-Date: Sat, 03 May 2008 11:54:13 +0200. Files: * Copyright: 2005-2008, Markus Mottl 2005-2008, Jane Street Holding, LLC License: LGPL-2.1-ocaml Files: lib/pa_sexp_conv.ml lib/pa_sexp_conv.mli Copyright: © 2005-2008 Markus Mottl © 2005-2008 Jane Street Holding, LLC © 2004-2005 Martin Sandin License: LGPL-2.1-ocaml Files: debian/* Copyright: 2008, Stefano Zacchiroli License: GPL-3+ The Debian packaging is copyright Stefano Zacchiroli, and licensed under the GNU General Public License, see `/usr/share/common-licenses/GPL-3' for the full text. License: LGPL-2.1-ocaml As a special exception to the GNU Lesser General Public License, you may 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 Lesser General Public License. By "a publicly distributed version of the Library", we mean either the unmodified Library as distributed by the authors, or a modified version of the Library that is distributed under the conditions defined in clause 3 of the GNU Lesser General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU Lesser General Public License. . The Library is distributed under the terms of the GNU Lesser General Public License version 2.1, with the special exception to it reported above. . The full text of the GNU Lessere General Public License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. debian/watch0000644000000000000000000000016712247445016010230 0ustar version=3 opts=uversionmangle=s/-rc/~rc/ https://github.com/janestreet/sexplib/tags /.*/archive/([\d\.\-rc]+)\.tar\.gz debian/compat0000644000000000000000000000000212247445016010371 0ustar 9 debian/rules0000755000000000000000000000137512247445016010261 0ustar #!/usr/bin/make -f include /usr/share/ocaml/ocamlvars.mk DESTDIR=$(CURDIR)/debian/libsexplib-camlp4-dev OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR) export OCAMLFIND_DESTDIR %: dh $@ --with ocaml .PHONY: override_dh_auto_configure override_dh_auto_configure: ocaml setup.ml -configure --prefix /usr --destdir '$(DESTDIR)' --docdir /usr/share/doc/libsexplib-camlp4-dev/html/api .PHONY: override_dh_auto_build override_dh_auto_build: ocaml setup.ml -build ocaml setup.ml -doc .PHONY: override_dh_auto_test override_dh_auto_test: ocaml setup.ml -test .PHONY: override_dh_auto_install override_dh_auto_install: mkdir -p '$(OCAMLFIND_DESTDIR)' ocaml setup.ml -install .PHONY: override_dh_auto_clean override_dh_auto_clean: ocaml setup.ml -distclean debian/gbp.conf0000644000000000000000000000003612247445046010614 0ustar [DEFAULT] pristine-tar = True debian/libsexplib-camlp4-dev.install.in0000644000000000000000000000005312247445016015255 0ustar lib/sexp_intf.ml @OCamlStdlibDir@/sexplib/ debian/changelog0000644000000000000000000001144712247445016011054 0ustar sexplib310 (109.20.00-2) unstable; urgency=low * Team upload * Upload to unstable -- Stéphane Glondu Tue, 03 Dec 2013 21:36:45 +0100 sexplib310 (109.20.00-1) experimental; urgency=low * New upstream release. * Add myself to Uploaders. * Update debian/watch. -- Lifeng Sun Tue, 23 Jul 2013 21:12:11 +0800 sexplib310 (7.0.5-1) unstable; urgency=low [ Stéphane Glondu ] * Team upload * New upstream release (Closes: #713343) - bump type-conv version requirement * Update debian/watch * Update debian/control: Vcs-*, Homepage * Bump debhelper compat level to 9 * Switch debian/copyright to format version 1.0 * Bump Standards-Version to 3.9.4 * Add doc-base support [ Sylvain Le Gall ] * Remove Sylvain Le Gall from uploaders -- Stéphane Glondu Sat, 22 Jun 2013 17:39:48 +0200 sexplib310 (7.0.4-2) unstable; urgency=low * Team upload. * Improve documentation with respect to changes occured in 7.0.4 (Closes: #656307) - add 0001-Improved-documentation.patch -- Mehdi Dogguy Wed, 18 Jan 2012 13:03:39 +0100 sexplib310 (7.0.4-1) unstable; urgency=low * Team upload * New upstream release - build-depends on type-conv >= 3.0.4 * Switch Homepage and debian/watch to forge.ocamlcore.org * Bump Standards-Version to 3.9.2 (no changes) -- Stéphane Glondu Fri, 11 Nov 2011 19:57:30 +0100 sexplib310 (5.2.1-1) unstable; urgency=low [ Stéphane Glondu ] * Team upload * New upstream release * debian/control: - remove Stefano from Uploaders - bump Standards-Version to 3.9.1 * Switch source package format to 3.0 (quilt) * Bump debhelper compat level to 8 [ Sylvain Le Gall ] * Scan www.janestreet.com for new version * Switch do dh7 build system -- Stéphane Glondu Thu, 09 Jun 2011 08:51:02 +0200 sexplib310 (4.2.16-1) unstable; urgency=low * New upstream release * Get rid of topgit, packaging now uses plain old quilt * Switch packaging to dh-ocaml * debian/rules: switch debhelper.mk w/ ocaml.mk (avoid *.log leftovers) * debian/control: bump Standards-Version to 3.8.3 (no changes needed) -- Stefano Zacchiroli Mon, 09 Nov 2009 18:26:53 +0100 sexplib310 (4.2.11-2) unstable; urgency=low * Generate ocamldoc documentation * Use topgit "build" branch which contains missing patches of the former upload * Set debian-branch to build in gbp.conf -- Sylvain Le Gall Fri, 10 Jul 2009 22:05:54 +0000 sexplib310 (4.2.11-1) unstable; urgency=low * New Upstream Version * Add debian/gbp.conf to force using pristine-tar * Upgrade standards-version to 3.8.2 (section ocaml) * Add some more fields to debian/copyright file * Tighten build-depends to ease OCaml 3.11.1 transition -- Sylvain Le Gall Tue, 07 Jul 2009 00:43:06 +0200 sexplib310 (4.2.6-3) unstable; urgency=low * debian/patches/debian/byte-build: build toplevel-library also when "byte" is invoked. Fix FTBFS on byte archs (Closes: #517838) -- Stefano Zacchiroli Mon, 02 Mar 2009 23:20:35 +0100 sexplib310 (4.2.6-2) unstable; urgency=low * upload to unstable * debian/rules: use ocaml.mk as a CDBS "rules" snippet * debian/control: - tighten build-deps to induce dep-waits - build dep on the minimum findlib version with a META.num not fubar-ed (i.e., >= 1.2.4-2) * debian/copyright: fix typo in common license file reference -- Stefano Zacchiroli Sat, 28 Feb 2009 23:24:28 +0100 sexplib310 (4.2.6-1) experimental; urgency=low * new upstream release * rebuild against OCaml 3.11 (stricten deps on ocaml) * debian/control: - bump Standars-Version to 3.8.0 (no changes needed) - add build-dep on dh-ocaml (which now ships the CDBS class) * update homepage information (both in control and watch files) * debian/copyright: refer to proper file under ../common-licenses/ * port debian-specific patches to topgit and use it to generate the quilt series, see debian/README.source -- Stefano Zacchiroli Mon, 02 Feb 2009 17:38:44 +0100 sexplib310 (3.7.4-3) unstable; urgency=low * upload to unstable -- Stefano Zacchiroli Fri, 09 May 2008 13:37:44 +0200 sexplib310 (3.7.4-2) experimental; urgency=low * add build-dep on camlp4-extra (fix FTBFS) * fix debian/copyright pattern matching pa_sexp_conv: was missing "lib/" * Makefile: fix typo in a .PHONY declaration * rename TODO.Debian to TODO to match debhelper naming convention -- Stefano Zacchiroli Mon, 05 May 2008 10:32:10 +0200 sexplib310 (3.7.4-1) experimental; urgency=low * Initial release (Closes: #479160) -- Stefano Zacchiroli Sat, 03 May 2008 11:54:13 +0200 debian/examples0000644000000000000000000000003612247445016010733 0ustar lib_test/*.ml lib_test/*.sexp