--- qd-2.3.7.orig/debian/copyright +++ qd-2.3.7/debian/copyright @@ -0,0 +1,48 @@ +This package was debianized by Christophe Prud'homme on +Sat, 30 Jul 2005 19:50:28 +0200. + +It was downloaded from http://crd.lbl.gov/~dhbailey/mpdist/ + +Copyright Holder: +Yozo Hida U.C. Berkeley yozo@cs.berkeley.edu +Xiaoye S. Li Lawrence Berkeley Natl Lab xiaoye@nersc.gov +David H. Bailey Lawrence Berkeley Natl Lab dhbailey@lbl.gov + +License: + +This work was supported by the Director, Office of Science, Division +of Mathematical, Information, and Computational Sciences of the +U.S. Department of Energy under contract number DE-AC03-76SF00098. + +Copyright (c) 2003, The Regents of the University of California, +through Lawrence Berkeley National Laboratory (subject to receipt of +any required approvals from U.S. Dept. of Energy) + +All rights reserved. + +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) Neither the name of Lawrence Berkeley National Laboratory, +U.S. Dept. of Energy nor the names of its contributors may be used to +endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT +OWNER 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. + --- qd-2.3.7.orig/debian/control +++ qd-2.3.7/debian/control @@ -0,0 +1,38 @@ +Source: qd +Section: libs +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Debian Scientific Computing Team +Uploaders: Christophe Prud'homme +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.1.0), quilt, + autotools-dev, g++ (>= s4.1), gfortran (>= 4.1), automake, autoconf, libtool +Standards-Version: 3.8.0 +Homepage: http://crd.lbl.gov/~dhbailey/mpdist/ +Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/qd/trunk/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/qd/ + +Package: libqd-dev +Section: libdevel +Architecture: any +Depends: libqd2c2a, ${misc:Depends} +Description: Double-double and quad double types in C++ and F90 + This package supports both a double-double datatype (approx. 32 + decimal digits) and a quad-double datatype (approx. 64 decimal + digits). The computational library is written in C++. Both C++ and + Fortran-90 high-level language interfaces are provided to permit one + to convert an existing C++ or Fortran-90 program to use the library + with only minor changes to the source code. + +Package: libqd2c2a +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Replaces: libqd2.1.142c2a, libqd2.1.200 +Conflicts: libqd2.1.142c2a, libqd2.1.200 +Description: Double-double and quad double types in C++ and F90 + This package supports both a double-double datatype (approx. 32 + decimal digits) and a quad-double datatype (approx. 64 decimal + digits). The computational library is written in C++. Both C++ and + Fortran-90 high-level language interfaces are provided to permit one + to convert an existing C++ or Fortran-90 program to use the library + with only minor changes to the source code. --- qd-2.3.7.orig/debian/libqd-dev.install +++ qd-2.3.7/debian/libqd-dev.install @@ -0,0 +1,7 @@ +qd-config /usr/bin +include/qd/*.h /usr/include/qd +debian/tmp/usr/lib/libqd.a /usr/lib +debian/tmp/usr/lib/libqd.so /usr/lib +debian/tmp/usr/lib/libqd.la /usr/lib +debian/tmp/usr/lib/qd /usr/lib + --- qd-2.3.7.orig/debian/watch +++ qd-2.3.7/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://crd.lbl.gov/~dhbailey/mpdist/qd-([\d.]+)\.tar\.gz --- qd-2.3.7.orig/debian/README.Debian +++ qd-2.3.7/debian/README.Debian @@ -0,0 +1,9 @@ +qd for Debian +------------- + +Debian provides both static and dynamic libraries for qd. Note that +on Intel cpu you need to use fpu_fix_start and fpu_fix_end in order +for the library to function properly, see the "Note on Intel x86 +Processors" in the README file. + + -- Christophe Prud'homme , Sun Jul 31 08:36:35 2005 --- qd-2.3.7.orig/debian/libqd-dev.manpages +++ qd-2.3.7/debian/libqd-dev.manpages @@ -0,0 +1 @@ +debian/qd-config.1 --- qd-2.3.7.orig/debian/rules +++ qd-2.3.7/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + + +## control update does not seem t be a good practice +## DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +DEB_CONFIGURE_EXTRA_FLAGS := --enable-maintainer-mode --enable-shared +DEB_AUTO_UPDATE_LIBTOOL := pre + +CXXFLAGS="-O3" + +#CXX=g++-4.3 + + +get-orig-source: + uscan --force-download \ No newline at end of file --- qd-2.3.7.orig/debian/README.source +++ qd-2.3.7/debian/README.source @@ -0,0 +1,6 @@ +# -*- mode: readme-debian -*- + + +A quilt patch (see debian/patches) is available to fix some compilation issues. + + -- Christophe Prud'homme , Sun, 7 Dec 2008 19:59:54 +0100 --- qd-2.3.7.orig/debian/libqd-dev.examples +++ qd-2.3.7/debian/libqd-dev.examples @@ -0,0 +1,3 @@ +tests/*.cpp +tests/*.h +fortran/Makefile.sample --- qd-2.3.7.orig/debian/libqd.substvars +++ qd-2.3.7/debian/libqd.substvars @@ -0,0 +1 @@ +shlibs:Depends=libc6 (>= 2.3.2.ds1-21), libgcc1 (>= 1:4.0.1), libstdc++6 (>= 4.0.1) --- qd-2.3.7.orig/debian/compat +++ qd-2.3.7/debian/compat @@ -0,0 +1 @@ +4 --- qd-2.3.7.orig/debian/libqd2c2a.install +++ qd-2.3.7/debian/libqd2c2a.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libqd*.so.* /usr/lib --- qd-2.3.7.orig/debian/docs +++ qd-2.3.7/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO --- qd-2.3.7.orig/debian/qd-config.1 +++ qd-2.3.7/debian/qd-config.1 @@ -0,0 +1,72 @@ +.TH "QD\-CONFIGG" "1" "2008-05-11" "User Commands" "" + +.SH NAME +qd-config \- determine flags for compilation and linking + +.SH SYNOPSIS +.B qd\-config +.BI [ options ] + +.SH DESCRIPTION +.PP +To link a Fortran-90 program with the C++ qd library, it is +recommended to link with the C++ compiler used to generate the library. +The Fortran 90 interface (along with a C-style main function calling +\fIf_main\fR) is found in the qdmod library. The \fBqd\-config\fR script +can be used to determine which flags to pass to compile and link your +programs. + +.SH OPTIONS +.PP +.TP +.B \-\-src +Switch between source and system location. +.TP +.B \-\-prefix +Output configured \fIprefix\fR value. +.TP +.B \-\-exec\-prefix +Output configured \fIexec_prefix\fR value. +.TP +.B \-\-build\-flags +Compiler options used during build. +.TP +.B \-\-build\-libs +Linker options used during build. +.TP +.B \-\-configure\-args +Configure arguments used for build. +.TP +.B \-\-cxx +C++ compiler. +.TP +.B \-\-cflags +C++ preprocessor and compiler options. +.TP +.B \-\-cxxflags +C++ compiler options. +.TP +.B \-\-libs\-la +C++ linker options and libtool archive location. +.TP +.B \-\-libs +C++ linker options. +.TP +.B \-\-fc +Fortran compiler. +.TP +.B \-\-fcflags +Fortran compiler options. +.TP +.B \-\-fclibs +Fortran linker options. +.TP +.B \-\-fmainlib +C++ linker options for main program written in Fortran. +.TP +.B \-\-version +Output version. + +.SH AUTHOR +This manual page was written by \fBDaniel Leidert\fR <\&daniel.leidert@wgdd.de\&> +for the Debian project (but may be used by others). --- qd-2.3.7.orig/debian/changelog +++ qd-2.3.7/debian/changelog @@ -0,0 +1,84 @@ +qd (2.3.7-1ubuntu1) jaunty; urgency=low + + * debian/rules: add "DEB_AUTO_UPDATE_LIBTOOL = pre" to update libtool at build + time (LP: #337084) + + -- Fabrice Coutadeur Tue, 03 Mar 2009 06:12:13 +0000 + +qd (2.3.7-1) unstable; urgency=low + + [ Daniel Leidert (dale) ] + * debian/control: Added Homepage field. + (Vcs-Svn): Fixed. + * debian/dirs: Dropped (useless). + * debian/libqd-dev.examples: Added sample Makefile. + * debian/libqd-dev.manpages: Added for new man-page. + * debian/qd-config.1: Added missing man-page. + * debian/watch: Added. + + [ Christophe Prud'homme ] + * New upstream release + * debian/control: set Standards-Version to 3.8.0 (added README.source + and associated quilt comment) + + -- Christophe Prud'homme Sun, 07 Dec 2008 19:59:12 +0100 + +qd (2.3.4-1) unstable; urgency=low + + * New upstream release + * Bug fix: "qd: please package new upstream", thanks to Tim Abbott + (Closes: #464783). + + -- Christophe Prud'homme Fri, 15 Feb 2008 09:11:01 +0100 + +qd (2.1.213.1-2) unstable; urgency=low + + [ Rafael Laboissiere ] + * debian/control: Added Vcs-Svn and Vcs-Browser fields to the Source + section + + [Christophe Prud'homme] + * Bug fix: "FTBFS with GCC 4.3: missing #includes", thanks to Martin + Michlmayr (Closes: #417502). + * Bug fix: "ldbl128 transition for alpha, powerpc, sparc, s390", thanks + to Matthias Klose (Closes: #430295). + * debian/control: updated g++ and gfortran build-depends version + * debian/control: updated Standards-Version + + -- Christophe Prud'homme Fri, 15 Feb 2008 08:59:13 +0100 + +qd (2.1.213.1-1) unstable; urgency=low + + * New upstream release + + -- Christophe Prud'homme Mon, 16 Oct 2006 15:17:07 +0200 + +qd (2.1.200-1) unstable; urgency=low + + * New upstream release + * Changed library package name to libqd2c2a + * Enabled some operations between dd_real/qd_real and integers/floating + types + * Changed Maintainer to Debian Scientific Computing Team and added + myself as uploader + + -- Christophe Prud'homme Sun, 9 Apr 2006 22:50:45 +0200 + +qd (2.1.142-3) unstable; urgency=low + + * c++ transition + + -- Christophe Prud'homme Tue, 10 Jan 2006 16:01:53 +0100 + +qd (2.1.142-2) unstable; urgency=low + + * patch to support unsigned ints + + -- Christophe Prud'homme Sun, 14 Aug 2005 23:00:09 +0200 + +qd (2.1.142-1) unstable; urgency=low + + * Initial release + + -- Christophe Prud'homme Sat, 30 Jul 2005 20:08:09 +0200 + --- qd-2.3.7.orig/debian/libqd-dev.docs +++ qd-2.3.7/debian/libqd-dev.docs @@ -0,0 +1 @@ +docs/* --- qd-2.3.7.orig/debian/patches/libtool.patch +++ qd-2.3.7/debian/patches/libtool.patch @@ -0,0 +1,29 @@ +Index: qd-2.3.4/configure.ac +=================================================================== +--- qd-2.3.4.orig/configure.ac 2008-02-15 09:21:51.000000000 +0100 ++++ qd-2.3.4/configure.ac 2008-02-15 09:21:57.000000000 +0100 +@@ -312,7 +312,7 @@ + + # libtool stuff + # AC_DISABLE_SHARED +-# AC_PROG_LIBTOOL ++AC_PROG_LIBTOOL + AC_PROG_RANLIB + + # Output +Index: qd-2.3.4/src/Makefile.am +=================================================================== +--- qd-2.3.4.orig/src/Makefile.am 2008-02-15 09:22:06.000000000 +0100 ++++ qd-2.3.4/src/Makefile.am 2008-02-15 09:22:16.000000000 +0100 +@@ -1,9 +1,9 @@ + SRC = c_dd.cpp c_qd.cpp dd_real.cpp dd_const.cpp \ + fpu.cpp qd_real.cpp qd_const.cpp util.cpp bits.cpp util.h + +-lib_LIBRARIES = libqd.a ++lib_LTLIBRARIES = libqd.la + +-libqd_a_SOURCES = $(SRC) ++libqd_la_SOURCES = $(SRC) + + AM_CPPFLAGS = -I$(top_builddir) -I$(top_builddir)/include -I$(top_srcdir)/include + --- qd-2.3.7.orig/debian/patches/gxx43.patch +++ qd-2.3.7/debian/patches/gxx43.patch @@ -0,0 +1,12 @@ +Index: qd-2.3.4/src/dd_real.cpp +=================================================================== +--- qd-2.3.4.orig/src/dd_real.cpp 2008-02-15 09:17:01.000000000 +0100 ++++ qd-2.3.4/src/dd_real.cpp 2008-02-15 09:17:18.000000000 +0100 +@@ -13,6 +13,7 @@ + #include + #include + #include ++#include + #include + #include + #include --- qd-2.3.7.orig/debian/patches/series +++ qd-2.3.7/debian/patches/series @@ -0,0 +1 @@ +libtool.patch \ No newline at end of file