debian/0000755000000000000000000000000012256061067007173 5ustar debian/changelog0000644000000000000000000000575012256061067011054 0ustar ocaml-zarith (1.2.1-2build1) trusty; urgency=medium * Rebuild for ocaml-4.01. -- Matthias Klose Mon, 23 Dec 2013 16:18:00 +0000 ocaml-zarith (1.2.1-2) unstable; urgency=low * Upstream provided test "test.b" has been renamed to "testb". Update debian/rules accordingly to fix FTBFS on bytecode architectures. -- Mehdi Dogguy Wed, 26 Jun 2013 21:41:53 +0200 ocaml-zarith (1.2.1-1) unstable; urgency=low * New upstream release * Make libzarith-ocaml-dev depend on libgmp3-dev. (Closes: #714088) * Fix outdated-autotools-helper-file config.guess * Add autotools-dev in Build-Depends * Bump Standards-Version to 3.9.4 -- Mehdi Dogguy Tue, 25 Jun 2013 21:43:08 +0200 ocaml-zarith (1.1-2) unstable; urgency=low * Fix "make test" call: it should be "test" on native architectures and "test.b" on bytecode architectures. -- Mehdi Dogguy Tue, 15 May 2012 13:57:32 +0200 ocaml-zarith (1.1-1) unstable; urgency=low * New upstream release - Remove Debian patches (integrated by upstream). - ocamldoc is called with "-charset" command-line flag, which comes with OCaml 3.12.1. Update Build-Depends accordingly. * Bump Standards-Version to 3.9.3 (no changes needed). * Call "make test" before executing the test file. -- Mehdi Dogguy Tue, 15 May 2012 13:39:48 +0200 ocaml-zarith (1.0-6) unstable; urgency=low * Don't run test-suite if DEB_BUILD_OPTIONS contains "nocheck". * Add patch from upstream's repository: - 0007-Fixed-1-bit-precision-loss-when-converting-doubles-t.patch -- Mehdi Dogguy Sat, 24 Mar 2012 10:22:26 +0100 ocaml-zarith (1.0-5) unstable; urgency=low * Fix FTBFS on sparc - Add 0006-Use-memcpy-instead-of-cast-ing.patch -- Mehdi Dogguy Fri, 04 Nov 2011 14:41:46 +0100 ocaml-zarith (1.0-4) unstable; urgency=low * Release to unstable. * Remove 0002-Fix-install-target.patch and adapt debian/rules instead. -- Mehdi Dogguy Wed, 19 Oct 2011 18:06:17 +0200 ocaml-zarith (1.0-3) experimental; urgency=low * Do not try to build zarith.a on bytecode only architectures. - Update 0003-Make-it-byte-arch-aware.patch * Set CAML_LD_LIBRARY_PATH to $(CURDIR) before running test.b on bytecode only architectures. -- Mehdi Dogguy Wed, 05 Oct 2011 14:25:39 +0200 ocaml-zarith (1.0-2) experimental; urgency=low * Make ocamlopt's presence optional. This should prevent build failures on bytecode only architectures. - Add 0005-ocamlopt-is-not-really-required.patch * kfreebsd-amd64 and kfreebsd-i386 are also (resp.) amd64 and i386. Add some arch-triplets in configure script. - Add 0006-Detect-more-arch-triplets.patch -- Mehdi Dogguy Wed, 05 Oct 2011 09:03:52 +0200 ocaml-zarith (1.0-1) experimental; urgency=low * Initial release. (Closes: #643736) -- Mehdi Dogguy Thu, 29 Sep 2011 07:54:35 +0200 debian/libzarith-ocaml.install.in0000644000000000000000000000021712162361645014252 0ustar @OCamlStdlibDir@/stublibs/*.so @OCamlDllDir@/ @OCamlStdlibDir@/zarith/*.cma @OCamlStdlibDir@/zarith/META DYN: @OCamlStdlibDir@/zarith/*.cmxs debian/rules0000755000000000000000000000147612162641453010262 0ustar #!/usr/bin/make -f include /usr/share/ocaml/ocamlvars.mk Z_INSTALL_DIR=$(CURDIR)/debian/tmp$(OCAML_STDLIB_DIR) override_dh_auto_install: ifneq (,$(findstring libzarith-ocaml-doc,$(shell dh_listpackages))) $(MAKE) doc endif mkdir -p $(CURDIR)/debian/tmp/$(OCAML_STDLIB_DIR)/stublibs $(MAKE) install override_dh_auto_test: ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) ifeq ($(OCAML_HAVE_OCAMLOPT),yes) $(MAKE) test ./test else $(MAKE) testb CAML_LD_LIBRARY_PATH=$(CURDIR) ./testb endif endif override_dh_auto_configure: for ext in guess; do \ if [ -f /usr/share/misc/config.$$ext ]; then \ cp -f /usr/share/misc/config.$$ext $(CURDIR)/config.$$ext; \ fi; \ done ./configure --installdir $(Z_INSTALL_DIR) \ --host $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) %: dh $@ --with ocaml debian/libzarith-ocaml-doc.doc-base0000644000000000000000000000052312162361645014417 0ustar Document: libzarith-ocaml-dev-ocamldoc-api-reference Title: libzarith-ocaml-dev OCamldoc API Reference Abstract: API reference manual for libzarith-ocaml-dev (generated via OCamldoc) Section: Programming/OCaml Format: HTML Index: /usr/share/doc/libzarith-ocaml-dev/doc/html/index.html Files: /usr/share/doc/libzarith-ocaml-dev/doc/html/* debian/libzarith-ocaml-doc.install.in0000644000000000000000000000005412162361645015014 0ustar html usr/share/doc/libzarith-ocaml-dev/doc debian/gbp.conf0000644000000000000000000000000012162361645010601 0ustar debian/control0000644000000000000000000000440712162370227010600 0ustar Source: ocaml-zarith Section: ocaml Priority: optional Maintainer: Debian OCaml Maintainers Uploaders: Mehdi Dogguy Build-Depends: debhelper (>= 8), ocaml-nox (>= 3.12.1), dh-ocaml (>= 0.9.1), libgmp3-dev, autotools-dev, ocaml-findlib Standards-Version: 3.9.4 Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-zarith.git Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-zarith.git Homepage: https://forge.ocamlcore.org/projects/zarith/ Package: libzarith-ocaml-dev Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends}, libgmp3-dev Provides: ${ocaml:Provides} Suggests: ocaml-findlib Description: arithmetic and logical operations over arbitrary-precision integers (dev) The Zarith library implements arithmetic and logical operations over arbitrary-precision integers. It uses GMP to efficiently implement arithmetic over big integers. Small integers are represented as Caml unboxed integers, for speed and space economy. . This package provides the static library, OCaml library and interface for developing applications to use libzarith-ocaml. Package: libzarith-ocaml Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Description: arithmetic and logical operations over arbitrary-precision integers (runtime) The Zarith library implements arithmetic and logical operations over arbitrary-precision integers. It uses GMP to efficiently implement arithmetic over big integers. Small integers are represented as Caml unboxed integers, for speed and space economy. . This package provides the shared library for running applications linked against libzarith-ocaml. Package: libzarith-ocaml-doc Section: doc Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: libzarith-ocaml-dev Description: arithmetic and logical operations over arbitrary-precision integers (doc) The Zarith library implements arithmetic and logical operations over arbitrary-precision integers. It uses GMP to efficiently implement arithmetic over big integers. Small integers are represented as Caml unboxed integers, for speed and space economy. . This package provides the ocamldoc generated html files. debian/libzarith-ocaml-dev.install.in0000644000000000000000000000017412162361645015030 0ustar @OCamlStdlibDir@/zarith/*.mli @OCamlStdlibDir@/zarith/*.cmi @OCamlStdlibDir@/zarith/*.a OPT: @OCamlStdlibDir@/zarith/*.cmxa debian/copyright0000644000000000000000000000251712162361645011134 0ustar Packaged-By: Mehdi Dogguy Packaged-Date: Thu, 29 Sept 2011 07:46:21 +0200 Original-Source-Location: https://forge.ocamlcore.org/projects/zarith/ Upstream-Author: Xavier Leroy and Antoine Miné Files: * Copyright: © 2010-2011 Antoine Miné, Abstraction project. License: LGPL-2 + static linking exception 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. See also `/usr/share/common-licenses/LGPL-2'. Files: debian/* Copyright: © 2011 Mehdi Dogguy License: LGPL-2 See `/usr/share/common-licenses/LGPL-2'. debian/source/0000755000000000000000000000000012162361645010474 5ustar debian/source/format0000644000000000000000000000001412162361645011702 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000013712162361645010226 0ustar version=3 http://forge.ocamlcore.org/frs/?group_id=243 \ /frs/download.php/.*/zarith-(.*).tgz debian/patches/0000755000000000000000000000000012162361645010623 5ustar debian/patches/series0000644000000000000000000000000012162361645012026 0ustar debian/compat0000644000000000000000000000000212162361645010372 0ustar 8 debian/libzarith-ocaml-doc.dirs0000644000000000000000000000004612162361645013703 0ustar usr/share/doc/libzarith-ocaml-dev/doc debian/libzarith-ocaml-doc.links0000644000000000000000000000011412162361645014056 0ustar usr/share/doc/libzarith-ocaml-dev/doc usr/share/doc/libzarith-ocaml-doc/doc