[mpfi] 39/39: Imported Debian patch 1.5.1+ds-1

Jerome Benoit calculus-guest at moszumanska.debian.org
Sat May 23 02:12:14 UTC 2015


This is an automated email from the git hooks/post-receive script.

calculus-guest pushed a commit to branch master
in repository mpfi.

commit 1004c9196b37f2f3b74c2d0047fc134c089c4169
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Sat May 23 03:57:47 2015 +0200

    Imported Debian patch 1.5.1+ds-1
---
 debian/changelog                                   |  32 ++++
 debian/{info => clean}                             |   0
 debian/compat                                      |   2 +-
 debian/control                                     | 142 +++++++++++++++--
 debian/copyright                                   |  69 ++++++--
 debian/docs                                        |   1 -
 debian/libmpfi-dev.install                         |   3 -
 debian/libmpfi-doc.doc-base                        |  30 ++++
 debian/libmpfi-doc.docs                            |   2 +
 debian/libmpfi-doc.info                            |   1 +
 debian/libmpfi0-dev-common.install                 |   1 +
 debian/libmpfi0-dev.install                        |   3 +
 debian/libmpfi0.install                            |   2 +-
 debian/libmpfi0.symbols                            | 174 +++++++++++++++++++++
 debian/patches/disable-Werror.patch                |  11 --
 debian/patches/series                              |   4 +-
 debian/patches/upstream-autotools-refresh.patch    |  55 +++++++
 .../upstream-libtoolization-version_script.patch   |  73 +++++++++
 .../patches/upstream-source-warnings-silence.patch |  38 +++++
 debian/rules                                       |  41 ++++-
 debian/source/lintian-overrides                    |   3 +
 debian/watch                                       |   4 +
 22 files changed, 641 insertions(+), 50 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 36b11e6..5eb16ac 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,35 @@
+mpfi (1.5.1+ds-1) unstable; urgency=medium
+
+  * New maintainer (Closes: #771883).
+  * Debianization:
+    - debian/copyright:
+      - in DEP-5 format, bump;
+      - Files-Excluded field, introduce;
+      - refresh;
+    - debian/control:
+      - debhelper build-dep to >= 9, bump;
+      - Standards Version 3.9.6, bump;
+      - Build-Depends field, refresh;
+      - Multi-Arch support, achieve (Closes: 737387);
+      - Vcs-* headers, refresh;
+    - debian/watch, provide;
+    - debian/rules:
+      - full dh integration, refresh;
+      - build-arch/build-indep scheme, introduce;
+      - get-orig-source uscan based target which downloads the currently
+        packaged upstream tarball and repacks it wrt Files-Excluded;
+      - default target which basically queries package status with uscan
+        -- output in DEHS format;
+    - debian/patches/:
+      - patches in DEP-3 format;
+      - autotoolization, refresh;
+      - libtoolization:
+        - script-version, create on fly;
+        - library versionning, introduce;
+    - gpg-signature check support, neutralize.
+
+ -- Jerome Benoit <calculus at rezozer.net>  Sat, 23 May 2015 02:03:20 +0000
+
 mpfi (1.5.1-3) unstable; urgency=medium
 
   * Apply patch by Logan Rosen to fix FTBFS on ppc64el (closes: #734570).
diff --git a/debian/info b/debian/clean
similarity index 100%
rename from debian/info
rename to debian/clean
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index fd0ac21..981ca8b 100644
--- a/debian/control
+++ b/debian/control
@@ -1,18 +1,59 @@
 Source: mpfi
-Priority: optional
-Maintainer: Laurent Fousse <lfousse at debian.org>
-Build-Depends: debhelper (>= 7.0.0), dh-autoreconf, libmpfr-dev (>= 2.2.0.dfsg.1), libgmp-dev, texinfo
-Standards-Version: 3.9.0
 Section: math
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Jerome Benoit <calculus at rezozer.net>
+Build-Depends:
+ debhelper (>= 9),
+ autotools-dev, gnulib, dh-autoreconf, libtool, cproto (>= 4.7l-4),
+ libmpfr-dev (>= 3.1), libgmp-dev (>= 2:6.0)
+Build-Depends-Indep:
+ texinfo, texlive-latex-base
+Standards-Version: 3.9.6
 Homepage: http://mpfi.gforge.inria.fr/
-Vcs-Git: git://git.debian.org/collab-maint/mpfi.git
-Vcs-Browser: http://git.debian.org/?p=collab-maint/mpfi.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/mpfi.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/mpfi.git
+
+Package: libmpfi0
+Provides: libmpfi
+Replaces: libmpfi (<= 1.5.1-3)
+Section: libs
+Architecture: any
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: libmpfi
+Suggests: libmpfi-doc (= ${source:Version})
+Multi-Arch: same
+Description: multiple precision floating-point interval computation library -- lib
+ This package provides a C library of functions for interval arithmetic
+ computations with arbitrary precision.
+ .
+ The basic principle of interval arithmetic consists in enclosing every number
+ by an interval containing it and being representable by machine numbers: for
+ instance it can be stored as its lower and upper endpoints and these bounds
+ are machine numbers, or as a centre and a radius which are machine numbers.
+ .
+ The arithmetic operations are extended for interval operands in such a way
+ that the exact result of the operation belongs to the computed interval.
+ .
+ The purpose of an arbitrary precision interval arithmetic is on the one hand
+ to get guaranteed results, thanks to interval computation, and on the other
+ hand to obtain accurate results, thanks to multiple precision arithmetic. The
+ MPFI library is built upon MPFR in order to benefit from the correct roundings
+ provided by MPFR. Further advantages of using MPFR are its portability and
+ compliance with the IEEE 754 standard for floating-point arithmetic.
+ .
+ This package provides the dynamic library.
 
-Package: libmpfi-dev
+Package: libmpfi0-dev
+Provides: libmpfi-dev
+Replaces: libmpfi-dev (<= 1.5.1-3)
 Section: libdevel
 Architecture: any
-Depends: libgmp-dev, libmpfr-dev (>= 2.2.0.dfsg.1-1), libmpfi0 (= ${binary:Version}), ${misc:Depends}
-Description: multiple precision floating-point interval computation library
+Depends: libmpfi0 (= ${binary:Version}), libmpfr-dev, libgmp-dev, ${misc:Depends}
+Conflicts: libmpfi-dev
+Multi-Arch: same
+Description: multiple precision floating-point interval computation library -- libdev
  This package provides a C library of functions for interval arithmetic
  computations with arbitrary precision.
  .
@@ -29,13 +70,51 @@ Description: multiple precision floating-point interval computation library
  hand to obtain accurate results, thanks to multiple precision arithmetic. The
  MPFI library is built upon MPFR in order to benefit from the correct roundings
  provided by MPFR. Further advantages of using MPFR are its portability and
- compliance with the IEEE 754 standard for floating-point arithmetic. 
+ compliance with the IEEE 754 standard for floating-point arithmetic.
+ .
+ This package provides the static library and symbolic links needed for
+ development.
 
-Package: libmpfi0
-Section: libs
+Package: libmpfi0-dev-common
+Provides: libmpfi-dev-common
+Section: libdevel
+Architecture: all
+Replaces: libmpfi-dev (<= 1.5.1-3)
+Breaks: libmpfi-dev (<= 1.5.1-3)
+Depends: ${misc:Depends}
+Recommends: libmpfi0-dev (=${binary:Version})
+Conflicts: libmpfi-dev-common
+Multi-Arch: foreign
+Description: multiple precision floating-point interval computation library -- headers
+ This package provides a C library of functions for interval arithmetic
+ computations with arbitrary precision.
+ .
+ The basic principle of interval arithmetic consists in enclosing every number
+ by an interval containing it and being representable by machine numbers: for
+ instance it can be stored as its lower and upper endpoints and these bounds
+ are machine numbers, or as a centre and a radius which are machine numbers.
+ .
+ The arithmetic operations are extended for interval operands in such a way
+ that the exact result of the operation belongs to the computed interval.
+ .
+ The purpose of an arbitrary precision interval arithmetic is on the one hand
+ to get guaranteed results, thanks to interval computation, and on the other
+ hand to obtain accurate results, thanks to multiple precision arithmetic. The
+ MPFI library is built upon MPFR in order to benefit from the correct roundings
+ provided by MPFR. Further advantages of using MPFR are its portability and
+ compliance with the IEEE 754 standard for floating-point arithmetic.
+ .
+ This package provides the headers needed by developers.
+
+Package: libmpfi0-dbg
+Provides: libmpfi-dbg
+Section: debug
+Priority: extra
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: multiple precision floating-point interval computation library
+Depends: libmpfi0 (=${binary:Version}), ${misc:Depends}
+Conflicts: libmpfi-dbg
+Multi-Arch: same
+Description: multiple precision floating-point interval computation library -- debug
  This package provides a C library of functions for interval arithmetic
  computations with arbitrary precision.
  .
@@ -52,6 +131,37 @@ Description: multiple precision floating-point interval computation library
  hand to obtain accurate results, thanks to multiple precision arithmetic. The
  MPFI library is built upon MPFR in order to benefit from the correct roundings
  provided by MPFR. Further advantages of using MPFR are its portability and
- compliance with the IEEE 754 standard for floating-point arithmetic. 
+ compliance with the IEEE 754 standard for floating-point arithmetic.
  .
- This package provides the dynamic library.
+ This package provides the debugging symbols for the library.
+
+Package: libmpfi-doc
+Section: doc
+Architecture: all
+Replaces: libmpfi-dev (<= 1.5.1-3)
+Breaks: libmpfi-dev (<= 1.5.1-3)
+Depends: ${misc:Depends}
+Suggests:
+ libmpfi0 (=${binary:Version}), libmpfi0-dev (=${binary:Version}),
+ pdf-viewer
+Multi-Arch: foreign
+Description: multiple precision floating-point interval computation library -- doc
+ This package provides a C library of functions for interval arithmetic
+ computations with arbitrary precision.
+ .
+ The basic principle of interval arithmetic consists in enclosing every number
+ by an interval containing it and being representable by machine numbers: for
+ instance it can be stored as its lower and upper endpoints and these bounds
+ are machine numbers, or as a centre and a radius which are machine numbers.
+ .
+ The arithmetic operations are extended for interval operands in such a way
+ that the exact result of the operation belongs to the computed interval.
+ .
+ The purpose of an arbitrary precision interval arithmetic is on the one hand
+ to get guaranteed results, thanks to interval computation, and on the other
+ hand to obtain accurate results, thanks to multiple precision arithmetic. The
+ MPFI library is built upon MPFR in order to benefit from the correct roundings
+ provided by MPFR. Further advantages of using MPFR are its portability and
+ compliance with the IEEE 754 standard for floating-point arithmetic.
+ .
+ This package provides the user manual.
diff --git a/debian/copyright b/debian/copyright
index ea29ff1..f295710 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,16 +1,59 @@
-This package was debianized by Laurent Fousse <laurent at komite.net> on
-Wed, 10 Aug 2005 15:47:28 +0200.
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Upstream-Name: mpfi
+Upstream-Contact:
+ Nathalie Revol <nathalie.revol at inria.fr>
+ Fabrice Rouillier <fabrice.rouillier at inria.fr>
+Source: http://gforge.inria.fr/projects/mpfi/
+Files-Excluded:
+ doc/mpfi.info
+ doc/Makefile.in
+ tests/Makefile.in
+ src/Makefile.in
+ m4/ltversion.m4
+ m4/ltoptions.m4
+ m4/libtool.m4
+ m4/ltsugar.m4
+ m4/lt~obsolete.m4
+ aclocal.m4
+ mpfi_config.h.in
+ Makefile.in
+ mkinstalldirs
+ missing
+ ltmain.sh
+ install-sh
+ depcomp
+ config.sub
+ config.guess
+ configure
+ INSTALL
 
-It was downloaded from http://gforge.inria.fr/projects/mpfi/
+Files: *
+Copyright:
+ 1999-2015 Spaces and Arenaire INRIA projects, Lab. ANO - USTL
+License: GPL-2+
 
-Copyright 1999, 2000, 2001, 2002 - 2009, 2010,
-                     Spaces project, Inria Lorraine
-                     and Arenaire project, Inria Rhone-Alpes, France
-                     and Lab. ANO, USTL (Univ. of Lille),  France
+Files: debian/*
+Copyright:
+ 2015 Jerome Benoit <calculus at rezozer.net>
+ 2005-2014 Laurent Fousse <lfousse at debian.org>
+License: GPL-2+
+Comment:
+ This package was originally debianized by Laurent Fousse <lfousse at debian.org>
+ on Wed 2005-08-10.
 
-This library is distributed under the terms of the GNU Lesser General
-Public License as published by the Free Software Foundation; either
-version 2.1 of the License, or (at your option) any later version.
-
-On Debian systems, a copy of the licence is located in file
-/usr/share/common-licenses/LGPL-2.1.
+License: GPL-2+
+ This package 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 of the License, or
+ (at your option) any later version.
+ .
+ This package 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 package. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/docs b/debian/docs
deleted file mode 100644
index edc0071..0000000
--- a/debian/docs
+++ /dev/null
@@ -1 +0,0 @@
-NEWS
diff --git a/debian/libmpfi-dev.install b/debian/libmpfi-dev.install
deleted file mode 100644
index 02dd825..0000000
--- a/debian/libmpfi-dev.install
+++ /dev/null
@@ -1,3 +0,0 @@
-usr/lib/libmpfi.so	usr/lib/
-usr/lib/libmpfi.a	usr/lib/
-usr/include/*.h		usr/include/
diff --git a/debian/libmpfi-doc.doc-base b/debian/libmpfi-doc.doc-base
new file mode 100644
index 0000000..f478214
--- /dev/null
+++ b/debian/libmpfi-doc.doc-base
@@ -0,0 +1,30 @@
+Document: mpfi
+Title: MPFI: Multiple Precision Floating-Point Interval Library
+Author:
+ Nathalie Revol
+ Fabrice Rouillier
+ Sylvain Chevillard
+ Christoph Lauter
+ Hong Diep Nguyen
+ Philippe Theveny
+Section: Science/Mathematics
+Abstract:
+ The basic principle of interval arithmetic consists in enclosing every number
+ by an interval containing it and being representable by machine numbers: for
+ instance it can be stored as its lower and upper endpoints and these bounds
+ are machine numbers, or as a centre and a radius which are machine numbers.
+ .
+ The arithmetic operations are extended for interval operands in such a way
+ that the exact result of the operation belongs to the computed interval.
+ .
+ MPFI is intended to be a portable library written in C for arbitrary precision
+ interval arithmetic with intervals represented using MPFR reliable floating-point
+ numbers. It is based on the GNU MP library and on the MPFR library. The purpose of
+ an arbitrary precision interval arithmetic is on the one hand to get guaranteed
+ results, thanks to interval computation, and on the other hand to obtain accurate
+ results, thanks to multiple precision arithmetic. The MPFI library is built upon MPFR
+ in order to benefit from the correct rounding provided, for each operation or function,
+ by MPFR.
+
+Format: PDF
+Files: /usr/share/doc/libmpfi-doc/mpfi.pdf
diff --git a/debian/libmpfi-doc.docs b/debian/libmpfi-doc.docs
new file mode 100644
index 0000000..17fce66
--- /dev/null
+++ b/debian/libmpfi-doc.docs
@@ -0,0 +1,2 @@
+NEWS
+debian/tmp/usr/share/doc/mpfi/mpfi.pdf
diff --git a/debian/libmpfi-doc.info b/debian/libmpfi-doc.info
new file mode 100644
index 0000000..f740e12
--- /dev/null
+++ b/debian/libmpfi-doc.info
@@ -0,0 +1 @@
+debian/tmp/usr/share/info/mpfi.info
diff --git a/debian/libmpfi0-dev-common.install b/debian/libmpfi0-dev-common.install
new file mode 100644
index 0000000..e5c00da
--- /dev/null
+++ b/debian/libmpfi0-dev-common.install
@@ -0,0 +1 @@
+usr/include/*.h
diff --git a/debian/libmpfi0-dev.install b/debian/libmpfi0-dev.install
new file mode 100644
index 0000000..e8d5488
--- /dev/null
+++ b/debian/libmpfi0-dev.install
@@ -0,0 +1,3 @@
+usr/lib/*/libmpfi.so
+usr/lib/*/libmpfi.a
+#usr/lib/*/pkgconfig/*
diff --git a/debian/libmpfi0.install b/debian/libmpfi0.install
index 2036f5d..fe882d5 100644
--- a/debian/libmpfi0.install
+++ b/debian/libmpfi0.install
@@ -1 +1 @@
-usr/lib/libmpfi.so.*    usr/lib/
+usr/lib/*/libmpfi.so.*
diff --git a/debian/libmpfi0.symbols b/debian/libmpfi0.symbols
new file mode 100644
index 0000000..71cf5aa
--- /dev/null
+++ b/debian/libmpfi0.symbols
@@ -0,0 +1,174 @@
+libmpfi.so.0 libmpfi0 #MINVER#
+ LIBMPFI_0.0.0 at LIBMPFI_0.0.0 1.5.1
+ mpfi_abs at LIBMPFI_0.0.0 1.5.1
+ mpfi_acos at LIBMPFI_0.0.0 1.5.1
+ mpfi_acosh at LIBMPFI_0.0.0 1.5.1
+ mpfi_add at LIBMPFI_0.0.0 1.5.1
+ mpfi_add_d at LIBMPFI_0.0.0 1.5.1
+ mpfi_add_fr at LIBMPFI_0.0.0 1.5.1
+ mpfi_add_q at LIBMPFI_0.0.0 1.5.1
+ mpfi_add_si at LIBMPFI_0.0.0 1.5.1
+ mpfi_add_ui at LIBMPFI_0.0.0 1.5.1
+ mpfi_add_z at LIBMPFI_0.0.0 1.5.1
+ mpfi_alea at LIBMPFI_0.0.0 1.5.1
+ mpfi_asin at LIBMPFI_0.0.0 1.5.1
+ mpfi_asinh at LIBMPFI_0.0.0 1.5.1
+ mpfi_atan2 at LIBMPFI_0.0.0 1.5.1
+ mpfi_atan at LIBMPFI_0.0.0 1.5.1
+ mpfi_atanh at LIBMPFI_0.0.0 1.5.1
+ mpfi_bisect at LIBMPFI_0.0.0 1.5.1
+ mpfi_blow at LIBMPFI_0.0.0 1.5.1
+ mpfi_bounded_p at LIBMPFI_0.0.0 1.5.1
+ mpfi_cbrt at LIBMPFI_0.0.0 1.5.1
+ mpfi_clear at LIBMPFI_0.0.0 1.5.1
+ mpfi_cmp at LIBMPFI_0.0.0 1.5.1
+ mpfi_cmp_d at LIBMPFI_0.0.0 1.5.1
+ mpfi_cmp_fr at LIBMPFI_0.0.0 1.5.1
+ mpfi_cmp_q at LIBMPFI_0.0.0 1.5.1
+ mpfi_cmp_si at LIBMPFI_0.0.0 1.5.1
+ mpfi_cmp_ui at LIBMPFI_0.0.0 1.5.1
+ mpfi_cmp_z at LIBMPFI_0.0.0 1.5.1
+ mpfi_const_catalan at LIBMPFI_0.0.0 1.5.1
+ mpfi_const_euler at LIBMPFI_0.0.0 1.5.1
+ mpfi_const_log2 at LIBMPFI_0.0.0 1.5.1
+ mpfi_const_pi at LIBMPFI_0.0.0 1.5.1
+ mpfi_cos at LIBMPFI_0.0.0 1.5.1
+ mpfi_cosh at LIBMPFI_0.0.0 1.5.1
+ mpfi_cot at LIBMPFI_0.0.0 1.5.1
+ mpfi_coth at LIBMPFI_0.0.0 1.5.1
+ mpfi_csc at LIBMPFI_0.0.0 1.5.1
+ mpfi_csch at LIBMPFI_0.0.0 1.5.1
+ mpfi_d_div at LIBMPFI_0.0.0 1.5.1
+ mpfi_d_sub at LIBMPFI_0.0.0 1.5.1
+ mpfi_diam at LIBMPFI_0.0.0 1.5.1
+ mpfi_diam_abs at LIBMPFI_0.0.0 1.5.1
+ mpfi_diam_rel at LIBMPFI_0.0.0 1.5.1
+ mpfi_div at LIBMPFI_0.0.0 1.5.1
+ mpfi_div_2exp at LIBMPFI_0.0.0 1.5.1
+ mpfi_div_2si at LIBMPFI_0.0.0 1.5.1
+ mpfi_div_2ui at LIBMPFI_0.0.0 1.5.1
+ mpfi_div_d at LIBMPFI_0.0.0 1.5.1
+ mpfi_div_fr at LIBMPFI_0.0.0 1.5.1
+ mpfi_div_q at LIBMPFI_0.0.0 1.5.1
+ mpfi_div_si at LIBMPFI_0.0.0 1.5.1
+ mpfi_div_ui at LIBMPFI_0.0.0 1.5.1
+ mpfi_div_z at LIBMPFI_0.0.0 1.5.1
+ mpfi_error at LIBMPFI_0.0.0 1.5.1
+ mpfi_exp2 at LIBMPFI_0.0.0 1.5.1
+ mpfi_exp at LIBMPFI_0.0.0 1.5.1
+ mpfi_expm1 at LIBMPFI_0.0.0 1.5.1
+ mpfi_fr_div at LIBMPFI_0.0.0 1.5.1
+ mpfi_fr_sub at LIBMPFI_0.0.0 1.5.1
+ mpfi_get_d at LIBMPFI_0.0.0 1.5.1
+ mpfi_get_fr at LIBMPFI_0.0.0 1.5.1
+ mpfi_get_left at LIBMPFI_0.0.0 1.5.1
+ mpfi_get_prec at LIBMPFI_0.0.0 1.5.1
+ mpfi_get_right at LIBMPFI_0.0.0 1.5.1
+ mpfi_get_version at LIBMPFI_0.0.0 1.5.1
+ mpfi_has_zero at LIBMPFI_0.0.0 1.5.1
+ mpfi_hypot at LIBMPFI_0.0.0 1.5.1
+ mpfi_increase at LIBMPFI_0.0.0 1.5.1
+ mpfi_inf_p at LIBMPFI_0.0.0 1.5.1
+ mpfi_init2 at LIBMPFI_0.0.0 1.5.1
+ mpfi_init at LIBMPFI_0.0.0 1.5.1
+ mpfi_init_set at LIBMPFI_0.0.0 1.5.1
+ mpfi_init_set_d at LIBMPFI_0.0.0 1.5.1
+ mpfi_init_set_fr at LIBMPFI_0.0.0 1.5.1
+ mpfi_init_set_q at LIBMPFI_0.0.0 1.5.1
+ mpfi_init_set_si at LIBMPFI_0.0.0 1.5.1
+ mpfi_init_set_str at LIBMPFI_0.0.0 1.5.1
+ mpfi_init_set_ui at LIBMPFI_0.0.0 1.5.1
+ mpfi_init_set_z at LIBMPFI_0.0.0 1.5.1
+ mpfi_inp_str at LIBMPFI_0.0.0 1.5.1
+ mpfi_intersect at LIBMPFI_0.0.0 1.5.1
+ mpfi_interv_d at LIBMPFI_0.0.0 1.5.1
+ mpfi_interv_fr at LIBMPFI_0.0.0 1.5.1
+ mpfi_interv_q at LIBMPFI_0.0.0 1.5.1
+ mpfi_interv_si at LIBMPFI_0.0.0 1.5.1
+ mpfi_interv_ui at LIBMPFI_0.0.0 1.5.1
+ mpfi_interv_z at LIBMPFI_0.0.0 1.5.1
+ mpfi_inv at LIBMPFI_0.0.0 1.5.1
+ mpfi_is_empty at LIBMPFI_0.0.0 1.5.1
+ mpfi_is_error at LIBMPFI_0.0.0 1.5.1
+ mpfi_is_inside at LIBMPFI_0.0.0 1.5.1
+ mpfi_is_inside_d at LIBMPFI_0.0.0 1.5.1
+ mpfi_is_inside_fr at LIBMPFI_0.0.0 1.5.1
+ mpfi_is_inside_q at LIBMPFI_0.0.0 1.5.1
+ mpfi_is_inside_si at LIBMPFI_0.0.0 1.5.1
+ mpfi_is_inside_ui at LIBMPFI_0.0.0 1.5.1
+ mpfi_is_inside_z at LIBMPFI_0.0.0 1.5.1
+ mpfi_is_neg at LIBMPFI_0.0.0 1.5.1
+ mpfi_is_nonneg at LIBMPFI_0.0.0 1.5.1
+ mpfi_is_nonpos at LIBMPFI_0.0.0 1.5.1
+ mpfi_is_pos at LIBMPFI_0.0.0 1.5.1
+ mpfi_is_strictly_inside at LIBMPFI_0.0.0 1.5.1
+ mpfi_is_strictly_neg at LIBMPFI_0.0.0 1.5.1
+ mpfi_is_strictly_pos at LIBMPFI_0.0.0 1.5.1
+ mpfi_is_zero at LIBMPFI_0.0.0 1.5.1
+ mpfi_log10 at LIBMPFI_0.0.0 1.5.1
+ mpfi_log1p at LIBMPFI_0.0.0 1.5.1
+ mpfi_log2 at LIBMPFI_0.0.0 1.5.1
+ mpfi_log at LIBMPFI_0.0.0 1.5.1
+ mpfi_mag at LIBMPFI_0.0.0 1.5.1
+ mpfi_mid at LIBMPFI_0.0.0 1.5.1
+ mpfi_mig at LIBMPFI_0.0.0 1.5.1
+ mpfi_mul at LIBMPFI_0.0.0 1.5.1
+ mpfi_mul_2exp at LIBMPFI_0.0.0 1.5.1
+ mpfi_mul_2si at LIBMPFI_0.0.0 1.5.1
+ mpfi_mul_2ui at LIBMPFI_0.0.0 1.5.1
+ mpfi_mul_d at LIBMPFI_0.0.0 1.5.1
+ mpfi_mul_fr at LIBMPFI_0.0.0 1.5.1
+ mpfi_mul_q at LIBMPFI_0.0.0 1.5.1
+ mpfi_mul_si at LIBMPFI_0.0.0 1.5.1
+ mpfi_mul_ui at LIBMPFI_0.0.0 1.5.1
+ mpfi_mul_z at LIBMPFI_0.0.0 1.5.1
+ mpfi_nan_p at LIBMPFI_0.0.0 1.5.1
+ mpfi_neg at LIBMPFI_0.0.0 1.5.1
+ mpfi_out_str at LIBMPFI_0.0.0 1.5.1
+ mpfi_print_binary at LIBMPFI_0.0.0 1.5.1
+ mpfi_put at LIBMPFI_0.0.0 1.5.1
+ mpfi_put_d at LIBMPFI_0.0.0 1.5.1
+ mpfi_put_fr at LIBMPFI_0.0.0 1.5.1
+ mpfi_put_q at LIBMPFI_0.0.0 1.5.1
+ mpfi_put_si at LIBMPFI_0.0.0 1.5.1
+ mpfi_put_ui at LIBMPFI_0.0.0 1.5.1
+ mpfi_put_z at LIBMPFI_0.0.0 1.5.1
+ mpfi_q_div at LIBMPFI_0.0.0 1.5.1
+ mpfi_q_sub at LIBMPFI_0.0.0 1.5.1
+ mpfi_reset_error at LIBMPFI_0.0.0 1.5.1
+ mpfi_revert_if_needed at LIBMPFI_0.0.0 1.5.1
+ mpfi_round_prec at LIBMPFI_0.0.0 1.5.1
+ mpfi_sec at LIBMPFI_0.0.0 1.5.1
+ mpfi_sech at LIBMPFI_0.0.0 1.5.1
+ mpfi_set at LIBMPFI_0.0.0 1.5.1
+ mpfi_set_d at LIBMPFI_0.0.0 1.5.1
+ mpfi_set_error at LIBMPFI_0.0.0 1.5.1
+ mpfi_set_fr at LIBMPFI_0.0.0 1.5.1
+ mpfi_set_prec at LIBMPFI_0.0.0 1.5.1
+ mpfi_set_q at LIBMPFI_0.0.0 1.5.1
+ mpfi_set_si at LIBMPFI_0.0.0 1.5.1
+ mpfi_set_str at LIBMPFI_0.0.0 1.5.1
+ mpfi_set_ui at LIBMPFI_0.0.0 1.5.1
+ mpfi_set_z at LIBMPFI_0.0.0 1.5.1
+ mpfi_si_div at LIBMPFI_0.0.0 1.5.1
+ mpfi_si_sub at LIBMPFI_0.0.0 1.5.1
+ mpfi_sin at LIBMPFI_0.0.0 1.5.1
+ mpfi_sinh at LIBMPFI_0.0.0 1.5.1
+ mpfi_sqr at LIBMPFI_0.0.0 1.5.1
+ mpfi_sqrt at LIBMPFI_0.0.0 1.5.1
+ mpfi_sub at LIBMPFI_0.0.0 1.5.1
+ mpfi_sub_d at LIBMPFI_0.0.0 1.5.1
+ mpfi_sub_fr at LIBMPFI_0.0.0 1.5.1
+ mpfi_sub_q at LIBMPFI_0.0.0 1.5.1
+ mpfi_sub_si at LIBMPFI_0.0.0 1.5.1
+ mpfi_sub_ui at LIBMPFI_0.0.0 1.5.1
+ mpfi_sub_z at LIBMPFI_0.0.0 1.5.1
+ mpfi_swap at LIBMPFI_0.0.0 1.5.1
+ mpfi_tan at LIBMPFI_0.0.0 1.5.1
+ mpfi_tanh at LIBMPFI_0.0.0 1.5.1
+ mpfi_ui_div at LIBMPFI_0.0.0 1.5.1
+ mpfi_ui_sub at LIBMPFI_0.0.0 1.5.1
+ mpfi_union at LIBMPFI_0.0.0 1.5.1
+ mpfi_urandom at LIBMPFI_0.0.0 1.5.1
+ mpfi_z_div at LIBMPFI_0.0.0 1.5.1
+ mpfi_z_sub at LIBMPFI_0.0.0 1.5.1
diff --git a/debian/patches/disable-Werror.patch b/debian/patches/disable-Werror.patch
deleted file mode 100644
index 5c31f88..0000000
--- a/debian/patches/disable-Werror.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -7,7 +7,7 @@
- AC_CONFIG_HEADERS([mpfi_config.h])
- 
- AC_CONFIG_MACRO_DIR([m4])
--AM_INIT_AUTOMAKE([1.9 -Wall -Werror dist-bzip2 dist-zip])
-+AM_INIT_AUTOMAKE([1.9 -Wall dist-bzip2 dist-zip])
- 
- dnl Extra arguments to configure
- AC_ARG_WITH([mpfr_include],
diff --git a/debian/patches/series b/debian/patches/series
index 48f9398..c805dcc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,3 @@
-disable-Werror.patch
+upstream-autotools-refresh.patch
+upstream-libtoolization-version_script.patch
+upstream-source-warnings-silence.patch
diff --git a/debian/patches/upstream-autotools-refresh.patch b/debian/patches/upstream-autotools-refresh.patch
new file mode 100644
index 0000000..285e450
--- /dev/null
+++ b/debian/patches/upstream-autotools-refresh.patch
@@ -0,0 +1,55 @@
+Description: upstream -- autotoolization: refresh
+ Attempt to refresh and rationalize further the autotools machinery;
+ meant to be submitted to the upstream maintainer team.
+Origin: debian
+Author: Jerome Benoit <calculus at rezozer.net>
+Last-Update: 2015-05-22
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -2,12 +2,20 @@
+ # Process this file with autoconf to produce a configure script.
+ 
+ AC_PREREQ(2.65)
+-AC_INIT([mpfi],[1.5.1],[mpfi-users at lists.gforge.inria.fr])
++AC_INIT([mpfi],[1.5.1],
++	[mpfi-users at lists.gforge.inria.fr],[mpfi],
++	[http://gforge.inria.fr/projects/mpfi/])
++AC_CONFIG_MACRO_DIR([m4])
++AC_CONFIG_AUX_DIR([build-aux])
+ AC_CONFIG_SRCDIR([src/mpfi.h])
+ AC_CONFIG_HEADERS([mpfi_config.h])
++AC_USE_SYSTEM_EXTENSIONS
++AM_INIT_AUTOMAKE([foreign dist-bzip2 dist-zip])
++AM_SILENT_RULES([no])
++AM_MAINTAINER_MODE([])
+ 
+-AC_CONFIG_MACRO_DIR([m4])
+-AM_INIT_AUTOMAKE([1.9 -Wall -Werror dist-bzip2 dist-zip])
++# Check for which system.
++AC_CANONICAL_HOST
+ 
+ dnl Extra arguments to configure
+ AC_ARG_WITH([mpfr_include],
+--- a/doc/Makefile.am
++++ b/doc/Makefile.am
+@@ -1,2 +1 @@
+ info_TEXINFOS = mpfi.texi
+-TEXINFO_TEX = ../texinfo.tex
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,5 +1,5 @@
+ ACLOCAL_AMFLAGS = -I m4
++
+ SUBDIRS = src tests doc
+ 
+-include_HEADERS = src/mpfi.h src/mpfi_io.h
+ EXTRA_DIST = mpfi_config.h.in
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,3 +1,5 @@
++include_HEADERS = src/mpfi.h src/mpfi_io.h
++
+ lib_LTLIBRARIES = libmpfi.la
+ 
+ libmpfi_la_SOURCES = mpfi-impl.h abs.c acos.c acosh.c add.c	\
diff --git a/debian/patches/upstream-libtoolization-version_script.patch b/debian/patches/upstream-libtoolization-version_script.patch
new file mode 100644
index 0000000..a96c1d7
--- /dev/null
+++ b/debian/patches/upstream-libtoolization-version_script.patch
@@ -0,0 +1,73 @@
+Description: upstream -- libtoolization -- version script support
+ Provides version scripts [1] for the shipped libraries. The map
+ (or version script) is basically generated from the package headers
+ with the help of cproto(1). The version scripts are generated on the
+ fly thought the [auto]make machinery (in maintainer-mode).
+ Meant to be submitted to the upstream maintainer team.
+ [1] https://www.gnu.org/software/gnulib/manual/html_node/LD-Version-Scripts.html
+Origin: debian
+Author: Jerome Benoit <calculus at rezozer.net>
+Last-Update: 2015-05-22
+
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,4 +1,6 @@
+-include_HEADERS = src/mpfi.h src/mpfi_io.h
++CPROTO = cproto
++
++include_HEADERS = mpfi.h mpfi_io.h
+ 
+ lib_LTLIBRARIES = libmpfi.la
+ 
+@@ -26,3 +28,29 @@
+    ui_sub.c union.c urandom.c z_div.c z_sub.c
+ 
+ AM_CPPFLAGS =-I$(top_srcdir)
++
++libmpfi_la_LD_VERSION_SCRIPT=
++if HAVE_LD_VERSION_SCRIPT
++libmpfi_la_LD_VERSION_SCRIPT+= -Wl,--version-script=mpfi.map
++endif
++
++libmpfi_la_LDFLAGS = -version-info $(LIBMPFI_LT_VERSION) $(libmpfi_la_LD_VERSION_SCRIPT)
++
++if MAINTAINER_MODE
++
++BUILT_SOURCES = mpfi.map
++
++mpfi.map: $(include_HEADERS)
++
++endif
++
++EXTRA_DIST = $(BUILT_SOURCES)
++MAINTAINERCLEANFILES = $(BUILT_SOURCES)
++
++%.map :
++	_MAPNAME=$$(echo $(patsubst %.map,%,$@) | tr '[a-z]' '[A-Z]') ; \
++	printf "LIB%s_%d.%d.%d {\nglobal:\n" $$_MAPNAME $(subst :, ,$(LIBMPFI_LT_VERSION)) > $@ ;
++	$(CPROTO) -X 1 -f 0 $^ | \
++			sed '/^\/\*/d;s/(\*\([_a-z0-9]*\))/\1/g;s/()//g;s/\*//g' | rev | cut -d ' ' -f1 | rev | sort -u \
++		>> $@
++	printf "\nlocal: *;\n};\n" >> $@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,3 +1,7 @@
++## Library versioning (C:R:A == current:revision:age)
++export LIBMPFI_LT_VERSION = 0:0:0
++
++
+ ACLOCAL_AMFLAGS = -I m4
+ 
+ SUBDIRS = src tests doc
+--- a/configure.ac
++++ b/configure.ac
+@@ -17,6 +17,9 @@
+ # Check for which system.
+ AC_CANONICAL_HOST
+ 
++# check linker script support
++gl_LD_VERSION_SCRIPT
++
+ dnl Extra arguments to configure
+ AC_ARG_WITH([mpfr_include],
+             [AS_HELP_STRING([--with-mpfr-include=DIR],[MPFR include directory])],
diff --git a/debian/patches/upstream-source-warnings-silence.patch b/debian/patches/upstream-source-warnings-silence.patch
new file mode 100644
index 0000000..1d94be0
--- /dev/null
+++ b/debian/patches/upstream-source-warnings-silence.patch
@@ -0,0 +1,38 @@
+Description: fixes for upstream source warnings
+ Fix warnings emitted by gcc when the package builds;
+ meant to be submitted to the upstream maintainer team.
+Origin: debian
+Author: Jerome Benoit <calculus at rezozer.net>
+Last-Update: 2015-05-22
+
+--- a/tests/tio_str.c
++++ b/tests/tio_str.c
+@@ -91,8 +91,8 @@
+ 
+         if (!MPFI_NAN_P (i) && !MPFI_INF_P (i) && n_read != n_written) {
+           printf ("mpfi_inp_str did not read the complete output of "
+-                  "mpfi_out_str.\nnumber of read characters: %d\n"
+-                  "expected: %d\n", n_read, n_written);
++                  "mpfi_out_str.\nnumber of read characters: %zu\n"
++                  "expected: %zu\n", n_read, n_written);
+         }
+ 
+         exit (1);
+@@ -150,7 +150,7 @@
+       if (n_mpfr != n_mpfi) {
+         printf ("Error: mpfi_inp_str does not read the same number of "
+                 "characters as mpfr_inp_str in file \"%s\" line 1.\n"
+-                "    read: %u\nexpected: %u\n", datafile, n_mpfi, n_mpfr);
++                "    read: %zu\nexpected: %zu\n", datafile, n_mpfi, n_mpfr);
+ 
+         exit (1);
+       }
+@@ -179,7 +179,7 @@
+       if (n_mpfr != n_mpfi) {
+         printf ("Error: mpfi_inp_str does not read the same number of "
+                 "characters as mpfr_inp_str in file \"%s\" line 1.\n"
+-                "    read: %u\nexpected: %u\n", datafile, n_mpfi, n_mpfr);
++                "    read: %zu\nexpected: %zu\n", datafile, n_mpfi, n_mpfr);
+ 
+         exit (1);
+       }
diff --git a/debian/rules b/debian/rules
index 464f5d0..497c4ad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,43 @@
 #!/usr/bin/make -f
 
-ifeq ($(DEB_BUILD_GNU_CPU),sh4)
-  CFLAGS+=-mieee
+export ACLOCAL_PATH=/usr/share/gnulib/m4
+
+## inspired from mpfr material
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else ifeq ($(DEB_HOST_ARCH),alpha)
+	CFLAGS += -mieee
+else ifeq ($(DEB_HOST_ARCH),sha4)
+	CFLAGS += -mieee
+else
+	CFLAGS := $(subst -O2,-O3,$(CFLAGS))
 endif
 
+default:
+	@uscan --no-conf --dehs --report || true
+
 %:
-	dh $@ --with autoreconf
+	dh $@ --with autoreconf --builddirectory=_build --parallel
+
+override_dh_auto_configure:
+	dh_auto_configure -- --enable-maintainer-mode
+
+override_dh_auto_build-indep:
+
+override_dh_auto_build-arch:
+	dh_auto_build -a
+
+override_dh_auto_test-indep:
+
+override_dh_auto_install-indep:
+	$(MAKE) -C _build/src install-data-am DESTDIR=$(CURDIR)/debian/tmp
+	$(MAKE) -C _build install-info install-pdf DESTDIR=$(CURDIR)/debian/tmp
+
+override_dh_compress-indep:
+	dh_compress -X.pdf
+
+override_dh_strip:
+	dh_strip --dbg-package=libmpfi0-dbg
+
+get-orig-source:
+	uscan --no-conf --download-current-version --compression xz --verbose
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..21a7f96
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,3 @@
+# Upstream source ball is not (yet) signed: request to the upstream team
+# was sent -- Jerome Benoit <calculus at rrezozer.net>
+debian-watch-may-check-gpg-signature
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f6a4210
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=dversionmangle=s/\+ds//,repacksuffix=+ds,uversionmangle=s/-(rc\d*)$/~$1/ \
+https://gforge.inria.fr/frs/?group_id=157 \
+	(?:|.*/)mpfi(?:[_\-]v?|)(\d[^\s/]*)\.(?:tar\.xz|tar\.bz2|tar\.gz)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mpfi.git



More information about the debian-science-commits mailing list