debian/0000755000000000000000000000000012250274314007166 5ustar debian/liblwt-ocaml-doc.doc-base.api0000644000000000000000000000045112237357726014504 0ustar Document: liblwt-ocaml-doc-ocamldoc-api-reference Title: Lwt OCamldoc API Reference Abstract: API reference manual for liblwt-*-dev (generated via OCamldoc) Section: Programming/OCaml Format: HTML Index: /usr/share/doc/liblwt-ocaml-dev/api/index.html Files: /usr/share/doc/liblwt-ocaml-dev/api/* debian/control0000644000000000000000000001275312237357726010617 0ustar Source: lwt Priority: optional Maintainer: Debian OCaml Maintainers Uploaders: Stéphane Glondu , Nicolas Dandrimont Build-Depends: debhelper (>= 8), dh-ocaml (>= 0.9), libev-dev, ocaml-findlib (>= 1.4), libfindlib-ocaml-dev, libssl-ocaml-dev (>= 0.4.3-3~), liblablgtk2-ocaml-dev (>= 2.12.0-4~), libreact-ocaml-dev (>= 0.9.1-1~), libtext-ocaml-dev (>= 0.4), camlp4, ocaml-compiler-libs, ocaml-nox (>= 4), # Needed for debian/modules.ml script libpcre-ocaml-dev, libfileutils-ocaml-dev Standards-Version: 3.9.4 Section: ocaml Homepage: http://ocsigen.org/lwt Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ocaml-maint/packages/lwt.git Vcs-Git: git://anonscm.debian.org/pkg-ocaml-maint/packages/lwt.git Package: liblwt-ocaml-dev Architecture: any Depends: libev-dev, ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Recommends: liblwt-ocaml-doc, ocaml-findlib Suggests: liblwt-ssl-ocaml-dev, liblwt-glib-ocaml-dev Breaks: ocsigen (<< 1.2.1) Description: cooperative light-weight thread library for OCaml Lwt is a library of cooperative threads implemented in monadic style. With respect to preemptive threads, cooperative threads are not using a scheduler to distribute processor time between threads. Instead of this, each thread must tell the others that he wants to let them work. . This package contains all the development stuff you need to use the core Lwt OCaml library in your programs. Package: liblwt-ocaml Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Replaces: liblwt-ocaml-dev (<< 2.3.0) Breaks: liblwt-ocaml-dev (<< 2.3.0) Description: cooperative light-weight thread library for OCaml (runtime) Lwt is a library of cooperative threads implemented in monadic style. With respect to preemptive threads, cooperative threads are not using a scheduler to distribute processor time between threads. Instead of this, each thread must tell the others that he wants to let them work. . This package contains runtime libraries for programs using core Lwt. Package: liblwt-ssl-ocaml-dev Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Replaces: liblwt-ocaml-dev (<= 2.3.0) Breaks: liblwt-ocaml-dev (<= 2.3.0) Recommends: liblwt-ocaml-doc, ocaml-findlib Description: cooperative OpenSSL bindings for OCaml Lwt is a library of cooperative threads implemented in monadic style. With respect to preemptive threads, cooperative threads are not using a scheduler to distribute processor time between threads. Instead of this, each thread must tell the others that he wants to let them work. . This package contains all the development stuff you need to use Lwt with cooperative OpenSSL in your programs. Package: liblwt-ssl-ocaml Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Replaces: liblwt-ocaml-dev (<= 2.3.0) Breaks: liblwt-ocaml-dev (<= 2.3.0) Description: cooperative OpenSSL bindings for OCaml (runtime) Lwt is a library of cooperative threads implemented in monadic style. With respect to preemptive threads, cooperative threads are not using a scheduler to distribute processor time between threads. Instead of this, each thread must tell the others that he wants to let them work. . This package contains runtime libraries for programs using Lwt with cooperative OpenSSL. Package: liblwt-glib-ocaml-dev Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Replaces: liblwt-ocaml-dev (<= 2.3.0) Breaks: liblwt-ocaml-dev (<= 2.3.0) Recommends: liblwt-ocaml-doc, ocaml-findlib Description: cooperative GLib bindings for OCaml Lwt is a library of cooperative threads implemented in monadic style. With respect to preemptive threads, cooperative threads are not using a scheduler to distribute processor time between threads. Instead of this, each thread must tell the others that he wants to let them work. . This package contains all the development stuff you need to use Lwt with cooperative GLib in your programs. Package: liblwt-glib-ocaml Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Replaces: liblwt-ocaml-dev (<= 2.3.0) Breaks: liblwt-ocaml-dev (<= 2.3.0) Description: cooperative GLib bindings for OCaml (runtime) Lwt is a library of cooperative threads implemented in monadic style. With respect to preemptive threads, cooperative threads are not using a scheduler to distribute processor time between threads. Instead of this, each thread must tell the others that he wants to let them work. . This package contains runtime libraries for programs using Lwt with cooperative GLib. Package: liblwt-ocaml-doc Section: doc Architecture: all Enhances: liblwt-ocaml-dev, liblwt-ssl-ocaml-dev, liblwt-glib-ocaml-dev Depends: ${misc:Depends} Replaces: liblwt-ocaml-dev (<= 2.3.0) Breaks: liblwt-ocaml-dev (<= 2.3.0) Description: cooperative light-weight thread library (documentation) Lwt is a library of cooperative threads implemented in monadic style. With respect to preemptive threads, cooperative threads are not using a scheduler to distribute processor time between threads. Instead of this, each thread must tell the others that he wants to let them work. . This package contains the complete API reference for Lwt, including OpenSSL, GLib bindings and examples. debian/liblwt-ocaml-doc.install0000644000000000000000000000004012237357726013717 0ustar /usr/share/doc/liblwt-ocaml-dev debian/source/0000755000000000000000000000000012237357726010504 5ustar debian/source/format0000644000000000000000000000001412237357726011712 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000001202012237357726011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Packaged-By: Stéphane Glondu Packaged-Date: Fri, 27 Jun 2008 00:47:45 +0200 Source: http://ocsigen.org/lwt/ Upstream-Contact: The Ocsigen Team Files: * Copyright: 1999-2013, Jérôme Vouillon and others License: LGPL-2.1-exception 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. Files: examples/* Copyright: 2009, Jérémie Dimino License: BSD-C3 All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Jeremie Dimino nor the names of his contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: src/lwt_monitor.ml* src/lwt_mvar.ml* Copyright: 2009, Metaweb Technologies, Inc License: BSD-C2 All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY METAWEB TECHNOLOGIES ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL METAWEB TECHNOLOGIES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2008-2013, Stéphane Glondu License: LGPL-2.1 The Debian packaging is released under the GNU Lesser General Public License version 2.1 or later. Its complete text can be found in `/usr/share/common-licenses/LGPL-2.1'. debian/watch0000644000000000000000000000020012237357726010225 0ustar # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 http://ocsigen.org/download/lwt-(.*)\.tar\.gz debian/compat0000644000000000000000000000000212237357726010402 0ustar 8 debian/liblwt-ocaml-doc.doc-base.manual0000644000000000000000000000024412237357726015210 0ustar Document: liblwt-ocaml-doc-manual Title: Lwt manual Abstract: Lwt manual Section: Programming/OCaml Format: PDF Files: /usr/share/doc/liblwt-ocaml-dev/manual.pdf* debian/liblwt-ocaml.dirs.in0000644000000000000000000000001612237357726013057 0ustar @OCamlDllDir@ debian/modules.ml0000644000000000000000000000663112237357726011214 0ustar (* This script fills in debian/*.install files, based on dispatching of *.cma files. *) #use "topfind";; #require "unix";; #require "fileutils";; #require "pcre";; let dll_dir = Sys.getenv "OCAML_DLL_DIR" let is_native = Sys.getenv "OCAML_HAVE_OCAMLOPT" = "yes" let has_natdynlink = Sys.getenv "OCAML_NATDYNLINK" = "yes" let dh_verbose = if (try Sys.getenv "DH_VERBOSE" = "1" with Not_found -> false) then (fun fmt -> Printf.printf fmt) else (fun fmt -> Printf.ifprintf stderr fmt) let is_private = function | "Pa_lwt_options" | "Lwt_log_rules" | "Lwt_ocaml_completion" | "Lwt_simple_top" | "Lwt_unix_jobs_generated" -> true | _ -> false let suffix = function | "lwt-glib" -> "-glib" | "lwt-react" -> "" | "lwt-ssl" -> "-ssl" | "lwt-extra" -> "" | "lwt-syntax-log" -> "" | "lwt-text" -> "" | "lwt-syntax-options" -> "" | "lwt-unix" -> "" | "lwt-syntax" -> "" | "lwt-top" -> "" | "lwt-preemptive" -> "" | "lwt-simple-top" -> "" | "lwt" -> "" | _ -> assert false let chop_prefix x = let n = String.length x in assert (n > 10 && String.sub x 0 10 = "debian/tmp"); String.sub x 10 (n-10) exception Objinfo_error of string * Unix.process_status let split_dll = let rex = Pcre.regexp " *-l" in fun line -> List.tl (Pcre.split ~rex line) let print_cma () cma = let component = suffix (Filename.chop_suffix (Filename.basename cma) ".cma") in let () = dh_verbose "Generating module data for %s, going to lwt%s...\n%!" cma component in let flags = [Open_creat; Open_append] in let dev = open_out_gen flags 0o644 (Printf.sprintf "debian/liblwt%s-ocaml-dev.install" component) in let runtime = open_out_gen flags 0o644 (Printf.sprintf "debian/liblwt%s-ocaml.install" component) in let () = Printf.fprintf runtime "%s\n" (chop_prefix cma) in let () = let x = Filename.chop_suffix cma ".cma" in if is_native then ( Printf.fprintf dev "%s\n" (chop_prefix x ^ ".cmxa"); Printf.fprintf dev "%s\n" (chop_prefix x ^ ".a"); ); if has_natdynlink then ( Printf.fprintf runtime "%s\n" (chop_prefix x ^ ".cmxs"); ); in let dlls, modules = let objinfo = Printf.ksprintf Unix.open_process_in "ocamlobjinfo %s | sed -nr 's/^(Unit name|Extra dynamically.*): //p'" cma in let close () = match Unix.close_process_in objinfo with | Unix.WEXITED 0 -> () | r -> raise (Objinfo_error (cma, r)) in let rec slurp accu = match (try Some (input_line objinfo) with End_of_file -> close (); None) with | Some x -> slurp (x::accu) | None -> accu in match List.rev (slurp []) with | x::xs when String.length x > 1 && x.[0] = '-' -> split_dll x, xs | xs -> [], xs in let dirname = Filename.dirname cma in let print_module mname = let m = Filename.concat dirname (String.uncapitalize mname) in if is_native then Printf.fprintf dev "%s\n" (chop_prefix (m^".cmx")); if not (is_private mname) then ( Printf.fprintf dev "%s\n" (chop_prefix (m^".cmi")); Printf.fprintf dev "%s\n" (chop_prefix (m^".mli")); ) in let print_dll m = let b = chop_prefix dirname in Printf.fprintf runtime "%s %s\n" (Filename.concat b ("dll"^m^".so")) dll_dir; Printf.fprintf dev "%s\n" (Filename.concat b ("lib"^m^".a")) in List.iter print_module modules; List.iter print_dll dlls; close_out dev; close_out runtime ;; FileUtil.find (FileUtil.Has_extension "cma") "debian/tmp" print_cma ();; debian/liblwt-ocaml-dev.install.in0000644000000000000000000000017312237357726014344 0ustar /usr/bin/lwt-toplevel @OCamlStdlibDir@/lwt/lwt_config.h @OCamlStdlibDir@/lwt/lwt_config.ml @OCamlStdlibDir@/lwt/lwt_unix.h debian/rules0000755000000000000000000000214412237357726010265 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DESTDIR=$(CURDIR)/debian/tmp include /usr/share/ocaml/ocamlvars.mk export OCAML_DLL_DIR export OCAML_HAVE_OCAMLOPT export OCAML_NATDYNLINK export OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR) export OCAMLFIND_LDCONF=ignore # Needed for running tests on bytecode architectures export CAML_LD_LIBRARY_PATH=$(CURDIR)/_build/src/unix %: dh $@ --with ocaml .PHONY: override_dh_auto_configure override_dh_auto_configure: ocaml setup.ml -configure --prefix /usr --destdir '$(DESTDIR)' --enable-all --docdir /usr/share/doc/liblwt-ocaml-dev .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_install override_dh_install: ocaml debian/modules.ml dh_install --fail-missing .PHONY: override_dh_auto_clean override_dh_auto_clean: ocaml setup.ml -distclean debian/gbp.conf0000644000000000000000000000003612237357726010622 0ustar [DEFAULT] pristine-tar = True debian/clean0000644000000000000000000000024612237357726010213 0ustar debian/liblwt-glib-ocaml-dev.install debian/liblwt-glib-ocaml.install debian/liblwt-ocaml.install debian/liblwt-ssl-ocaml-dev.install debian/liblwt-ssl-ocaml.install debian/changelog0000644000000000000000000001224412247726423011054 0ustar lwt (2.4.3-4) unstable; urgency=low * Upload to unstable -- Stéphane Glondu Wed, 04 Dec 2013 23:30:43 +0100 lwt (2.4.3-3) experimental; urgency=low * debian/patches: + Add Unix.O_CLOEXEC flag to Lwt_unix (for OCaml >= 4.01) -- Stéphane Glondu Sat, 09 Nov 2013 08:11:43 +0100 lwt (2.4.3-2) experimental; urgency=low * Compile with OCaml >= 4 * Update Vcs-* -- Stéphane Glondu Fri, 26 Jul 2013 22:03:43 +0200 lwt (2.4.3-1) unstable; urgency=low * New upstream release * Use format version 1.0 in debian/copyright * Bump Standards-Version to 3.9.4 * Upload to unstable -- Stéphane Glondu Thu, 09 May 2013 17:28:49 +0200 lwt (2.4.2-1) experimental; urgency=low * New upstream release -- Stéphane Glondu Fri, 07 Dec 2012 11:15:41 +0100 lwt (2.3.2-1) unstable; urgency=low * New upstream release - remove fix-a-race-condition-in-Lwt_io.patch (applied upstream) - remove fix-data-corruption-in-Lwt_io.patch (applied upstream) - add Remove-buggy-dependencies-causing-FTBFS-on-no-natdyn.patch * Update debian/watch -- Stéphane Glondu Sat, 31 Dec 2011 12:37:11 +0100 lwt (2.3.1-1) unstable; urgency=low * New upstream release - patches removed because they were applied upstream: Fix-FTBFS-on-hurd, Fix-link-order-in-library-detection-test - new patches cherry-picked from upstream: fix-a-race-condition-in-Lwt_io, fix-data-corruption-in-Lwt_io -- Stéphane Glondu Thu, 28 Jul 2011 22:54:23 +0200 lwt (2.3.0-3) unstable; urgency=low * Fix link order in library detection test (fixes FTBFS on Ubuntu) -- Stéphane Glondu Tue, 12 Jul 2011 09:09:39 +0200 lwt (2.3.0-2) unstable; urgency=low * Fix FTBFS on Hurd due to use of PATH_MAX and HOSTNAME_MAX -- Nicolas Dandrimont Fri, 27 May 2011 01:16:15 +0200 lwt (2.3.0-1) unstable; urgency=low [ Stéphane Glondu ] * New upstream release 2.2.1 - add dependency to libev-dev (Closes: #612768) * Bump Standards-Version to 3.9.1 * Bump debhelper compatibility level to 8 [ Nicolas Dandrimont ] * Update to upstream release 2.3.0 * Install the .cmxs and .cma files in the library packages * Add package liblwt-ssl-ocaml (Cooperative OpenSSL bindings runtime) * Install META in liblwt-ocaml (Closes: #587472) * Bump Standards-Version to 3.9.2 (no changes) -- Nicolas Dandrimont Sun, 24 Apr 2011 11:30:49 +0200 lwt (2.1.1-1) unstable; urgency=low * New upstream release (Closes: #580322) * Add libfindlib-ocaml-dev to Build-Depends -- Stéphane Glondu Sun, 13 Jun 2010 11:33:56 +0200 lwt (2.1.0-1) unstable; urgency=low * New upstream release * debian/control: - bump priority to optional - bump versioned build-dependency to libreact-ocaml-dev to ease react transition - bump Standards-Version to 3.8.4 (no changes) * Switch source package to format 3.0 (quilt) -- Stéphane Glondu Fri, 23 Apr 2010 15:19:47 +0200 lwt (2.0.0-1) unstable; urgency=low * New upstream release * Switch packaging to dh-ocaml 0.9 * Upload to unstable -- Stéphane Glondu Thu, 15 Oct 2009 23:58:46 +0200 lwt (2.0.0~rc1-1) experimental; urgency=low * New upstream release candidate * Update debian/copyright -- Stéphane Glondu Fri, 25 Sep 2009 23:00:10 +0200 lwt (1.1.0+darcs20090806-3) experimental; urgency=low * Update my e-mail address, remove DMUA * Fix META.in so that lwt exists on bytecode architectures (Closes: #544316) -- Stéphane Glondu Sun, 30 Aug 2009 19:15:16 +0200 lwt (1.1.0+darcs20090806-2) experimental; urgency=low * Create a runtime package for liblwt-ocaml-dev * Put documentation in its own architecture-independent package * Split out liblwt-ocaml-dev into several binary packages to reflect optional dependencies: liblwt-ssl-*, liblwt-glib-* -- Stephane Glondu Tue, 25 Aug 2009 01:51:47 +0200 lwt (1.1.0+darcs20090806-1) experimental; urgency=low * New upstream snapshot - this version comes with an important API incompatibility regarding Lwt.{wait,wakeup} and friends (breaks ocsigen) * debian/control: - move to section ocaml, update Standards-Version to 3.8.3 - add (build-)dependencies to lib{react,text,lablgtk2}-ocaml-dev, ocaml-compiler-libs and camlp4 * Update watch file -- Stephane Glondu Thu, 20 Aug 2009 17:12:13 +0200 lwt (1.1.0-3) unstable; urgency=low * Add dependency on dh-ocaml * Use ocaml.mk as "rules" file, instead of "class" * Bump version of libssl-ocaml-dev in dependencies * Set priority to extra -- Stephane Glondu Mon, 02 Mar 2009 21:30:53 +0100 lwt (1.1.0-2) unstable; urgency=low * Upload after erroneous removal from archive (no changes) -- Stephane Glondu Fri, 11 Jul 2008 13:20:06 +0200 lwt (1.1.0-1) unstable; urgency=low * Initial release (Closes: #487997) -- Stephane Glondu Fri, 27 Jun 2008 00:47:45 +0200 debian/patches/0000755000000000000000000000000012237357726010633 5ustar debian/patches/0001-Do-not-build-manual-manual.pdf.patch0000644000000000000000000000275412237357726017775 0ustar From: Nicolas Dandrimont Date: Tue, 19 Apr 2011 09:32:12 +0200 Subject: Do not build manual/manual.pdf --- setup.ml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.ml b/setup.ml index e39d5ab..12fea33 100644 --- a/setup.ml +++ b/setup.ml @@ -5748,7 +5748,7 @@ let setup_t = CustomPlugin.cmd_main = [ (OASISExpr.EBool true, - ("make", ["-C"; "manual"; "manual.pdf"])) + ("true", [])) ]; cmd_clean = [(OASISExpr.EBool true, None)]; cmd_distclean = [(OASISExpr.EBool true, None)]; @@ -5801,7 +5801,7 @@ let setup_t = CustomPlugin.cmd_main = [ (OASISExpr.EBool true, - ("make", ["-C"; "manual"; "manual.pdf"])) + ("true", [])) ]; cmd_clean = [(OASISExpr.EBool true, None)]; cmd_distclean = [(OASISExpr.EBool true, None)]; @@ -5852,7 +5852,7 @@ let setup_t = CustomPlugin.cmd_main = [ (OASISExpr.EBool true, - ("make", ["-C"; "manual"; "manual.pdf"])) + ("true", [])) ]; cmd_clean = [(OASISExpr.EBool true, None)]; cmd_distclean = [(OASISExpr.EBool true, None)]; -- debian/patches/0002-Add-Unix.O_CLOEXEC-flag-to-Lwt_unix.patch0000644000000000000000000000202612237357726020341 0ustar From: Anil Madhavapeddy Date: Sat, 3 Aug 2013 20:20:55 +0100 Subject: Add Unix.O_CLOEXEC flag to Lwt_unix Origin: https://github.com/ocsigen/lwt/pull/2.patch Signed-off-by: Stephane Glondu --- src/unix/lwt_unix.ml | 3 +++ src/unix/lwt_unix.mli | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/unix/lwt_unix.ml b/src/unix/lwt_unix.ml index 58c2c25..cc3cdba 100644 --- a/src/unix/lwt_unix.ml +++ b/src/unix/lwt_unix.ml @@ -596,6 +596,9 @@ type open_flag = #if ocaml_version >= (3, 13) | O_SHARE_DELETE #endif +#if ocaml_version >= (4, 01) + | O_CLOEXEC +#endif #if windows diff --git a/src/unix/lwt_unix.mli b/src/unix/lwt_unix.mli index c59e8c5..3874fc2 100644 --- a/src/unix/lwt_unix.mli +++ b/src/unix/lwt_unix.mli @@ -315,6 +315,9 @@ type open_flag = #if ocaml_version >= (3, 13) | O_SHARE_DELETE #endif +#if ocaml_version >= (4, 01) + | O_CLOEXEC +#endif val openfile : string -> open_flag list -> file_perm -> file_descr Lwt.t (** Wrapper for [Unix.openfile]. *) -- debian/patches/series0000644000000000000000000000013112237357726012043 0ustar 0001-Do-not-build-manual-manual.pdf.patch 0002-Add-Unix.O_CLOEXEC-flag-to-Lwt_unix.patch debian/liblwt-ocaml.install.in0000644000000000000000000000003212237357726013562 0ustar @OCamlStdlibDir@/lwt/META