debian/0000755000000000000000000000000012236004462007165 5ustar debian/watch0000644000000000000000000000046112236004407010216 0ustar # Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 http://rubyforge.org/frs/?group_id=1477 .*scalc-(.*)\.tar\.(?:bz2|gz) debian/libscalc-dev.doc-base0000644000000000000000000000041012236004407013106 0ustar Document: scalc Title: SCalc doxygen documentation Author: Vincent Fourmond Abstract: Doxygen documentation of the SCalc C++ library. Section: Programming Format: HTML Index: /usr/share/doc/libscalc-dev/html/index.html Files: /usr/share/doc/libscalc-dev/html/* debian/rules0000755000000000000000000000111212236004407010237 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk %: dh $@ --with autoreconf override_dh_auto_build: dh_auto_build make check doxygen debian/libscalc0.dirs0000644000000000000000000000001012236004407011672 0ustar usr/lib debian/control0000644000000000000000000000261012236004407010566 0ustar Source: scalc Priority: optional Maintainer: Vincent Fourmond Build-Depends: debhelper (>= 9), autotools-dev, doxygen, graphviz, dpkg-dev (>= 1.16.1~), dh-autoreconf Standards-Version: 3.9.3 Section: libs Homepage: http://rubyforge.org/frs/?group_id=1477 Package: libscalc-dev Section: libdevel Architecture: any Depends: libscalc0 (= ${binary:Version}), ${misc:Depends} Description: simple/symbolic calculation library (development files) SCalc is a C++ library for manipulation of mathematical expressions. It is possible to define functions, either using an expression or a C function. It is able to compute derivatives analytically, and is therefore suitable for implementing non-linear curve fitting with user-specified arbitrary functions. . This package contains the development files and the HTML documentation. Package: libscalc0 Section: libs Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: multiarch-support Description: simple/symbolic calculation library SCalc is a C++ library for manipulation of mathematical expressions. It is possible to define functions, either using an expression or a C function. It is able to compute derivatives analytically, and is therefore suitable for implementing non-linear curve fitting with user-specified arbitrary functions. . This package contains the shared library debian/patches/0000755000000000000000000000000012236004407010613 5ustar debian/patches/series0000644000000000000000000000002712236004407012027 0ustar fix-test-failures.diff debian/patches/fix-test-failures.diff0000644000000000000000000000172412236004407015024 0ustar Index: scalc/tests/scalc_test_suite.cc =================================================================== --- scalc.orig/tests/scalc_test_suite.cc 2010-08-02 19:13:18.615030465 +0200 +++ scalc/tests/scalc_test_suite.cc 2013-02-15 14:52:16.207204292 +0100 @@ -39,14 +39,22 @@ if(e->evaluable()) { double value = e->evaluate(); - if(value != expected) - { + double rel = fabs(value - expected)/value; + if(value != expected) { + if(rel < 1e-10) + cerr << "Evaluation of '" << expression + << "' returned a value differing from <" << expected + << "> by <" + << expected - value << "> (rel: " << rel + << ") : ignoring" << endl; + else { cerr << "Evaluation of '" << expression << "' returned <" << value << "> and should have returned <" << expected << ">" << endl; failures ++; - } + } + } } else { debian/copyright0000644000000000000000000000254712236004407011127 0ustar Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=437 Upstream-Source: http:// Upstream-Name: scalc Upstream-Maintainer: Vincent Fourmond This package was debianized by Vincent Fourmond on Sat, 26 Jun 2010 14:45:13 +0200. Files: * Copyright: Copyright (C) 2006,2008,2010 Vincent Fourmond 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, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. Files: debian/* Copyright: Copyright (C) 2010 Vincent Fourmond License: GPL-2+ (see above) debian/docs0000644000000000000000000000001412236004407010032 0ustar NEWS README debian/changelog0000644000000000000000000000237012236004407011040 0ustar scalc (0.2.4-3) unstable; urgency=low * Use dh-autoreconf to update config.{guess, sub} (closes: #727503) * Make scalc multi-arch friendly -- Vincent Fourmond Mon, 04 Nov 2013 21:52:00 +0100 scalc (0.2.4-2) unstable; urgency=low * Add fit-test-failures.diff to ignore very small differences in the tests (but logging them nevertheless). Closes: #699417. Thanks to Thorsten Glaser for reporting ! * Use dpkg-buildflags * Already conforms to standards 3.9.3 * Explicitly depends on dpkg-dev (>= 1.16.1~) -- Vincent Fourmond Fri, 15 Feb 2013 15:29:55 +0100 scalc (0.2.4-1) unstable; urgency=low * New upstream release * Enable checks at build time * Stop shipping the .la file, to conform to policy 3.9.1 -- Vincent Fourmond Mon, 02 Aug 2010 19:27:36 +0200 scalc (0.2.3-1) unstable; urgency=low * New upstream release fixing a double-free problem * Now using upstream Doxyfile * Conforms to Policy 3.9.0 (no changes required) -- Vincent Fourmond Sat, 03 Jul 2010 10:52:28 +0200 scalc (0.2.2-1) unstable; urgency=low * Initial release (Closes: #587223) -- Vincent Fourmond Sat, 26 Jun 2010 14:45:13 +0200 debian/compat0000644000000000000000000000000212236004407010362 0ustar 9 debian/libscalc-dev.install0000644000000000000000000000012312236004407013100 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.so doc/* usr/share/doc/libscalc-dev/ debian/libscalc0.install0000644000000000000000000000002412236004407012404 0ustar usr/lib/*/lib*.so.* debian/source/0000755000000000000000000000000012236004407010464 5ustar debian/source/format0000644000000000000000000000001412236004407011672 0ustar 3.0 (quilt) debian/libscalc-dev.dirs0000644000000000000000000000002412236004407012373 0ustar usr/lib usr/include