debian/0000755000000000000000000000000012264014753007172 5ustar debian/libmpdec-dev.install0000644000000000000000000000006112046515562013114 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.so debian/copyright0000644000000000000000000000733212263347211011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: mpdecimal Source: http://www.bytereef.org/mpdecimal/download.html Files: * Copyright: Copyright (c) 2008-2013 Stefan Krah. All rights reserved. License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: libmpdec/vcstdint.h Copyright: Copyright (c) 2006-2008 Alexander Chemeris License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . 3. The name of the author may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2012 Matthias Klose 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 program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/libmpdec2.symbols0000644000000000000000000001770512263745605012465 0ustar libmpdec.so.2 libmpdec2 MPD_MINALLOC@Base 2.3 mpd_abs@Base 2.3 mpd_abs_uint@Base 2.3 mpd_add@Base 2.3 mpd_add_i32@Base 2.3 mpd_add_i64@Base 2.3 mpd_add_ssize@Base 2.3 mpd_add_u32@Base 2.3 mpd_add_u64@Base 2.3 mpd_add_uint@Base 2.3 mpd_addstatus_raise@Base 2.3 mpd_adjexp@Base 2.3 mpd_alloc@Base 2.3 mpd_and@Base 2.3 mpd_arith_sign@Base 2.3 mpd_basiccontext@Base 2.3 mpd_calloc@Base 2.3 mpd_callocfunc@Base 2.3 mpd_callocfunc_em@Base 2.3 mpd_canonical@Base 2.3 mpd_ceil@Base 2.3 mpd_check_nan@Base 2.3 mpd_check_nans@Base 2.3 mpd_clamp_string@Base 2.3 mpd_class@Base 2.3 mpd_clear_flags@Base 2.3 mpd_cmp@Base 2.3 mpd_cmp_total@Base 2.3 mpd_cmp_total_mag@Base 2.3 mpd_compare@Base 2.3 mpd_compare_signal@Base 2.3 mpd_compare_total@Base 2.3 mpd_compare_total_mag@Base 2.3 mpd_copy@Base 2.3 mpd_copy_abs@Base 2.3 mpd_copy_flags@Base 2.3 mpd_copy_negate@Base 2.3 mpd_copy_sign@Base 2.3 mpd_defaultcontext@Base 2.3 mpd_del@Base 2.3 mpd_dflt_traphandler@Base 2.3 mpd_digits_to_size@Base 2.3 mpd_div@Base 2.3 mpd_div_i32@Base 2.3 mpd_div_i64@Base 2.3 mpd_div_ssize@Base 2.3 mpd_div_u32@Base 2.3 mpd_div_u64@Base 2.3 mpd_div_uint@Base 2.3 mpd_divint@Base 2.3 mpd_divmod@Base 2.3 mpd_etiny@Base 2.3 mpd_etop@Base 2.3 mpd_exp@Base 2.3 mpd_exp_digits@Base 2.3 mpd_export_u16@Base 2.3 mpd_export_u32@Base 2.3 mpd_finalize@Base 2.3 mpd_floor@Base 2.3 mpd_fma@Base 2.3 mpd_format@Base 2.3 mpd_fprint@Base 2.3 mpd_free@Base 2.3 mpd_get_i32@Base 2.3 mpd_get_i64@Base 2.3 mpd_get_ssize@Base 2.3 mpd_get_u32@Base 2.3 mpd_get_u64@Base 2.3 mpd_get_uint@Base 2.3 mpd_getclamp@Base 2.3 mpd_getcr@Base 2.3 mpd_getemax@Base 2.3 mpd_getemin@Base 2.3 mpd_getprec@Base 2.3 mpd_getround@Base 2.3 mpd_getstatus@Base 2.3 mpd_gettraps@Base 2.3 mpd_ieee_context@Base 2.3 mpd_import_u16@Base 2.3 mpd_import_u32@Base 2.3 mpd_init@Base 2.3 mpd_invert@Base 2.3 mpd_invroot@Base 2.3 mpd_iscanonical@Base 2.3 mpd_isconst_data@Base 2.3 mpd_isdynamic@Base 2.3 mpd_isdynamic_data@Base 2.3 mpd_iseven@Base 2.3 mpd_isfinite@Base 2.3 mpd_isinfinite@Base 2.3 mpd_isinteger@Base 2.3 mpd_isnan@Base 2.3 mpd_isnegative@Base 2.3 mpd_isnormal@Base 2.3 mpd_isodd@Base 2.3 mpd_isoddcoeff@Base 2.3 mpd_isoddword@Base 2.3 mpd_ispositive@Base 2.3 mpd_isqnan@Base 2.3 mpd_isshared_data@Base 2.3 mpd_issigned@Base 2.3 mpd_issnan@Base 2.3 mpd_isspecial@Base 2.3 mpd_isstatic@Base 2.3 mpd_isstatic_data@Base 2.3 mpd_issubnormal@Base 2.3 mpd_iszero@Base 2.3 mpd_iszerocoeff@Base 2.3 mpd_ln@Base 2.3 mpd_log10@Base 2.3 mpd_logb@Base 2.3 mpd_lsd@Base 2.3 mpd_lsnprint_flags@Base 2.3 mpd_lsnprint_signals@Base 2.3 mpd_mallocfunc@Base 2.3 mpd_max@Base 2.3 mpd_max_mag@Base 2.3 mpd_maxcoeff@Base 2.3 mpd_maxcontext@Base 2.3 mpd_min@Base 2.3 mpd_min_mag@Base 2.3 mpd_minalloc@Base 2.3 mpd_minus@Base 2.3 mpd_msd@Base 2.3 mpd_msword@Base 2.3 mpd_mul@Base 2.3 mpd_mul_i32@Base 2.3 mpd_mul_i64@Base 2.3 mpd_mul_ssize@Base 2.3 mpd_mul_u32@Base 2.3 mpd_mul_u64@Base 2.3 mpd_mul_uint@Base 2.3 mpd_new@Base 2.3 mpd_next_minus@Base 2.3 mpd_next_plus@Base 2.3 mpd_next_toward@Base 2.3 mpd_or@Base 2.3 mpd_parse_fmt_str@Base 2.3 mpd_plus@Base 2.3 mpd_pow@Base 2.3 mpd_powmod@Base 2.3 mpd_print@Base 2.3 mpd_qabs@Base 2.3 mpd_qabs_uint@Base 2.3 mpd_qadd@Base 2.3 mpd_qadd_i32@Base 2.3 mpd_qadd_i64@Base 2.3 mpd_qadd_ssize@Base 2.3 mpd_qadd_u32@Base 2.3 mpd_qadd_u64@Base 2.3 mpd_qadd_uint@Base 2.3 mpd_qand@Base 2.3 mpd_qceil@Base 2.3 mpd_qcheck_nan@Base 2.3 mpd_qcheck_nans@Base 2.3 mpd_qcmp@Base 2.3 mpd_qcompare@Base 2.3 mpd_qcompare_signal@Base 2.3 mpd_qcopy@Base 2.3 mpd_qcopy_abs@Base 2.3 mpd_qcopy_negate@Base 2.3 mpd_qcopy_sign@Base 2.3 mpd_qdiv@Base 2.3 mpd_qdiv_i32@Base 2.3 mpd_qdiv_i64@Base 2.3 mpd_qdiv_ssize@Base 2.3 mpd_qdiv_u32@Base 2.3 mpd_qdiv_u64@Base 2.3 mpd_qdiv_uint@Base 2.3 mpd_qdivint@Base 2.3 mpd_qdivmod@Base 2.3 mpd_qexp@Base 2.3 mpd_qexport_u16@Base 2.3 mpd_qexport_u32@Base 2.3 mpd_qfinalize@Base 2.3 mpd_qfloor@Base 2.3 mpd_qfma@Base 2.3 mpd_qformat@Base 2.3 mpd_qformat_spec@Base 2.3 mpd_qget_i32@Base 2.3 mpd_qget_i64@Base 2.3 mpd_qget_ssize@Base 2.3 mpd_qget_u32@Base 2.3 mpd_qget_u64@Base 2.3 mpd_qget_uint@Base 2.3 mpd_qimport_u16@Base 2.3 mpd_qimport_u32@Base 2.3 mpd_qinvert@Base 2.3 mpd_qinvroot@Base 2.3 mpd_qln10@Base 2.4 mpd_qln@Base 2.3 mpd_qlog10@Base 2.3 mpd_qlogb@Base 2.3 mpd_qmax@Base 2.3 mpd_qmax_mag@Base 2.3 mpd_qmaxcoeff@Base 2.3 mpd_qmin@Base 2.3 mpd_qmin_mag@Base 2.3 mpd_qminus@Base 2.3 mpd_qmul@Base 2.3 mpd_qmul_i32@Base 2.3 mpd_qmul_i64@Base 2.3 mpd_qmul_ssize@Base 2.3 mpd_qmul_u32@Base 2.3 mpd_qmul_u64@Base 2.3 mpd_qmul_uint@Base 2.3 mpd_qncopy@Base 2.3 mpd_qnew@Base 2.3 mpd_qnew_size@Base 2.3 mpd_qnext_minus@Base 2.3 mpd_qnext_plus@Base 2.3 mpd_qnext_toward@Base 2.3 mpd_qor@Base 2.3 mpd_qplus@Base 2.3 mpd_qpow@Base 2.3 mpd_qpowmod@Base 2.3 mpd_qquantize@Base 2.3 mpd_qreduce@Base 2.3 mpd_qrem@Base 2.3 mpd_qrem_near@Base 2.3 mpd_qrescale@Base 2.3 mpd_qrescale_fmt@Base 2.4 mpd_qresize@Base 2.3 mpd_qresize_zero@Base 2.3 mpd_qrotate@Base 2.3 mpd_qround_to_int@Base 2.3 mpd_qround_to_intx@Base 2.3 mpd_qscaleb@Base 2.3 mpd_qset_i32@Base 2.3 mpd_qset_i64@Base 2.3 mpd_qset_ssize@Base 2.3 mpd_qset_string@Base 2.3 mpd_qset_u32@Base 2.3 mpd_qset_u64@Base 2.3 mpd_qset_uint@Base 2.3 mpd_qsetclamp@Base 2.3 mpd_qsetcr@Base 2.3 mpd_qsetemax@Base 2.3 mpd_qsetemin@Base 2.3 mpd_qsetprec@Base 2.3 mpd_qsetround@Base 2.3 mpd_qsetstatus@Base 2.3 mpd_qsettraps@Base 2.3 mpd_qshift@Base 2.3 mpd_qshiftl@Base 2.3 mpd_qshiftn@Base 2.3 mpd_qshiftr@Base 2.3 mpd_qshiftr_inplace@Base 2.3 mpd_qsqrt@Base 2.3 mpd_qsset_i32@Base 2.3 (arch=amd64 arm64 ia64 ppc64 ppc64el s390x sparc64 kfreebsd-amd64)mpd_qsset_i64@Base 2.3 mpd_qsset_ssize@Base 2.3 mpd_qsset_u32@Base 2.3 (arch=amd64 arm64 ia64 ppc64 ppc64el s390x sparc64 kfreebsd-amd64)mpd_qsset_u64@Base 2.3 mpd_qsset_uint@Base 2.3 mpd_qsub@Base 2.3 mpd_qsub_i32@Base 2.3 mpd_qsub_i64@Base 2.3 mpd_qsub_ssize@Base 2.3 mpd_qsub_u32@Base 2.3 mpd_qsub_u64@Base 2.3 mpd_qsub_uint@Base 2.3 mpd_qtrunc@Base 2.3 mpd_quantize@Base 2.3 mpd_qxor@Base 2.3 mpd_radix@Base 2.3 mpd_realloc@Base 2.3 mpd_reallocfunc@Base 2.3 mpd_reduce@Base 2.3 mpd_rem@Base 2.3 mpd_rem_near@Base 2.3 mpd_rescale@Base 2.3 mpd_resize@Base 2.3 mpd_resize_zero@Base 2.3 mpd_rotate@Base 2.3 mpd_round_string@Base 2.3 mpd_round_to_int@Base 2.3 mpd_round_to_intx@Base 2.3 mpd_same_quantum@Base 2.3 mpd_scaleb@Base 2.3 mpd_set_const_data@Base 2.3 mpd_set_dynamic@Base 2.3 mpd_set_dynamic_data@Base 2.3 mpd_set_flags@Base 2.3 mpd_set_i32@Base 2.3 mpd_set_i64@Base 2.3 mpd_set_infinity@Base 2.3 mpd_set_negative@Base 2.3 mpd_set_positive@Base 2.3 mpd_set_qnan@Base 2.3 mpd_set_shared_data@Base 2.3 mpd_set_sign@Base 2.3 mpd_set_snan@Base 2.3 mpd_set_ssize@Base 2.3 mpd_set_static@Base 2.3 mpd_set_static_data@Base 2.3 mpd_set_string@Base 2.3 mpd_set_u32@Base 2.3 mpd_set_u64@Base 2.3 mpd_set_uint@Base 2.3 mpd_setdigits@Base 2.3 mpd_seterror@Base 2.3 mpd_setminalloc@Base 2.3 mpd_setspecial@Base 2.3 mpd_sh_alloc@Base 2.3 mpd_shift@Base 2.3 mpd_shiftl@Base 2.3 mpd_shiftn@Base 2.3 mpd_shiftr@Base 2.3 mpd_sign@Base 2.3 mpd_signcpy@Base 2.3 mpd_sizeinbase@Base 2.3 mpd_snprint_flags@Base 2.3 mpd_sqrt@Base 2.3 mpd_sset_i32@Base 2.3 (arch=amd64 arm64 ia64 ppc64 ppc64el s390x sparc64 kfreebsd-amd64)mpd_sset_i64@Base 2.3 mpd_sset_ssize@Base 2.3 mpd_sset_u32@Base 2.3 (arch=amd64 arm64 ia64 ppc64 ppc64el s390x sparc64 kfreebsd-amd64)mpd_sset_u64@Base 2.3 mpd_sset_uint@Base 2.3 mpd_sub@Base 2.3 mpd_sub_i32@Base 2.3 mpd_sub_i64@Base 2.3 mpd_sub_ssize@Base 2.3 mpd_sub_u32@Base 2.3 mpd_sub_u64@Base 2.3 mpd_sub_uint@Base 2.3 mpd_to_eng@Base 2.3 mpd_to_eng_size@Base 2.4 mpd_to_sci@Base 2.3 mpd_to_sci_size@Base 2.4 mpd_trail_zeros@Base 2.3 mpd_traphandler@Base 2.3 mpd_trunc@Base 2.3 mpd_uint_zero@Base 2.3 mpd_validate_lconv@Base 2.4 mpd_version@Base 2.4 mpd_word_digits@Base 2.3 mpd_xor@Base 2.3 mpd_zerocoeff@Base 2.3 debian/libmpdec2.install0000644000000000000000000000002412046505762012422 0ustar usr/lib/*/lib*.so.* debian/changelog0000644000000000000000000000356612264014734011055 0ustar mpdecimal (2.4.0-6) unstable; urgency=medium * Fix the uint128_t detection, so several architectures don't use the substantially slower ANSI build (Stefan Krah). * Fix the dangling .so symlink. -- Matthias Klose Fri, 10 Jan 2014 17:01:31 +0100 mpdecimal (2.4.0-5) unstable; urgency=medium * Always build with -fPIC, fixing build failure on sparc64. * Don't use amd64-any in the symbols file, matching x32 for some reason. See #734842. -- Matthias Klose Fri, 10 Jan 2014 11:25:17 +0100 mpdecimal (2.4.0-4) unstable; urgency=medium * Disable the allocation failure tests, takes too long to run on slow architectures (Stefan Krah). -- Matthias Klose Fri, 10 Jan 2014 01:07:41 +0100 mpdecimal (2.4.0-3) unstable; urgency=medium * Fix symbols file for x32. * Make the test run a bit more verbose (Stefan Krah). -- Matthias Klose Thu, 09 Jan 2014 16:23:47 +0100 mpdecimal (2.4.0-2) unstable; urgency=medium * Run the subset of tests which can be run without downloading additional files. * debian/control: Use ${sphinxdoc:Depends}. * Removed copyrights for files removed upstream in 2.4. -- Matthias Klose Wed, 08 Jan 2014 23:11:05 +0100 mpdecimal (2.4.0-1) unstable; urgency=medium * New upstream release. -- Matthias Klose Sun, 05 Jan 2014 22:23:14 +0100 mpdecimal (2.3-3) unstable; urgency=low * Update symbols file for non-x86 32bit architectures. -- Matthias Klose Sat, 23 Nov 2013 07:42:40 +0100 mpdecimal (2.3-2) unstable; urgency=low * Update symbols file for 32bit architectures. -- Matthias Klose Fri, 22 Nov 2013 17:55:09 +0100 mpdecimal (2.3-1) unstable; urgency=low * Initial release (Closes: #692589). -- Matthias Klose Wed, 07 Nov 2012 14:57:10 +0100 debian/libmpdec-dev.docs0000644000000000000000000000002712244454655012405 0ustar INSTALL.txt README.txt debian/libmpdec.symbols.in0000644000000000000000000001735112262352452012776 0ustar libmpdec.so.2 libmpdec2 MPD_MINALLOC@Base 2.3 mpd_abs@Base 2.3 mpd_abs_uint@Base 2.3 mpd_add@Base 2.3 mpd_add_i32@Base 2.3 mpd_add_i64@Base 2.3 mpd_add_ssize@Base 2.3 mpd_add_u32@Base 2.3 mpd_add_u64@Base 2.3 mpd_add_uint@Base 2.3 mpd_addstatus_raise@Base 2.3 mpd_adjexp@Base 2.3 mpd_alloc@Base 2.3 mpd_and@Base 2.3 mpd_arith_sign@Base 2.3 mpd_basiccontext@Base 2.3 mpd_calloc@Base 2.3 mpd_callocfunc@Base 2.3 mpd_callocfunc_em@Base 2.3 mpd_canonical@Base 2.3 mpd_ceil@Base 2.3 mpd_check_nan@Base 2.3 mpd_check_nans@Base 2.3 mpd_clamp_string@Base 2.3 mpd_class@Base 2.3 mpd_clear_flags@Base 2.3 mpd_cmp@Base 2.3 mpd_cmp_total@Base 2.3 mpd_cmp_total_mag@Base 2.3 mpd_compare@Base 2.3 mpd_compare_signal@Base 2.3 mpd_compare_total@Base 2.3 mpd_compare_total_mag@Base 2.3 mpd_copy@Base 2.3 mpd_copy_abs@Base 2.3 mpd_copy_flags@Base 2.3 mpd_copy_negate@Base 2.3 mpd_copy_sign@Base 2.3 mpd_defaultcontext@Base 2.3 mpd_del@Base 2.3 mpd_dflt_traphandler@Base 2.3 mpd_digits_to_size@Base 2.3 mpd_div@Base 2.3 mpd_div_i32@Base 2.3 mpd_div_i64@Base 2.3 mpd_div_ssize@Base 2.3 mpd_div_u32@Base 2.3 mpd_div_u64@Base 2.3 mpd_div_uint@Base 2.3 mpd_divint@Base 2.3 mpd_divmod@Base 2.3 mpd_etiny@Base 2.3 mpd_etop@Base 2.3 mpd_exp@Base 2.3 mpd_exp_digits@Base 2.3 mpd_export_u16@Base 2.3 mpd_export_u32@Base 2.3 mpd_finalize@Base 2.3 mpd_floor@Base 2.3 mpd_fma@Base 2.3 mpd_format@Base 2.3 mpd_fprint@Base 2.3 mpd_free@Base 2.3 mpd_get_i32@Base 2.3 mpd_get_i64@Base 2.3 mpd_get_ssize@Base 2.3 mpd_get_u32@Base 2.3 mpd_get_u64@Base 2.3 mpd_get_uint@Base 2.3 mpd_getclamp@Base 2.3 mpd_getcr@Base 2.3 mpd_getemax@Base 2.3 mpd_getemin@Base 2.3 mpd_getprec@Base 2.3 mpd_getround@Base 2.3 mpd_getstatus@Base 2.3 mpd_gettraps@Base 2.3 mpd_ieee_context@Base 2.3 mpd_import_u16@Base 2.3 mpd_import_u32@Base 2.3 mpd_init@Base 2.3 mpd_invert@Base 2.3 mpd_invroot@Base 2.3 mpd_iscanonical@Base 2.3 mpd_isconst_data@Base 2.3 mpd_isdynamic@Base 2.3 mpd_isdynamic_data@Base 2.3 mpd_iseven@Base 2.3 mpd_isfinite@Base 2.3 mpd_isinfinite@Base 2.3 mpd_isinteger@Base 2.3 mpd_isnan@Base 2.3 mpd_isnegative@Base 2.3 mpd_isnormal@Base 2.3 mpd_isodd@Base 2.3 mpd_isoddcoeff@Base 2.3 mpd_isoddword@Base 2.3 mpd_ispositive@Base 2.3 mpd_isqnan@Base 2.3 mpd_isshared_data@Base 2.3 mpd_issigned@Base 2.3 mpd_issnan@Base 2.3 mpd_isspecial@Base 2.3 mpd_isstatic@Base 2.3 mpd_isstatic_data@Base 2.3 mpd_issubnormal@Base 2.3 mpd_iszero@Base 2.3 mpd_iszerocoeff@Base 2.3 mpd_ln@Base 2.3 mpd_log10@Base 2.3 mpd_logb@Base 2.3 mpd_lsd@Base 2.3 mpd_lsnprint_flags@Base 2.3 mpd_lsnprint_signals@Base 2.3 mpd_mallocfunc@Base 2.3 mpd_max@Base 2.3 mpd_max_mag@Base 2.3 mpd_maxcoeff@Base 2.3 mpd_maxcontext@Base 2.3 mpd_min@Base 2.3 mpd_min_mag@Base 2.3 mpd_minalloc@Base 2.3 mpd_minus@Base 2.3 mpd_msd@Base 2.3 mpd_msword@Base 2.3 mpd_mul@Base 2.3 mpd_mul_i32@Base 2.3 mpd_mul_i64@Base 2.3 mpd_mul_ssize@Base 2.3 mpd_mul_u32@Base 2.3 mpd_mul_u64@Base 2.3 mpd_mul_uint@Base 2.3 mpd_new@Base 2.3 mpd_next_minus@Base 2.3 mpd_next_plus@Base 2.3 mpd_next_toward@Base 2.3 mpd_or@Base 2.3 mpd_parse_fmt_str@Base 2.3 mpd_plus@Base 2.3 mpd_pow@Base 2.3 mpd_powmod@Base 2.3 mpd_print@Base 2.3 mpd_qabs@Base 2.3 mpd_qabs_uint@Base 2.3 mpd_qadd@Base 2.3 mpd_qadd_i32@Base 2.3 mpd_qadd_i64@Base 2.3 mpd_qadd_ssize@Base 2.3 mpd_qadd_u32@Base 2.3 mpd_qadd_u64@Base 2.3 mpd_qadd_uint@Base 2.3 mpd_qand@Base 2.3 mpd_qceil@Base 2.3 mpd_qcheck_nan@Base 2.3 mpd_qcheck_nans@Base 2.3 mpd_qcmp@Base 2.3 mpd_qcompare@Base 2.3 mpd_qcompare_signal@Base 2.3 mpd_qcopy@Base 2.3 mpd_qcopy_abs@Base 2.3 mpd_qcopy_negate@Base 2.3 mpd_qcopy_sign@Base 2.3 mpd_qdiv@Base 2.3 mpd_qdiv_i32@Base 2.3 mpd_qdiv_i64@Base 2.3 mpd_qdiv_ssize@Base 2.3 mpd_qdiv_u32@Base 2.3 mpd_qdiv_u64@Base 2.3 mpd_qdiv_uint@Base 2.3 mpd_qdivint@Base 2.3 mpd_qdivmod@Base 2.3 mpd_qexp@Base 2.3 mpd_qexport_u16@Base 2.3 mpd_qexport_u32@Base 2.3 mpd_qfinalize@Base 2.3 mpd_qfloor@Base 2.3 mpd_qfma@Base 2.3 mpd_qformat@Base 2.3 mpd_qformat_spec@Base 2.3 mpd_qget_i32@Base 2.3 mpd_qget_i64@Base 2.3 mpd_qget_ssize@Base 2.3 mpd_qget_u32@Base 2.3 mpd_qget_u64@Base 2.3 mpd_qget_uint@Base 2.3 mpd_qimport_u16@Base 2.3 mpd_qimport_u32@Base 2.3 mpd_qinvert@Base 2.3 mpd_qinvroot@Base 2.3 mpd_qln10@Base 2.4 mpd_qln@Base 2.3 mpd_qlog10@Base 2.3 mpd_qlogb@Base 2.3 mpd_qmax@Base 2.3 mpd_qmax_mag@Base 2.3 mpd_qmaxcoeff@Base 2.3 mpd_qmin@Base 2.3 mpd_qmin_mag@Base 2.3 mpd_qminus@Base 2.3 mpd_qmul@Base 2.3 mpd_qmul_i32@Base 2.3 mpd_qmul_i64@Base 2.3 mpd_qmul_ssize@Base 2.3 mpd_qmul_u32@Base 2.3 mpd_qmul_u64@Base 2.3 mpd_qmul_uint@Base 2.3 mpd_qncopy@Base 2.3 mpd_qnew@Base 2.3 mpd_qnew_size@Base 2.3 mpd_qnext_minus@Base 2.3 mpd_qnext_plus@Base 2.3 mpd_qnext_toward@Base 2.3 mpd_qor@Base 2.3 mpd_qplus@Base 2.3 mpd_qpow@Base 2.3 mpd_qpowmod@Base 2.3 mpd_qquantize@Base 2.3 mpd_qreduce@Base 2.3 mpd_qrem@Base 2.3 mpd_qrem_near@Base 2.3 mpd_qrescale@Base 2.3 mpd_qrescale_fmt@Base 2.4 mpd_qresize@Base 2.3 mpd_qresize_zero@Base 2.3 mpd_qrotate@Base 2.3 mpd_qround_to_int@Base 2.3 mpd_qround_to_intx@Base 2.3 mpd_qscaleb@Base 2.3 mpd_qset_i32@Base 2.3 mpd_qset_i64@Base 2.3 mpd_qset_ssize@Base 2.3 mpd_qset_string@Base 2.3 mpd_qset_u32@Base 2.3 mpd_qset_u64@Base 2.3 mpd_qset_uint@Base 2.3 mpd_qsetclamp@Base 2.3 mpd_qsetcr@Base 2.3 mpd_qsetemax@Base 2.3 mpd_qsetemin@Base 2.3 mpd_qsetprec@Base 2.3 mpd_qsetround@Base 2.3 mpd_qsetstatus@Base 2.3 mpd_qsettraps@Base 2.3 mpd_qshift@Base 2.3 mpd_qshiftl@Base 2.3 mpd_qshiftn@Base 2.3 mpd_qshiftr@Base 2.3 mpd_qshiftr_inplace@Base 2.3 mpd_qsqrt@Base 2.3 mpd_qsset_i32@Base 2.3 (arch=@64@)mpd_qsset_i64@Base 2.3 mpd_qsset_ssize@Base 2.3 mpd_qsset_u32@Base 2.3 (arch=@64@)mpd_qsset_u64@Base 2.3 mpd_qsset_uint@Base 2.3 mpd_qsub@Base 2.3 mpd_qsub_i32@Base 2.3 mpd_qsub_i64@Base 2.3 mpd_qsub_ssize@Base 2.3 mpd_qsub_u32@Base 2.3 mpd_qsub_u64@Base 2.3 mpd_qsub_uint@Base 2.3 mpd_qtrunc@Base 2.3 mpd_quantize@Base 2.3 mpd_qxor@Base 2.3 mpd_radix@Base 2.3 mpd_realloc@Base 2.3 mpd_reallocfunc@Base 2.3 mpd_reduce@Base 2.3 mpd_rem@Base 2.3 mpd_rem_near@Base 2.3 mpd_rescale@Base 2.3 mpd_resize@Base 2.3 mpd_resize_zero@Base 2.3 mpd_rotate@Base 2.3 mpd_round_string@Base 2.3 mpd_round_to_int@Base 2.3 mpd_round_to_intx@Base 2.3 mpd_same_quantum@Base 2.3 mpd_scaleb@Base 2.3 mpd_set_const_data@Base 2.3 mpd_set_dynamic@Base 2.3 mpd_set_dynamic_data@Base 2.3 mpd_set_flags@Base 2.3 mpd_set_i32@Base 2.3 mpd_set_i64@Base 2.3 mpd_set_infinity@Base 2.3 mpd_set_negative@Base 2.3 mpd_set_positive@Base 2.3 mpd_set_qnan@Base 2.3 mpd_set_shared_data@Base 2.3 mpd_set_sign@Base 2.3 mpd_set_snan@Base 2.3 mpd_set_ssize@Base 2.3 mpd_set_static@Base 2.3 mpd_set_static_data@Base 2.3 mpd_set_string@Base 2.3 mpd_set_u32@Base 2.3 mpd_set_u64@Base 2.3 mpd_set_uint@Base 2.3 mpd_setdigits@Base 2.3 mpd_seterror@Base 2.3 mpd_setminalloc@Base 2.3 mpd_setspecial@Base 2.3 mpd_sh_alloc@Base 2.3 mpd_shift@Base 2.3 mpd_shiftl@Base 2.3 mpd_shiftn@Base 2.3 mpd_shiftr@Base 2.3 mpd_sign@Base 2.3 mpd_signcpy@Base 2.3 mpd_sizeinbase@Base 2.3 mpd_snprint_flags@Base 2.3 mpd_sqrt@Base 2.3 mpd_sset_i32@Base 2.3 (arch=@64@)mpd_sset_i64@Base 2.3 mpd_sset_ssize@Base 2.3 mpd_sset_u32@Base 2.3 (arch=@64@)mpd_sset_u64@Base 2.3 mpd_sset_uint@Base 2.3 mpd_sub@Base 2.3 mpd_sub_i32@Base 2.3 mpd_sub_i64@Base 2.3 mpd_sub_ssize@Base 2.3 mpd_sub_u32@Base 2.3 mpd_sub_u64@Base 2.3 mpd_sub_uint@Base 2.3 mpd_to_eng@Base 2.3 mpd_to_eng_size@Base 2.4 mpd_to_sci@Base 2.3 mpd_to_sci_size@Base 2.4 mpd_trail_zeros@Base 2.3 mpd_traphandler@Base 2.3 mpd_trunc@Base 2.3 mpd_uint_zero@Base 2.3 mpd_validate_lconv@Base 2.4 mpd_version@Base 2.4 mpd_word_digits@Base 2.3 mpd_xor@Base 2.3 mpd_zerocoeff@Base 2.3 debian/compat0000644000000000000000000000000212046505472010371 0ustar 8 debian/patches/0000755000000000000000000000000012264014470010615 5ustar debian/patches/gcc-f-PIC.diff0000644000000000000000000000205312263744126013046 0ustar Index: b/configure.ac =================================================================== --- a/configure.ac +++ b/configure.ac @@ -135,13 +135,13 @@ # Compiler dependent settings: MPD_WARN="-Wall" -MPD_OPT="-O2 -fpic" +MPD_OPT="-O2 -fPIC" MPD_PGEN= MPD_PUSE= case $CC in *gcc*) MPD_WARN="-Wall -W -Wno-unknown-pragmas -std=c99 -pedantic" - MPD_OPT="-O2 -fpic" + MPD_OPT="-O2 -fPIC" MPD_PGEN="-fprofile-generate -fprofile-values" MPD_PUSE="-fprofile-use -freorder-blocks" ;; Index: b/configure =================================================================== --- a/configure +++ b/configure @@ -4282,13 +4282,13 @@ # Compiler dependent settings: MPD_WARN="-Wall" -MPD_OPT="-O2 -fpic" +MPD_OPT="-O2 -fPIC" MPD_PGEN= MPD_PUSE= case $CC in *gcc*) MPD_WARN="-Wall -W -Wno-unknown-pragmas -std=c99 -pedantic" - MPD_OPT="-O2 -fpic" + MPD_OPT="-O2 -fPIC" MPD_PGEN="-fprofile-generate -fprofile-values" MPD_PUSE="-fprofile-use -freorder-blocks" ;; debian/patches/fix-uint128_t-detection.diff0000644000000000000000000000167612264014356015761 0ustar diff --git a/configure b/configure --- a/configure +++ b/configure @@ -4396,7 +4396,7 @@ elif test $ac_cv_sizeof_size_t -eq 8; then if test $have_gcc_asm_for_x64 = yes; then MACHINE="x64" - elif test $ac_cv_sizeof__uint128_t -eq 8; then + elif test $ac_cv_type___uint128_t = yes; then MACHINE="uint128" else MACHINE="ansi64" diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac @@ -49,7 +49,7 @@ # Sizes of various types: AC_CHECK_SIZEOF(size_t, 4) -AC_CHECK_SIZEOF(__uint128_t, 8) +AC_CHECK_SIZEOF(__uint128_t, 16) # x64 with gcc asm: AC_MSG_CHECKING(for x64 gcc inline assembler) @@ -249,7 +249,7 @@ elif test $ac_cv_sizeof_size_t -eq 8; then if test $have_gcc_asm_for_x64 = yes; then MACHINE="x64" - elif test $ac_cv_sizeof__uint128_t -eq 8; then + elif test $ac_cv_type___uint128_t = yes; then MACHINE="uint128" else MACHINE="ansi64" debian/patches/test-progress.diff0000644000000000000000000000245412263537315014304 0ustar --- a/tests/runshort.sh +++ b/tests/runshort.sh @@ -3,19 +3,14 @@ ./gettests.sh || exit 1 -echo "" -printf "Running official tests ... " - if ./runtest official.decTest then - printf "PASS\n" + printf "... all IBM tests passed.\n\n" fi -printf "Running additional tests ... " - if ./runtest additional.decTest then - printf "PASS\n" + printf "... all additional tests passed.\n\n" fi echo "" --- a/tests/runtest.c +++ b/tests/runtest.c @@ -4526,6 +4526,16 @@ if ((file = fopen(filename, "r")) == NULL) { mpd_err_fatal("could not open %s", filename); } + if (!startswith(filename, "official") && !startswith(filename, "additional")) { + printf("%s ...", filename); + } + else if (startswith(filename, "official")) { + printf("\nRunning IBM tests ...\n\n"); + } + else { + printf("\nRunning additional tests ...\n\n"); + } + fflush(stdout); } if ((line = mpd_alloc(MAXLINE+1, sizeof *line)) == NULL) { @@ -5106,6 +5116,14 @@ if (file != stdin) { fclose(file); } + + if (!startswith(filename, "official") && !startswith(filename, "additional")) { + printf(" PASS\n"); + } + else { + printf("\n"); + } + fflush(stdout); } debian/patches/series0000644000000000000000000000013612264014470012032 0ustar test-progress.diff tests-disable-malloc-fail.diff gcc-f-PIC.diff fix-uint128_t-detection.diff debian/patches/tests-disable-malloc-fail.diff0000644000000000000000000000160012263634702016372 0ustar Index: b/tests/malloc_fail.c =================================================================== --- a/tests/malloc_fail.c +++ b/tests/malloc_fail.c @@ -34,18 +34,24 @@ mpd_malloc_fail(size_t size) { +/* Disable allocation failure tests (excessive run times on slow machines). */ +#if 0 if (++alloc_idx >= alloc_fail) { return NULL; } +#endif return malloc(size); } void * mpd_calloc_fail(size_t nmemb, size_t size) { +/* Disable allocation failure tests (excessive run times on slow machines). */ +#if 0 if (++alloc_idx >= alloc_fail) { return NULL; } +#endif if (rand()%2) { return calloc(nmemb, size); } @@ -57,9 +63,12 @@ void * mpd_realloc_fail(void *ptr, size_t size) { +/* Disable allocation failure tests (excessive run times on slow machines). */ +#if 0 if (++alloc_idx >= alloc_fail) { return NULL; } +#endif return realloc(ptr, size); } debian/control0000644000000000000000000000205212263347445010602 0ustar Source: mpdecimal Priority: optional Maintainer: Matthias Klose Build-Depends: debhelper (>= 8.0.0), autotools-dev, # gmp is only used when running the tests from the separate test tarball libgmp-dev, python-sphinx (>= 1.0.7+dfsg) | python3-sphinx Standards-Version: 3.9.5 Section: libs Homepage: http://www.bytereef.org/mpdecimal/index.html Package: libmpdec-dev Section: libdevel Architecture: any Multi-Arch: same Depends: libmpdec2 (= ${binary:Version}), ${sphinxdoc:Depends}, ${misc:Depends} Description: library for decimal floating point arithmetic (development files) mpdecimal is a package for correctly-rounded arbitrary precision decimal floating point arithmetic. Package: libmpdec2 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Breaks: libmpdec2.3 Replaces: libmpdec2.3 Description: library for decimal floating point arithmetic (runtime library) mpdecimal is a package for correctly-rounded arbitrary precision decimal floating point arithmetic. debian/rules0000755000000000000000000000364312264014200010243 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 SHELL = /bin/bash DEB_BUILD_MULTIARCH ?= $(shell dpkg-architecture -qDEB_BUILD_MULTIARCH) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) CFLAGS ?= $(shell dpkg-buildflags --get CPPFLAGS; dpkg-buildflags --get CFLAGS) LDFLAGS ?= $(shell dpkg-buildflags --get LDFLAGS) ifneq ($(DEB_BUILD_MULTIARCH),$(DEB_HOST_MULTIARCH)) confargs += \ have_glibc_memmove_bug=no \ have_ipa_pure_const_bug=no endif %: dh $@ --parallel --buildsystem=autoconf --with sphinxdoc # work around debhelper, v9 overwrites CFLAGS in the build :-/ override_dh_auto_configure: -env | grep CFLAGS dh_auto_configure -- \ --includedir=\$${prefix}/include/$(DEB_HOST_MULTIARCH) \ --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ CFLAGS="$(CFLAGS)" \ LDFLAGS="$(LDFLAGS)" \ $(confargs) override_dh_auto_test: ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) $(MAKE) -C tests : # needs download of tests, just run additional.decTest ln -sf testdata_dist tests/testdata cd tests && ./runtest ./additional.decTest endif override_dh_makeshlibs: sed \ -e 's/@32@/any-i386 armel armhf hppa m68k mips mipsel powerpc powerpcspe s390 sh4 sparc x32/' \ -e 's/@64@/amd64 arm64 ia64 ppc64 ppc64el s390x sparc64 kfreebsd-amd64/' \ debian/libmpdec.symbols.in > debian/libmpdec2.symbols dh_makeshlibs override_dh_auto_install: dh_auto_install ln -sf libmpdec.so.2 debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libmpdec.so override_dh_sphinxdoc: cp -a debian/tmp/usr/share/doc/mpdecimal/* \ debian/libmpdec-dev/usr/share/doc/libmpdec-dev rm -f debian/libmpdec-dev/usr/share/doc/libmpdec-dev/LICENSE* rm -f debian/libmpdec-dev/usr/share/doc/libmpdec-dev/INSTALL* cp -p /usr/share/javascript/sphinxdoc/1.0/{doctools,jquery,searchtools,sidebar,underscore}.js \ debian/libmpdec-dev/usr/share/doc/libmpdec-dev/_static/. dh_sphinxdoc debian/source/0000755000000000000000000000000012046464276010501 5ustar debian/source/format0000644000000000000000000000001412046464276011707 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000012712263346347010231 0ustar version=3 http://www.bytereef.org/mpdecimal/download.html .*/mpdecimal-(\d.*)\.tar\.gz