debian/0000755000000000000000000000000012261334245007170 5ustar debian/ocaml-mode.dirs0000644000000000000000000000005512247142765012100 0ustar usr/bin usr/share/emacs/site-lisp/ocaml-mode debian/ocaml-nox.preinst0000644000000000000000000000023312247142765012501 0ustar #!/bin/sh set -e if [ ! -h /usr/include/caml ] && [ -e /usr/include/caml ]; then echo "WARNING, /usr/include/caml is not a symlink !!!!" fi #DEBHELPER# debian/ocaml.dirs.in0000644000000000000000000000006612247142765011565 0ustar usr/bin usr/share/doc/ocaml/examples @OCamlStdlibDir@ debian/control.in0000644000000000000000000002400212255536115011201 0ustar Source: ocaml Section: ocaml Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian OCaml Maintainers Uploaders: Samuel Mimram , Ralf Treinen , Stéphane Glondu , Mehdi Dogguy Build-Depends: debhelper (>= 9), pkg-config, quilt, autotools-dev, binutils-dev, tcl-dev, tk-dev, libncurses5-dev, bzip2, dh-ocaml (>= 1.0.0~) Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ocaml-maint/packages/ocaml.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ocaml-maint/packages/ocaml.git Homepage: http://caml.inria.fr/ Package: ocaml-nox Architecture: any Depends: ocaml-base-nox, ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends}, libncurses5-dev, ocaml-interp (= ${binary:Version}), gcc, binutils Provides: ${ocaml:Provides}, ${F:BestProvides}, libnums-ocaml-dev Suggests: ocaml-doc, tuareg-mode | ocaml-mode Recommends: camlp4, file Replaces: ocaml-interp (<< 3.11.1-3) Breaks: dh-ocaml (<< 1.0.0), ocaml-interp (<< 3.11.1-3), camlp4 (<< 3.10.0), camlidl (<< 1.04) Description: ML implementation with a class-based object system (no X) Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . OCaml comprises two compilers. One generates bytecode which is then interpreted by a C program. This compiler runs quickly, generates compact code with moderate memory requirements, and is portable to essentially any 32 or 64 bit Unix platform. Performance of generated programs is quite good for a bytecoded implementation: almost twice as fast as Caml Light 0.7. This compiler can be used either as a standalone, batch-oriented compiler that produces standalone programs, or as an interactive, toplevel-based system. . The other compiler generates high-performance native code for a number of processors. Compilation takes longer and generates bigger code, but the generated programs deliver excellent performance, while retaining the moderate memory requirements of the bytecode compiler. It is not available on all arches though. . This package contains everything needed to develop OCaml applications that do not require the graphics library. Package: camlp4 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends} Provides: ${ocaml:Provides} Description: Pre Processor Pretty Printer for OCaml Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . CamlP4 is a Pre-Processor-Pretty-Printer for Objective Caml. It offers tools for syntax (Stream Parsers and Grammars) and the ability to modify the concrete syntax of the language (Quotations, Syntax Extensions). . This package contains the basic CamlP4 executables and libraries for pre-processing and pretty-printing OCaml sources both interactively and in a batch fashion. Package: camlp4-extra Architecture: any Depends: camlp4, ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends}, ocaml-nox-${F:OCamlABI}, camlp4-${F:OCamlABI} Description: Pre Processor Pretty Printer for OCaml - extras Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . CamlP4 is a Pre-Processor-Pretty-Printer for Objective Caml. It offers tools for syntax (Stream Parsers and Grammars) and the ability to modify the concrete syntax of the language (Quotations, Syntax Extensions). . This package contains pre-linked executables and libraries for pre-processing and pretty-printing OCaml sources out of the box for various common needs. Package: ocaml Architecture: any Depends: ocaml-base-nox, ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends}, libx11-dev Provides: ${ocaml:Provides} Suggests: tcl-dev, tk-dev Replaces: ocaml-nox (<< 3.11.0-2) Description: ML language implementation with a class-based object system Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . OCaml comprises two compilers. One generates bytecode which is then interpreted by a C program. This compiler runs quickly, generates compact code with moderate memory requirements, and is portable to essentially any 32 or 64 bit Unix platform. Performance of generated programs is quite good for a bytecoded implementation: almost twice as fast as Caml Light 0.7. This compiler can be used either as a standalone, batch-oriented compiler that produces standalone programs, or as an interactive, toplevel-based system. . The other compiler generates high-performance native code for a number of processors. Compilation takes longer and generates bigger code, but the generated programs deliver excellent performance, while retaining the moderate memory requirements of the bytecode compiler. It is not available on all arches though. . This package contains everything needed to develop OCaml applications, including the graphics libraries. Package: ocaml-base-nox Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends} Provides: ${ocaml:Provides} Replaces: ocaml-interp (<< 3.11.1-3) Breaks: ocaml-interp (<< 3.11.1-3) Description: Runtime system for OCaml bytecode executables (no X) Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . This package contains only the runtime system needed to run bytecode executables that do not use the graphics library. The 'ocaml' package contains the full development suite of Objective Caml. Package: ocaml-base Architecture: any Depends: ocaml-base-nox, ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends} Provides: ${ocaml:Provides} Description: Runtime system for OCaml bytecode executables Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . This package contains only the runtime system needed to run bytecode executables. The 'ocaml' package contains the full development suite of Objective Caml. You may wish to install the 'ocaml-base-nox' package if you do not require any graphical capabilities for your runtime. Package: ocaml-native-compilers Architecture: @OCamlNativeArchs@ Depends: ocaml-nox (= ${binary:Version}), gcc, binutils, ${shlibs:Depends}, ${misc:Depends} Provides: ocaml-best-compilers Replaces: ocaml-nox (<= 3.09.2-3) Description: Native code compilers of the OCaml suite (the .opt ones) Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . This package contains the native code version of the compilers and lexer (ocamlc.opt, ocamllex.opt, ocamlopt.opt, camlp4o.opt and camlp4r.opt). The normal version of these programs are found in the 'ocaml' package. For big source codes, these packages can be two to three times faster, but for most normal sized sources, the difference won't be noticeable. Package: ocaml-source Architecture: all Depends: ${misc:Depends} Provides: ocaml-source-${F:OCamlABI} Description: Sources for Objective Caml Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . This package contains the sources needed to build some packages which build depend on the OCaml source. Notice that if you want to rebuild OCaml, these will not work, consider using the source package instead. Package: ocaml-interp Architecture: any Depends: ocaml-compiler-libs (= ${binary:Version}), ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ocaml-interp-${F:OCamlABI} Recommends: ledit | readline-editor Description: OCaml interactive interpreter and standard libraries Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . This package contains the files required to run an OCaml shell from the command line. Package: ocaml-compiler-libs Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends}, ocaml-nox-${F:OCamlABI} Provides: ocaml-compiler-libs-${F:OCamlABI} Replaces: ocaml-base-nox (<< 4) Breaks: ocaml-base-nox (<< 4) Description: OCaml interpreter and standard libraries Objective (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . This package contains several modules used internally by the OCaml compilers. They are not needed for normal OCaml development, but may be helpful in the development of certain applications. Package: ocaml-mode Architecture: all Depends: emacs23 | emacsen, ${shlibs:Depends}, ${misc:Depends} Suggests: ocaml Description: major mode for editing Objective Caml in Emacs Objective (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . This package provides support for editing both Objective Caml and Caml Light programs with Emacs and XEmacs. . Caml-mode supports: - indentation - compilation and error retrieving - interaction with the toplevel - font-lock - imenu debian/ocaml-interp.install.in0000644000000000000000000000011512247142765013564 0ustar usr/bin/ocaml usr/share/man/man1/ocaml.1 debian/ocaml.xpm /usr/share/pixmaps debian/ocamlfind/0000755000000000000000000000000012247142765011134 5ustar debian/ocamlfind/ocaml-native-compilers.conf0000644000000000000000000000013412247142765016353 0ustar ocamlc="ocamlc.opt" ocamlopt="ocamlopt.opt" ocamldep="ocamldep.opt" ocamldoc="ocamldoc.opt" debian/ocaml-mode.README.Debian0000644000000000000000000000075612247142765013265 0ustar ocaml-mode for Debian --------------------- WARNING: tuareg-mode may be installed on your system. Since it has a higher priority than ocaml-mode, it will be used for every OCaml file loaded into (X)Emacs. If you absolutely want to override those default settings and use ocaml-mode instead of tuareg-mode, you only need to add the following line to your .emacs: (load-file "/etc/emacs/site-start.d/50ocaml-mode.el") -- Jerome Marant , Sat Sep 3 11:41:37 2005 debian/ld.conf.in0000644000000000000000000000006712247142765011056 0ustar /usr/local/lib/ocaml/@OCamlABI@/stublibs @OCamlDllDir@ debian/camlp4-extra.links0000644000000000000000000000242412247142765012545 0ustar usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4of.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4rf.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4oof.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4orf.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4prof.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4of.opt.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4rf.opt.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4oof.opt.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4orf.opt.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4boot.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4of.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4rf.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4oof.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4orf.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4prof.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4of.opt.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4rf.opt.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4oof.opt.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4orf.opt.1.gz debian/copyright0000644000000000000000000001744112247142765011142 0ustar Packaged-By: Sven Luther Packaged-Date: Fri, 14 Dec 2001 12:44:03 +0100 Upstream-Author: Xavier Leroy, Damien Doligez, Jacques Garrigue, Nicolas Pouillard, Pierre Weis, Jérôme Vouillon, Maxence Guesdon, Alain Frisch Original-Source-Location: http://caml.inria.fr/ Files: * Copyright: © 1996-2008 Institut National de Recherche en Informatique et en Automatique License: QPL-1 | LGPL-2 | other Files: otherlibs/labltk/* Copyright: © 1999-2002 Institut National de Recherche en Informatique et en Automatique and Kyoto University License: LGPL-2 | other Files: emacs/* Copyright: © 1988-1991 Free Software Foundation © 1996-1998 Institut National de Recherche en Informatique et en Automatique © 1996 Ian T Zimmerman License: GPL-2 Files: debian/* Copyright: © 2001-2009 Debian OCaml Maintainers License: LGPL-2 ---------------------------------------------------------------------- In the following, "the Library" refers to all files marked "Copyright INRIA" in the following directories and their sub-directories: asmrun, byterun, camlp4, config, otherlibs, stdlib, win32caml and "the Compiler" refers to all files marked "Copyright INRIA" in the following directories and their sub-directories: asmcomp, boot, bytecomp, debugger, driver, lex, ocamldoc, parsing, tools, toplevel, typing, utils, yacc and the "emacs bindings" refer to all files marked "Copyright INRIA" in the following directory: emacs The Compiler is distributed under the terms of the Q Public License version 1.0 with a change to choice of law (included below). The Library is distributed under the terms of the GNU Library General Public License version 2 (found in /usr/share/common-licenses/LGPL-2 on debian systems). The emacs bindings are distributed under the terms of the GNU General Public License version 2 (found in /usr/share/common-licenses/GPL-2 on debian systems). As a special exception to the Q Public Licence, you may develop application programs, reusable components and other software items that link with the original or modified versions of the Compiler and are not made available to the general public, without any of the additional requirements listed in clause 6c of the Q Public licence. As a special exception to the GNU Library 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 Library General Public License. By "a publicly distributed version of the Library", we mean either the unmodified Library as distributed by INRIA, 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 Q PUBLIC LICENSE version 1.0 Copyright (C) 1999 Troll Tech AS, Norway. Everyone is permitted to copy and distribute this license document. The intent of this license is to establish freedom to share and change the software regulated by this license under the open source model. This license applies to any software containing a notice placed by the copyright holder saying that it may be distributed under the terms of the Q Public License version 1.0. Such software is herein referred to as the Software. This license covers modification and distribution of the Software, use of third-party application programs based on the Software, and development of free software which uses the Software. Granted Rights 1. You are granted the non-exclusive rights set forth in this license provided you agree to and comply with any and all conditions in this license. Whole or partial distribution of the Software, or software items that link with the Software, in any form signifies acceptance of this license. 2. You may copy and distribute the Software in unmodified form provided that the entire package, including - but not restricted to - copyright, trademark notices and disclaimers, as released by the initial developer of the Software, is distributed. 3. You may make modifications to the Software and distribute your modifications, in a form that is separate from the Software, such as patches. The following restrictions apply to modifications: a. Modifications must not alter or remove any copyright notices in the Software. b. When modifications to the Software are released under this license, a non-exclusive royalty-free right is granted to the initial developer of the Software to distribute your modification in future versions of the Software provided such versions remain available under these terms in addition to any other license(s) of the initial developer. 4. You may distribute machine-executable forms of the Software or machine-executable forms of modified versions of the Software, provided that you meet these restrictions: a. You must include this license document in the distribution. b. You must ensure that all recipients of the machine-executable forms are also able to receive the complete machine-readable source code to the distributed Software, including all modifications, without any charge beyond the costs of data transfer, and place prominent notices in the distribution explaining this. c. You must ensure that all modifications included in the machine-executable forms are available under the terms of this license. 5. You may use the original or modified versions of the Software to compile, link and run application programs legally developed by you or by others. 6. You may develop application programs, reusable components and other software items that link with the original or modified versions of the Software. These items, when distributed, are subject to the following requirements: a. You must ensure that all recipients of machine-executable forms of these items are also able to receive and use the complete machine-readable source code to the items without any charge beyond the costs of data transfer. b. You must explicitly license all recipients of your items to use and re-distribute original and modified versions of the items in both machine-executable and source code forms. The recipients must be able to do so without any charges whatsoever, and they must be able to re-distribute to anyone they choose. c. If the items are not available to the general public, and the initial developer of the Software requests a copy of the items, then you must supply one. Limitations of Liability In no event shall the initial developers or copyright holders be liable for any damages whatsoever, including - but not restricted to - lost revenue or profits or other direct, indirect, special, incidental or consequential damages, even if they have been advised of the possibility of such damages, except to the extent invariable law, if any, provides otherwise. No Warranty The Software and this license document are provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Choice of Law This license is governed by the Laws of France. ---------------------------------------------------------------------- debian/ocaml-native-compilers.links0000644000000000000000000000053312247142765014615 0ustar usr/share/man/man1/ocamlc.1.gz usr/share/man/man1/ocamlc.opt.1.gz usr/share/man/man1/ocamldep.1.gz usr/share/man/man1/ocamldep.opt.1.gz usr/share/man/man1/ocamldoc.1.gz usr/share/man/man1/ocamldoc.opt.1.gz usr/share/man/man1/ocamllex.1.gz usr/share/man/man1/ocamllex.opt.1.gz usr/share/man/man1/ocamlopt.1.gz usr/share/man/man1/ocamlopt.opt.1.gz debian/natdynlink-archs0000644000000000000000000000012112247142765012366 0ustar amd64 armel armhf hurd-i386 i386 kfreebsd-i386 kfreebsd-amd64 lpia powerpc sparc debian/camlp4.manpages0000644000000000000000000000002412247142765012071 0ustar debian/man/camlp4.1 debian/gen_modules.pl0000755000000000000000000000447212247142765012050 0ustar #!/usr/bin/perl -w # # Description: generating .install files for ocaml binary packages # # Copyright © 2009 Stéphane Glondu # # 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 Street, Fifth Floor, Boston, MA # 02110-1301 USA. # # # This script takes on its standard input a .install file with # additional lines starting with "STD: ", which denote files that are # installed in OCaml library directory, and outputs the same file with # the special lines replaced. Special care is taken with native files: # # - they are not in the output on bytecode-only architectures # - for each .cmx, .{o,p.cmx,p.o} is added if it exists # - for each .cmxa, .{a,p.cmxa,p.a} is added if it exists # my $opt_arch = $ENV{OCAML_OPT_ARCH}; my $ocaml_stdlib_dir = $ENV{OCAML_STDLIB_DIR}; my $destdir = $ENV{DESTDIR}; sub print_if_existing { my $name = shift; if (-f "${destdir}/${name}") { print "${name}\n"; } } while (<>) { if (s/^STD: //) { my $base; my $ext; s/\n$//; ($base, $ext) = /^(.*)\.([^.]+)$/; $prefix = "${ocaml_stdlib_dir}/${base}"; if ($ext eq "cmx") { if ($opt_arch) { print "${prefix}.cmx\n"; print_if_existing("${prefix}.o"); print_if_existing("${prefix}.p.cmx"); print_if_existing("${prefix}.p.o"); } } elsif ($ext eq "cmxa") { if ($opt_arch) { print "${prefix}.cmxa\n"; print_if_existing("${prefix}.a"); print_if_existing("${prefix}.p.cmxa"); print_if_existing("${prefix}.p.a"); } } else { print "${prefix}.${ext}\n"; } } else { print; } } debian/ocaml-interp.menu0000644000000000000000000000030712247142765012460 0ustar ?package(ocaml-interp):needs="text" section="Applications/Programming" \ title="Ocaml" longtitle="Ocaml Toplevel" \ hints="ocaml" \ command="/usr/bin/ocaml" \ icon="/usr/share/pixmaps/ocaml.xpm" debian/ocaml-source.dirs.in0000644000000000000000000000001012247142765013050 0ustar usr/src debian/ocaml-base-nox.postinst.in0000644000000000000000000000162112247142765014217 0ustar #!/bin/sh set -e if [ ! -e /usr/local/lib/ocaml ]; then if mkdir /usr/local/lib/ocaml 2>/dev/null; then chown root:staff /usr/local/lib/ocaml chmod 2775 /usr/local/lib/ocaml fi fi if [ ! -e /usr/local/lib/ocaml/@OCamlABI@ ]; then if mkdir /usr/local/lib/ocaml/@OCamlABI@ 2>/dev/null; then chown root:staff /usr/local/lib/ocaml/@OCamlABI@ chmod 2775 /usr/local/lib/ocaml/@OCamlABI@ fi fi if [ ! -e /usr/local/lib/ocaml/@OCamlABI@/stublibs ]; then if mkdir /usr/local/lib/ocaml/@OCamlABI@/stublibs 2>/dev/null; then chown root:staff /usr/local/lib/ocaml/@OCamlABI@/stublibs chmod 2775 /usr/local/lib/ocaml/@OCamlABI@/stublibs fi fi for i in /usr/lib/ocaml/3.06 /etc/ocaml /var/lib/ocaml; \ do \ if [ -e $i/ld.conf ]; then \ echo "Removing leftover $i/ld.conf"; \ rm -f $i/ld.conf; \ rmdir --ignore-fail-on-non-empty $i; \ fi; \ done #DEBHELPER# debian/camlp4.install.in0000644000000000000000000000230112247142765012351 0ustar usr/bin/camlp4 usr/bin/camlp4o OPT: usr/bin/camlp4o.opt usr/bin/camlp4r OPT: usr/bin/camlp4r.opt usr/bin/mkcamlp4 @OCamlStdlibDir@/camlp4/Camlp4Bin.cmi @OCamlStdlibDir@/camlp4/Camlp4Bin.cmo OPT: @OCamlStdlibDir@/camlp4/Camlp4Bin.cmx OPT: @OCamlStdlibDir@/camlp4/Camlp4Bin.o @OCamlStdlibDir@/camlp4/Camlp4.cmi @OCamlStdlibDir@/camlp4/Camlp4_config.cmi @OCamlStdlibDir@/camlp4/Camlp4Filters OPT: @OCamlStdlibDir@/camlp4/camlp4fulllib.a @OCamlStdlibDir@/camlp4/camlp4fulllib.cma OPT: @OCamlStdlibDir@/camlp4/camlp4fulllib.cmxa @OCamlStdlibDir@/camlp4/Camlp4_import.cmi OPT: @OCamlStdlibDir@/camlp4/camlp4lib.a @OCamlStdlibDir@/camlp4/camlp4lib.cma OPT: @OCamlStdlibDir@/camlp4/camlp4lib.cmxa @OCamlStdlibDir@/camlp4/camlp4o.cma @OCamlStdlibDir@/camlp4/Camlp4Parsers @OCamlStdlibDir@/camlp4/Camlp4Printers @OCamlStdlibDir@/camlp4/camlp4prof.cmi @OCamlStdlibDir@/camlp4/camlp4prof.cmo OPT: @OCamlStdlibDir@/camlp4/camlp4prof.cmx OPT: @OCamlStdlibDir@/camlp4/camlp4prof.o @OCamlStdlibDir@/camlp4/camlp4r.cma @OCamlStdlibDir@/camlp4/Camlp4Top @OCamlStdlibDir@/camlp4/Camlp4Top.cmi @OCamlStdlibDir@/camlp4/Camlp4Top.cmo debian/ocaml.xpm0000644000000000000000000001425012247142765011023 0ustar /* XPM */ static char * ocaml_32_xpm[] = { "32 32 255 2", " c None", ". c #FFFFFF", "+ c #6666FF", "@ c #CC6666", "# c #6767FF", "$ c #6969FF", "% c #6A6AFF", "& c #6E6EFF", "* c #7070FF", "= c #7373FF", "- c #7575FF", "; c #7777FF", "> c #7979FF", ", c #7A7AFF", "' c #7D7DFF", ") c #7F7FFF", "! c #8383FF", "~ c #8585FF", "{ c #8686FF", "] c #8888FF", "^ c #8D8DFF", "/ c #8F8FFF", "( c #9191FF", "_ c #9494FF", ": c #9797FF", "< c #9999FF", "[ c #9B9BFF", "} c #9C9CFF", "| c #A3A3FF", "1 c #A9A9FF", "2 c #ABABFF", "3 c #ADADFF", "4 c #AFAFFF", "5 c #B1B1FF", "6 c #B5B5FF", "7 c #B8B8FF", "8 c #BABAFF", "9 c #BEBEFF", "0 c #C1C1FF", "a c #C2C2FF", "b c #C4C4FF", "c c #C9C9FF", "d c #CCCCFF", "e c #CFCFFF", "f c #D3D3FF", "g c #D4D4FF", "h c #D6D6FF", "i c #D8D8FF", "j c #DADAFF", "k c #DFDFFF", "l c #E0E0FF", "m c #E5E5FF", "n c #E6E6FF", "o c #E9E9FF", "p c #EBEBFF", "q c #ECECFF", "r c #EFEFFF", "s c #F2F2FF", "t c #F5F5FF", "u c #F7F7FF", "v c #F8F8FF", "w c #FAFAFF", "x c #FDFDFF", "y c #FEFEFF", "z c #C96464", "A c #BD5E5E", "B c #B95C5C", "C c #9D4E4E", "D c #CB6666", "E c #CA6565", "F c #C76464", "G c #C66363", "H c #C46262", "I c #C26161", "J c #BF6060", "K c #BB5E5E", "L c #BA5D5D", "M c #B75C5C", "N c #B65B5B", "O c #B35A5A", "P c #B25959", "Q c #AE5757", "R c #AB5656", "S c #AA5555", "T c #A85454", "U c #A65353", "V c #A35252", "W c #9B4E4E", "X c #964B4B", "Y c #944A4A", "Z c #924949", "` c #904848", " . c #8C4646", ".. c #8B4646", "+. c #884444", "@. c #874444", "#. c #854343", "$. c #824141", "%. c #341A1A", "&. c #CD6868", "*. c #CC6767", "=. c #C26262", "-. c #9E5050", ";. c #653333", ">. c #934B4B", ",. c #793E3E", "'. c #673535", "). c #CE6B6B", "!. c #CD6A6A", "~. c #592E2E", "{. c #B86060", "]. c #613333", "^. c #CE6D6D", "/. c #AA5A5A", "(. c #A45757", "_. c #BE6565", ":. c #CF6F6F", "<. c #CF7070", "[. c #9D5555", "}. c #D07272", "|. c #402323", "1. c #D17474", "2. c #6F3E3E", "3. c #C26D6D", "4. c #BA6868", "5. c #D17676", "6. c #884D4D", "7. c #D27777", "8. c #D27979", "9. c #D47C7C", "0. c #8C5252", "a. c #D37C7C", "b. c #BD7070", "c. c #D58080", "d. c #D47F7F", "e. c #7D4B4B", "f. c #D68383", "g. c #D58282", "h. c #D78585", "i. c #D28383", "j. c #D78787", "k. c #D78888", "l. c #D88989", "m. c #B47373", "n. c #D88B8B", "o. c #A66B6B", "p. c #D98D8D", "q. c #D98E8E", "r. c #CE8787", "s. c #573A3A", "t. c #926262", "u. c #875B5B", "v. c #DB9494", "w. c #D69191", "x. c #8C5F5F", "y. c #BC8080", "z. c #DC9797", "A. c #A97474", "B. c #DD9999", "C. c #4E3636", "D. c #DE9B9B", "E. c #DD9A9A", "F. c #8B6161", "G. c #DE9D9D", "H. c #CC9191", "I. c #DF9F9F", "J. c #DFA0A0", "K. c #D99C9C", "L. c #B18080", "M. c #E0A3A3", "N. c #8F6868", "O. c #E1A5A5", "P. c #E3AAAA", "Q. c #DAA3A3", "R. c #D6A0A0", "S. c #9A7474", "T. c #E3ACAC", "U. c #C49494", "V. c #E4AFAF", "W. c #967373", "X. c #725858", "Y. c #E6B2B2", "Z. c #836666", "`. c #E7B5B5", " + c #DAABAB", ".+ c #E7B7B7", "++ c #C9A0A0", "@+ c #957878", "#+ c #E9BDBD", "$+ c #9D7F7F", "%+ c #655252", "&+ c #E9BEBE", "*+ c #B89999", "=+ c #C9A8A8", "-+ c #ECC6C6", ";+ c #EAC5C5", ">+ c #A58B8B", ",+ c #EDC8C8", "'+ c #786666", ")+ c #EECBCB", "!+ c #EDCACA", "~+ c #867373", "{+ c #EECDCD", "]+ c #D6B8B8", "^+ c #C3A8A8", "/+ c #EFCFCF", "(+ c #EACBCB", "_+ c #E2C4C4", ":+ c #BBA4A4", "<+ c #F0D3D3", "[+ c #AD9999", "}+ c #E8CECE", "|+ c #C3AEAE", "1+ c #F3DADA", "2+ c #F2D9D9", "3+ c #E2CBCB", "4+ c #EAD3D3", "5+ c #A89797", "6+ c #F4DEDE", "7+ c #F3DDDD", "8+ c #9A8D8D", "9+ c #F6E2E2", "0+ c #E9D7D7", "a+ c #A79B9B", "b+ c #A29696", "c+ c #F7E6E6", "d+ c #F6E5E5", "e+ c #F2E2E2", "f+ c #EBDCDC", "g+ c #C8BCBC", "h+ c #F4E6E6", "i+ c #D8CCCC", "j+ c #F8EBEB", "k+ c #F6EAEA", "l+ c #EEE2E2", "m+ c #F9EEEE", "n+ c #FAF1F1", "o+ c #DED6D6", "p+ c #FBF3F3", "q+ c #F6EEEE", "r+ c #CDC6C6", "s+ c #FCF5F5", "t+ c #FBF5F5", "u+ c #F6F1F1", "v+ c #ECE7E7", "w+ c #FCF8F8", "x+ c #FAF6F6", "y+ c #E6E2E2", "z+ c #F0EDED", "A+ c #FDFBFB", "B+ c #F9F7F7", "C+ c #F7F5F5", "D+ c #F2F0F0", "E+ c #FEFDFD", "F+ c #FDFCFC", " c.c. ", " c.;+c.z.z. ", " c.c.c.v.^.o. ", " c.c.c.c.D .:+ ", "c.c.c.a.@ L #.|+ n.n.n. n.n. ", "c.c.c.P T O W *+ z.z.n.n.z. n.n.n. ", "D.l.U U u.-.O A. n.n.n.h.n.z. n.n.d.8.n. ", "k.N U U 8.*.=.}. z.z.n.@ ).!.}. !.&.^.&.@ n. ", "H.U U }.8.7.7.z. n.@ @ @ *.@ *.&.&.*.@ @ *.D @ n. ", "U h.a.5.h.z.z.z.@ @ @ @ @ @ @ @ @ @ @ @ *.H n.n. ", " g.1.).7.l.n.@ @ @ &.@ @ @ @ @ @ @ @ @ *.&.z w.n. ", " 7.^.D &.).<.<.).*.@ @ @ @ @ @ @ @ @ @ @ &.).!.n.n.n.", " q.G F D @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ *.&.^.E ^.n.", " e.S P I E @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ ^.^.^.n.", " e.+.C B F D @ @ @ @ @ @ @ @ @ @ @ @ @ @ E V S V V ", " e.e.+.R I D @ @ D E G H G z D @ @ @ @ G X ]. ", " S.Z B E @ z A S ` +.C B z @ @ @ @ I ` X. ", " S :.!.@ H -.S S S W./.G @ @ @ @ J @.Z. ", " S q.<.F J ` ~+S 3.D D E F F K +.@+ ", " @ p.L U N C W. r.I I M U T P X g. ", " @ @ =. V Q 0. }./.R Y 2.F.X S g.g. ", " @ @ @ Q P @ }. }.(.@.Z. A.U X g.g.", " @ P @ _.Q Q g.g.R S. m.g.g.g.", " @ S @ 4.@ @ g.1.0. =.m.g.", " @ @ @ 4.4.@ g.f.6. g.H g.", " @ &.@ @ @ @ g.g.t. }.1.i.", " @ S {. @ 4.3.Q g.a.g. 9.=.", " *.S S 4.9.K. }.1.g. }.}.", " S S ).@ Q 4.k. }.z >+ }.1.", " *.*.*.S @ 4.v.q.}.p.$.g. g.7.@ ", " ;.S V S S [+ 4.&.Q ` ,.s.%+g. @ @ @ ", " ;.;.;.;. 4.4.;.;. 8+,.,.,. "}; debian/ocaml-nox.postrm0000644000000000000000000000006712247142765012346 0ustar #!/bin/sh set -e rm -f /usr/include/caml #DEBHELPER# debian/changelog0000644000000000000000000022377612261334240011056 0ustar ocaml (4.01.0-3ubuntu3) trusty; urgency=medium * Rebuild for Tcl/Tk 8.6. -- Matthias Klose Thu, 02 Jan 2014 20:05:45 +0100 ocaml (4.01.0-3ubuntu2) trusty; urgency=medium * Disable the testsocket test, trying to reach the net. -- Matthias Klose Mon, 23 Dec 2013 00:07:52 +0100 ocaml (4.01.0-3ubuntu1) trusty; urgency=low * Merge with Debian; remaining changes: - Pass --hash-style=both --as-needed --build-id to the linker. -- Matthias Klose Sun, 22 Dec 2013 11:13:10 +0100 ocaml (4.01.0-3) unstable; urgency=low * Upload to unstable * debian/patches: + Fix native backtraces on arm* ~ Disable native backtraces on powerpcspe too * Update SLOW_ARCHITECTURES and do not run almabench test there * Add libiberty-dev to Build-Depends (Closes: #731047) -- Stéphane Glondu Mon, 02 Dec 2013 20:03:03 +0100 ocaml (4.01.0-2) experimental; urgency=low * debian/patches: + Fix ocamlopt on sparc + Tune resource usage of some tests to make them work on k-i386 + Native backtraces don't work on powerpc, sparc and arm* -- Stéphane Glondu Sun, 10 Nov 2013 02:49:02 +0100 ocaml (4.01.0-1) experimental; urgency=low * New upstream release * debian/patches: - Fix code generation bug with "mod 1" (merged upstream) + More tests need upstream behaviour of -custom + Fix upstream typos and bad wordings + Add const qualifiers in Tcl/Tk bindings + Enable mkstemp in yacc * Remove testsuite special casing for now * Use unversioned Tcl/Tk dependencies * Update debian/control.in -- Stéphane Glondu Fri, 08 Nov 2013 09:45:16 +0100 ocaml (4.00.1-2) experimental; urgency=low * debian/patches: + Fix (arm) code generation bug with mod 1 * Update Vcs-* -- Stéphane Glondu Fri, 26 Jul 2013 06:17:33 +0200 ocaml (4.00.1-1) experimental; urgency=low [ Stéphane Glondu ] * New upstream release * ocaml-compiler-libs: Replaces/Breaks previous versions of ocaml-base-nox (Closes: #684031) * Bump Standards-Version to 3.9.4 * Bump debhelper compat level to 9 [ Sylvain Le Gall ] * Remove Sylvain Le Gall from uploaders [ Mehdi Dogguy ] * Use DEB_BUILD_GNU_TYPE instead of relying on "uname -m" (Closes: #689517). Thanks to Konstantinos Margaritis for the patch. -- Stéphane Glondu Wed, 14 Nov 2012 14:17:27 +0100 ocaml (4.00.0-1) experimental; urgency=low * New upstream release -- Stéphane Glondu Fri, 27 Jul 2012 07:30:10 +0200 ocaml (4.00.0~rc1-1) experimental; urgency=low * New upstream release candidate - fix linking of pthread_atfork (Closes: #682441) * Merge changes from 3.12.1-4 -- Stéphane Glondu Sat, 21 Jul 2012 15:42:10 +0200 ocaml (4.00.0~beta2-2) experimental; urgency=low * Fix natdynlink detection on sparc * Cherry-pick an upstream fix in native compilation on powerpc * Fixes in the test suite: - use legacy -custom for lib-marshal test - some tests were still triggering ocamlopt even on bytecode - fix asmcomp tests on powerpc - fix symbol mangling in asmcomp tests on kfreebsd-i386 and sparc * Bump Standards-Version to 3.9.3 -- Stéphane Glondu Thu, 21 Jun 2012 16:42:25 +0200 ocaml (4.00.0~beta2-1) experimental; urgency=low * New upstream beta release - new "R" parameter in OCAMLRUNPARAMS to enable automatic randomization of the generic hash function (Closes: #659149, CVE-2012-0839) - the layout of the ocaml-compiler-libs binary package has changed significantly as a result of upstream installing +compiler-libs by itself; toplevel libraries have been moved there * Change the layout of the ocaml-source binary package * Merge changes from version 3.12.1-3 -- Stéphane Glondu Wed, 13 Jun 2012 22:38:41 +0200 ocaml (4.00.0~~dev15+12379-1) experimental; urgency=low * New upstream snapshot, based on the 4.00 upstream branch - partially revert r12328 to avoid FTBFS - the dbm bindings have been removed upstream and are now released separately - declare armel and armhf as native architectures supporting natdynlink * Run the test-suite - on kfreebsd-*, skip lib-thread tests (they hang and I am not able to reproduce it myself) - on slow architectures, skip some tests that take too much time - fix asmcomp tests on Hurd (Closes: #661716) - fix "embedded" test broken by our -custom behaviour -- Stéphane Glondu Thu, 19 Apr 2012 09:04:28 +0200 ocaml (3.12.1-4ubuntu1) saucy; urgency=low * Merge from Debian unstable. Remaining changes: - Pass --hash-style=both --as-needed --build-id to the linker. - Add armhf to the ocaml-native-compilers architectures list. -- Adam Conrad Sat, 27 Apr 2013 12:45:36 -0600 ocaml (3.12.1-4) unstable; urgency=low * Change the Debian-specific behaviour of -custom (Closes: #678577) -- Stéphane Glondu Tue, 26 Jun 2012 21:39:18 +0200 ocaml (3.12.1-3) unstable; urgency=low [ Hendrik Tews ] * Fixes in startup and install files of ocaml-mode: - symlink *el files into elc dir (Closes: #452340) - use debian-pkg-add-load-path-item in emacsen-startup and emacsen-install (Closes: 671559) - compile el files with site-file enabled - use debian-emacs-flavor in emacsen-startup (see #662163) [ Stéphane Glondu ] * Fix debian/watch so that refman is not reported as a new version * Add some explicit dependencies to avoid spurious Lintian warnings about broken symlinks * Remove duplicate upstream changelog -- Stéphane Glondu Mon, 14 May 2012 07:52:40 +0200 ocaml (3.12.1-2ubuntu3) quantal; urgency=low * No-change rebuild against latest armel toolchain. -- Adam Conrad Fri, 27 Apr 2012 07:35:22 -0600 ocaml (3.12.1-2ubuntu2) precise; urgency=low * Build ocaml-native-compilers for armhf. -- Matthias Klose Mon, 05 Dec 2011 17:09:44 +0100 ocaml (3.12.1-2ubuntu1) precise; urgency=low * Merge with Debian; remaining changes: - Pass --hash-style=both --as-needed --build-id to the linker. -- Matthias Klose Fri, 18 Nov 2011 18:55:13 +0100 ocaml (3.12.1-2) unstable; urgency=low * Fix compilation on kfreebsd-any: do not add -R$dir in X11 link options -- Stéphane Glondu Tue, 01 Nov 2011 16:11:01 +0100 ocaml (3.12.1-1) unstable; urgency=low [ Stéphane Glondu ] * New upstream release (Closes: #634621) * ocamlopt/arm: add .type directive for code symbols (LP: #810402) [ Mehdi Dogguy ] * Make objinfo show force_link and ccobjs/ccopts when needed [ Jonathan Nieder ] * debian/control: add Breaks against versions of dh-ocaml that relied on the ocaml{dumpapprox,plugininfo,byteinfo} tools (Closes: #642935) [ Stefano Zacchiroli ] * remove myself from Uploaders [ Samuel Thibault ] * Add support for ENOTSUP (Closes: #646372) -- Stéphane Glondu Tue, 01 Nov 2011 13:53:49 +0100 ocaml (3.12.0-7ubuntu2) oneiric; urgency=low * Pass --hash-style=both --no-copy-dt-needed-entries --as-needed to the linker. -- Matthias Klose Mon, 15 Aug 2011 12:17:36 +0200 ocaml (3.12.0-7ubuntu1) oneiric; urgency=low * ocamlopt/arm: Add .type directive for code symbols. LP: #810402. -- Matthias Klose Sat, 13 Aug 2011 08:59:40 +0200 ocaml (3.12.0-7build1) oneiric; urgency=low * Rebuild with GCC-4.6. -- Matthias Klose Thu, 14 Jul 2011 14:56:21 +0200 ocaml (3.12.0-7) unstable; urgency=low * Force aligned access for double and int64 on mips* -- Stéphane Glondu Sun, 29 May 2011 00:01:26 +0200 ocaml (3.12.0-6) unstable; urgency=low * Provide a way to use legacy custom linking (Closes: #627761) * Document Debian-specific -custom behaviour in README.Debian * Properly initialize executable name in caml_startup_code (Closes: #627756) -- Stéphane Glondu Wed, 25 May 2011 07:40:01 +0200 ocaml (3.12.0-5) unstable; urgency=low * Fixes related to -output-obj with g++ (in debian/patches): - add Declare-primitive-name-table-as-const-char - add Avoid-multiple-declarations-in-generated-.c-files-in - fix Embed-bytecode-in-C-object-when-using-custom: the closing brace for extern "C" { ... } was missing in some cases -- Stéphane Glondu Thu, 21 Apr 2011 21:35:08 +0200 ocaml (3.12.0-4) unstable; urgency=low * Bugfix in 0008-Embed-bytecode-in-C-object-when-using-custom.patch: "-output-obj" should not link a custom runtime! (Fixes FTBFS of ocamlnet) -- Stéphane Glondu Tue, 19 Apr 2011 21:16:33 +0200 ocaml (3.12.0-3) unstable; urgency=low * Patch configure script so that hurd-i386 is also recognized as a natdynlink architecture (fixes FTBFS) -- Stéphane Glondu Mon, 18 Apr 2011 14:17:11 +0200 ocaml (3.12.0-2) unstable; urgency=low * Patch configure script so that powerpc is recognized as a natdynlink architecture (fixes FTBFS) -- Stéphane Glondu Sat, 16 Apr 2011 23:44:33 +0200 ocaml (3.12.0-1) unstable; urgency=low * New upstream release: - add Unix.setgroups (Closes: #255245) - fix bug in the num library on sparc (Closes: #570920) - add armel to native architectures; note that the Dynlink module is not available in native code there: software using it should take care of this new possibility (Closes: #347270) - {add,scrape}labels are no longer installed - remove ocaml{byteinfo,plugininfo,dumpapprox}: all tools merged into ocamlobjinfo; add binutils-dev to Buid-Depends * debian/rules: switch to dh with overrides * Embed bytecode in C object when using -custom (Closes: #256900) * Ask pkg-config for libx11 path (Closes: #619344) * Bump debhelper compat level to 8 (Closes: #562606) * Switch source package format to 3.0 (quilt) * Bump Standards-Version to 3.9.2 -- Stéphane Glondu Sat, 16 Apr 2011 17:39:54 +0200 ocaml (3.11.2-4) unstable; urgency=high * Fix FTBFS on i386 due to a bug in previous patch -- Stéphane Glondu Wed, 09 Mar 2011 07:54:58 +0100 ocaml (3.11.2-3) unstable; urgency=high * Add patch to fix ocamlopt w.r.t. binutils 2.21 (Closes: #617404) -- Stéphane Glondu Tue, 08 Mar 2011 21:32:54 +0100 ocaml (3.11.2-2) unstable; urgency=low * debian/ocaml-mode.emacs-install: do not byte-compile camldebug.el and inf-caml.el for xemacs21 (Closes: #508813, LP: #464587). -- Mehdi Dogguy Tue, 05 Oct 2010 17:46:59 +0200 ocaml (3.11.2-1) unstable; urgency=low [ Stéphane Glondu ] * New upstream release * Bump Standards-Version to 3.8.4 (no changes) [ Mehdi Dogguy ] * camlp4-extra: - Add cma files back into the package (Requested by users). - Don't install a manpage for camlp4boot (which is not installed). * debian/rules: - Do not compute dependencies for camlp4-extra * debian/control: - Make camlp4-extra depend on ocaml-base-nox [ Ralf Treinen ] * debian/control.in: bump dependency of ocaml-mode on emacs22 to emacs23. -- Stéphane Glondu Sun, 07 Feb 2010 22:11:16 +0100 ocaml (3.11.1-5) unstable; urgency=low * Use Tcl/Tk 8.5 -- Stéphane Glondu Tue, 15 Dec 2009 11:58:07 +0100 ocaml (3.11.1-4) unstable; urgency=low * Exclude compiler-libs from exported modules (Closes: #554871) -- Stéphane Glondu Sat, 07 Nov 2009 02:49:50 +0100 ocaml (3.11.1-3) unstable; urgency=low [ Mehdi Dogguy ] * Add two tools: - ocamlbyteinfo to read content of bytecode binaries - ocamlplugininfo to read content of shared object files (.cmxs) * Move some files from ocaml-interp to ocaml-nox and ocaml-base-nox * Synchronize debian/control and debian/control.in * Remove cma files shipped in camlp4 package and camlp4boot since they are not used * Add myself to Uploaders and update Stéphane's address * Remove DMUA * Use dh-ocaml (>= 0.9) [ Stéphane Glondu ] * Add build-dependency to autotools-dev (for up-to-date config.*) * Maintainer scripts: - explicitly use set -e - remove references to ocaml-md5sums, as its jobs is handled by dh_ocaml, now * Remove all debian/*.dirs* files to avoid empty directories * Update Standards-Version to 3.8.3 (no changes) -- Stéphane Glondu Tue, 22 Sep 2009 23:24:52 +0200 ocaml (3.11.1-2) unstable; urgency=low * Remove build-dependency to docbook-* (not needed anymore, since policy has been moved to dh-ocaml) -- Stephane Glondu Wed, 24 Jun 2009 12:47:31 +0200 ocaml (3.11.1-1) unstable; urgency=low [ Samuel Mimram ] * Add kfreebsd-amd64 to the list of supported native architectures. (Closes: #519916) [ Stefano Zacchiroli ] * debian/control: - remove recommends to ledit from ocaml-nox (does not ship "ocaml") [ Stephane Glondu ] * New upstream release: - remove dbm_ldopts.dpatch (merged upstream) - switch patch system to quilt * debian/control: - update Standards-Version to 3.8.2 - move to new section ocaml - change Recommends from ledit to "ledit | readline-editor" for ocaml-interp - remove various obsolete Conflicts and Replaces * Move OCaml standard library to /usr/lib/ocaml -- Stephane Glondu Wed, 24 Jun 2009 10:59:46 +0200 ocaml (3.11.0-5) unstable; urgency=low * Uploading to unstable * debian/control: bump dh-ocaml to (>= 0.4) to avoid buggy ocamlinit.mk -- Stefano Zacchiroli Sun, 22 Feb 2009 08:49:13 +0100 ocaml (3.11.0-4) experimental; urgency=low [ Samuel Mimram ] * Add native versions of ocamldep and ocamldoc in findlib's configuration when ocaml-native-compilers is installed, closes: #516085. [ Stephane Glondu ] * Add a script to handle native modules of standard library, and a README.source to document it (fixes FTBFS on sparc and powerpc, which are native, but do not provide .p.cmx files) (Closes: #516211) * Fix FTBFS on bytecode-only architectures: - generate manpages for stdlib - tell debhelper to ignore ocaml-native-compilers * Add lpia (from Ubuntu) to the list of native architectures -- Stephane Glondu Fri, 20 Feb 2009 09:59:31 +0100 ocaml (3.11.0-3) experimental; urgency=low * Mark libthreadsnat.a as native-only file (fix FTBFS on bytecode-only architectures) -- Stephane Glondu Thu, 19 Feb 2009 07:25:27 +0100 ocaml (3.11.0-2) experimental; urgency=low [ Stephane Glondu ] * Add DM-Upload-Allowed (with Stefano's blessing) * Remove binary package-specific copyright files * Major changes in debian/rules: - more extensive use of debhelper 7 - do no longer use deprecated dh_movefiles and *.files - get closer to CDBS API - add versioned build-dependency to dh-ocaml - use ocamlinit snippet provided by dh-ocaml - add a build cache (for Debian debugging) - do not compress labltk examples - reflect original locations of camlp4 *.mli files in binary packages - remove special handling of CFLAGS (handled by dpkg-buildpackage now) * Add dbm_ldopts.dpatch, to add missing linking options for dbm (fixes ocsigen FTBFS) * Remove man-ocamlmklib.dpatch, and put manpage in debian/man * Remove {dumpobj,objinfo}.dpatch, and put manpages in debian/man * Build and install dumpapprox, and provide a manpage * Discriminate *-nox packages in short descriptions (thanks Lintian) [ Stefano Zacchiroli ] * debian/control: - clean-up Uploaders, removing people no longer contributing and handling some specific removal requests - bump versioned dep on ocaml --Replaces-> ocaml-nox to avoid file overwrite upgrade problems -- Stefano Zacchiroli Wed, 18 Feb 2009 14:39:31 +0100 ocaml (3.11.0-1) experimental; urgency=low * New upstream release: - manpages.dpatch, ocamldoc.dpatch removed (merged upstream) - for_pack_static.dpatch removed (obsolete) - call_ld_with_proper_flags.dpatch fixed (Closes: #506286) * Add debian/changelog entry for version 3.09.2-8 * Install *.cmxs (and matching *.cma) in ocaml-base* * Don't put .git directory in ocaml-source -- Stephane Glondu Fri, 05 Dec 2008 19:57:18 +0100 ocaml (3.11.0~beta1-1) experimental; urgency=low [ Stephane Glondu ] * New upstream beta release: - camlrun_shared.dpatch removed (integrated upstream) - not-native-no-aspp.dpatch removed (thanks to upstream bugfix) - all other patches updated - manpages.dpatch and ocamldoc.dpatch added - dependency to gcc-4.2 on arm removed * Switching packaging to git (from svn) * Bump debhelper compatibility level to 7, and use debian/clean feature of dh_clean * Add myself to uploaders, and update Julien's address * Add explicit dependency from camlp4-extra to ocaml-nox [ Stefano Zacchiroli ] * Bump Standards-Version to 3.8.0, no changes needed * No longer ship stuff that will be now shipped by the new dh-ocaml package: - OCaml packaging policy - CDBS class ocaml.mk and related helpers - dh_ocaml debhelper - ocaml-md5sums (therefore also disable its usage at the end of the build process) -- Stephane Glondu Mon, 03 Nov 2008 23:10:06 +0100 ocaml (3.10.2-3) unstable; urgency=low [ Stefano Zacchiroli ] * debian/rules: force using gcc-4.2 on arm (fix FTBFS on arm) [ Ralf Treinen ] * Added myself to uploaders. -- Ralf Treinen Mon, 19 May 2008 23:31:52 +0200 ocaml (3.10.2-2) unstable; urgency=low [ Stefano Zacchiroli ] * releasing to unstable * fix "OCaml" spelling errors in package descriptions (thanks lintian!) [ Romain Beauxis ] * removed virtual package from internal dependencies in favour of strict versioned dependencies. Prevents build failures under some situations. [ Sylvain Le Gall ] * changing doc-base section of generated documentation to Programming/OCaml (Closes: #476647) * OCaml Packaging Policy: - update camlp4/camlp5 policy chapter - register policy in doc-base [ Ralf Treinen ] * OCaml Packaging Policy: - update OCaml version to 3.10.2 - add a section on where to register documentation with doc-base. -- Stefano Zacchiroli Sun, 18 May 2008 21:46:38 +0200 ocaml (3.10.2-1) experimental; urgency=low [ Stefano Zacchiroli ] * New upstream release - bump OCAMLMINOR in debian/rules accordingly * ship .mli files pertaining to ocaml-interp (Closes: #449559) * ship .mli files pertaining to camlp4 (Closes: #449558) [ Samuel Mimram ] * Add a dependency from ocaml-base to libx11-dev (Closes: #465764) -- Stefano Zacchiroli Mon, 03 Mar 2008 10:15:33 +0100 ocaml (3.10.1-1) unstable; urgency=low [ Samuel Mimram ] * New upstream release. * Removed arm_ccheckbound_typo.dpatch, integrated upstream. [ Stefano Zacchiroli ] * fix vcs-svn field to point just above the debian/ dir [ Ralf Treinen ] * Policy: add section on correct spelling OCaml, bump version to 0.7.2 [ Julien Cristau ] * Add ${shlibs:Depends} and ${misc:Depends} to all packages. -- Samuel Mimram Tue, 05 Feb 2008 18:28:56 +0100 ocaml (3.10.0-13) unstable; urgency=low [ Stefano Zacchiroli ] * fix the cdbs class to pass -I flags down to ocamldoc -- Stefano Zacchiroli Fri, 28 Dec 2007 15:48:54 +0100 ocaml (3.10.0-12) unstable; urgency=low [ Julien Cristau ] * libgraphics.a is built for ocamlc, not ocamlopt. Install it unconditionally in the ocaml package. Have ocaml replace ocaml-nox because of this move (closes: #457569). Thanks, Peter Palfrader! -- Samuel Mimram Wed, 26 Dec 2007 14:03:36 +0100 ocaml (3.10.0-11) unstable; urgency=low [ Stefano Zacchiroli ] * explicitely chmod +x ocamldoc-api-ref-config during build -- Stefano Zacchiroli Wed, 19 Dec 2007 12:15:08 +0100 ocaml (3.10.0-10) unstable; urgency=low [ Stefano Zacchiroli ] * ignore ocamldoc-api-ref-config when invoking dh_fixperms, so that it remains executable (closes: #457014) -- Stefano Zacchiroli Wed, 19 Dec 2007 08:37:02 +0100 ocaml (3.10.0-9) unstable; urgency=low [ Samuel Mimram ] * Suggest "tarballs" instead of "upstream" in the policy as directory name for storing upstream sources since it is more standard. * Corrected emacs startup file, closes: #446177. [ Stefano Zacchiroli ] * add patch camlrun_shared, which ships an alternative version of the camlrun library (called "camlrun_shared") made of PIC objects * add Homepage field to debian/control [ Sylvain Le Gall ] * fixes in cdbs class for ocamldoc generation, provides ocamldoc-api-ref-config to centralize generation of .ocamldoc-apiref * remove ia64, arm and alpha native arches (no more ocamlopt for this arches) * array is bashism, remove it from ocamldoc-api-ref-config * upgrade to Standards-Version 3.7.3 (no change) * make the lintian override work: add the name of the package in front of each override line, place the file in usr/share/lintian/overrides and not inside a directory in this directory * make clean cleaner (remove byterun/libcamlrun_shared.so) * remove empty directories left after moving files away from ocaml-nox hierarchy * add a comment to install_ocamlbuild patch, to prevent lintian warning -- Sylvain Le Gall Sat, 15 Dec 2007 17:57:36 +0100 ocaml (3.10.0-8) unstable; urgency=low [ Stefano Zacchiroli ] * CDBS class - invoke ocamldoc after dh_install has been run (otherwise ocamldoc is likely to generate empty API references ...) - add support for automatic generation of doc-base entries for ocamldoc generated API reference - better test for package membership to OCAML_OCAMLDOC_PACKAGES * debian/ocaml-base-nox.README.Debian - add an entry describing the requirement for compiling ocamldoc-generated LaTeX documentation (closes: #420782) -- Stefano Zacchiroli Sun, 02 Sep 2007 19:11:14 +0200 ocaml (3.10.0-7) unstable; urgency=low [ Sylvain Le Gall ] * add patch not-native-no-aspp to workaround FTBFS, as described upstream in bug 4375 (closes: #429185) * don't ignore make clean error * move menu section of ocaml interpreter to Applications/Programming to comply with new menu structure [ Stefano Zacchiroli ] * CDBS class - add support for specifying the target dir for generated documentation - various fixes in ocamldoc invocation -- Sylvain Le Gall Sat, 01 Sep 2007 22:33:52 +0200 ocaml (3.10.0-6) unstable; urgency=low [ Stefano Zacchiroli ] * debian/ocaml-nox.dirs.in - avoid creating empty /usr/include/ocaml/* directory (closes: #439017) * CDBS class - add support for automatic ocamldoc HTML documentation generation * Policy - add an appendix about the CDBS class with some minimal information and pointers to the commented .mk files -- Stefano Zacchiroli Thu, 30 Aug 2007 15:54:24 +0200 ocaml (3.10.0-5) experimental; urgency=low [ Ralf Treinen ] * ocaml-mode.emacsen-install: do not hardcode the emacs flavours for which to compile ocaml-mode (closes: Bug#433082) * ocaml-mode: Bump primary dependency from emacs21 to emacs22. [ Stefano Zacchiroli ] * add patch arm_ccheckbound_typo, fix a typing error typo which makes ocaml FTBFS on arm * ocaml-source: install ocaml tarball as /usr/src/ocaml-source-VERSION.tar.bz2; the "-source" part was erroneously missing and make other packages FTBFS * bump debhelper dependencies and compatibility level to 5 -- Stefano Zacchiroli Sun, 12 Aug 2007 19:29:07 +0200 ocaml (3.10.0-4) experimental; urgency=low * debian/patches/install_ocamlbuild.dpatch - patched to install ocamlbuild as .native/.byte (following upstream convention which will become widespread in the future), but changes ocamlbuild to be a symlink to the best ocamlbuild available * CDBS class: - avoid dpatch breaking upon clean if debian/patches/*.in files are in use - fix the usage example for "OCAML_IN_FILES += ...", it was wrong -- Stefano Zacchiroli Wed, 04 Jul 2007 11:50:43 +0200 ocaml (3.10.0-3) experimental; urgency=low * debian/patches/00list - enabled install_ocamlbuild patch (was disabled by mistake) and patched it fixing a wrong path * debian/rules - pass -libdir to configure (now that it is supported upstream) in addition to sed-ing generated config Makefiles; otherwise ocamlrun won't get the correct libdir setting * debian/ocaml-md5sums/ocaml-md5sums.1 - written ocaml-md5sums manpage * debian/ocaml-native-compilers.links - delegated to dh_link the creation of .opt manpage symlinks and added the missing one for ocamlbuild.opt -- Stefano Zacchiroli Sat, 16 Jun 2007 16:17:17 +0000 ocaml (3.10.0-2) experimental; urgency=low * Split two new packages: "camlp4" and "camlp4-extra" to cope with the huge size increase of the new camlp4 * Policy - update the Vcs-Svn info to the latest PTS documentation - describe dependencies from a -dev package to its companion shared stub package (if any) and suggest the usage of ${binary:Version} * debian/copyright - added in place of copyright.in, nothing to replace there * debian/man/camlp4*.1 - added manpages for camlp4 related executables; content partially using html2man, partially taken from the camlp4 wiki * debian/control - moved ledit recommends from ocaml-nox to ocaml-interp (which ships the interactive toplevel) - minor improvements to various descriptions -- Stefano Zacchiroli Sat, 16 Jun 2007 12:41:32 +0100 ocaml (3.10.0-1) experimental; urgency=low [ Stefano Zacchiroli ] * New upstream (stable) release * debian/patches/* - removed: ocaml-interp_manpage, build_wo_debug_info (integrated upstream) - updated: install_ocamlbuild * ship ocaml-compiler-libs objects as STDLIB/ocaml-compiler-libs/{parsing/, typing/, utils/} rather than as a flat dir tree * re-enabled ocaml-source package (which ships /usr/src/ocaml-3.10.0.tar.bz2), now with a better way to generate it: everything in the build dir except debian/ will be copied in the resulting tarball * debian/ocaml-source.exclude - new file: list of tar exclude patterns, matching file won't be shipped in the ocaml source tarball -- Stefano Zacchiroli Wed, 13 Jun 2007 17:19:10 +0200 ocaml (3.10.0~beta-1) experimental; urgency=low [ Samuel Mimram ] * Ship dh_ocaml into ocaml-nox [ Stefano Zacchiroli ] * New upstream beta release (3.10.0). * debian/patches/* - removed: versioned_libdir (no longer needed with this upstream) - ported to this upstream: call_ld_with_proper_flags, alpha_ld_no-relax, no_rpath - added: build_wo_debug_info.dpatch (avoid building camlp4/ocamldoc with debug info, wont be needed for the stable release) * CDBS class - added support for the OCAML_DLL_DIR variable, pointing ATM to the stublibs/ subdirectory of the standard library directory. It's substituted for @OCamlDllDir@ in .in files - remove files which have been generated from their .in counterparts upon clean target invocation * Policy - mandate the compilation of *.cm[ao] with debugging information for libraries and forbid it for bytecode programs * debian/rules - delegated more installation stuff to dh_install * debian/control - get rid of the no longer needed ocaml-source package [Ralf Treinen] * debian/patches/* - added: install_scripts_config: use a patched config.sh since PREFIX is diferent at compile time and at installation time - added: ocaml-interp_manpage, fixes typo in ocaml manpage (closes: Bug#417847). * debian/rules: - added creation of config/config.debian.install - Patch LIBDIR and STBLIBDIR setting in config/Makefile after invokation of configure -- Stefano Zacchiroli Tue, 17 Apr 2007 09:57:47 +0200 ocaml (3.09.3-1) experimental; urgency=low [ Samuel Mimram ] * New upstream release. -- Julien Cristau Sat, 30 Sep 2006 01:15:16 +0200 ocaml (3.09.3~rc1-1) experimental; urgency=low [ Julien Cristau ] * New upstream release candidate. -- Samuel Mimram Sun, 10 Sep 2006 23:11:31 +0000 ocaml (3.09.2-8) unstable; urgency=low [ Samuel Mimram ] * Installing ocamlbrowser in ocaml instead of ocaml-nox, closes: #397245. [ Julien Cristau ] * Add patch stolen from 3.09.3 to fix a segfault when a file is closed twice (closes: #403848). * Delete directories left over by the ocaml package from sarge in /usr/local (closes: #355448). -- Samuel Mimram Sat, 30 Dec 2006 19:01:12 +0000 ocaml (3.09.2-7) unstable; urgency=low [ Julien Cristau ] * Fix typo in ocaml-base description (Closes: #390224). [ Stefano Zacchiroli ] * debian/control - added XS-Vcs-Svn field to let users know where our svn repository is * Added .txt suffix to the textual version of the policy * Ship CDBS class for building OCaml related packages in /usr/share/cdbs/1/; permission granted by the CDBS maintainers to ship files there, see #387299. (Closes: #387299). * Updated policy (now at version 0.7.1); changes: - added a best-practice section about using the XS-Vcs-Svn field in debian/control of OCaml related packages - fixed typo in the suggested debian/rules line to fill the OFILES variable [ Samuel Mimram ] * Updated policy (section 2.3) to explain how to add a conditional dependency on ocaml-base-nox-VERSION for native/bytecode packages. -- Stefano Zacchiroli Sat, 28 Oct 2006 15:42:08 +0200 ocaml (3.09.2-6) unstable; urgency=low * Correct /usr/include/caml symbolic link, closes: #379271. * Correct symbolic links in documentation directories. * Updated policy. -- Samuel Mimram Sun, 23 Jul 2006 14:37:36 +0000 ocaml (3.09.2-5) unstable; urgency=low * Added a missing dependency on docbook-xml, closes: #373996. -- Samuel Mimram Fri, 16 Jun 2006 17:58:35 +0000 ocaml (3.09.2-4) unstable; urgency=low [ Julien Cristau ] * Update reference to upstream tarball location in debian/copyright. * Actually apply the patch to fix the stdlib manpages' section. [ Samuel Mimram ] * Integrate the ocaml policy in the package. Added a build dependency on docbook-utils to build it. * Put the symbolic links directly in the packages instead of using postinst. * Put forgotten ocamldep.opt in ocaml-native-compilers. * We don't need to remove rpaths anymore. -- Samuel Mimram Fri, 16 Jun 2006 09:11:02 +0000 ocaml (3.09.2-3) unstable; urgency=low * Uploading to unstable. -- Samuel Mimram Mon, 15 May 2006 20:40:39 +0000 ocaml (3.09.2-2) experimental; urgency=low [ Julien Cristau ] * Add a patch to put stdlib manpages in section 3o. * Fix typo in ocamldumpobj(1). * Add symlinks so that ocamldep.opt(1) and ocamllex.opt(1) exist. [ Samuel Mimram ] * Updated standards version to 3.7.2, no changes needed. -- Samuel Mimram Wed, 10 May 2006 21:32:57 +0000 ocaml (3.09.2-1) experimental; urgency=low * New upstream release. * Added no_rpath.dpatch (taken from Red Hat) in order for caml not to put rpath in generated shared libraries, closes: #361865. -- Samuel Mimram Tue, 18 Apr 2006 17:14:59 +0000 ocaml (3.09.1+3.09.2rc1-1) experimental; urgency=low [ Julien Cristau ] * Remove dh_gencontrol line for ocaml-source from the binary-arch target (ocaml-source is built in binary-indep). * New upstream release candidate: + add support for GNU/Hurd (Closes: #358274). + fix handling of `new' in camlp4 which caused stack overflow (Closes: #355651). * Drop kbsd-gnu.dpatch, obsolete. [ Samuel Mimram ] * Use new icon, closes: #358946. * Link to README.Debian instead of README.Debian.gz in /usr/share/doc/ocaml-base, closes: #355975. -- Julien Cristau Thu, 30 Mar 2006 15:10:14 +0200 ocaml (3.09.1-3) unstable; urgency=low * Enable ocaml-mode for emacs-snapshot (Closes: #347917). * Change the patch added in 3.09.1-2, because it broke ocamlopt -pack on sparc (we now filter link options to remove the "-Wl," part, and then use ld). Thanks to Sylvain Le Gall for noticing, and to Samuel Thibault for his help debugging this (Closes: #351853). * [debian/rules] Make install-* depend on build-*, and tweak the rules to not rerun configure in the 'binary' phase. -- Julien Cristau Thu, 9 Feb 2006 15:14:43 +0100 ocaml (3.09.1-2) unstable; urgency=low [ Samuel Mimram ] * Cleaning ocaml-md5sums, closes: #346279. [ Julien Cristau ] * build-arch is a phony target. * Add patch to make ocamlopt -output-obj and ocamlopt -pack call the linker via gcc instead of directly, which allows us to pass the same linking options in these cases and in the common case (where ocamlopt already used gcc). This should unbreak ocamlopt -pack on alpha, and thus fix the build failure of camomile. -- Julien Cristau Thu, 12 Jan 2006 15:33:00 +0100 ocaml (3.09.1-1) unstable; urgency=low [ Samuel Mimram ] * Removing possibly leftover /usr/lib/ocaml/ld.conf, closes: #300846. * Updated objinfo.dpatch. * Added dumpobj.dpatch to install ocamldumpobj. * Added a rule in rules to generate (manually) ocaml-source.files and updated ocaml-source.files. * Added a watch file. [ Julien Cristau ] * New upstream release + sparc is correctly detected and alignment of doubles and 64-bit ints on double-word boundaries is forced (Closes: #344615). * Remove Suggests on xlibs-dev which doesn't exist anymore. -- Samuel Mimram Wed, 4 Jan 2006 20:32:13 +0100 ocaml (3.09.0-4) unstable; urgency=low [ Julien Cristau ] * debian/rules: the abi-sed rule is phony, we don't want to run configure twice. * Stop building the native compilers on hppa, they are buggy and upstream considers this port dead (see bug#342704). [ Samuel Mimram ] * Added for_pack_static.dpatch (from CVS) to correct a bug when linking, disabled for now though. * Added myself to uploaders. [ Julien Cristau ] * Install the list of architectures with native compilers in the ocaml-nox package. [ Sven Luther ] * This version should make it into testing, so let's (Closes: #338435). -- Sven Luther Mon, 19 Dec 2005 13:36:31 +0000 ocaml (3.09.0-3) unstable; urgency=low * Fix build on non-native arches which was broken by the changes to debian/rules in the previous release. Sorry for this :( -- Julien Cristau Fri, 9 Dec 2005 11:01:06 +0100 ocaml (3.09.0-2) unstable; urgency=low * Modified debian/rules to exit with an error when native compiler build fails, instead of building a broken package. * New patch kbsd-gnu.dpatch to add support for GNU/Hurd and GNU/k*BSD on i386 (thanks to Robert Millan and Aurélien Jarno; Closes: #216886). * Add myself to Uploaders (acked by Sven). * Add patch by Steve Langasek to fix native code linking by passing the --no-relax option to ld (Closes: #338437). Bug#335578 stays open since a proper fix to the generated asm would still be better than this workaround. -- Julien Cristau Thu, 8 Dec 2005 10:19:39 +0100 ocaml (3.09.0-1) unstable; urgency=low * New upstream release. - self references are now ruled out (Closes: #263163, #294753) - better escaping in manpages generated by ocamldoc (Closes: #301046) - typo fixed in ocamldoc.1 (Closes: #304360) - argument order changed in Map.fold (Closes: #327211) [ Julien Cristau ] * Cleanup debian/control: remove redundant Depends. * Update location of ocaml-md5sums stuff. * Build-Depend on chrpath and delete rpath from DLLs. * Various lintian warnings fixed, and overrides cleaned up. [ Sven Luther ] * Updated to new upstream release. * Modified the packaging ifrastructure to not use hard-coded abi number except in the head of debian/rules. All else is sed'ed from #OcamlABI# (and #OcamlMAJOR# for the debian/copyright file and the upstream url). -- Debian OCaml Maintainers Mon, 07 Nov 2005 10:56:49 +0100 ocaml (3.08.3-8) unstable; urgency=low Changes by Jérôme Marant: * Create a new `ocaml-mode' package dedicated at Emacs-related files (Closes: Bug#312618, Bug#322210) * debian/control: - Add new ocaml-mode package section - [ocaml-nox] + Remove emacsen-common dependency + Suggests tuareg-mode or ocaml-mode * debian/ocaml-mode.dirs: New file * debian/ocaml-nox.dirs: Remove emacsen-related files entries * debian/ocaml-mode.emacsen-install, debian/ocaml-mode.emacsen-remove, debian/ocaml-mode.emacsen-startup: New files respectively renamed from emacsen-install, emacsen-remove and emacsen-startup * debian/ocaml-nox.postint: Rename previous existing emacs site conffiles to .save in order to avoid messing with the new ocaml-mode * debian/rules: Install ocaml-mode files in their own location * debian/ocaml-base-nox.README.Debian: Mention new ocaml-mode package * debian/ocaml-nox.NEWS: - New file - Mention all emacs-related files moved to a separate ocaml-mode package - Mention that all previous emacs conffiles are renamed in order not to mess with the new ocaml-mode * debian/ocaml-mode.README.Debian: - New file - Explain how to override tuareg-mode in case both modes are installed * debian/changelog: Remove spurious changelog entry * Move ocaml-md5sums from a dpatch to a debian subdirectory * debian/patches/ocaml-md5sums.dpatch: Remove file * debian/patches/00list: Remove ocaml-md5sums entry * debian/ocaml-md5sums/{configure,feeding.sh,Makefile,ocaml-md5sums.ml.in}: - New files * debian/rules: Update ocaml-md5sums files location accordingly * Move ocaml-nox menu file to ocaml-interp since the toplevel is provided by ocaml-interp * debian/ocaml-interp.menu: - New file renamed from ocaml-nox.menu - Change 'ocaml' to 'ocaml-interp' in the required package for the menu to be displayed * debian/ocaml-interp.dirs: Add pixmaps directory * debian/ocaml-nox.dirs: Remove pixmaps directory * Move xpm files away from the /usr/X11R6 deprecated directory hierarchy to /usr/share/pixmaps, as per Policy (11.8.7) * debian/rules: install JoeCaml.xpm in /usr/share/pixmaps within the ocaml-interp package * debian/ocaml-interp.menu: Change pixmap location * Really install menu files * debian/rules: uncomment dh_installmenu in the build-common target * debian/ocaml-nox.preinst: Remove bashism * Add dependencies on gcc and binutils for all interpreters since OCaml compilers may use of them (Closes: Bug#322722) * debian/control: - [ocaml-nox]: Add dependency on both gcc and binutils - [ocaml-native-compilers]: Likewise Changes by Stefano Zacchiroli: * debian/rules - remove spurious CVS directories from labltk examples (Closes: Bug#322712) * debian/ocamlfind/ocaml-native-compilers.conf - gets installed under /usr/share/ocaml-findlib/ so that, if ocamlfind is available, compiling with findlib will use the native compilers -- Debian OCaml Maintainers Thu, 08 Sep 2005 12:46:36 +0200 ocaml (3.08.3-7) unstable; urgency=low Changes by Sven Luther: * debian/patches/byterun_interp_ia64_fix.dpatch - Removed spurious ia64 cast which broke builds with gcc 4.0 Changes by Stefano Zacchiroli: * debian/control - added versioned dep from ocaml-compiler-libs to ocaml-base-nox to ensure ocaml-md5sums exists at postinst invocation time * debian/{ocaml-compiler-libs,ocaml-nox,ocaml}.postrm - invoke ocaml-md5sums update only if it is available, if not md5sums database will be updated next time ocaml-base-nox will be installed (Closes: Bug#322210) * debian/patches/ocaml-md5sums - avoid failure on update if /var/lib/ocaml/md5sums does not exists -- Debian OCaml Maintainers Fri, 12 Aug 2005 10:47:30 +0200 ocaml (3.08.3-6) unstable; urgency=low Changes by Stefano Zacchiroli: * debian/control - added versioned dep from ocaml to ocaml-base-nox to ensure ocaml-md5sums exists at postinst invocation time (Closes: #320779) -- Debian OCaml Maintainers Sun, 31 Jul 2005 11:37:24 +0200 ocaml (3.08.3-5) unstable; urgency=low Changes by Stefano Zacchiroli: * debian/patches/ocaml-md5sums.dpatch - use relative path for ocamlrun when compiling ocaml-md5sums (Closes: #320622) - enable external specification, via env var, of ocamlobjinfo path - fixed bug in feeding.sh which inhibit discovery of *.cm[ao] * debian/rules - passes relative path of ocamlobjinfo to ocaml-md5sums -- Debian OCaml Maintainers Fri, 29 Jul 2005 12:55:56 +0200 ocaml (3.08.3-4) unstable; urgency=low Changes by Julien Cristau: * Create directories in /usr/local/lib with proper permissions in ocaml-base-nox's postinst, and remove them if empty in prerm (Closes: #270925). * debian/patches/asmcomp_amd64_emit.mlp.dpatch: patch from upstream bugfix branch by Xavier Leroy to fix code generation on amd64 (reported by John Skaller). * debian/patches/fix_i386_gcc4_build.dpatch: patch from upstream to fix inline i386 assembly in the num library to allow building ocaml with gcc-4.0 (Closes: #309317). * debian/control: Add a dependency on emacsen-common, because this is needed to install the caml emacs mode in ocaml-nox (Closes: #312618). Changes by Stefano Zacchiroli: * debian/patches/ocaml-md5sums, debian/rules, debian/{ocaml,ocaml-nox,ocaml-compiler-libs}.{postinst,postrm} - added ocaml-md5sums, ocaml md5sum registry handler for the forthcoming dh_ocaml * Removed debian/ocaml-compiler-libs.README.Debian (out of date copy of debian/README.Debian); added symlink from ocaml-base to README.Debian * Added debian/svn-deblayout to make svn structure work with svn-buildpackage * debian/control - bumped Standards-Version to 3.6.2 - changed Maintainer to Debian OCaml Maintainers for this upload, set Uploaders to Sven and me * debian/rules - ignore error on clean target for config.{sub,guess} so that svn-buildpackage does not fail at clean time -- Debian OCaml Maintainers Thu, 21 Jul 2005 00:24:26 +0200 ocaml (3.08.3-3) unstable; urgency=medium * Missed the include symlink in 3.08 -> 3.08.3 migration. /me slaps myself, really need to automate this. -- Sven Luther Wed, 23 Mar 2005 00:30:19 +0100 ocaml (3.08.3-2) unstable; urgency=medium * Missed some 3.08 -> 3.08.3 migration for ld.conf files. -- Sven Luther Tue, 22 Mar 2005 08:06:01 +0100 ocaml (3.08.3-1) unstable; urgency=medium * New upstream stable point version. - breaks binary compatibility, we thus have to up the ABI version to 3.08.3. * New features - ignore unknown warning options for forward and backward compatibility - runtime: export caml_compare_unordered (PR#3479) - camlp4: install argl.* files (PR#3439) - ocamldoc: add -man-section option (Closes: #287538) - labltk: add the "solid" relief option (PR#3343) - compiler: ocamlc -i now prints variance annotations * Bug fixes: - typing: fix unsoundness in type declaration variance inference. Type parameters which are constrained must now have an explicit variant annotation, otherwise they are invariant. This is not backward compatible, so this might break code which either uses subtyping or uses the relaxed value restriction (i.e. was not typable before 3.07) - typing: erroneous partial match warning for polymorphic variants (PR#3424) - runtime: handle the case of an empty command line (PR#3409, PR#3444) - stdlib: make Sys.executable_name an absolute path in native code (PR#3303) - runtime: fix memory leak in finalise.c - runtime: auto-trigger compaction even if gc is called manually (PR#3392) - stdlib: fix segfault in Obj.dup on zero-sized values (PR#3406) - camlp4: correct parsing of the $ identifier (PR#3310, PR#3469) - autoconf: better checking of SSE2 instructions (PR#3329, PR#3330) - graphics: make close_graph close the X display as well as the window (PR#3312) - num: fix big_int_of_string (empty string) (PR#3483) - num: fix big bug on 64-bit architecture (PR#3299) - str: better documentation of string_match and string_partial_match (PR#3395) - unix: fix file descriptor leak in Unix.accept (PR#3423) - unix: miscellaneous clean-ups - unix: fix documentation of Unix.tm (PR#3341) - compiler: fix error message with -pack when .cmi is missing (PR#3028) - cygwin: fix problem with compilation of camlheader (PR#3485) - stdlib: Filename.basename doesn't return an empty string any more (PR#3451) - stdlib: better documentation of Open_excl flag (PR#3450) - ocamlcp: accept -thread option (PR#3511) - ocamldep: handle spaces in file names (PR#3370) - compiler: remove spurious warning in pattern-matching on variants (PR#3424) -- Sven Luther Mon, 21 Mar 2005 07:46:26 +0100 ocaml (3.08.2-1) unstable; urgency=low * new upstream stable release. -- Sven Luther Sat, 27 Nov 2004 12:25:08 +0100 ocaml (3.08.1-2) unstable; urgency=high * Cleaned up ocaml-source location. -- Sven Luther Wed, 25 Aug 2004 15:10:12 +0200 ocaml (3.08.1-1) unstable; urgency=high * New upstream stable point release. * Dropped QPL 6c qnd choice of venue clause from the QPL licence. * The emacs files are now under GPL, adding them again. * Added ocamlmklib man page, courtesy of Samuel Mimram . * Removed camlp4-coq-fix, since it is now fixed upstream. -- Sven Luther Thu, 19 Aug 2004 18:49:30 +0200 ocaml (3.08.0-2) unstable; urgency=low * Applied patch adding some missing .cmx to enable coq 3.08 to build. * Enabled hppa native code compiler. (Closes: #260711) * Don't install native compiler libs on arches they are not built. * Readded objinfo patch. -- Sven Luther Mon, 26 Jul 2004 14:08:42 +0200 ocaml (3.08.0-1) unstable; urgency=low * New upstream release. - Added support for IPv6 in unix library. (Closes: #223480, #234400) * Do not install the emacs files, until upstream gives a response about the licencing issue. (Closes: #227159, #227163) * Fix non-native compiler supporting arches build. (Closes: #259261) * Added amd64 native code compilers build. (Closes: #248334) * Now include the nums package again, since 3.08 include the new free version. (Closes: #240902) * Now include ocamldoc manpage. (Closes: #255239) -- Sven Luther Thu, 15 Jul 2004 09:21:55 +0200 ocaml (3.07.2a-4) unstable; urgency=low * *-nox and -interp now conflict with the package which previously distributed their files as suggested in policy 7.5.1 * Fixed the Conflicts entries to use the proper version of ocaml: 3.07.2a instead of 3.07. -- Mike Furr Mon, 5 Jul 2004 14:13:55 -0400 ocaml (3.07.2a-3) unstable; urgency=low * Split out the ocaml interpreter and all required files into ocaml-interp * Split out all of the tk/xlibs stuff from ocaml into ocaml-nox and from ocaml-base into ocaml-base-nox * Added a bunch of internal modules from the compiler into a new binary: compiler-libs. Also added notes in REAMDE.D and copyright that these are QPL, not LGPL like everything else. * Changed 'Objectif' to 'Objective' in ocaml-source short description * Cleaned up debian/rules. It now uses stamp files a little more intelligently so that it doesn't rebuild the whole thing every time * Check to see if /usr/include/caml EXISTS and is a symblink thus eliminating a spurious warning message from ocaml-nox.preinst * Removed 'num' library from ocaml-sources.files -- Mike Furr Thu, 10 Jun 2004 22:44:34 -0400 ocaml (3.07.2a-2) unstable; urgency=low * Now install the config/Makefile so that nat/bignum can be built as an external package. * Modified configure so that the Makefile variables for both nat/bignum implementations are written in the config/Makefile. -- Sven Luther Wed, 17 Dec 2003 12:52:28 +0100 ocaml (3.07.2a-1) unstable; urgency=low * New upstream .2 release, including the ocaml-3.07-pl2 patch. * Removed the otherlibs/num library, since the copyright is non-free, and the copyright got lost in the HP/Compaq acquisition. Thanks to Bdale Garbee for trying to solve this issue, but since the release approaches, and upstream is reimplementing the library anyway, i will remove it here. * Fixed broken emacs file caml-types.el. (Closes: #218226) -- Sven Luther Fri, 31 Oct 2003 14:46:02 +0100 ocaml (3.07-7) unstable; urgency=high * Fixed hppa build problem : hppa needs doubleword aligned doubles. * Removed .dpatch extensions for debian/patches/00list, should enable to build with older versions of debhelper, like the one in woody. (Closes: #214967). * Removed leftover ocaml 3.06 ld.conf stuff. (Closes: #214772) * Applied the ocaml-3.07-pl2 patch inplace of the previous camlp4 patch. (Closes: #216152) -- Sven Luther Fri, 17 Oct 2003 00:48:39 +0200 ocaml (3.07-6) unstable; urgency=low * Changed from the -a to the -s option in debhelper functions. Fixed FTBFS in all non-native autobuilders. -- Sven Luther Mon, 6 Oct 2003 09:07:42 +0200 ocaml (3.07-5) unstable; urgency=low * Somehow the objinfo patch forgot to install objinfo, fixed now. Also renamed objinfo to ocamlobjinfo, to be more in line with the other ocaml executables. * Test for emacsen flavor early one and abort if unsupported. (Closes: #213862) -- Sven Luther Fri, 3 Oct 2003 17:08:29 +0200 ocaml (3.07-4) unstable; urgency=low * Arg, dh_gencontrol seems to not support putting stuff after the substitution variable, which seems somewhat broken to me, anyway, let's put the substitution variable last. * Forgot to add the camlp4_optional.dpatch to the list of patches to be applied. (Closes: #213881) -- Sven Luther Fri, 3 Oct 2003 10:54:26 +0200 ocaml (3.07-3) unstable; urgency=low * Fixed BestProvide magic, as a space was breaking non-native builds. -- Sven Luther Fri, 3 Oct 2003 08:16:18 +0200 ocaml (3.07-2) unstable; urgency=low * I mistakenly uploaded to experimental, and thus am forced to upload a -2. -- Sven Luther Thu, 2 Oct 2003 11:41:53 +0200 ocaml (3.07-1) experimental; urgency=low * New upstream release. - Most debian patches where included upstream. - Standard library now use .3o suffixes. (Closes: #205391) * Dpatchification. * Applied the camlp4 optional arguments fix. * Fixed emacsen-install so that caml-xemacs and caml-emacs get installed only for the corresponding emacs flavors. Thanks go to Jerome Marant. * Moved ocaml-source into a tarball. -- Sven Luther Wed, 1 Oct 2003 13:31:23 +0200 ocaml (3.06-21) unstable; urgency=low * I botched the debian/rules in the -20 release, fixed it. -- Sven Luther Wed, 20 Aug 2003 13:57:28 +0200 ocaml (3.06-20) unstable; urgency=low * Fixed BestProvides substvar stuff. (Closes: #205228, #204537) -- Sven Luther Tue, 19 Aug 2003 18:36:29 +0200 ocaml (3.06-19) unstable; urgency=low * Fix a alloc_channel bug. (Closes: #204146). -- Sven Luther Wed, 6 Aug 2003 10:54:38 +0200 ocaml (3.06-18) unstable; urgency=low * Dropped camlp4, libcamltk-ocaml and camltk provides as it may confuse apt. -- Sven Luther Fri, 18 Jul 2003 22:29:45 +0200 ocaml (3.06-17) unstable; urgency=low * Fixes typo in ocaml_packaging_policy. * Moved ocamldoc generated library manpages from section o to 3. * Linked to libgdbm-compat, using the new libgdbm-dev package. (Closes: #188553) * Removed the /etc/magic debconf question, as ocaml is recognized by file since version 4.02-1. (Closes: #190037, #189774) * Uncommented site specific emacs stuff as suggested by Laurent Bonnaud and okeyed by Ralf Treinen. (Closes: #192131) * Conflicts with camlidl (<< 1.04), warn if /usr/include/caml is still not a symlink, but this should only happen if the user did some hand installation. (Closes: #195574, #192552) -- Sven Luther Sun, 8 Jun 2003 11:52:10 +0200 ocaml (3.06-16) unstable; urgency=low * Fix GC memory problem in stat_aux function in stat.c, reported in upstream bug #1665 and causes random SEGVs when using Unix.Largefile.stat or friends. Thanks to David Brown for providing a patch. (Closes: #191582) * Properly install the latex file ocamldoc.sty. (Closes: #175821) * Fixed or overrided most lintian warnings. * Fixed configure script to work around the sparc FTBFS with gcc 3.2. * Applied Remi's ocaml_packaging_policy changes. (Closes: #177850) * Backported the config/auto-aux/async_io.c patch from CVS, to solve the graphics module/sleep problem. (Closes: #179199) -- Sven Luther Sat, 3 May 2003 09:45:38 +0200 ocaml (3.06-15) unstable; urgency=low * Fixed the /usr/include/caml issue. (Closes: #173720) -- Sven Luther Tue, 24 Dec 2002 10:31:55 +0100 ocaml (3.06-14) unstable; urgency=low * Removed the (bad) /usr/lib/ocaml/3.06/ld.conf that comes with the ocaml package. * Now run ocaml-ldconf in ocaml postinst also. This is needed since /usr/lib/ocaml/3.06/ld.conf was in ocaml 3.06-13 and will thus be removed when we upgradeto 3.06-14. * Some script cleanup. -- Sven Luther Tue, 17 Dec 2002 00:05:22 +0100 ocaml (3.06-13) unstable; urgency=low * Ocaml and ocaml-base now provides ocaml-3.06-1 and ocaml-base-3.06-1. All library packages depending on ocaml-3.06 and ocaml-base-3.06 are now uninstallable, and should be rebuilt with these new dependencies. Notice that a bug in dpkg (Bug#170825) allows to upgrade ocaml to 3.06-13 even if packages depending on the older virtual provides are still present, apt-get handles this properly. * Changed libdir from /usr/lib/ocaml to /usr/lib/ocaml/3.06, and adapted the ocaml_packaging_policy consequently. * Added Stefano's section on META files and findlib in the ocaml_packaging_policy. * Now /usr/include/caml is a symlink to /usr/lib/ocaml/3.06/caml, and not the other side around. Need to find a nicer solution here, or even stop shipping the headers in /usr/include. One solution would be to ship them under /usr/include/ocaml/3.06/caml. -- Sven Luther Sat, 14 Dec 2002 22:24:05 +0100 ocaml (3.06-12) unstable; urgency=low * Fixed configure so it now builds dbm support. (Closes: #168458) -- Sven Luther Mon, 11 Nov 2002 12:45:32 +0100 ocaml (3.06-11) unstable; urgency=low * Applied posix systhread patch from Xavier. Now the tick thread dies properly when killing a threaded native code program. (Closes: #144719) -- Sven Luther Tue, 29 Oct 2002 18:22:16 +0100 ocaml (3.06-10) unstable; urgency=low * Now call dh_installdebconf to install the debconf .templates file. (Closes: #166707) -- Sven Luther Mon, 28 Oct 2002 10:29:04 +0100 ocaml (3.06-9) unstable; urgency=low * Now test for the existence of /etc/magic before trying to fill it. -- Sven Luther Mon, 28 Oct 2002 10:29:04 +0100 ocaml (3.06-8) unstable; urgency=low * Added objinfo man page, courtesy of Stefano Zacchiroli, and modified ocamlc manpage to make reference to it. * Applied Stefano's .ocamlinit patch. (Closes: #166199) * Added a debconf template to fill /etc/magic with the appropriate ocaml magic. -- Sven Luther Sun, 27 Oct 2002 00:20:24 +0200 ocaml (3.06-7) unstable; urgency=low * Ocaml needed a rebuild, since native code compilation using the Str library was broken. I don't really understand what did break, most probably it is one of the developpment libraries (binutils, libc6, ...) which did change in an incompatible way we are not aware of. * Now ship objinfo. (Closes: #165446) * Applied odoc_man.ml patch from Maxence i got out of CVS. (Closes: #159581) * Removed /usr/lib/ocaml/ld.conf from the ocaml package, since it is shipped with ocaml-base. (Closes: #161742) -- Sven Luther Wed, 23 Oct 2002 10:20:04 +0200 ocaml (3.06-6.1) unstable; urgency=low * (NMU) recompile at maintener request Since i uploaded ocam lsource only, ocaml-source was not built, so i asked for an NMU, not having the bandwith for uploading ocaml-source myself. (Sven Luther) -- Remi Vanicat Tue, 24 Sep 2002 11:46:27 +0200 ocaml (3.06-6) unstable; urgency=high * ocaml-ldconf in postrm was called only on remove, not upgrade. (Closes: #159859). * Moved ocaml-source stuff to /usr/src. (Closes: #159862). * Added more verbose info to ocaml-ldconf.ml (Closes: #159860). * Now ocaml-ldconf also accepts the -R option to remove all directories associated with the given package. -- Sven Luther Fri, 6 Sep 2002 18:12:18 +0200 ocaml (3.06-5) unstable; urgency=high * Removed reference to /usr/include/ocaml in README.Debian. (Closes: #158126). -- Sven Luther Mon, 2 Sep 2002 14:38:22 +0200 ocaml (3.06-4) unstable; urgency=high * Apparently the dh_ocamlld patch did not do, i will now call ocaml-ldconf in ocaml-base.postinst, to be sure the /usr/lib/ocaml/ld.conf is created correctly (Closes: #158905). -- Sven Luther Mon, 2 Sep 2002 14:04:17 +0200 ocaml (3.06-3) unstable; urgency=high * Added a Provide: ocaml-source-3.06 to the ocaml-source control file. (Asked by Jerome Marant) -- Sven Luther Fri, 30 Aug 2002 09:39:25 +0200 ocaml (3.06-2) unstable; urgency=high * Now we create the /usr/local/lib/ocaml directory in the postinst instead of including it in the package. We also don't fail if we are not able to create this directory (if /usr/local is mounted read-only for example). (Closes: #157898) * Now use mmap() instead of malloc() for allocation of major heap chunks, for alpha (same fix as for the ia64 problem encountered previously). (Closes: #158444) -- Sven Luther Thu, 29 Aug 2002 08:26:53 +0200 ocaml (3.06-1) unstable; urgency=high * New upstream (bugfix) release. (Closes: Bug#139427) * 3.05 as released by upstream was broken, i should not have uploaded it (as it broke all the libraries) but it was too late when i was made aware of the problems with 3.05. * Added a statement in the ocaml-source package description that it is _not_ supposed to be used for building ocaml. (Closes: #150077) * Now ship labltk examples and README file. (Closes: #152588) * Added ia64 to the list of arches who support the native code compilers. (Closes: #157110) * Removed .opt man pages from the list of files of the ocaml package. (Closes: #152237) * Camlp4 -where now gives the correct path. (Closes: #155701) * Now include a default /usr/lib/ocaml/ld.conf file in the ocaml-base package. (Closes: #156042, #155428) * Updated ocaml_packaging_policy and README.Debian file. * ocaml-ldconf now handles directory only lines in /etc/ocaml/ld.donf as the add command. -- Sven Luther Tue, 20 Aug 2002 15:36:45 +0200 ocaml (3.05-1) unstable; urgency=high * New upstream release. * Now /usr/lib/ocaml/stublibs is the default path for storing dynamic stub libraries. We still keep the ocaml-ldconf/dh_ocamlld stuff on, as it may still be usefull and for backward compatibility, but we will slowly migrate all library packages to use the new path. * Some updates to the policy file (standard stublib path, findlib, ...) * Now ship labltk examples and README file. * This upstream release fixes the bytecode compilers for powerpc (the same as the patch applied in 3.04-9) and ia64. -- Sven Luther Tue, 30 Jul 2002 10:44:39 +0200 ocaml (3.04-13) unstable; urgency=high * Modified ocaml-ldconf.ml so it no longer reverse the path list (contributed from Denis Barbier ). -- Sven Luther Thu, 13 Jun 2002 17:15:12 +0200 ocaml (3.04-12) unstable; urgency=high * Link the .opt manpages by hand in postinst/prerm scripts, until debhelper is fixed to support .so files pointing to manpages from other binary packages. (Closes: Bug#138642) -- Sven Luther Wed, 24 Apr 2002 11:25:17 +0200 ocaml (3.04-11) unstable; urgency=high * Now install also the emacs caml-help.el file. * Removed the "\C-c\C-b" addition bindings, since they cause conflicts with xemacs21 (Closes: Bug#139812) (taken from upsteream CVS). -- Sven Luther Fri, 19 Apr 2002 19:29:13 +0200 ocaml (3.04-10) unstable; urgency=high * Fixed the bad /usr/lib/ocaml/ld.conf file permissions (Closes: Bug#138495). * Added the ocaml-ldconf.1 manpage. * Hopefully fixed the dangling camlp4r.opt.1 and camlp4o.opt.1 symlinks (Closes: Bug#138642). -- Sven Luther Tue, 19 Mar 2002 09:12:59 +0100 ocaml (3.04-9) unstable; urgency=high * Applied the correct powerpc patch from upstream (Closes: Bug#134113) -- Sven Luther Tue, 19 Feb 2002 18:11:56 +0100 ocaml (3.04-8) unstable; urgency=high * Removed the not working ppc patch and replaced it by the one from upstream's CVS (hope it works) (Closes: Bug#134113) * Fixed ocaml-ldconf so it would work even if the files did not exist, and added two of the ld.conf files as conffiles (not /usr/lib/ocaml/ld.conf, which is a install time generated package). * Renamed the include files again to /usr/include/caml, as it breaks things otherwise. -- Sven Luther Mon, 18 Feb 2002 11:30:35 +0100 ocaml (3.04-7) unstable; urgency=high * Fixed the emacs problem (Closes: Bug#132955) * Fixed the dh_ocamlld execution problem (Closes: Bug#132959) -- Sven Luther Mon, 11 Feb 2002 17:35:52 +0100 ocaml (3.04-6) unstable; urgency=low * Added ocaml-ldconf and ld.conf handling. * Added a ocaml_packaging_policy file. * Fixed the emacs problem, hope it works. * Added a symlink from /usr/lib/ocaml/caml to /usr/include/ocaml * Fixed the ocaml-native-compilers description problem. -- Sven Luther Thu, 7 Feb 2002 12:19:10 +0100 ocaml (3.04-5) unstable; urgency=low * Split ocamlc.opt, ocamlopt.opt and ocamllex.opt into the ocaml-native-compilers package. * The ocaml-best-compilers virtual package is provided by ocaml-native-compilers if it is built and by ocaml if not. * Added an ocaml-source package containing the source to ocaml for packages which need them as build-depends. * Applied Ian Zimmerman's caml.el patch. (Closes:#129650,#130301) -- Sven Luther Wed, 16 Jan 2002 18:08:39 +0100 ocaml (3.04-4) unstable; urgency=low * fixed emacs support and added ocamltags. -- Sven Luther Wed, 16 Jan 2002 16:50:12 +0100 ocaml (3.04-3) unstable; urgency=low * small patch to build on powerpc. * don't build opt.opt on ia64. * ocaml now doesn't include the ocaml-base stuff anymore but depends on it. -- Sven Luther Wed, 9 Jan 2002 17:34:00 +0100 ocaml (3.04-2) unstable; urgency=low * added runtime dynamic libraries to ocaml-base. * other small fixes. -- Sven Luther Thu, 20 Dec 2001 09:35:21 +0100 ocaml (3.04-1) unstable; urgency=low * New upstream release. -- Sven Luther Fri, 14 Dec 2001 12:44:03 +0100 ocaml (3.02-3) unstable; urgency=low * alpha lacked the -mieee flag to gcc, so the fpu exceptions were not caught correctly. -- Sven Luther Tue, 6 Nov 2001 12:46:52 +0100 ocaml (3.02-2) unstable; urgency=low * Build with gcc. -- Sven Luther Thu, 9 Aug 2001 14:11:19 +0200 ocaml (3.02-1) unstable; urgency=low * New upstream release. * This is mostly a upstream bugfix release, including fixes to the arm native code compiler and the config stuff for the parisc port. -- Sven Luther Mon, 30 Jul 2001 17:20:38 +0200 ocaml (3.01-6.1) unstable; urgency=low * copy in new config.{guess,sub} to get support for new architectures. Closes: #94755. -- LaMont Jones Mon, 9 Jul 2001 21:39:34 -0600 ocaml (3.01-6) unstable; urgency=low * Fix from Xavier Leroy for the arm native code compiler bug. -- Sven Luther Fri, 6 Apr 2001 15:34:26 +0200 ocaml (3.01-5.2) unstable; urgency=low * Adds menu file, Closes: #83490. -- Sven Luther Wed, 4 Apr 2001 15:00:53 +0200 ocaml (3.01-5.1) unstable; urgency=low * Fixes configure script to automatically find tcl/tk 8.3. This will enable us to build this package on potato also. -- Sven Luther Tue, 3 Apr 2001 13:12:27 +0200 ocaml (3.01-5) unstable; urgency=low * Disabled native code support on the arm arch, waiting for an upstream fix on it. * Removed Build dependency on emacsen, since it is no longer needed at build time, but at install time. -- Sven Luther Thu, 29 Mar 2001 13:03:43 +0200 ocaml (3.01-4) unstable; urgency=low * fixes arm build. Fixes: #90089. -- Sven Luther Thu, 22 Mar 2001 15:37:30 +0100 ocaml (3.01-3) unstable; urgency=low * clean now trully brings the package to it's previous state. * added emacs patch from Ralf Treineim. -- Sven Luther Thu, 22 Mar 2001 09:57:32 +0100 ocaml (3.01-2) unstable; urgency=low * Fix missing dbm and labltk builds. -- Sven Luther Fri, 16 Mar 2001 10:49:02 +0100 ocaml (3.01-1) unstable; urgency=low * New upstream release. -- Sven Luther Fri, 9 Mar 2001 16:25:19 +0100 ocaml (3.00-6) unstable; urgency=low * Added some suggest field, Fixes: #85280. -- Sven Luther Fri, 9 Feb 2001 09:40:14 +0100 ocaml (3.00-5) unstable; urgency=low * Erm, ... apparently, strip is still not behaving itself correctly, it removed the bytecode from the ocamlbrowser executable :((( Fixed it by don't stripping ocamlbrowser and ocamldebug manually. -- Sven Luther Mon, 5 Feb 2001 14:50:54 +0100 ocaml (3.00-4) unstable; urgency=low * added debhelper to the Build-depends :(((( -- Sven Luther Tue, 10 Jan 2001 18:25:32 +0100 ocaml (3.00-3) unstable; urgency=low * had to rebuild due to the dpkg 1.8.1.1 bug :((( -- Sven Luther Tue, 9 Jan 2001 15:45:32 +0100 ocaml (3.00-2) unstable; urgency=low * Updated to standard version 3.2.1.0. * Added build dependencies, hope i didn't miss them. * Needed rebuilt on alpha anyway, since the tcl/tk developpment packages where missing when it got built, now, the build dependencies should handle this correctly. * Fixes #81337. (bcopy redefinition bug due to new libc). Thanks for Paul Slootman for providing a patch to this one. * Fixes #69724 (i hope). Now that strip doesn't destroy files it doesn't know anything about, we can strip executables safely again. -- Sven Luther Mon, 8 Jan 2001 14:34:26 +0100 ocaml (3.00-1) unstable; urgency=low * new upstream release. -- Sven Luther Thu, 27 Apr 2000 00:22:42 +0200 ocaml3 (2.99-1) unstable; urgency=low * New upstream release. This is the beta version of upcomming ocaml 3.0. * This package will conflict with ocaml 2.04 for now, when ocaml 3.0 comes out, it will replace ocaml 2.04 also. Don't know if we will need a ocaml 2.04 compatibility package, i guess not, but if needed, we could do it. -- Sven Luther Mon, 6 Mar 2000 13:03:17 +0100 ocaml (2.04-6) frozen unstable; urgency=low * emacs mode was missing, added it again. -- Sven Luther Tue, 29 Feb 2000 14:37:35 +0100 ocaml (2.04-5) frozen unstable; urgency=low * Fix the lintian error about LGPL link pointing to old place. -- Sven Luther Fri, 4 Feb 2000 16:14:27 +0100 ocaml (2.04-4) unstable; urgency=low * Added a libncurses5-dev dependency, as ocamlopt needs it to compile programs, not sure if a depends dependency is the right way to do things though. -- Sven Luther Fri, 4 Feb 2000 15:29:23 +0100 ocaml (2.04-3) unstable; urgency=low * Don't strip binaries, as stripping of ocaml binaries is not supported. * Closes Bug #49637. -- Sven Luther Tue, 25 Jan 2000 17:14:53 +0100 ocaml (2.04-2) unstable; urgency=low * Disables m68k nativ code compiler. * Closes Bug #52130. -- Sven Luther Thu, 9 Dec 1999 10:20:06 +0100 ocaml (2.04-1) unstable; urgency=low * New upstream release. -- Sven Luther Tue, 30 Nov 1999 14:46:37 +0100 ocaml (2.03-1) unstable; urgency=low * New upstream release. * License change (QPL & LGPL mix), can go in main now. * configuration patch seems to be included in main. -- Sven Luther Mon, 22 Nov 1999 11:40:28 +0100 ocaml (2.02-9) unstable; urgency=low * fixed thread support for native code stuff, using systhread instead of thread. -- Sven Luther Thu, 18 Nov 1999 14:55:46 +0100 ocaml (2.02-8) unstable; urgency=low * fixed bad suggests line for ocaml-doc. -- Sven Luther Mon, 8 Nov 1999 12:26:47 +0100 ocaml (2.02-7) unstable; urgency=low * Added a man page for ocamldebug. * seems FHS compliant. -- Sven Luther Sat, 9 Oct 1999 14:20:25 +0200 ocaml (2.02-6) unstable; urgency=low * Adding FHS-compliance. -- Sven Luther Sat, 9 Oct 1999 12:05:47 +0200 ocaml (2.02-5) unstable; urgency=low * Removed again the m68k native code compiler, since it was buggy. * Fixed a bug in the thread library. -- Sven Luther Wed, 30 Jun 1999 09:13:00 +0200 ocaml (2.02-4) unstable; urgency=low * Fixed a last bug with the m68k native code compiler. -- Sven Luther Sat, 29 May 1999 20:43:41 +0200 ocaml (2.02-3) unstable; urgency=low * Enabled m68k native code compiler. -- Sven Luther Fri, 7 May 1999 10:24:34 +0200 ocaml (2.02-2) unstable; urgency=low * Fixed m68k build, at least i hope so, didn't test it though ... * Fixed emacs mode build and install. -- Sven Luther Thu, 29 Apr 1999 20:05:35 +0100 ocaml (2.02-1) unstable; urgency=low * New upstream release. -- Sven Luther Mon, 08 Mar 1999 17:50:35 +0100 ocaml (2.01-5) unstable; urgency=low * fixed the ocamlmktop bug, by removing the $PREFIX stuff from tools/Makefile. It is not needed there. -- Sven Luther Wed, 26 Feb 1999 07:40:35 +0100 ocaml (2.01-4) unstable; urgency=low * fixed some stuff in the $PREFIX Makefile changes. -- Sven Luther Tue, 16 Feb 1999 19:55:35 +0100 ocaml (2.01-3) unstable; urgency=low * added some Makefile stuff to help build packages when native code compiler is not supported. * html documentation is now another package (ocaml-doc) together with documentation in another format. -- Sven Luther Tue, 16 Feb 1999 19:55:35 +0100 ocaml (2.01-2) unstable; urgency=low * Removed the mli2html patch again, conforming to the wishes of the upstream author. Due to licensing problems, if we want it, we have to have autorization of INRIA. Anyway, the mli2html patch was buggy, creating different .mli files if -html was used or not. * Fixed the configure script and Makefile so that you can use -prefix option and change the install prefix by changing the PREFIX variable. -- Sven Luther Tue, 16 Feb 1999 10:31:35 +0100 ocaml (2.01-1) unstable; urgency=low * New upstream release. -- Sven Luther Tue, 11 Feb 1999 13:51:35 +0100 ocaml (2.00-2) unstable; urgency=low * added mli2html patch to create html documents from .mli files -- Sven Luther Sun, 13 Sep 1998 09:08:05 +0200 ocaml (2.00-1) unstable; urgency=low * new upstream source -- Sven Luther Mon, 31 Aug 1998 10:08:05 +0200 ocaml (1.07-1) unstable; urgency=low * new upstream source -- Sven Luther Sat, 21 Feb 1998 10:36:26 +0800 ocaml (1.05-2) unstable; urgency=low * Build with libc6 -- Christophe Le Bars Sun, 28 Sep 1997 16:45:02 +0200 ocaml (1.05-1) non-free; urgency=low * New upstream source -- Christophe Le Bars Fri, 22 Aug 1997 23:01:51 +0200 ocaml (1.03-2) frozen-non-free non-free; urgency=low * Added ocamlmktop manpage (Bug#6264) -- Christophe Le Bars Tue, 22 Apr 1997 23:44:12 +0200 ocaml (1.03-1) non-free; urgency=low * New upstream source * Added html reference manual -- Christophe Le Bars Fri, 1 Nov 1996 15:51:00 +0100 ocaml (1.02-1) non-free; urgency=low * Initial release * Added Debian GNU/Linux Linux package maintenance system files -- Christophe Le Bars Fri, 11 Oct 1996 22:25:01 +0200 debian/ocaml-base-nox.README.Debian0000644000000000000000000000506712247142765014055 0ustar OCaml for Debian ---------------- 1) The OCaml package has been split into different binary packages: o ocaml: contains the full OCaml suite o ocaml-nox: the full suite except for the Graphics and Tk modules o ocaml-base: contains the runtime stuff (ocamlrun + dlls + Tk) o ocaml-base-nox: contains the runtime stuff (ocamlrun + dlls - Tk) o ocaml-native-compilers: contains the native built part of the OCaml suite (ocamlc.opt, ocamlopt.opt, ocamllex.opt, camlp4o.opt and camlp4r.opt) o ocaml-compiler-libs: contains several modules used internally by the OCaml compilers. They are not needed for normal OCaml development, but may be helpful in the development of certain applications. o ocaml-source: contains the full OCaml source for the (few) packages which need them at build time or for personal use (it should _not_ be used to build OCaml itself). o ocaml-mode: contains a major mode for editing OCaml files in Emacs. 2) The caml include files are found under /usr/lib/ocaml//caml. A symlink is provided from /usr/include/caml for convenience. If /usr/include/caml was previously a directory, for whatever reason, a warning will be issued and the file moved to /usr/include/caml.bad. This can be safely erased later on. 3) User-installed stuff should not go under /usr/lib/ocaml/, but rather under /usr/local/lib/ocaml/. We will take no responsability for people who break this rule and mess things up. 4) Starting from OCaml 3.05, all dll.so files are now put into a common stublibs directory, so the ocaml-ldconf tool for handling the ld.conf file is not needed anymore, but we will still keep it aroung until all libraries are ported. As of OCaml 3.08, ocaml-ldconf is now deprecated and not available anymore. Notice that user-installed dll.so files should go into /usr/local/lib/ocaml//stublibs which is searched before /usr/lib/ocaml//stublibs. -- Jerome Marant , Sat Aug 20 11:51:32 2005 ocamldoc's LaTeX output ----------------------- ocamldoc can generated documentation in LaTeX format which can be later on compiled using a LaTeX environment. The LaTeX sources generated by ocamldoc exploits the fullpage.sty style, which is not included in a default texlive installation (the Debian LaTeX environment of choice). In order to be able to compile ocamldoc generated LaTeX sources you will need to install the "texlive-latex-extra" package. -- Stefano Zacchiroli Sun, 02 Sep 2007 18:22:14 +0200 debian/camlp4-extra.install.in0000644000000000000000000000053112247142765013475 0ustar usr/bin/camlp4of usr/bin/camlp4rf usr/bin/camlp4oof usr/bin/camlp4orf usr/bin/camlp4prof @OCamlStdlibDir@/camlp4/camlp4of.cma @OCamlStdlibDir@/camlp4/camlp4rf.cma @OCamlStdlibDir@/camlp4/camlp4oof.cma @OCamlStdlibDir@/camlp4/camlp4orf.cma OPT: usr/bin/camlp4of.opt OPT: usr/bin/camlp4rf.opt OPT: usr/bin/camlp4oof.opt OPT: usr/bin/camlp4orf.opt debian/camlp4.links.in0000644000000000000000000000116512247142765012032 0ustar usr/share/man/man1/camlp4.1.gz usr/share/man/man1/mkcamlp4.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4o.1.gz OPT: usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4o.opt.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4r.1.gz OPT: usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4r.opt.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4o.1.gz OPT: usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4o.opt.1.gz usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4r.1.gz OPT: usr/share/man/man1/camlp4.1.gz usr/share/man/man1/camlp4r.opt.1.gz debian/MANIFEST0000644000000000000000000000320112247142765010325 0ustar debian/MANIFEST debian/README.Debian debian/README.source debian/TODO.Debian debian/camlp4-extra.install.in debian/camlp4-extra.links debian/camlp4.dirs.in debian/camlp4.install.in debian/camlp4.links.in debian/camlp4.manpages debian/changelog debian/clean debian/compat debian/control debian/control.in debian/copyright debian/gbp.conf debian/gen_modules.pl debian/ld.conf.in debian/man/camlp4.1 debian/man/ocamldumpobj.1 debian/man/ocamlmklib.1 debian/man/ocamlobjinfo.1 debian/natdynlink-archs debian/native-archs debian/ocaml-base-nox.README.Debian debian/ocaml-base-nox.dirs.in debian/ocaml-base-nox.docs debian/ocaml-base-nox.install.in debian/ocaml-base-nox.postinst.in debian/ocaml-base-nox.prerm.in debian/ocaml-base.dirs.in debian/ocaml-base.install.in debian/ocaml-compiler-libs.install.in debian/ocaml-interp.install.in debian/ocaml-interp.menu debian/ocaml-mode.README.Debian debian/ocaml-mode.dirs debian/ocaml-mode.emacsen-install debian/ocaml-mode.emacsen-remove debian/ocaml-mode.emacsen-startup debian/ocaml-native-compilers.dirs debian/ocaml-native-compilers.files debian/ocaml-native-compilers.install debian/ocaml-native-compilers.links debian/ocaml-nox.dirs.in debian/ocaml-nox.install.in debian/ocaml-nox.links.in debian/ocaml-nox.lintian-overrides.in debian/ocaml-nox.manpages.in debian/ocaml-nox.postinst.in debian/ocaml-nox.postrm debian/ocaml-nox.preinst debian/ocaml-source.dirs.in debian/ocaml-source.exclude debian/ocaml-source.install.in debian/ocaml.dirs.in debian/ocaml.examples debian/ocaml.install.in debian/ocaml.xpm debian/ocamlfind/ocaml-native-compilers.conf debian/ocamlinit.mk debian/rules debian/source/format debian/watch debian/ocaml-compiler-libs.install.in0000644000000000000000000000007412247142765015030 0ustar @OCamlStdlibDir@/compiler-libs @OCamlStdlibDir@/topdirs.cmi debian/ocaml-source.exclude0000644000000000000000000000004012247142765013136 0ustar */debian */*-stamp */.git */.pc debian/clean0000644000000000000000000000027312247142765010207 0ustar build/ocamlbuild_mixed_mode config/Makefile config/config.debian.install.sh config/config.sh config/m.h config/s.h myocamlbuild_config.ml tools/myocamlbuild_config.ml ocamlc ocamlcomp.sh debian/ocaml-nox.install.in0000644000000000000000000001726512247142765013105 0ustar usr/bin/ocamlbuild usr/bin/ocamlbuild.byte usr/bin/ocamlc usr/bin/ocamlcp usr/bin/ocamldebug usr/bin/ocamldep usr/bin/ocamldoc usr/bin/ocamllex usr/bin/ocamlmklib usr/bin/ocamlmktop usr/bin/ocamlprof usr/bin/ocamlyacc usr/bin/ocamlobjinfo @OCamlStdlibDir@/objinfo_helper debian/native-archs @OCamlStdlibDir@ OPT: usr/bin/ocamlbuild.native OPT: usr/bin/ocamlopt OPT: usr/bin/ocamloptp @OCamlStdlibDir@/stdlib.cma @OCamlStdlibDir@/dynlink.cma DYN: @OCamlStdlibDir@/dynlink.cmx DYN: @OCamlStdlibDir@/dynlink.cmxa DYN: @OCamlStdlibDir@/dynlink.a @OCamlStdlibDir@/caml @OCamlStdlibDir@/camlheader @OCamlStdlibDir@/camlheader_ur @OCamlStdlibDir@/Makefile.config @OCamlStdlibDir@/expunge @OCamlStdlibDir@/extract_crc @OCamlStdlibDir@/ocamlbuild @OCamlStdlibDir@/ocamldoc @OCamlStdlibDir@/threads @OCamlStdlibDir@/vmthreads @OCamlStdlibDir@/libbigarray.a OPT: @OCamlStdlibDir@/libasmrun.a OPT: @OCamlStdlibDir@/libasmrunp.a @OCamlStdlibDir@/libcamlrun.a @OCamlStdlibDir@/libcamlrun_shared.so @OCamlStdlibDir@/libnums.a @OCamlStdlibDir@/libcamlstr.a @OCamlStdlibDir@/libthreads.a OPT: @OCamlStdlibDir@/libthreadsnat.a @OCamlStdlibDir@/libunix.a usr/share/man/man3/Arg.3o usr/share/man/man3/Array.3o usr/share/man/man3/ArrayLabels.3o usr/share/man/man3/Bigarray.3o usr/share/man/man3/Bigarray.Array1.3o usr/share/man/man3/Bigarray.Array2.3o usr/share/man/man3/Bigarray.Array3.3o usr/share/man/man3/Bigarray.Genarray.3o usr/share/man/man3/Buffer.3o usr/share/man/man3/Callback.3o usr/share/man/man3/CamlinternalLazy.3o usr/share/man/man3/CamlinternalMod.3o usr/share/man/man3/CamlinternalOO.3o usr/share/man/man3/Complex.3o usr/share/man/man3/Digest.3o usr/share/man/man3/Filename.3o usr/share/man/man3/Format.3o usr/share/man/man3/Gc.3o usr/share/man/man3/Genlex.3o usr/share/man/man3/Hashtbl.3o usr/share/man/man3/Hashtbl.HashedType.3o usr/share/man/man3/Hashtbl.Make.3o usr/share/man/man3/Hashtbl.MakeSeeded.3o usr/share/man/man3/Hashtbl.S.3o usr/share/man/man3/Hashtbl.SeededHashedType.3o usr/share/man/man3/Hashtbl.SeededS.3o usr/share/man/man3/Int32.3o usr/share/man/man3/Int64.3o usr/share/man/man3/Lexing.3o usr/share/man/man3/List.3o usr/share/man/man3/ListLabels.3o usr/share/man/man3/Map.3o usr/share/man/man3/Map.Make.3o usr/share/man/man3/Map.OrderedType.3o usr/share/man/man3/Map.S.3o usr/share/man/man3/Marshal.3o usr/share/man/man3/MoreLabels.3o usr/share/man/man3/MoreLabels.Hashtbl.3o usr/share/man/man3/MoreLabels.Hashtbl.HashedType.3o usr/share/man/man3/MoreLabels.Hashtbl.Make.3o usr/share/man/man3/MoreLabels.Hashtbl.MakeSeeded.3o usr/share/man/man3/MoreLabels.Hashtbl.S.3o usr/share/man/man3/MoreLabels.Hashtbl.SeededHashedType.3o usr/share/man/man3/MoreLabels.Hashtbl.SeededS.3o usr/share/man/man3/MoreLabels.Map.3o usr/share/man/man3/MoreLabels.Map.Make.3o usr/share/man/man3/MoreLabels.Map.OrderedType.3o usr/share/man/man3/MoreLabels.Map.S.3o usr/share/man/man3/MoreLabels.Set.3o usr/share/man/man3/MoreLabels.Set.Make.3o usr/share/man/man3/MoreLabels.Set.OrderedType.3o usr/share/man/man3/MoreLabels.Set.S.3o usr/share/man/man3/Nativeint.3o usr/share/man/man3/Num.3o usr/share/man/man3/Obj.3o usr/share/man/man3/Oo.3o usr/share/man/man3/Parsing.3o usr/share/man/man3/Pervasives.3o usr/share/man/man3/Pervasives.LargeFile.3o usr/share/man/man3/Printexc.3o usr/share/man/man3/Printf.3o usr/share/man/man3/Queue.3o usr/share/man/man3/Random.3o usr/share/man/man3/Random.State.3o usr/share/man/man3/Scanf.3o usr/share/man/man3/Scanf.Scanning.3o usr/share/man/man3/Set.Make.3o usr/share/man/man3/Set.OrderedType.3o usr/share/man/man3/Set.S.3o usr/share/man/man3/Sort.3o usr/share/man/man3/Stack.3o usr/share/man/man3/StdLabels.3o usr/share/man/man3/StdLabels.Array.3o usr/share/man/man3/StdLabels.List.3o usr/share/man/man3/StdLabels.String.3o usr/share/man/man3/Str.3o usr/share/man/man3/Stream.3o usr/share/man/man3/StringLabels.3o usr/share/man/man3/Sys.3o usr/share/man/man3/Unix.3o usr/share/man/man3/Unix.LargeFile.3o usr/share/man/man3/Weak.3o usr/share/man/man3/Weak.Make.3o usr/share/man/man3/Weak.S.3o OPT: usr/share/man/man1/ocamlopt.1 OPT: usr/share/man/man1/ocamloptp.1 usr/share/man/man1/ocamlprof.1 usr/share/man/man1/ocamlc.1 usr/share/man/man1/ocamldep.1 usr/share/man/man1/ocamlcp.1 usr/share/man/man1/ocamlmktop.1 usr/share/man/man1/ocamldoc.1 usr/share/man/man1/ocamlyacc.1 usr/share/man/man1/ocamlbuild.1 usr/share/man/man1/ocamldebug.1 usr/share/man/man1/ocamllex.1 STD: arg.ml STD: arg.mli STD: arg.cmx STD: arith_flags.cmx STD: arith_status.cmx STD: arith_status.mli STD: arrayLabels.ml STD: arrayLabels.mli STD: arrayLabels.cmx STD: array.ml STD: array.mli STD: array.cmx STD: big_int.cmx STD: big_int.mli STD: bigarray.cmx STD: bigarray.cmxa STD: bigarray.mli STD: buffer.ml STD: buffer.mli STD: buffer.cmx STD: callback.ml STD: callback.mli STD: callback.cmx STD: camlinternalLazy.cmi STD: camlinternalLazy.cmx STD: camlinternalLazy.ml STD: camlinternalLazy.mli STD: camlinternalMod.cmi STD: camlinternalMod.cmx STD: camlinternalMod.ml STD: camlinternalMod.mli STD: camlinternalOO.ml STD: camlinternalOO.mli STD: camlinternalOO.cmx STD: char.ml STD: char.mli STD: char.cmx STD: complex.ml STD: complex.mli STD: complex.cmx STD: condition.mli STD: digest.ml STD: digest.mli STD: digest.cmx STD: dynlink.mli STD: event.mli STD: filename.ml STD: filename.mli STD: filename.cmx STD: format.ml STD: format.mli STD: format.cmx STD: gc.ml STD: gc.mli STD: gc.cmx STD: genlex.ml STD: genlex.mli STD: genlex.cmx STD: hashtbl.ml STD: hashtbl.mli STD: hashtbl.cmx STD: int32.ml STD: int32.mli STD: int32.cmx STD: int64.ml STD: int64.mli STD: int64.cmx STD: int_misc.cmx STD: lazy.ml STD: lazy.mli STD: lazy.cmx STD: lexing.ml STD: lexing.mli STD: lexing.cmx STD: listLabels.ml STD: listLabels.mli STD: listLabels.cmx STD: list.ml STD: list.mli STD: list.cmx STD: map.ml STD: map.mli STD: map.cmx STD: marshal.ml STD: marshal.mli STD: marshal.cmx STD: moreLabels.ml STD: moreLabels.mli STD: moreLabels.cmx STD: mutex.mli STD: nat.cmx STD: nat.mli STD: nativeint.ml STD: nativeint.mli STD: nativeint.cmx STD: num.cmx STD: num.mli STD: nums.cmxa STD: obj.ml STD: obj.mli STD: obj.cmx STD: oo.ml STD: oo.mli STD: oo.cmx STD: parsing.ml STD: parsing.mli STD: parsing.cmx STD: pervasives.ml STD: pervasives.mli STD: pervasives.cmx STD: printexc.ml STD: printexc.mli STD: printexc.cmx STD: printf.ml STD: printf.mli STD: printf.cmx STD: profiling.cmi STD: profiling.cmo STD: profiling.cmx STD: queue.ml STD: queue.mli STD: queue.cmx STD: random.ml STD: random.mli STD: random.cmx STD: ratio.cmx STD: ratio.mli STD: scanf.ml STD: scanf.mli STD: scanf.cmx STD: set.ml STD: set.mli STD: set.cmx STD: sort.ml STD: sort.mli STD: sort.cmx STD: stack.ml STD: stack.mli STD: stack.cmx STD: stdlib.cmxa STD: std_exit.cmo STD: std_exit.cmx STD: std_exit.ml STD: stdLabels.cmx STD: stdLabels.ml STD: stdLabels.mli STD: str.cmx STD: str.cmxa STD: str.mli STD: stream.ml STD: stream.mli STD: stream.cmx STD: string.ml STD: string.mli STD: string.cmx STD: stringLabels.ml STD: stringLabels.mli STD: stringLabels.cmx STD: sys.ml STD: sys.mli STD: sys.cmx STD: thread.mli STD: threadUnix.mli STD: unix.cmx STD: unix.cmxa STD: unix.mli STD: unixLabels.cmx STD: unixLabels.mli STD: weak.ml STD: weak.mli STD: weak.cmx debian/ocaml-mode.emacsen-remove0000644000000000000000000000073112247142765014046 0ustar #!/bin/sh -e # /usr/lib/emacsen-common/packages/remove/ocaml-mode FLAVOR=$1 PACKAGE=ocaml-mode if [ ${FLAVOR} != emacs ]; then if test -x /usr/sbin/install-info-altdir; then echo remove/${PACKAGE}: removing Info links for ${FLAVOR} install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/#PACKAGE#.info.gz fi echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} fi debian/ocaml-native-compilers.files0000644000000000000000000000001712247142765014574 0ustar /usr/bin/*.opt debian/ocaml-base.install.in0000644000000000000000000000021112247142765013172 0ustar @OCamlDllDir@/dlllabltk.so @OCamlDllDir@/dllgraphics.so @OCamlStdlibDir@/graphics.cma DYN: @OCamlStdlibDir@/graphics.cmxs debian/ocaml-nox.lintian-overrides.in0000644000000000000000000000007612247142765015065 0ustar ocaml-nox: script-not-executable .@OCamlStdlibDir@/camlheader debian/native-archs0000644000000000000000000000012112247142765011501 0ustar amd64 armel armhf hurd-i386 i386 kfreebsd-i386 kfreebsd-amd64 lpia powerpc sparc debian/ocaml-nox.postinst.in0000644000000000000000000000047112247142765013311 0ustar #!/bin/sh set -e if [ "$1" = "configure" ]; then ln -sf @OCamlStdlibDir@/caml /usr/include/ # Save Emacs conffiles from previous ocaml versions for f in ocaml ocaml-nox ; do file="/etc/emacs/site-start.d/50$f.el" if [ -e "$file" ]; then mv "$file" "$file.save" fi done fi #DEBHELPER# debian/compat0000644000000000000000000000000212247142765010376 0ustar 9 debian/ocaml.examples0000644000000000000000000000002212247142765012025 0ustar debian/examples/* debian/ocaml-base-nox.docs0000644000000000000000000000000712247142765012654 0ustar README debian/ocaml-native-compilers.dirs0000644000000000000000000000006312247142765014434 0ustar usr/bin usr/share/man/man1 usr/share/ocaml-findlib debian/ocaml-nox.manpages.in0000644000000000000000000000011412247142765013213 0ustar debian/man/ocamlmklib.1 debian/man/ocamldumpobj.1 debian/man/ocamlobjinfo.1 debian/patches/0000755000000000000000000000000012255671144010624 5ustar debian/patches/0008-Embed-bytecode-in-C-object-when-using-custom.patch0000644000000000000000000001552112247142765022473 0ustar From: Stephane Glondu Date: Sat, 21 Jul 2012 15:40:52 +0200 Subject: Embed bytecode in C object when using -custom This patch fixes non-strippability of bytecode executables linked with custom runtime. The new behaviour is enabled when OCAML_CUSTOM_EMBED is set to "y", or when DEB_HOST_ARCH is non-empty. Forwarded: not-needed Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=256900 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627761 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678577 Signed-off-by: Stephane Glondu --- bytecomp/bytelink.ml | 42 ++++++++++++++++++++++++--- testsuite/tests/basic-manyargs/Makefile | 3 ++ testsuite/tests/callback/Makefile | 3 ++ testsuite/tests/embedded/Makefile | 4 +++ testsuite/tests/gc-roots/Makefile | 3 ++ testsuite/tests/lib-dynlink-bytecode/Makefile | 3 ++ testsuite/tests/lib-marshal/Makefile | 3 ++ 7 files changed, 57 insertions(+), 4 deletions(-) diff --git a/bytecomp/bytelink.ml b/bytecomp/bytelink.ml index 87a58ab..72678fa 100644 --- a/bytecomp/bytelink.ml +++ b/bytecomp/bytelink.ml @@ -436,7 +436,7 @@ let mlvalues_primitives = [ (* Output a bytecode executable as a C file *) -let link_bytecode_as_c ppf tolink outfile = +let link_bytecode_as_c ppf tolink outfile with_main = let outchan = open_out outfile in begin try (* The bytecode *) @@ -478,14 +478,27 @@ let link_bytecode_as_c ppf tolink outfile = (* The table of primitives *) Symtable.output_primitive_table outchan mlvalues_primitives; (* The entry point *) - output_string outchan "\ + if with_main then begin + output_string outchan "\ +\nint main(int argc, char **argv)\ +\n{\ +\n caml_startup_code(caml_code, sizeof(caml_code),\ +\n caml_data, sizeof(caml_data),\ +\n caml_sections, sizeof(caml_sections),\ +\n argv);\ +\n return 0; /* not reached */\ +\n}\n" + end else begin + output_string outchan "\ \nvoid caml_startup(char ** argv)\ \n{\ \n caml_startup_code(caml_code, sizeof(caml_code),\ \n caml_data, sizeof(caml_data),\ \n caml_sections, sizeof(caml_sections),\ \n argv);\ -\n}\ +\n}\n" + end; + output_string outchan "\ \n#ifdef __cplusplus\ \n}\ \n#endif\n"; @@ -524,6 +537,17 @@ let fix_exec_name name = if String.contains name '.' then name else name ^ ".exe" | _ -> name +(* Debian-specific -custom behaviour: + - if DEB_HOST_ARCH is non-empty, it is activated by default + - can be enabled/disabled by setting OCAML_CUSTOM_EMBED to y/n +*) + +let custom_embed = + try Sys.getenv "OCAML_CUSTOM_EMBED" = "y" + with Not_found -> + try Sys.getenv "DEB_HOST_ARCH" <> "" + with Not_found -> false + (* Main entry point (build a custom runtime if needed) *) let link ppf objfiles output_name = @@ -538,6 +562,16 @@ let link ppf objfiles output_name = Clflags.dllibs := !lib_dllibs @ !Clflags.dllibs; (* put user's DLLs first *) if not !Clflags.custom_runtime then link_bytecode ppf tolink output_name true + else if custom_embed && not !Clflags.output_c_object && not !Clflags.make_runtime then + let c_file = Filename.temp_file "camlobj" ".c" in + try + link_bytecode_as_c ppf tolink c_file true; + let exec_name = fix_exec_name output_name in + if not (build_custom_runtime c_file exec_name) + then raise(Error Custom_runtime); + with x -> + remove_file c_file; + raise x else if not !Clflags.output_c_object then begin let bytecode_name = Filename.temp_file "camlcode" "" in let prim_name = Filename.temp_file "camlprim" ".c" in @@ -580,7 +614,7 @@ let link ppf objfiles output_name = if Sys.file_exists c_file then raise(Error(File_exists c_file)); let temps = ref [] in try - link_bytecode_as_c ppf tolink c_file; + link_bytecode_as_c ppf tolink c_file false; if not (Filename.check_suffix output_name ".c") then begin temps := c_file :: !temps; if Ccomp.compile_file c_file <> 0 then raise(Error Custom_runtime); diff --git a/testsuite/tests/basic-manyargs/Makefile b/testsuite/tests/basic-manyargs/Makefile index 3cf4a15..d1ad48c 100644 --- a/testsuite/tests/basic-manyargs/Makefile +++ b/testsuite/tests/basic-manyargs/Makefile @@ -15,5 +15,8 @@ BASEDIR=../.. MAIN_MODULE=manyargs C_FILES=manyargsprim +# This test relies on the upstream behaviour of -custom +export OCAML_CUSTOM_EMBED=n + include $(BASEDIR)/makefiles/Makefile.one include $(BASEDIR)/makefiles/Makefile.common diff --git a/testsuite/tests/callback/Makefile b/testsuite/tests/callback/Makefile index 26d02ea..2069815 100644 --- a/testsuite/tests/callback/Makefile +++ b/testsuite/tests/callback/Makefile @@ -16,6 +16,9 @@ CC=$(NATIVECC) -I $(CTOPDIR)/byterun COMPFLAGS=-I $(OTOPDIR)/otherlibs/unix LD_PATH=$(TOPDIR)/otherlibs/unix +# This test relies on the upstream behaviour of -custom +export OCAML_CUSTOM_EMBED=n + .PHONY: default default: @case " $(OTHERLIBRARIES) " in \ diff --git a/testsuite/tests/embedded/Makefile b/testsuite/tests/embedded/Makefile index 2a01c20..dfd999c 100644 --- a/testsuite/tests/embedded/Makefile +++ b/testsuite/tests/embedded/Makefile @@ -13,6 +13,10 @@ BASEDIR=../.. .PHONY: default + +# This test relies on the upstream behaviour of -custom +export OCAML_CUSTOM_EMBED=n + default: compile run .PHONY: compile diff --git a/testsuite/tests/gc-roots/Makefile b/testsuite/tests/gc-roots/Makefile index a108953..9c1ff43 100644 --- a/testsuite/tests/gc-roots/Makefile +++ b/testsuite/tests/gc-roots/Makefile @@ -16,5 +16,8 @@ MAIN_MODULE=globroots C_FILES=globrootsprim ADD_COMPFLAGS=-w a +# This test relies on the upstream behaviour of -custom +export OCAML_CUSTOM_EMBED=n + include $(BASEDIR)/makefiles/Makefile.one include $(BASEDIR)/makefiles/Makefile.common diff --git a/testsuite/tests/lib-dynlink-bytecode/Makefile b/testsuite/tests/lib-dynlink-bytecode/Makefile index 74f27b9..14cb816 100644 --- a/testsuite/tests/lib-dynlink-bytecode/Makefile +++ b/testsuite/tests/lib-dynlink-bytecode/Makefile @@ -15,6 +15,9 @@ BASEDIR=../.. COMPFLAGS=-I $(OTOPDIR)/otherlibs/dynlink LD_PATH=.:$(TOPDIR)/otherlibs/dynlink +# This test relies on the upstream behaviour of -custom +export OCAML_CUSTOM_EMBED=n + .PHONY: default default: @$(SET_LD_PATH) $(MAKE) compile run diff --git a/testsuite/tests/lib-marshal/Makefile b/testsuite/tests/lib-marshal/Makefile index 34b67dc..e8928e6 100644 --- a/testsuite/tests/lib-marshal/Makefile +++ b/testsuite/tests/lib-marshal/Makefile @@ -15,5 +15,8 @@ BASEDIR=../.. MAIN_MODULE=intext C_FILES=intextaux +# This test relies on the upstream behaviour of -custom +export OCAML_CUSTOM_EMBED=n + include $(BASEDIR)/makefiles/Makefile.one include $(BASEDIR)/makefiles/Makefile.common -- debian/patches/0001-Pass-no-relax-to-ld-on-alpha.patch0000644000000000000000000000236312247142765017375 0ustar From: Stefano Zacchiroli Date: Tue, 19 May 2009 17:22:39 +0200 Subject: Pass --no-relax to ld on alpha Pass the --no-relax option to ld to fix a segfault in initialization code (bug#338437) --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 07b1c35..0b0554f 100755 --- a/configure +++ b/configure @@ -304,7 +304,8 @@ case "$bytecc,$host" in gcc,alpha*-*-linux*) if cc="$bytecc" sh ./hasgot -mieee; then bytecccompopts="-mieee $bytecccompopts"; - fi;; + fi + bytecclinkopts="-Wl,--no-relax";; cc,mips-*-irix6*) # Add -n32 flag to ensure compatibility with native-code compiler bytecccompopts="-n32" @@ -746,6 +747,7 @@ case "$arch,$nativecc,$system,$host_type" in nativecccompopts="$gcc_warnings -DSHRINKED_GNUC";; *,*,rhapsody,*) nativecccompopts="$gcc_warnings -DDARWIN_VERSION_6 $dl_defs" if $arch64; then partialld="ld -r -arch ppc64"; fi;; + alpha,gcc*,linux*,*) nativecclinkopts="-Wl,--no-relax";; *,gcc*,cygwin,*) nativecccompopts="$gcc_warnings -U_WIN32";; amd64,gcc*,macosx,*) partialld="ld -r -arch x86_64";; amd64,gcc*,solaris,*) partialld="ld -r -m elf_x86_64";; -- debian/patches/0009-Fix-typos-and-other-wording-issues.patch0000644000000000000000000000557712247142765021015 0ustar From: Stephane Glondu Date: Mon, 21 Oct 2013 16:34:12 +0200 Subject: Fix typos and other wording issues Bug: http://caml.inria.fr/mantis/view.php?id=6231 --- man/ocaml.m | 2 +- man/ocamlc.m | 2 +- man/ocamldoc.m | 2 +- man/ocamlopt.m | 2 +- stdlib/printexc.mli | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/man/ocaml.m b/man/ocaml.m index 39baf7b..cd3fb0d 100644 --- a/man/ocaml.m +++ b/man/ocaml.m @@ -136,7 +136,7 @@ directories searched for source and compiled files. .BI \-ppx \ command After parsing, pipe the abstract syntax tree through the preprocessor .IR command . -The format of the input and ouput of the preprocessor +The format of the input and output of the preprocessor are not yet documented. .TP .B \-principal diff --git a/man/ocamlc.m b/man/ocamlc.m index fb3902a..1cdd9bd 100644 --- a/man/ocamlc.m +++ b/man/ocamlc.m @@ -478,7 +478,7 @@ implementation (.ml) file. .BI \-ppx \ command After parsing, pipe the abstract syntax tree through the preprocessor .IR command . -The format of the input and ouput of the preprocessor +The format of the input and output of the preprocessor are not yet documented. .TP .B \-principal diff --git a/man/ocamldoc.m b/man/ocamldoc.m index 73ca3a6..b25833a 100644 --- a/man/ocamldoc.m +++ b/man/ocamldoc.m @@ -170,7 +170,7 @@ the comments in implementation files. Always keep the source code for values, methods and instance variables, when available. The source code is always kept when a .ml file is given, but is by default discarded when a .mli -is given. This option allows to always keep the source code. +is given. This option allows the source code to be always kept. .TP .BI \-load \ file Load information from diff --git a/man/ocamlopt.m b/man/ocamlopt.m index 998651b..dea2249 100644 --- a/man/ocamlopt.m +++ b/man/ocamlopt.m @@ -431,7 +431,7 @@ errors, the intermediate file is deleted afterwards. .BI \-ppx \ command After parsing, pipe the abstract syntax tree through the preprocessor .IR command . -The format of the input and ouput of the preprocessor +The format of the input and output of the preprocessor are not yet documented. .TP .B \-principal diff --git a/stdlib/printexc.mli b/stdlib/printexc.mli index 773fed8..fca086d 100644 --- a/stdlib/printexc.mli +++ b/stdlib/printexc.mli @@ -91,9 +91,9 @@ type raw_backtrace a low-level format, instead of directly exposing them as string as the [get_backtrace()] function does. - This allows to pay the performance overhead of representation - conversion and formatting only at printing time, which is useful - if you want to record more backtrace than you actually print. + This allows delaying the formatting of backtraces to when they are + actually printed, which might be useful if you record more + backtraces than you print. *) val get_raw_backtrace: unit -> raw_backtrace -- debian/patches/0004-Put-manpages-in-section-3o-instead-of-3.patch0000644000000000000000000000116312247142765021347 0ustar From: Julien Cristau Date: Tue, 19 May 2009 17:24:52 +0200 Subject: Put manpages in section 3o instead of 3 --- ocamldoc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocamldoc/Makefile b/ocamldoc/Makefile index 144b95d..4d4f3f2 100644 --- a/ocamldoc/Makefile +++ b/ocamldoc/Makefile @@ -345,7 +345,7 @@ test_texi: dummy stdlib_man/Pervasives.3o: $(STDLIB_MLIS) $(MKDIR) stdlib_man $(OCAMLDOC_RUN) -man -d stdlib_man $(INCLUDES) \ - -t "OCaml library" -man-mini \ + -t "OCaml library" -man-mini -man-section 3o \ $(STDLIB_MLIS) autotest_stdlib: dummy -- debian/patches/0015-Fix-native-backtraces-on-arm.patch0000644000000000000000000000373112247142765017540 0ustar From: Stephane Glondu Date: Wed, 13 Nov 2013 14:28:20 +0100 Subject: Fix native backtraces on arm* Author: Jacques-Henri Jourdan Bug: http://caml.inria.fr/mantis/view.php?id=6233 Signed-off-by: Stephane Glondu --- asmcomp/linearize.ml | 6 ++++++ asmcomp/linearize.mli | 3 +++ asmcomp/schedgen.ml | 3 ++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/asmcomp/linearize.ml b/asmcomp/linearize.ml index 963ffe9..5095c3a 100644 --- a/asmcomp/linearize.ml +++ b/asmcomp/linearize.ml @@ -86,6 +86,12 @@ let instr_cons d a r n = { desc = d; next = n; arg = a; res = r; dbg = Debuginfo.none; live = Reg.Set.empty } +(* Cons an instruction (live empty) *) + +let instr_cons_debug d a r dbg n = + { desc = d; next = n; arg = a; res = r; + dbg = dbg; live = Reg.Set.empty } + (* Cons a simple instruction (arg, res, live empty) *) let cons_instr d n = diff --git a/asmcomp/linearize.mli b/asmcomp/linearize.mli index ad5dc3a..ca203a7 100644 --- a/asmcomp/linearize.mli +++ b/asmcomp/linearize.mli @@ -42,6 +42,9 @@ val has_fallthrough : instruction_desc -> bool val end_instr: instruction val instr_cons: instruction_desc -> Reg.t array -> Reg.t array -> instruction -> instruction +val instr_cons_debug: + instruction_desc -> Reg.t array -> Reg.t array -> Debuginfo.t -> + instruction -> instruction val invert_test: Mach.test -> Mach.test type fundecl = diff --git a/asmcomp/schedgen.ml b/asmcomp/schedgen.ml index 885c945..a04ab27 100644 --- a/asmcomp/schedgen.ml +++ b/asmcomp/schedgen.ml @@ -336,7 +336,8 @@ method private reschedule ready_queue date cont = if son.emitted_ancestors = son.ancestors then new_queue := son :: !new_queue) node.sons; - instr_cons node.instr.desc node.instr.arg node.instr.res + instr_cons_debug node.instr.desc node.instr.arg node.instr.res + node.instr.dbg (self#reschedule !new_queue (date + issue_cycles) cont) end -- debian/patches/0002-Call-ld-with-proper-flags.patch0000644000000000000000000000156012247142765017051 0ustar From: Stefano Zacchiroli Date: Tue, 19 May 2009 17:23:34 +0200 Subject: Call ld with proper flags Filter linkflags passed to ld by ocamlopt -pack and -output-obj to remove the "-Wl," parts, which are only used when ocamlopt calls gcc. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 0b0554f..1294fad 100755 --- a/configure +++ b/configure @@ -1655,7 +1655,7 @@ echo "DEBUGGER=$debugger" >> Makefile echo "CC_PROFILE=$cc_profile" >> Makefile echo "SYSTHREAD_SUPPORT=$systhread_support" >> Makefile echo "PARTIALLD=$partialld" >> Makefile -echo "PACKLD=\$(PARTIALLD) \$(NATIVECCLINKOPTS) -o " \ +echo "PACKLD=\$(PARTIALLD) $(echo $nativecclinkopts|sed s/-Wl,//g) -o " \ | sed -e 's/ $/\\ /' >> Makefile echo "DLLCCCOMPOPTS=$dllccompopts" >> Makefile echo "IFLEXDIR=$iflexdir" >> Makefile -- debian/patches/0011-Enable-mkstemp-in-yacc.patch0000644000000000000000000000133112247142765016412 0ustar From: Stephane Glondu Date: Thu, 7 Nov 2013 16:06:57 +0100 Subject: Enable mkstemp in yacc Use the feature test macro found in the mkstemp(3) manpage. Bug: http://caml.inria.fr/mantis/view.php?id=6232 --- yacc/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/yacc/main.c b/yacc/main.c index f6cac60..66b63ec 100644 --- a/yacc/main.c +++ b/yacc/main.c @@ -57,6 +57,11 @@ char *verbose_file_name; #define HAVE_MKSTEMP #endif +#if _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE >= 500 \ + || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED || _POSIX_C_SOURCE >= 200112L +#define HAVE_MKSTEMP +#endif + #ifdef HAVE_MKSTEMP int action_fd = -1, entry_fd = -1, text_fd = -1, union_fd = -1; #endif -- debian/patches/0006-Install-ocamlbuild-as-a-link-on-either-.native-or-.b.patch0000644000000000000000000000234612247142765023676 0ustar From: Stefano Zacchiroli Date: Tue, 19 May 2009 17:28:56 +0200 Subject: Install ocamlbuild as a link on either .native or .byte --- build/partial-install.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/build/partial-install.sh b/build/partial-install.sh index 42c3558..96d21de 100755 --- a/build/partial-install.sh +++ b/build/partial-install.sh @@ -58,6 +58,21 @@ installbestbin() { [ -x "$3" ] || chmod +x "$3" } +installbestlink() { + if [ -f "$1" ]; then + echo " linking binary $3 to `basename $1`" + ln -fs "$1" "$3" + else + if [ -f "$2" ]; then + echo " linking binary $3 to `basename $2`" + ln -fs "$2" "$3" + else + echo "None of $1, $2 exists" + exit 3 + fi + fi +} + installlib() { if [ -f "$1" ]; then dest="$2/`basename $1`" @@ -156,7 +171,7 @@ echo "Installing ocamlbuild..." cd ocamlbuild installbin ocamlbuild.byte$EXE $BINDIR/ocamlbuild.byte$EXE installbin ocamlbuild.native$EXE $BINDIR/ocamlbuild.native$EXE -installbestbin ocamlbuild.native$EXE ocamlbuild.byte$EXE $BINDIR/ocamlbuild$EXE +installbestlink ocamlbuild.native$EXE ocamlbuild.byte$EXE $BINDIR/ocamlbuild$EXE installlibdir \ ocamlbuildlib.$A \ -- debian/patches/0012-Fix-ocamlopt-on-sparc.patch0000644000000000000000000000576112247142765016323 0ustar From: Stephane Glondu Date: Fri, 8 Nov 2013 16:42:19 +0100 Subject: Fix ocamlopt on sparc Bug: http://caml.inria.fr/mantis/view.php?id=6227 --- asmcomp/interf.ml | 6 +++++- asmcomp/sparc/emit.mlp | 12 ++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/asmcomp/interf.ml b/asmcomp/interf.ml index 77acb78..eab8a96 100644 --- a/asmcomp/interf.ml +++ b/asmcomp/interf.ml @@ -115,13 +115,17 @@ let build_graph fundecl = (* Add a preference from one reg to another. Do not add anything if the two registers conflict, - or if the source register already has a location. *) + or if the source register already has a location, + or if the two registers belong to different classes. + (The last case can occur e.g. on Sparc when passing + float arguments in integer registers, PR#6227.) *) let add_pref weight r1 r2 = if weight > 0 then begin let i = r1.stamp and j = r2.stamp in if i <> j && r1.loc = Unknown + && Proc.register_class r1 = Proc.register_class r2 && (let p = if i < j then (i, j) else (j, i) in not (IntPairSet.mem p !mat)) then r1.prefer <- (r2, weight) :: r1.prefer diff --git a/asmcomp/sparc/emit.mlp b/asmcomp/sparc/emit.mlp index b8387cd..258b2ca 100644 --- a/asmcomp/sparc/emit.mlp +++ b/asmcomp/sparc/emit.mlp @@ -64,7 +64,7 @@ let symbol_prefix = if Config.system = "sunos" then "_" else "" let emit_symbol s = - if String.length s >= 1 & s.[0] = '.' + if String.length s >= 1 && s.[0] = '.' then emit_string s else begin emit_string symbol_prefix; Emitaux.emit_symbol '$' s end @@ -629,8 +629,8 @@ let is_one_instr i = i.arg.(0).typ <> Float && i.res.(0).typ <> Float | Iconst_int n -> is_native_immediate n | Istackoffset _ -> true - | Iload(_, Iindexed n) -> i.res.(0).typ <> Float & is_immediate n - | Istore(_, Iindexed n) -> i.arg.(0).typ <> Float & is_immediate n + | Iload(_, Iindexed n) -> i.res.(0).typ <> Float && is_immediate n + | Istore(_, Iindexed n) -> i.arg.(0).typ <> Float && is_immediate n | Iintop(op) -> is_one_instr_op op | Iintop_imm(op, _) -> is_one_instr_op op | Iaddf | Isubf | Imulf | Idivf -> true @@ -660,15 +660,15 @@ let rec emit_all i = emit_instr i.next (Some i); emit_all i.next.next | {next = {desc = Lop(Itailcall_imm s)}} - when s = !function_name & is_one_instr i -> + when s = !function_name && is_one_instr i -> emit_instr i.next (Some i); emit_all i.next.next | {next = {desc = Lop(Icall_ind)}} - when is_one_instr i & no_interference i.res i.next.arg -> + when is_one_instr i && no_interference i.res i.next.arg -> emit_instr i.next (Some i); emit_all i.next.next | {next = {desc = Lcondbranch(_, _)}} - when is_one_instr i & no_interference i.res i.next.arg -> + when is_one_instr i && no_interference i.res i.next.arg -> emit_instr i.next (Some i); emit_all i.next.next | _ -> -- debian/patches/0013-Tune-resource-usage-of-some-tests.patch0000644000000000000000000000765212247142765020610 0ustar From: Stephane Glondu Date: Fri, 8 Nov 2013 22:27:23 +0100 Subject: Tune resource usage of some tests The original tests trigger some limits and fail on kfreebsd-i386 with uncaught exception Sys_error("Thread.create: Resource temporarily unavailable"). --- testsuite/tests/lib-threads/sieve.ml | 2 +- testsuite/tests/lib-threads/sieve.reference | 80 ------------------------- testsuite/tests/lib-threads/testsieve.ml | 2 +- testsuite/tests/lib-threads/testsieve.reference | 70 ---------------------- testsuite/tests/lib-threads/token1.ml | 2 +- testsuite/tests/lib-threads/token2.ml | 2 +- 6 files changed, 4 insertions(+), 154 deletions(-) diff --git a/testsuite/tests/lib-threads/sieve.ml b/testsuite/tests/lib-threads/sieve.ml index ac3a9d2..86f0e5e 100644 --- a/testsuite/tests/lib-threads/sieve.ml +++ b/testsuite/tests/lib-threads/sieve.ml @@ -40,6 +40,6 @@ let go max = in Thread.create (integers 2) ch; print_primes ch max;; -let _ = go 500 +let _ = go 50 ;; diff --git a/testsuite/tests/lib-threads/sieve.reference b/testsuite/tests/lib-threads/sieve.reference index 3e7998d..6beaeaa 100644 --- a/testsuite/tests/lib-threads/sieve.reference +++ b/testsuite/tests/lib-threads/sieve.reference @@ -13,83 +13,3 @@ 41 43 47 -53 -59 -61 -67 -71 -73 -79 -83 -89 -97 -101 -103 -107 -109 -113 -127 -131 -137 -139 -149 -151 -157 -163 -167 -173 -179 -181 -191 -193 -197 -199 -211 -223 -227 -229 -233 -239 -241 -251 -257 -263 -269 -271 -277 -281 -283 -293 -307 -311 -313 -317 -331 -337 -347 -349 -353 -359 -367 -373 -379 -383 -389 -397 -401 -409 -419 -421 -431 -433 -439 -443 -449 -457 -461 -463 -467 -479 -487 -491 -499 diff --git a/testsuite/tests/lib-threads/testsieve.ml b/testsuite/tests/lib-threads/testsieve.ml index 6979f80..2f11272 100644 --- a/testsuite/tests/lib-threads/testsieve.ml +++ b/testsuite/tests/lib-threads/testsieve.ml @@ -41,7 +41,7 @@ let premiers = Event.new_channel () let main _ = Thread.create sieve premiers; while true do - for i = 1 to 100 do + for i = 1 to 30 do let n = Event.sync (Event.receive premiers) in print_int n; print_newline() done; diff --git a/testsuite/tests/lib-threads/testsieve.reference b/testsuite/tests/lib-threads/testsieve.reference index b6b8c06..6e97d2c 100644 --- a/testsuite/tests/lib-threads/testsieve.reference +++ b/testsuite/tests/lib-threads/testsieve.reference @@ -28,73 +28,3 @@ 101 103 107 -109 -113 -127 -131 -137 -139 -149 -151 -157 -163 -167 -173 -179 -181 -191 -193 -197 -199 -211 -223 -227 -229 -233 -239 -241 -251 -257 -263 -269 -271 -277 -281 -283 -293 -307 -311 -313 -317 -331 -337 -347 -349 -353 -359 -367 -373 -379 -383 -389 -397 -401 -409 -419 -421 -431 -433 -439 -443 -449 -457 -461 -463 -467 -479 -487 -491 -499 -503 -509 -521 diff --git a/testsuite/tests/lib-threads/token1.ml b/testsuite/tests/lib-threads/token1.ml index d6e7a1b..3208150 100644 --- a/testsuite/tests/lib-threads/token1.ml +++ b/testsuite/tests/lib-threads/token1.ml @@ -37,7 +37,7 @@ let process (n, conds, nprocs) = done let main() = - let nprocs = try int_of_string Sys.argv.(1) with _ -> 100 in + let nprocs = try int_of_string Sys.argv.(1) with _ -> 30 in let iter = try int_of_string Sys.argv.(2) with _ -> 1000 in let conds = Array.create nprocs (Condition.create()) in for i = 1 to nprocs - 1 do conds.(i) <- Condition.create() done; diff --git a/testsuite/tests/lib-threads/token2.ml b/testsuite/tests/lib-threads/token2.ml index 9ef0580..25a9004 100644 --- a/testsuite/tests/lib-threads/token2.ml +++ b/testsuite/tests/lib-threads/token2.ml @@ -33,7 +33,7 @@ let process (n, ins, outs, nprocs) = done let main() = - let nprocs = try int_of_string Sys.argv.(1) with _ -> 100 in + let nprocs = try int_of_string Sys.argv.(1) with _ -> 30 in let iter = try int_of_string Sys.argv.(2) with _ -> 1000 in let ins = Array.create nprocs Unix.stdin in let outs = Array.create nprocs Unix.stdout in -- debian/patches/0014-Native-backtraces-don-t-work-on-powerpc-and-sparc.patch0000644000000000000000000000136612247142765023522 0ustar From: Stephane Glondu Date: Wed, 13 Nov 2013 14:28:16 +0100 Subject: Native backtraces don't work on powerpc and sparc --- testsuite/tests/backtrace/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testsuite/tests/backtrace/Makefile b/testsuite/tests/backtrace/Makefile index 83f9472..3695ff6 100644 --- a/testsuite/tests/backtrace/Makefile +++ b/testsuite/tests/backtrace/Makefile @@ -18,7 +18,10 @@ OTHERFILES=backtrace2.ml raw_backtrace.ml default: $(MAKE) byte - @if $(BYTECODE_ONLY); then : ; else $(MAKE) native; fi + @case `dpkg-architecture -qDEB_BUILD_ARCH` in \ + sparc|powerpc*) : ;; \ + *) if $(BYTECODE_ONLY) ; then : ; else $(MAKE) native; fi ;; \ + esac .PHONY: byte byte: -- debian/patches/0010-Add-const-qualifiers-in-Tcl-Tk-bindings.patch0000644000000000000000000000517212247142765021504 0ustar From: Stephane Glondu Date: Thu, 7 Nov 2013 15:45:50 +0100 Subject: Add const qualifiers in Tcl/Tk bindings Bug: http://caml.inria.fr/mantis/view.php?id=6230 --- otherlibs/labltk/support/camltk.h | 4 ++-- otherlibs/labltk/support/cltkCaml.c | 2 +- otherlibs/labltk/support/cltkUtf.c | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/otherlibs/labltk/support/camltk.h b/otherlibs/labltk/support/camltk.h index 9efbbea..6ee6558 100644 --- a/otherlibs/labltk/support/camltk.h +++ b/otherlibs/labltk/support/camltk.h @@ -40,7 +40,7 @@ extern char *string_to_c(value s); /* cltkUtf.c */ -extern value tcl_string_to_caml( char * ); +extern value tcl_string_to_caml( CONST84 char * ); extern char * caml_string_to_tcl( value ); /* cltkEval.c */ @@ -53,7 +53,7 @@ extern value *tkerror_exn; extern value *handler_code; extern int CamlCBCmd(ClientData clientdata, Tcl_Interp *interp, int argc, CONST84 char *argv[]); -CAMLTKextern void tk_error(char * errmsg) Noreturn; +CAMLTKextern void tk_error(CONST84 char * errmsg) Noreturn; /* cltkMain.c */ extern int signal_events; diff --git a/otherlibs/labltk/support/cltkCaml.c b/otherlibs/labltk/support/cltkCaml.c index 9a3d38a..5c6aae0 100644 --- a/otherlibs/labltk/support/cltkCaml.c +++ b/otherlibs/labltk/support/cltkCaml.c @@ -63,7 +63,7 @@ CAMLprim value camltk_return (value v) } /* Note: raise_with_string WILL copy the error message */ -CAMLprim void tk_error(char *errmsg) +CAMLprim void tk_error(CONST84 char *errmsg) { raise_with_string(*tkerror_exn, errmsg); } diff --git a/otherlibs/labltk/support/cltkUtf.c b/otherlibs/labltk/support/cltkUtf.c index 61dbfb2..faaf303 100644 --- a/otherlibs/labltk/support/cltkUtf.c +++ b/otherlibs/labltk/support/cltkUtf.c @@ -36,7 +36,7 @@ #ifdef UTFCONVERSION -char *external_to_utf( char *str ){ +char *external_to_utf( CONST84 char *str ){ char *res; Tcl_DString dstr; int length; @@ -50,7 +50,7 @@ char *external_to_utf( char *str ){ return res; } -char *utf_to_external( char *str ){ +char *utf_to_external( CONST84 char *str ){ char *res; Tcl_DString dstr; int length; @@ -69,7 +69,7 @@ char *caml_string_to_tcl( value s ) return external_to_utf( String_val(s) ); } -value tcl_string_to_caml( char *s ) +value tcl_string_to_caml( CONST84 char *s ) { CAMLparam0(); CAMLlocal1(res); @@ -84,6 +84,6 @@ value tcl_string_to_caml( char *s ) #else char *caml_string_to_tcl(value s){ return string_to_c(s); } -value tcl_string_to_caml(char *s){ return copy_string(s); } +value tcl_string_to_caml(CONST84 char *s){ return copy_string(s); } #endif -- debian/patches/0003-Don-t-use-rpath.patch0000644000000000000000000000131212247142765015114 0ustar From: Stefano Zacchiroli Date: Tue, 19 May 2009 17:24:14 +0200 Subject: Don't use rpath --- tools/ocamlmklib.mlp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/ocamlmklib.mlp b/tools/ocamlmklib.mlp index 9a47d1b..729145f 100644 --- a/tools/ocamlmklib.mlp +++ b/tools/ocamlmklib.mlp @@ -37,6 +37,11 @@ and output_c = ref "" (* Output name for C part of library *) and rpath = ref [] (* rpath options *) and verbose = ref false +(* Debian specific: inhibit rpath *) +let byteccrpath = "" +and nativeccrpath = "" +and mksharedlibrpath = "" + let starts_with s pref = String.length s >= String.length pref && String.sub s 0 (String.length pref) = pref -- debian/patches/0007-Avoid-multiple-declarations-in-generated-.c-files-in.patch0000644000000000000000000000700312247142765024137 0ustar From: Stephane Glondu Date: Thu, 21 Apr 2011 18:39:31 +0200 Subject: Avoid multiple declarations in generated .c files in -output-obj In -output-obj mode, (which contains some primitives) is included in the generated .c file, leading to errors when compiling with g++ (multiple declarations). There are probably better implementations (in particular, in this one, care must be taken when changing the list of primitives available in mlvalues.h), but this is a small and (not too) intrusive patch. Bug: http://caml.inria.fr/mantis/view.php?id=5254 Signed-off-by: Stephane Glondu --- bytecomp/bytelink.ml | 17 +++++++++++++++-- bytecomp/symtable.ml | 8 +++++--- bytecomp/symtable.mli | 2 +- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/bytecomp/bytelink.ml b/bytecomp/bytelink.ml index 2098366..87a58ab 100644 --- a/bytecomp/bytelink.ml +++ b/bytecomp/bytelink.ml @@ -421,6 +421,19 @@ let output_cds_file outfile = remove_file outfile; raise x +(* List of primitives declared in caml/mlvalues.h, to avoid duplicate + declarations in generated .c files *) + +let mlvalues_primitives = [ + "caml_get_public_method"; + "caml_hash_variant"; + "caml_string_length"; + "caml_Double_val"; + "caml_Store_double_val"; + "caml_Int64_val"; + "caml_atom_table"; +] + (* Output a bytecode executable as a C file *) let link_bytecode_as_c ppf tolink outfile = @@ -463,7 +476,7 @@ let link_bytecode_as_c ppf tolink outfile = (Marshal.to_string sections []); output_string outchan "\n};\n\n"; (* The table of primitives *) - Symtable.output_primitive_table outchan; + Symtable.output_primitive_table outchan mlvalues_primitives; (* The entry point *) output_string outchan "\ \nvoid caml_startup(char ** argv)\ @@ -544,7 +557,7 @@ let link ppf objfiles output_name = #else\n\ typedef long value;\n\ #endif\n"; - Symtable.output_primitive_table poc; + Symtable.output_primitive_table poc []; output_string poc "\ #ifdef __cplusplus\n\ }\n\ diff --git a/bytecomp/symtable.ml b/bytecomp/symtable.ml index 63374f8..cf72528 100644 --- a/bytecomp/symtable.ml +++ b/bytecomp/symtable.ml @@ -113,15 +113,17 @@ let output_primitive_names outchan = open Printf -let output_primitive_table outchan = +let output_primitive_table outchan blacklist = let prim = all_primitives() in for i = 0 to Array.length prim - 1 do - fprintf outchan "extern value %s();\n" prim.(i) + let p = prim.(i) in + if not (List.mem p blacklist) then + fprintf outchan "extern value %s();\n" p done; fprintf outchan "typedef value (*primitive)();\n"; fprintf outchan "primitive caml_builtin_cprim[] = {\n"; for i = 0 to Array.length prim - 1 do - fprintf outchan " %s,\n" prim.(i) + fprintf outchan " (primitive)%s,\n" prim.(i) done; fprintf outchan " (primitive) 0 };\n"; fprintf outchan "const char * caml_names_of_builtin_cprim[] = {\n"; diff --git a/bytecomp/symtable.mli b/bytecomp/symtable.mli index e3c33d2..597d012 100644 --- a/bytecomp/symtable.mli +++ b/bytecomp/symtable.mli @@ -23,7 +23,7 @@ val require_primitive: string -> unit val initial_global_table: unit -> Obj.t array val output_global_map: out_channel -> unit val output_primitive_names: out_channel -> unit -val output_primitive_table: out_channel -> unit +val output_primitive_table: out_channel -> string list -> unit val data_global_map: unit -> Obj.t val data_primitive_names: unit -> string -- debian/patches/linker-flags.patch0000644000000000000000000000260112255536554014227 0ustar Index: ocaml-3.12.1/configure =================================================================== --- ocaml-3.12.1.orig/configure 2011-11-18 17:45:15.000000000 +0000 +++ ocaml-3.12.1/configure 2011-11-18 17:54:51.104603036 +0000 @@ -285,7 +285,9 @@ if cc="$bytecc" sh ./hasgot -mieee; then bytecccompopts="-mieee $bytecccompopts"; fi - bytecclinkopts="-Wl,--no-relax";; + bytecclinkopts="-Wl,--hash-style=both -Wl,--as-needed -Wl,--build-id -Wl,--no-relax";; + gcc,*-*-linux*) + bytecclinkopts="-Wl,--hash-style=both -Wl,--as-needed -Wl,--build-id";; cc,mips-*-irix6*) # Add -n32 flag to ensure compatibility with native-code compiler bytecccompopts="-n32" @@ -740,7 +742,8 @@ nativecccompopts="$gcc_warnings -DSHRINKED_GNUC";; *,*,rhapsody,*) nativecccompopts="$gcc_warnings -DDARWIN_VERSION_6 $dl_defs" if $arch64; then partialld="ld -r -arch ppc64"; fi;; - alpha,gcc*,linux*,*) nativecclinkopts="-Wl,--no-relax";; + alpha,gcc*,linux*,*) nativecclinkopts="-Wl,--hash-style=both -Wl,--as-needed -Wl,--build-id -Wl,--no-relax";; + *,gcc*,linux*,*) nativecclinkopts="-Wl,--hash-style=both -Wl,--as-needed -Wl,--build-id";; *,gcc*,cygwin,*) nativecccompopts="$gcc_warnings -U_WIN32";; amd64,gcc*,macosx,*) partialld="ld -r -arch x86_64";; amd64,gcc*,solaris,*) partialld="ld -r -m elf_x86_64";; debian/patches/0005-Patch-config.sh-for-installation.patch0000644000000000000000000000160012247142765020425 0ustar From: Ralf Treinen Date: Tue, 19 May 2009 17:28:09 +0200 Subject: Patch config.sh for installation Use for installatation a patched config.sh (created by debian/rules). --- build/install.sh | 2 +- build/partial-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/install.sh b/build/install.sh index d092d66..d80a158 100755 --- a/build/install.sh +++ b/build/install.sh @@ -16,7 +16,7 @@ set -e cd `dirname $0`/.. -. config/config.sh +. config/config.debian.install.sh not_installed=$PWD/_build/not_installed diff --git a/build/partial-install.sh b/build/partial-install.sh index c06154a..42c3558 100755 --- a/build/partial-install.sh +++ b/build/partial-install.sh @@ -20,7 +20,7 @@ set -e cd `dirname $0`/.. -. config/config.sh +. config/config.debian.install.sh not_installed=$PWD/_build/not_installed -- debian/patches/series0000644000000000000000000000131012255671144012034 0ustar 0001-Pass-no-relax-to-ld-on-alpha.patch 0002-Call-ld-with-proper-flags.patch 0003-Don-t-use-rpath.patch 0004-Put-manpages-in-section-3o-instead-of-3.patch 0005-Patch-config.sh-for-installation.patch 0006-Install-ocamlbuild-as-a-link-on-either-.native-or-.b.patch 0007-Avoid-multiple-declarations-in-generated-.c-files-in.patch 0008-Embed-bytecode-in-C-object-when-using-custom.patch 0009-Fix-typos-and-other-wording-issues.patch 0010-Add-const-qualifiers-in-Tcl-Tk-bindings.patch 0011-Enable-mkstemp-in-yacc.patch 0012-Fix-ocamlopt-on-sparc.patch 0013-Tune-resource-usage-of-some-tests.patch 0014-Native-backtraces-don-t-work-on-powerpc-and-sparc.patch 0015-Fix-native-backtraces-on-arm.patch linker-flags.patch debian/README.Debian0000644000000000000000000000124512247142765011243 0ustar OCaml Debian package ==================== In upstream OCaml, “ocamlc -custom” produces executables that cannot be stripped (more precisely, the bytecode, which is not part of the ELF data, is removed by strip). This Debian version is patched (and the patch has been rejected by upstream [1], but is available separately in debian/patches) so that the bytecode is embedded in the executable and can be stripped. This new behaviour is optional, and can be enabled by setting the OCAML_CUSTOM_EMBED environment variable to “y”. [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=49;bug=256900 -- Stéphane Glondu , Tue, 26 Jun 2012 07:27:05 +0200 debian/ocamlinit.mk0000644000000000000000000000410212247142765011505 0ustar # # Description: Useful Makefile rules for OCaml related packages # # Copyright © 2009 Stéphane Glondu # # 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 Street, Fifth Floor, Boston, MA # 02110-1301 USA. # _ocaml_share_path ?= /usr/share/ocaml ifndef _ocaml_share_ocamlinit _ocaml_share_ocamlinit = 1 include $(_ocaml_share_path)/ocamlvars.mk # list of .in files contained (non-recursively) in debian/ that requires # pre-build filling. # debian/rules writers might need to add stuff to this list: # e.g.: OCAML_IN_FILES += debian/patches/foo # (no .in extension) OCAML_IN_FILES ?= $(filter-out debian/control,$(patsubst %.in,%,$(wildcard debian/*.in))) # WARNING: there are currently duplications with ocamlvars.mk and # ocaml.mk, but hopefully they will be removed at some point in the # future OCAMLINIT_SED := \ -e 's%@OCamlABI@%$(OCAML_ABI)%g' \ -e 's%@OCamlStdlibDir@%$(OCAML_STDLIB_DIR)%g' \ -e 's%@OCamlDllDir@%$(OCAML_DLL_DIR)%g' ifeq ($(OCAML_HAVE_OCAMLOPT),yes) OCAMLINIT_SED += -e 's/^OPT: //' -e '/^BYTE: /d' else OCAMLINIT_SED += -e '/^OPT: /d' -e 's/^BYTE: //' endif ifeq ($(OCAML_NATDYNLINK),yes) OCAMLINIT_SED += -e 's/^DYN: //' else OCAMLINIT_SED += -e '/^DYN: /d' endif ocamlinit: ocamlinit-stamp ocamlinit-stamp: for t in $(OCAML_IN_FILES); do \ sed $(OCAMLINIT_SED) $$t.in > $$t; \ done sed -i 's@\./@@' debian/ocaml-nox.lintian-overrides touch $@ ocamlinit-clean: rm -f ocamlinit-stamp $(OCAML_IN_FILES) .PHONY: ocamlinit ocamlinit-clean endif debian/control0000644000000000000000000002412012255536123010574 0ustar Source: ocaml Section: ocaml Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian OCaml Maintainers Uploaders: Samuel Mimram , Ralf Treinen , Stéphane Glondu , Mehdi Dogguy Build-Depends: debhelper (>= 9), pkg-config, quilt, autotools-dev, binutils-dev, libiberty-dev, tcl-dev, tk-dev, libncurses5-dev, bzip2, dh-ocaml (>= 1.0.0~) Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ocaml-maint/packages/ocaml.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ocaml-maint/packages/ocaml.git Homepage: http://caml.inria.fr/ Package: ocaml-nox Architecture: any Depends: ocaml-base-nox, ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends}, libncurses5-dev, ocaml-interp (= ${binary:Version}), gcc, binutils Provides: ${ocaml:Provides}, ${F:BestProvides}, libnums-ocaml-dev Suggests: ocaml-doc, tuareg-mode | ocaml-mode Recommends: camlp4, file Replaces: ocaml-interp (<< 3.11.1-3) Breaks: dh-ocaml (<< 1.0.0), ocaml-interp (<< 3.11.1-3), camlp4 (<< 3.10.0), camlidl (<< 1.04) Description: ML implementation with a class-based object system (no X) Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . OCaml comprises two compilers. One generates bytecode which is then interpreted by a C program. This compiler runs quickly, generates compact code with moderate memory requirements, and is portable to essentially any 32 or 64 bit Unix platform. Performance of generated programs is quite good for a bytecoded implementation: almost twice as fast as Caml Light 0.7. This compiler can be used either as a standalone, batch-oriented compiler that produces standalone programs, or as an interactive, toplevel-based system. . The other compiler generates high-performance native code for a number of processors. Compilation takes longer and generates bigger code, but the generated programs deliver excellent performance, while retaining the moderate memory requirements of the bytecode compiler. It is not available on all arches though. . This package contains everything needed to develop OCaml applications that do not require the graphics library. Package: camlp4 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends} Provides: ${ocaml:Provides} Description: Pre Processor Pretty Printer for OCaml Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . CamlP4 is a Pre-Processor-Pretty-Printer for Objective Caml. It offers tools for syntax (Stream Parsers and Grammars) and the ability to modify the concrete syntax of the language (Quotations, Syntax Extensions). . This package contains the basic CamlP4 executables and libraries for pre-processing and pretty-printing OCaml sources both interactively and in a batch fashion. Package: camlp4-extra Architecture: any Depends: camlp4, ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends}, ocaml-nox-${F:OCamlABI}, camlp4-${F:OCamlABI} Description: Pre Processor Pretty Printer for OCaml - extras Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . CamlP4 is a Pre-Processor-Pretty-Printer for Objective Caml. It offers tools for syntax (Stream Parsers and Grammars) and the ability to modify the concrete syntax of the language (Quotations, Syntax Extensions). . This package contains pre-linked executables and libraries for pre-processing and pretty-printing OCaml sources out of the box for various common needs. Package: ocaml Architecture: any Depends: ocaml-base-nox, ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends}, libx11-dev Provides: ${ocaml:Provides} Suggests: tcl-dev, tk-dev Replaces: ocaml-nox (<< 3.11.0-2) Description: ML language implementation with a class-based object system Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . OCaml comprises two compilers. One generates bytecode which is then interpreted by a C program. This compiler runs quickly, generates compact code with moderate memory requirements, and is portable to essentially any 32 or 64 bit Unix platform. Performance of generated programs is quite good for a bytecoded implementation: almost twice as fast as Caml Light 0.7. This compiler can be used either as a standalone, batch-oriented compiler that produces standalone programs, or as an interactive, toplevel-based system. . The other compiler generates high-performance native code for a number of processors. Compilation takes longer and generates bigger code, but the generated programs deliver excellent performance, while retaining the moderate memory requirements of the bytecode compiler. It is not available on all arches though. . This package contains everything needed to develop OCaml applications, including the graphics libraries. Package: ocaml-base-nox Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends} Provides: ${ocaml:Provides} Replaces: ocaml-interp (<< 3.11.1-3) Breaks: ocaml-interp (<< 3.11.1-3) Description: Runtime system for OCaml bytecode executables (no X) Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . This package contains only the runtime system needed to run bytecode executables that do not use the graphics library. The 'ocaml' package contains the full development suite of Objective Caml. Package: ocaml-base Architecture: any Depends: ocaml-base-nox, ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends} Provides: ${ocaml:Provides} Description: Runtime system for OCaml bytecode executables Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . This package contains only the runtime system needed to run bytecode executables. The 'ocaml' package contains the full development suite of Objective Caml. You may wish to install the 'ocaml-base-nox' package if you do not require any graphical capabilities for your runtime. Package: ocaml-native-compilers Architecture: amd64 armel armhf hurd-i386 i386 kfreebsd-i386 kfreebsd-amd64 lpia powerpc sparc Depends: ocaml-nox (= ${binary:Version}), gcc, binutils, ${shlibs:Depends}, ${misc:Depends} Provides: ocaml-best-compilers Replaces: ocaml-nox (<= 3.09.2-3) Description: Native code compilers of the OCaml suite (the .opt ones) Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . This package contains the native code version of the compilers and lexer (ocamlc.opt, ocamllex.opt, ocamlopt.opt, camlp4o.opt and camlp4r.opt). The normal version of these programs are found in the 'ocaml' package. For big source codes, these packages can be two to three times faster, but for most normal sized sources, the difference won't be noticeable. Package: ocaml-source Architecture: all Depends: ${misc:Depends} Provides: ocaml-source-${F:OCamlABI} Description: Sources for Objective Caml Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . This package contains the sources needed to build some packages which build depend on the OCaml source. Notice that if you want to rebuild OCaml, these will not work, consider using the source package instead. Package: ocaml-interp Architecture: any Depends: ocaml-compiler-libs (= ${binary:Version}), ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ocaml-interp-${F:OCamlABI} Recommends: ledit | readline-editor Description: OCaml interactive interpreter and standard libraries Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . This package contains the files required to run an OCaml shell from the command line. Package: ocaml-compiler-libs Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends}, ocaml-nox-${F:OCamlABI} Provides: ocaml-compiler-libs-${F:OCamlABI} Replaces: ocaml-base-nox (<< 4) Breaks: ocaml-base-nox (<< 4) Description: OCaml interpreter and standard libraries Objective (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . This package contains several modules used internally by the OCaml compilers. They are not needed for normal OCaml development, but may be helpful in the development of certain applications. Package: ocaml-mode Architecture: all Depends: emacs23 | emacsen, ${shlibs:Depends}, ${misc:Depends} Suggests: ocaml Description: major mode for editing Objective Caml in Emacs Objective (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. . This package provides support for editing both Objective Caml and Caml Light programs with Emacs and XEmacs. . Caml-mode supports: - indentation - compilation and error retrieving - interaction with the toplevel - font-lock - imenu debian/TODO.Debian0000644000000000000000000000111112247142765011043 0ustar TODO list for ocaml 3.10.0 (and beyond ...) - lintian warnings lintian /home/srv/debian/pkg-ocaml-maint/packages/ocaml/build-area/ocaml_3.10.0-3_i386.changes W: ocaml-nox: script-not-executable ./usr/lib/ocaml/3.10.0/camlheader W: ocaml-mode: binary-without-manpage usr/bin/ocamltags E: ocaml-compiler-libs: copyright-should-refer-to-common-license-file-for-gpl W: ocaml: binary-without-manpage usr/bin/labltk W: ocaml: binary-without-manpage usr/bin/ocamlbrowser - old bugreports * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=255245 is (will be) fixed in 3.12 debian/ocaml-mode.emacsen-startup0000644000000000000000000000240112247142765014247 0ustar ;; -*-emacs-lisp-*- ;; ;; Emacs startup file for the Debian GNU/Linux ocaml package ;; ;; Originally contributed by Nils Naumann ;; Modified by Dirk Eddelbuettel ;; Adapted for dh-make by Jim Van Zandt ;; The ocaml package follows the Debian/GNU Linux 'emacsen' policy and ;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, ;; xemacs19, emacs20, xemacs20...). The compiled code is then ;; installed in a subdirectory of the respective site-lisp directory. ;; We have to add this to the load-path: (let ((package-dir (concat "/usr/share/" (symbol-name debian-emacs-flavor) "/site-lisp/ocaml-mode"))) ;; If package-dir does not exist, the #PACKAGE# package must have ;; removed but not purged, and we should skip the setup. (when (file-directory-p package-dir) (if (fboundp 'debian-pkg-add-load-path-item) (debian-pkg-add-load-path-item package-dir) (setq load-path (cons package-dir load-path))) (setq auto-mode-alist (cons '("\\.ml[iylp]?\\'" . caml-mode) auto-mode-alist)) (autoload 'caml-mode "caml" "Major mode for editing Caml code." t) (autoload 'run-caml "inf-caml" "Run an inferior Caml process." t))) debian/ocaml.install.in0000644000000000000000000000036712247142765012276 0ustar usr/bin/labltk usr/bin/ocamlbrowser @OCamlStdlibDir@/labltk @OCamlStdlibDir@/libgraphics.a STD: graphics.cmi STD: graphics.cmx STD: graphics.cmxa STD: graphics.mli STD: graphicsX11.cmi STD: graphicsX11.cmx STD: graphicsX11.mli debian/ocaml-nox.links.in0000644000000000000000000000024212247142765012542 0ustar usr/share/man/man1/ocamlbuild.1.gz usr/share/man/man1/ocamlbuild.byte.1.gz OPT: usr/share/man/man1/ocamlbuild.1.gz usr/share/man/man1/ocamlbuild.native.1.gz debian/camlp4.dirs.in0000644000000000000000000000004012247142765011642 0ustar usr/bin @OCamlStdlibDir@/camlp4 debian/ocaml-base.dirs.in0000644000000000000000000000007012247142765012470 0ustar usr/share/doc/ocaml-base @OCamlDllDir@ @OCamlStdlibDir@ debian/rules0000755000000000000000000002222412255671126010257 0ustar #!/usr/bin/make -f PACKAGE := ocaml ALL_PACKAGES := $(shell dh_listpackages) OCAMLMAJOR := 4.01 OCAMLMINOR := 0 # Build cache (for Debian debugging) BUILDCACHE := $(wildcard ../ocaml.cache) # These are defined here to avoid definition of them in ocamlvars.mk OCAML_ABI := $(OCAMLMAJOR).$(OCAMLMINOR) OCAML_STDLIB_DIR := /usr/lib/ocaml OCAML_NATIVE_ARCHS := $(shell cat debian/native-archs) OCAML_NATDYNLINK_ARCHS := $(shell cat debian/natdynlink-archs) DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) OCAML_OPT_ARCH := $(findstring $(DEB_BUILD_ARCH),$(OCAML_NATIVE_ARCHS)) OCAML_HAVE_OCAMLOPT := $(if $(OCAML_OPT_ARCH),yes,no) OCAML_OCAMLDOC_DESTDIR_HTML = ifneq (,$(findstring $(DEB_BUILD_ARCH),$(OCAML_NATDYNLINK_ARCHS))) OCAML_NATDYNLINK := yes else OCAML_NATDYNLINK := no endif # dh_ocamlinit cannot be used for ocaml itself include debian/ocamlinit.mk MD5SUMSDIR = /var/lib/ocaml/md5sums INSTDIR = $(CURDIR)/debian/tmp/usr DISTDIR = $(PACKAGE)-$(OCAML_ABI) UPSTREAM_VERSION = $(shell dpkg-parsechangelog | awk '/^Version:/{print $$2}' | { read u; echo $${u%-*}; }) UPSTREAM_TARBALL = ../$(PACKAGE)_$(UPSTREAM_VERSION).orig.tar.bz2 SRCTARBALL = $(PACKAGE)-source-$(OCAML_ABI).tar TESTDIR := debian/test-build TESTRULES := debian/rules DEB_TEST_BUILD_PREFIX=$(CURDIR)/$(TESTDIR) ifeq (,$(DEB_TEST_BUILD_PREFIX)) ifneq (,$(findstring ocaml-source,$(ALL_PACKAGES))) TARBALL_TARGET = debian/$(SRCTARBALL) endif endif # Environment variable for dh_ocaml export OCAMLOBJINFO = OCAMLLIB=tools boot/ocamlrun tools/objinfo # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DH_OPTIONS ifeq ($(OCAML_OPT_ARCH),) DH_OPTIONS += -Nocaml-native-compilers endif # This has to be exported to make gen_modules work export OCAML_OPT_ARCH export OCAML_STDLIB_DIR CONFIGURE_OPTS := \ --host $(DEB_BUILD_GNU_TYPE)\ --with-pthread -prefix $(DEB_TEST_BUILD_PREFIX)/usr \ -libdir $(DEB_TEST_BUILD_PREFIX)$(OCAML_STDLIB_DIR) \ -x11lib "$(shell pkg-config --variable=libdir x11)" \ -mandir $(DEB_TEST_BUILD_PREFIX)/usr/share/man \ -tkdefs "-I/usr/include/tcl" \ -tklibs "-L/usr/lib -ltk -ltcl" CONFIGURE_SED := \ -e "/LIBBFD_LINK/s%-lbfd%-Wl,-Bstatic -lbfd -Wl,-Bdynamic%" \ -e "s%MANDIR=.*$$%MANDIR=\$$(PREFIX)/share/man%g" \ -e "s%LIBDIR=.*$$%LIBDIR=\$$(PREFIX)/lib/ocaml%g" \ -e "s%STUBLIBDIR=.*$$%STUBLIBDIR=\$$(PREFIX)/lib/ocaml/stublibs%g" %: dh $@ # Needed because there is a "build" in the upstream tarball .PHONY: build build: dh $@ ocamlinit-stamp: $(TARBALL_TARGET) # Generate ocaml-native-compilers' Architecture field. # Should never be called automatically. .PHONY: debian/control debian/control: sed -e 's/@OCamlNativeArchs@/$(OCAML_NATIVE_ARCHS)/g' debian/control.in > $@ pre-config-stamp: $(TARBALL_TARGET) chmod +x debian/gen_modules.pl # Backup upstream config.{sub,guess}, and use most up-to-date ones for ext in sub guess; do \ if [ -f /usr/share/misc/config.$$ext ] && \ ! [ -f debian/config.orig.$$ext ]; then \ mv config/gnu/config.$$ext debian/config.orig.$$ext; \ cp -f /usr/share/misc/config.$$ext config/gnu/config.$$ext; \ fi; \ done # Create empty directory present in upstream tarball mkdir -p compilerlibs touch $@ ifneq (,$(TARBALL_TARGET)) $(TARBALL_TARGET): $(UPSTREAM_TARBALL) mkdir debian/$(DISTDIR) # Copy upstream tarball cp $< debian/$(DISTDIR) # Copy debian/patches cp -a debian/patches debian/$(DISTDIR)/debian-patches # Create the tarball and cleanup tar -C debian -cf $@ $(DISTDIR) rm -Rf debian/$(DISTDIR) endif .PHONY: override_dh_auto_configure override_dh_auto_configure: config-stamp config-stamp: pre-config-stamp ocamlinit-stamp ./configure $(CONFIGURE_OPTS) sed -i $(CONFIGURE_SED) config/Makefile if test -z "`grep "OTHERLIBRARIES.*labltk" config/Makefile`"; then \ echo "Error, labltk library was not detected"; \ echo "Check your tcl/tk development packages"; \ echo "Aborting."; \ exit 1; \ fi touch $@ .PHONY: override_dh_auto_build override_dh_auto_build: build-stamp build-stamp: config-stamp if test ! -d boot.debian; then \ cp -xa boot boot.debian; \ fi rm -Rf debian/examples && mkdir debian/examples cp -a otherlibs/labltk/examples_labltk debian/examples/labltk find debian/examples/labltk -name .cvsignore -delete ifeq ($(BUILDCACHE),) $(MAKE) world $(MAKE) bootstrap $(MAKE) -C tools dumpobj ifeq (,$(OCAML_OPT_ARCH)) # As of 3.11.0, manpages are made only in `make opt.opt' make -C ocamldoc manpages \ OCAMLDOC_RUN="../boot/ocamlrun -I ../otherlibs/unix -I ../otherlibs/str ./ocamldoc" else @echo "Building native compilers" $(MAKE) opt opt.opt touch opt-built-stamp endif else @echo "===> WARNING: $(BUILDCACHE) detected, compilation skipped! <===" rsync -a --exclude=debian --exclude=.git $(BUILDCACHE)/ . rm -f build-stamp install-stamp endif touch $@ .PHONY: override_dh_auto_clean override_dh_auto_clean: ocamlinit-clean ifneq ($(wildcard $(CURDIR)/config/Makefile),) $(MAKE) clean $(MAKE) -C emacs clean endif # Restore files altered by the build process if test -d boot.debian; then \ rm -Rf boot; \ mv boot.debian boot; \ fi for ext in sub guess; do \ if [ -f debian/config.orig.$$ext ] ; then \ mv -f debian/config.orig.$$ext config/gnu/config.$$ext; \ fi; \ done if head -n 1 emacs/ocamltags.in | grep -q '^#!/bin/sh'; then \ sed -i 1d emacs/ocamltags.in; \ fi # Remaining stuff -rm -Rf debian/$(SRCTARBALL) debian/examples $(TESTDIR) .PHONY: override_dh_auto_install override_dh_auto_install: install-stamp install-stamp: ifneq (,$(findstring ocaml-mode,$(ALL_PACKAGES))) # Install Emacs files $(MAKE) -C emacs \ EMACSDIR=$(CURDIR)/debian/ocaml-mode/usr/share/emacs/site-lisp/ocaml-mode \ NOCOMPILE=true simple-install if ! head -n 1 emacs/ocamltags.in | grep -q '^#!/bin/sh'; then \ sed -i -e '1 i #!/bin/sh' emacs/ocamltags.in; \ fi $(MAKE) -C emacs SCRIPTDIR=$(CURDIR)/debian/ocaml-mode/usr/bin install-ocamltags endif # Install OCaml sed -e 's|PREFIX=\"/.*\"|PREFIX=\"$(INSTDIR)"|' < config/config.sh > config/config.debian.install.sh $(MAKE) install PREFIX=$(INSTDIR) ifeq (,$(DEB_TEST_BUILD_PREFIX)) # Remove empty directory rmdir $(CURDIR)/debian/tmp$(OCAML_STDLIB_DIR)/ocamldoc/custom # Remove uninstalled files rm -f \ $(INSTDIR)/share/man/man1/ocamlopt.opt.1 \ $(INSTDIR)/share/man/man1/ocamlc.opt.1 \ $(INSTDIR)/bin/camlp4boot ifeq ($(OCAML_HAVE_OCAMLOPT),no) # Remove files that make no sense without ocamlopt rm -f \ $(INSTDIR)/share/man/man1/ocamloptp.1 \ $(INSTDIR)/share/man/man1/ocamlopt.1 \ $(INSTDIR)/bin/ocamloptp endif # Dispatch files with dh_install cd debian && \ for u in ocaml ocaml-nox; do \ DESTDIR=tmp ./gen_modules.pl $$u.install > $$u.install.new; \ mv $$u.install.new $$u.install; \ done if ! dh_install --fail-missing; then \ echo "===> dh_install has failed <==="; \ find debian/tmp; \ exit 1; \ fi # Install additional files not handled by dh_install # Beware: dh_install does not handle renamings, please pay attention cp otherlibs/labltk/README debian/ocaml/usr/share/doc/ocaml/README.labltk for u in dumpobj; do \ if [ -f tools/$$u ]; then \ cp tools/$$u debian/ocaml-nox/usr/bin/ocaml$$u; \ fi \ done for mli in `find camlp4 -name '*.mli'` ; do \ cp --parents $$mli debian/camlp4$(OCAML_STDLIB_DIR); \ done for pkg in ocaml ocaml-nox ocaml-base; do ( \ cd debian/$$pkg/usr/share/doc/$$pkg && \ ln -sf ../ocaml-base-nox/README.gz . && \ ln -sf ../ocaml-base-nox/README.Debian .; \ ); done endif # Remaining stuff touch $@ .PHONY: override_dh_compress override_dh_compress: dh_compress -Xexamples/labltk .PHONY: override_dh_gencontrol override_dh_gencontrol: for u in $(ALL_PACKAGES); do \ echo 'F:OCamlABI=$(OCAML_ABI)' >> debian/$$u.substvars; \ done ifeq (,$(OCAML_OPT_ARCH)) echo 'F:BestProvides=ocaml-best-compilers' >> debian/ocaml-nox.substvars else echo 'F:BestProvides=' >> debian/ocaml-nox.substvars endif # Create .md5sums files and compute dependencies. Use $(OCAML_ABI) # because we know that OCaml ABI represents best dependencies for # OCaml package. dh_ocaml -Xcompiler-libs -Xcamlp4-extra \ --runtime-map ocaml-nox:ocaml-base-nox,ocaml:ocaml-base,camlp4 \ --checksum $(OCAML_ABI) dh_gencontrol # Check that OCAML_ABI is correct if [ "$(OCAML_ABI)" != "$(shell boot/ocamlrun ./ocamlc -version | { read a && echo $${a%%_*}; })" ]; then \ echo "Please adjust OCAML_ABI in debian/rules"; \ exit 2; \ fi .PHONY: regenerate regenerate: debian/control git ls-tree --name-only -r HEAD debian \ | grep -v '^debian/\(patches/\|source/local-\)' \ > debian/MANIFEST # Architectures where running the test suite completely makes the # whole build last more than 30 minutes on buildds. Originally, # because some tests do not even finish on mips. SLOW_ARCHITECTURES := armel armhf ia64 mips mipsel powerpc powerpcspe sparc .PHONY: override_dh_auto_test override_dh_auto_test: ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) : # tries to connect the net rm -f testsuite/tests/lib-threads/testsocket.* ifneq (,$(filter $(DEB_BUILD_ARCH),$(SLOW_ARCHITECTURES))) rm -f testsuite/tests/misc-unsafe/almabench.ml endif ifeq (,$(DEB_TEST_BUILD_PREFIX)) cd testsuite && make all endif endif debian/ocaml-base-nox.dirs.in0000644000000000000000000000007212247142765013274 0ustar usr/bin usr/share/man/man1 @OCamlStdlibDir@ @OCamlDllDir@ debian/source/0000755000000000000000000000000012247142765010500 5ustar debian/source/format0000644000000000000000000000001412247142765011706 0ustar 3.0 (quilt) debian/ocaml-base-nox.prerm.in0000644000000000000000000000031312247142765013456 0ustar #!/bin/sh set -e rmdir /usr/local/lib/ocaml/@OCamlABI@/stublibs 2>/dev/null || true rmdir /usr/local/lib/ocaml/@OCamlABI@ 2>/dev/null || true rmdir /usr/local/lib/ocaml 2>/dev/null || true #DEBHELPER# debian/README.source0000644000000000000000000000132312247142765011356 0ustar OCaml Debian source package =========================== Dispatching files between binary packages ----------------------------------------- The dispatching is done as usual with *.install by dh_install, which are generated from *.install.in by ocamlinit.mk (from dh-ocaml), and the gen_modules.pl script (in ocaml source package). You should have a look at the comments in gen_modules.pl to understand the format of *.install.in files. Patching upstream sources ------------------------- The quilt series is generated from the Git repository. Have a look at dom-apply-patches(1) and dom-save-patches(1) from dh-ocaml package for more details. -- Stéphane Glondu , Sun, 18 Apr 2010 15:20:53 +0200 debian/gbp.conf0000644000000000000000000000003612247154533010612 0ustar [DEFAULT] pristine-tar = True debian/ocaml-base-nox.install.in0000644000000000000000000000454512247142765014012 0ustar usr/bin/ocamlrun usr/share/man/man1/ocamlrun.1 toplevel/*.mli @OCamlStdlibDir@ @OCamlStdlibDir@/VERSION @OCamlDllDir@/dllunix.so @OCamlDllDir@/dllcamlstr.so @OCamlDllDir@/dllbigarray.so @OCamlDllDir@/dllthreads.so @OCamlDllDir@/dllvmthreads.so @OCamlDllDir@/dllnums.so @OCamlStdlibDir@/ld.conf debian/ld.conf @OCamlStdlibDir@ @OCamlStdlibDir@/unix.cma DYN: @OCamlStdlibDir@/unix.cmxs @OCamlStdlibDir@/str.cma DYN: @OCamlStdlibDir@/str.cmxs @OCamlStdlibDir@/bigarray.cma DYN: @OCamlStdlibDir@/bigarray.cmxs @OCamlStdlibDir@/nums.cma DYN: @OCamlStdlibDir@/nums.cmxs @OCamlStdlibDir@/arg.cmi @OCamlStdlibDir@/array.cmi @OCamlStdlibDir@/arrayLabels.cmi @OCamlStdlibDir@/buffer.cmi @OCamlStdlibDir@/callback.cmi @OCamlStdlibDir@/camlinternalOO.cmi @OCamlStdlibDir@/char.cmi @OCamlStdlibDir@/complex.cmi @OCamlStdlibDir@/digest.cmi @OCamlStdlibDir@/filename.cmi @OCamlStdlibDir@/format.cmi @OCamlStdlibDir@/gc.cmi @OCamlStdlibDir@/genlex.cmi @OCamlStdlibDir@/hashtbl.cmi @OCamlStdlibDir@/int32.cmi @OCamlStdlibDir@/int64.cmi @OCamlStdlibDir@/lazy.cmi @OCamlStdlibDir@/lexing.cmi @OCamlStdlibDir@/list.cmi @OCamlStdlibDir@/listLabels.cmi @OCamlStdlibDir@/map.cmi @OCamlStdlibDir@/marshal.cmi @OCamlStdlibDir@/moreLabels.cmi @OCamlStdlibDir@/nativeint.cmi @OCamlStdlibDir@/obj.cmi @OCamlStdlibDir@/oo.cmi @OCamlStdlibDir@/parsing.cmi @OCamlStdlibDir@/pervasives.cmi @OCamlStdlibDir@/printexc.cmi @OCamlStdlibDir@/printf.cmi @OCamlStdlibDir@/queue.cmi @OCamlStdlibDir@/random.cmi @OCamlStdlibDir@/scanf.cmi @OCamlStdlibDir@/set.cmi @OCamlStdlibDir@/sort.cmi @OCamlStdlibDir@/stack.cmi @OCamlStdlibDir@/stdLabels.cmi @OCamlStdlibDir@/std_exit.cmi @OCamlStdlibDir@/stream.cmi @OCamlStdlibDir@/string.cmi @OCamlStdlibDir@/stringLabels.cmi @OCamlStdlibDir@/sys.cmi @OCamlStdlibDir@/weak.cmi @OCamlStdlibDir@/unix.cmi @OCamlStdlibDir@/unixLabels.cmi @OCamlStdlibDir@/str.cmi @OCamlStdlibDir@/dynlink.cmi @OCamlStdlibDir@/bigarray.cmi @OCamlStdlibDir@/big_int.cmi @OCamlStdlibDir@/nat.cmi @OCamlStdlibDir@/num.cmi @OCamlStdlibDir@/ratio.cmi @OCamlStdlibDir@/arith_status.cmi debian/watch0000644000000000000000000000016112247142765010227 0ustar version=3 opts=uversionmangle=s/\+/~/ \ http://caml.inria.fr/pub/distrib/ocaml-([\d\.]+)/ocaml-([^-]+)\.tar\.bz2 debian/ocaml-source.install.in0000644000000000000000000000005512247142765013566 0ustar debian/ocaml-source-@OCamlABI@.tar /usr/src/ debian/ocaml-mode.emacsen-install0000644000000000000000000000303112247142765014213 0ustar #! /bin/sh -e # /usr/lib/emacsen-common/packages/install/ocaml-mode # Written by Jim Van Zandt , borrowing heavily # from the install scripts for gettext by Santiago Vila # and octave by Dirk Eddelbuettel . FLAVOR=$1 PACKAGE=ocaml-mode if [ ${FLAVOR} = emacs ]; then exit 0; fi echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} # FLAVORTEST=`echo $FLAVOR | cut -c-6` # if [ ${FLAVORTEST} = xemacs ] ; then # SITEFLAG="-no-site-file" # else # SITEFLAG="--no-site-file" # fi FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} RELELDIR=../../../emacs/site-lisp/${PACKAGE} # Install-info-altdir does not actually exist. # Maybe somebody will write it. if test -x /usr/sbin/install-info-altdir; then echo install/${PACKAGE}: install Info links for ${FLAVOR} install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz fi install -m 755 -d ${ELCDIR} cd ${ELDIR} case "${FLAVOR}" in xemacs21) FILES=`ls *.el | egrep -v caml-emacs\|camldebug.el\|inf-caml.el` ;; *) FILES=`ls *.el | grep -v caml-xemacs` ;; esac cd ${ELCDIR} for f in ${FILES} ; do ln -sf ${RELELDIR}/$f . done cat << EOF > path.el (if (fboundp 'debian-pkg-add-load-path-item) (debian-pkg-add-load-path-item ".") (setq load-path (cons "." load-path))) (setq byte-compile-warnings nil) EOF ${FLAVOR} ${FLAGS} ${FILES} rm -f path.el exit 0 debian/ocaml-native-compilers.install0000644000000000000000000000025512247142765015144 0ustar usr/bin/ocamlc.opt usr/bin/ocamldep.opt usr/bin/ocamldoc.opt usr/bin/ocamllex.opt usr/bin/ocamlopt.opt debian/ocamlfind/ocaml-native-compilers.conf usr/share/ocaml-findlib/ debian/ocaml-nox.dirs.in0000644000000000000000000000004012247142765012357 0ustar usr/bin usr/share/doc/ocaml-nox debian/man/0000755000000000000000000000000012247142765007753 5ustar debian/man/ocamldumpobj.10000644000000000000000000000072312247142765012513 0ustar .TH OCAMLDUMPOBJ 1 "January 4, 2006" .SH NAME ocamldumpobj \- disassembler for OCaml executable and .cmo object files . .SH SYNOPSIS .B ocamldumpobj .RI file\ ... . .SH DESCRIPTION Disassembler for executable and .cmo object files compiled by OCaml. . .SH SEE ALSO .BR ocamlc (1), .BR ocamlopt (1), .BR ocamlobjinfo (1). .br . .SH AUTHOR This manual page was written by Samuel Mimram , for the Debian GNU/Linux system (but may be used by others). debian/man/ocamlobjinfo.10000644000000000000000000000154512247142765012504 0ustar .TH OCAMLOBJINFO 1 "June 9, 2010" .SH NAME ocamlobjinfo \- dump information about OCaml compiled objects .SH SYNOPSIS .B ocamlobjinfo .RI file\ ... .SH DESCRIPTION Dump information contained in OCaml compiled objects. It works on .cmi, .cmo, .cma, .cmx, .cmxa, .cmxs files and pure bytecode executables. .sp 2 .B ocamlobjinfo is able to show information regarding: .br .IP module names .sp 2 unit names .sp 2 declared primitives .sp 2 imported interfaces .sp 2 md5sums of imported interfaces .sp 2 forced custom mode .sp 2 extra C libraries needed .sp 2 extra C flags needed .sp 2 use of unsafe features .PP depending on its arguments. .SH SEE ALSO .BR ocamlc (1), .BR ocamlopt (1) .br .SH AUTHOR This manual page was written by Stefano Zacchiroli and Stéphane Glondu , for the Debian GNU/Linux system (but may be used by others). debian/man/ocamlmklib.10000644000000000000000000000404512247142765012152 0ustar .\" Hey, EMACS: -*- nroff -*- .TH OCAMLMKLIB 1 "August 19, 2004" .SH NAME ocamlmklib \- generate libraries with mixed C / Caml code. .SH SYNOPSIS .B ocalmklib .RI [ options ] " files" .SH DESCRIPTION The .B ocamlmklib command facilitates the construction of libraries containing both Caml code and C code, and usable both in static linking and dynamic linking modes. .SH OPTIONS .TP .B \-h, \-\-help Show summary of options. .TP .BI \-cclib\ lib C library passed to ocamlc .B \-a or .BR ocamlopt (1) .B \-a only. .TP .BI \-ccopt\ opt C option passed to .BR ocamlc (1) .B \-a or .BR ocamlopt (1) .B \-a only. .TP .B \-custom Disable dynamic loading. .TP .BI \-dllpath\ dir Add .I dir to the run-time search path for DLLs. .TP .BI \-I\ dir Add .I dir to the path searched for Caml object files. .TP .B \-failsafe Fall back to static linking if DLL construction failed. .TP .BI \-ldopt\ opt C option passed to the shared linker only. .TP .B \-linkall Build Caml archive with link-all behavior. .TP .BI \-l lib Specify a dependent C library. .TP .BI \-L dir Add .I dir to the path searched for C libraries. .TP .BI \-ocamlc\ cmd Use .I cmd in place of .BR ocamlc (1). .TP .BI \-ocamlopt\ cmd Use .I cmd in place of .BR ocamlopt (1). .TP .BI \-o\ name Generated Caml library is named .IR name .cma or .IR name .cmxa. .TP .BI \-oc\ name Generated C library is named .RI dll name .so or .RI lib name .a. .TP .BI \-rpath\ dir Same as .B \-dllpath .IR dir . .TP .BI \-R dir Same as .BR \-rpath . .TP .B \-verbose Print commands before executing them. .TP \fB\-Wl\fR, \fB\-rpath \fIdir Same as .B \-dllpath .IR dir . .TP \fB\-Wl\fR, \fB\-rpath\ \-Wl \fIdir Same as .B \-dllpath .IR dir . .TP \fB\-Wl\fR, \fB\-R\fIdir Same as .B \-dllpath .IR dir . .TP .BI \-F dir Specify a framework directory (MacOSX). .TP .BI \-framework\ name Use framework .I name (MacOSX). .SH SEE ALSO .BR ocamlc (1), .BR ocamlopt (1). .SH AUTHOR This manual page was written by Samuel Mimram , for the Debian project (but may be used by others). debian/man/camlp4.10000644000000000000000000000715612247142765011226 0ustar .TH CAMLP4 "1" "June 2007" "CamlP4 3.10.0" "User Commands" .SH NAME CamlP4 \- Pre-Processor-Pretty-Printer for Objective Caml .SH SYNOPSIS .B camlp4 [\fIload\-options\fR] [\fI\-\-\fR] [\fIother\-options\fR] .SH DESCRIPTION Camlp4 is a Pre-Processor-Pretty-Printer for Objective Caml. It offers tools for syntax (Stream Parsers and Grammars) and the ability to modify the concrete syntax of the language (Quotations, Syntax Extensions). The Objective Caml compiler has a special option "\-pp", allowing to call any preprocessor. If Camlp4 is used, the parsing is done (only once) by Camlp4, and the Objective Caml compiler resumes the rest of the compilation (typing, code generation). Camlp4 can parse normal OCaml concrete syntax or any other user-definable syntax. As an example, an alternative syntax is provided, named Revised, because it tries to fix some problems of the original syntax. Camlp4 can pretty print the normal OCaml concrete syntax or the revised one (Pretty-Printer). It is therefore always possible to have a version of your sources compilable by the compiler Objective Caml without preprocessing. Camlp4 can also serve as a Program Transformation tool, the user can supply transformations and apply them easily as a pre-processing task. This is done with Filters. .SH OPTIONS .TP \fB.ml\fR Parse this implementation file .TP \fB.mli\fR Parse this interface file .TP \fB.(cmo|cma)\fR Load this module inside the Camlp4 core .TP \fB\-I\fR Add directory in search patch for object files. .TP \fB\-where\fR Print camlp4 library directory and exit. .TP \fB\-nolib\fR No automatic search for object files in library directory. .TP \fB\-intf\fR Parse as an interface, whatever its extension. .TP \fB\-impl\fR Parse as an implementation, whatever its extension. .TP \fB\-str\fR Parse as an implementation. .TP \fB\-unsafe\fR Generate unsafe accesses to array and strings. .TP \fB\-noassert\fR Obsolete, do not use this option. .TP \fB\-verbose\fR More verbose in parsing errors. .TP \fB\-loc\fR Name of the location variable (default: _loc). .TP \fB\-QD\fR Dump quotation expander result in case of syntax error. .TP \fB\-o\fR Output on instead of standard output. .TP \fB\-v\fR Print Camlp4 version and exit. .TP \fB\-version\fR Print Camlp4 version number and exit. .TP \fB\-no_quot\fR Don't parse quotations, allowing to use, e.g. "<:>" as token. .TP \fB\-loaded\-modules\fR Print the list of loaded modules. .TP \fB\-parser\fR Load the parser Camlp4Parsers/.cmo .TP \fB\-printer\fR Load the printer Camlp4Printers/.cmo .TP \fB\-filter\fR Load the filter Camlp4Filters/.cmo .TP \fB\-ignore\fR ignore the next argument .TP \fB\-\-\fR Deprecated, does nothing .PP Options added by loaded object files: .TP \fB\-I\fR Add a directory to INCLUDE search path. .TP \fB\-U\fR Undefine for IFDEF instruction. .TP \fB\-D\fR Define for IFDEF instruction. .TP \fB\-meta_action\fR Undocumented .TP \fB\-split_gext\fR Old name for the option \fB\-split_ext\fR. .TP \fB\-split_ext\fR Split EXTEND by functions to turn around a PowerPC problem. .TP \fB\-help_seq\fR Print explanations about new sequences and exit. .SH "SEE ALSO" .BR ocamlc(1), .BR ocaml(1). .br The full documentation for .B CamlP4 is being developed on a Wiki available on the web at .br .B . .SH AUTHOR CamlP4 is Copyright INRIA, it was mainly written by Nicolas Pouillard. .PP This manual page was written by Stefano Zacchiroli , for the Debian project (but may be used by others).