--- qd-2.3.11.dfsg.orig/debian/README.Debian +++ qd-2.3.11.dfsg/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.11.dfsg.orig/debian/README.source +++ qd-2.3.11.dfsg/debian/README.source @@ -0,0 +1,13 @@ +# -*- mode: readme-debian -*- + +Quilt +----- +A quilt patch (see debian/patches) is available to fix some compilation issues. + +Removing .[a-zA-Z_]* files +-------------------------- + +the source package have been cleaned up and all files .[a-zA-Z_]* have +been removed from the archive. + + -- Christophe Prud'homme , Fri, 13 Aug 2010 13:10:31 +0200 --- qd-2.3.11.dfsg.orig/debian/changelog +++ qd-2.3.11.dfsg/debian/changelog @@ -0,0 +1,137 @@ +qd (2.3.11.dfsg-2.2) unstable; urgency=low + + * Convert to dh-autoreconf, which is more robust than CDBS + DEB_AUTO_UPDATE_* (closes: #713207). + * Adjust pkglibdir.patch to work with current Autotools. + * Remove sh4.patch, automatically applied by autoreconf. + + -- Colin Watson Wed, 18 Sep 2013 09:31:53 +0100 + +qd (2.3.11.dfsg-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix "FTBFS": add pkglibdir.patch to fix fortran/Makefile.am. + (Closes: #662585) + + -- gregor herrmann Sun, 25 Mar 2012 18:59:19 +0200 + +qd (2.3.11.dfsg-2) unstable; urgency=low + + * Team upload. + * Fix build on sh4 (Closes: #590335). + - Add patches/sh4.patch. + + -- Nobuhiro Iwamatsu Fri, 11 Mar 2011 22:22:58 +0900 + +qd (2.3.11.dfsg-1) unstable; urgency=low + + [Christophe Prud'homme] + * New upstream release + * debian/control: update Standards-Version to 3.9.1 + * debian/libqd-dev.install: do not ship .la file anymore + * Bug fix: "error: Cannot link C++ and Fortran.", thanks to Nobuhiro + Iwamatsu (Closes: #590335). + + -- Christophe Prud'homme Fri, 13 Aug 2010 13:30:28 +0200 + +qd (2.3.8-1) unstable; urgency=low + + [Christophe Prud'homme] + * New upstream release + + -- Christophe Prud'homme Mon, 13 Jul 2009 15:31:46 +0200 + +qd (2.3.7-2) unstable; urgency=low + + [Christophe Prud'homme] + * added libqdmod.a library for fortran support + * debian/control: updated Standards-Version to 3.8.2 (no changes) + * debian/{compat,contro}: updated debhelper compatibility (>=7) + + -- Christophe Prud'homme Mon, 13 Jul 2009 13:47:46 +0200 + +qd (2.3.7-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Call libtoolize in order to update the version of libtool (Closes: + #518564) + + -- Sylvestre Ledru Mon, 23 Mar 2009 12:02:18 +0100 + +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.11.dfsg.orig/debian/compat +++ qd-2.3.11.dfsg/debian/compat @@ -0,0 +1 @@ +7 --- qd-2.3.11.dfsg.orig/debian/control +++ qd-2.3.11.dfsg/debian/control @@ -0,0 +1,36 @@ +Source: qd +Section: libs +Priority: optional +Maintainer: Debian Science Maintainers +Uploaders: Christophe Prud'homme +Build-Depends: cdbs, debhelper (>= 7), quilt, dh-autoreconf, g++ (>= 4.1), gfortran (>= 4.1) +Standards-Version: 3.9.1 +Homepage: http://crd.lbl.gov/~dhbailey/mpdist/ +Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/qd/trunk +Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/qd/trunk + +Package: libqd-dev +Section: libdevel +Architecture: any +Depends: libqd0 (= ${binary:Version}), ${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: libqd0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Replaces: libqd2c2a +Conflicts: libqd2c2a +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.11.dfsg.orig/debian/copyright +++ qd-2.3.11.dfsg/debian/copyright @@ -0,0 +1,53 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=REVISION +Name: Qd +Maintainer: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 + + +Source: http://crd.lbl.gov/~dhbailey/mpdist/ + +Copyright: The Regents of the University of California, + +License: BSD + +The parties now agree as follows: + +1. 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 copyright notice, +this list of conditions and the following disclaimer. + +(2) Redistributions in binary form must reproduce the 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 the University of California, 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. + +2. 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. + +3. You are under no obligation whatsoever to provide any bug fixes, +patches, or upgrades to the features, functionality or performance of +the source code ("Enhancements") to anyone; however, if you choose to +make your Enhancements available either publicly, or directly to +Lawrence Berkeley National Laboratory, without imposing a separate +written license agreement for such Enhancements, then you hereby grant +the following license: a non-exclusive, royalty-free perpetual license +to install, use, modify, prepare derivative works, incorporate into +other computer software, distribute, and sublicense such enhancements +or derivative works thereof, in binary and source code form. --- qd-2.3.11.dfsg.orig/debian/docs +++ qd-2.3.11.dfsg/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO --- qd-2.3.11.dfsg.orig/debian/libqd-dev.docs +++ qd-2.3.11.dfsg/debian/libqd-dev.docs @@ -0,0 +1 @@ +docs/* --- qd-2.3.11.dfsg.orig/debian/libqd-dev.examples +++ qd-2.3.11.dfsg/debian/libqd-dev.examples @@ -0,0 +1,3 @@ +tests/*.cpp +tests/*.h +fortran/Makefile.sample --- qd-2.3.11.dfsg.orig/debian/libqd-dev.install +++ qd-2.3.11.dfsg/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/libqdmod.a /usr/lib +debian/tmp/usr/lib/qd /usr/lib + --- qd-2.3.11.dfsg.orig/debian/libqd-dev.manpages +++ qd-2.3.11.dfsg/debian/libqd-dev.manpages @@ -0,0 +1 @@ +debian/qd-config.1 --- qd-2.3.11.dfsg.orig/debian/libqd.substvars +++ qd-2.3.11.dfsg/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.11.dfsg.orig/debian/libqd0.install +++ qd-2.3.11.dfsg/debian/libqd0.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/libqd*.so.* /usr/lib + --- qd-2.3.11.dfsg.orig/debian/patches/gxx43.patch +++ qd-2.3.11.dfsg/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.11.dfsg.orig/debian/patches/libtool.patch +++ qd-2.3.11.dfsg/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.11.dfsg.orig/debian/patches/pkglibdir.patch +++ qd-2.3.11.dfsg/debian/patches/pkglibdir.patch @@ -0,0 +1,12 @@ +--- a/fortran/Makefile.am ++++ b/fortran/Makefile.am +@@ -24,7 +24,8 @@ + $(DDEXT): ddext.o + $(QDEXT): qdext.o + +-pkglib_DATA = $(QDMOD) $(QDEXT) $(DDMOD) $(DDEXT) ++qdpkglibdir = $(pkglibdir) ++qdpkglib_DATA = $(QDMOD) $(QDEXT) $(DDMOD) $(DDEXT) + + DEMO=quaderq$(EXEEXT) quadgsq2d$(EXEEXT) quadgsq$(EXEEXT) \ + quadtsq$(EXEEXT) quadtsq2d$(EXEEXT) --- qd-2.3.11.dfsg.orig/debian/patches/series +++ qd-2.3.11.dfsg/debian/patches/series @@ -0,0 +1,2 @@ +libtool.patch +pkglibdir.patch --- qd-2.3.11.dfsg.orig/debian/qd-config.1 +++ qd-2.3.11.dfsg/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.11.dfsg.orig/debian/rules +++ qd-2.3.11.dfsg/debian/rules @@ -0,0 +1,23 @@ +#!/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/autoreconf.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 --- qd-2.3.11.dfsg.orig/debian/watch +++ qd-2.3.11.dfsg/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://crd.lbl.gov/~dhbailey/mpdist/qd-([\d.]+)\.tar\.gz