--- fftw3-3.2.2.orig/debian/compat +++ fftw3-3.2.2/debian/compat @@ -0,0 +1 @@ +7 --- fftw3-3.2.2.orig/debian/libfftw3-doc.docs +++ fftw3-3.2.2/debian/libfftw3-doc.docs @@ -0,0 +1,3 @@ +doc/FAQ/fftw-faq.html +doc/FAQ/fftw-faq.ascii +doc/html --- fftw3-3.2.2.orig/debian/libfftw3-3.dirs +++ fftw3-3.2.2/debian/libfftw3-3.dirs @@ -0,0 +1 @@ +usr/lib --- fftw3-3.2.2.orig/debian/rules +++ fftw3-3.2.2/debian/rules @@ -0,0 +1,154 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +ARCHITECTURE := $(shell dpkg-architecture -qDEB_HOST_ARCH) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS := -g -Wall + +# old configure stuff needs a --target +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + archconfflags := $(archconfflags) --build $(DEB_HOST_GNU_TYPE) +else + archconfflags := $(archconfflags) --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +#--enable-k7 enable AMD K7 optimizations, including 3dNow! (single precision) +#--enable-sse enable SSE optimizations (single precision only) +#--enable-sse2 enable SSE2 optimizations (double precision only) +#--enable-altivec enable Altivec optimizations (single precision only) + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +ifeq ($(ARCHITECTURE), i386) + archconfflags_single := --enable-sse + archconfflags_double := --enable-sse2 + archconfflags := $(archconfflags) --with-gcc-arch=pentium4 +endif +ifeq ($(ARCHITECTURE), amd64) + archconfflags_single := --enable-sse + archconfflags_double := --enable-sse2 +endif +ifeq ($(ARCHITECTURE), m68k) + #CFLAGS='-g -Wall -O0' + #archconfflags := +endif +ifeq ($(ARCHITECTURE), powerpc) + # altivec detection and compilation broken + archconfflags_single := --enable-altivec + archconfflags := $(archconfflags) --with-gcc-arch=G5 + # Disabled (FTBFS, #532340): + # CFLAGS += -maltivec +endif +endif + +ifneq (,$(findstring nog77,$(DEB_BUILD_OPTIONS))) + archconfflags := $(archconfflags) F77="gfortran" +else + archconfflags := $(archconfflags) F77="gfortran -ff2c" +endif + +SETCFLAGS := CFLAGS='$(CFLAGS)' + +# common configure options +archconfflags := $(archconfflags) --prefix=/usr --enable-shared --enable-threads --enable-portable-binary + +build-arch: + # single precision + $(SETCFLAGS) ./configure --enable-single $(archconfflags) $(archconfflags_single) + $(MAKE) + ( cd tests ; $(MAKE) smallcheck ) + $(MAKE) install DESTDIR=`pwd`/debian/tmp-single + # + # double precision + $(SETCFLAGS) ./configure $(archconfflags) $(archconfflags_double) +ifneq (,$(filter $(ARCHITECTURE), armel armhf)) + # work around LP: #841437 + $(MAKE) -C rdft/scalar/r2cf r2cf_64.lo CFLAGS='-g -Wall -O1 -pthread' + $(MAKE) -C rdft/scalar/r2cb r2cb_64.lo CFLAGS='-g -Wall -O1 -pthread' +endif + $(MAKE) + ( cd tests ; $(MAKE) smallcheck ) + $(MAKE) install DESTDIR=`pwd`/debian/tmp-double + # + # long double precision + # build only on architectures where double != long-double + gcc -o test_long_long-double debian/test_long_long-double.c + if ! ./test_long_long-double; then \ + $(SETCFLAGS) ./configure --enable-long-double $(archconfflags) && \ + $(MAKE) && \ + ( cd tests ; $(MAKE) smallcheck ) && \ + $(MAKE) install DESTDIR=`pwd`/debian/tmp-long-double; \ + fi + touch build-arch + +build-indep: + -(cd doc ; $(MAKE) -k clean) + -rm -f doc/*.info* doc/rfftwnd.png doc/html/* + cd doc/FAQ && $(MAKE) fftw-faq.html fftw-faq.ascii + cd doc && $(MAKE) && $(MAKE) html + touch build-indep + +build: build-stamp +build-stamp: patch build-arch + +clean: clean1st unpatch +clean1st: + dh_testdir + dh_testroot + rm -f build-arch build-indep + (cd doc ; [ ! -f Makefile ] || $(MAKE) -k clean) + [ ! -f Makefile ] || $(MAKE) distclean + -rm -f doc/*.info* doc/rfftwnd.png doc/html/* + -rm -f tools/*-wisdom.1 tools/fftw*-wisdom + -rm -f *.la threads/*.la *.pc + -rm -f test_long_long-double + -rm -f config.cache config.status config.log + -rm -rf debian/tmp-single debian/tmp-double debian/tmp-long-double + chmod -R g-s . + dh_clean + +binary-indep: build-indep + # build fftw3-doc + dh_prep -i + dh_testdir + dh_testroot + dh_installdocs -i README NEWS + dh_installinfo -i + dh_installchangelogs -i ChangeLog + dh_compress -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build-arch + # build fftw3 + dh_prep -a + dh_installdocs -a README NEWS + dh_installchangelogs -a ChangeLog + dh_installexamples -a + dh_installdirs -a + dh_install -a --sourcedir=debian/tmp-single + dh_install -a --sourcedir=debian/tmp-double + if ! ./test_long_long-double; then \ + dh_install -a --sourcedir=debian/tmp-long-double; \ + fi + dh_installman -a + dh_strip -a + dh_compress -a -X.c -X.pl -X.am -X.in + dh_fixperms -a + dh_makeshlibs -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch + +.PHONY: binary binary-arch binary-indep clean --- fftw3-3.2.2.orig/debian/libfftw3-dev.manpages +++ fftw3-3.2.2/debian/libfftw3-dev.manpages @@ -0,0 +1 @@ +debian/tmp-*/usr/share/man/man1/fftw*-wisdom*.1 --- fftw3-3.2.2.orig/debian/libfftw3-3.install +++ fftw3-3.2.2/debian/libfftw3-3.install @@ -0,0 +1 @@ +usr/lib/libfftw*.so.* --- fftw3-3.2.2.orig/debian/README.source +++ fftw3-3.2.2/debian/README.source @@ -0,0 +1,5 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +Read more about this on /usr/share/doc/quilt/README.source. --- fftw3-3.2.2.orig/debian/libfftw3-dev.install +++ fftw3-3.2.2/debian/libfftw3-dev.install @@ -0,0 +1,5 @@ +usr/bin/fftw*-wisdom* +usr/include/* +usr/lib/libfftw*.{a,la,so} +usr/lib/libfftw*.so +usr/lib/pkgconfig/fftw3*.pc --- fftw3-3.2.2.orig/debian/libfftw3-dev.dirs +++ fftw3-3.2.2/debian/libfftw3-dev.dirs @@ -0,0 +1,4 @@ +usr/bin +usr/include +usr/lib/pkgconfig +usr/share/man/man1 --- fftw3-3.2.2.orig/debian/libfftw3-doc.doc-base.manual +++ fftw3-3.2.2/debian/libfftw3-doc.doc-base.manual @@ -0,0 +1,16 @@ +Document: fftw3-manual +Title: FFTW Version 3 Manual +Author: Matteo Frigo and Steven G. Johnson +Abstract: This manual describes how to use fftw (version 3). + FFTW is the Fastest Fourier Transform in the West, providing + a comprehensive collection of fast C routines for computing + discrete Fourier transforms. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libfftw3-doc/html/index.html +Files: /usr/share/doc/libfftw3-doc/html/*.html + +Format: Info +Index: /usr/share/info/fftw3.info.gz +Files: /usr/share/info/fftw3.info.gz --- fftw3-3.2.2.orig/debian/control +++ fftw3-3.2.2/debian/control @@ -0,0 +1,58 @@ +Source: fftw3 +Section: libs +Priority: optional +Maintainer: Paul Brossier +Build-Depends: quilt (>= 0.40), + debhelper (>=7.0.0), + gfortran, + texinfo +Build-Depends-Indep: transfig, ghostscript (>> 8.63) +Vcs-Bzr: http://bzr.debian.org/users/piem/fftw3/ +Vcs-Browser: http://bzr.debian.org/loggerhead/users/piem/fftw3/ +Homepage: http://fftw.org +Standards-Version: 3.8.3 + +Package: libfftw3-3 +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: libfftw3-dev +Provides: fftw3 +Replaces: fftw3 +Conflicts: fftw3 +Description: library for computing Fast Fourier Transforms + The FFTW library computes Fast Fourier Transforms (FFT) in one or more + dimensions. It is extremely fast. This package contains the shared library + versions of the fftw libraries in single, double and long double precisions. + Note that on some architectures double is the same as long double in which + case there is no long double library. + . + To get the static library and the header files, you need to install + libfftw3-dev. For documentation, see libfftw3-doc. + +Package: libfftw3-dev +Architecture: any +Section: libdevel +Depends: libfftw3-3 (=${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Provides: fftw3-dev +Replaces: fftw3-dev +Conflicts: fftw3-dev +Description: library for computing Fast Fourier Transforms + The FFTW library computes Fast Fourier Transforms (FFT) in one or more + dimensions. It is extremely fast. This package contains the statically linked + library, header files and test programs. + . + For documentation, see libfftw3-doc. + +Package: libfftw3-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Suggests: libfftw3-3 +Provides: fftw3-doc +Replaces: fftw3-doc +Conflicts: fftw3-doc +Description: documentation for fftw version 3 + The FFTW library computes Fast Fourier Transforms (FFT) in one or more + dimensions. It is extremely fast. This package contains the documentation for + the fftw3 library. --- fftw3-3.2.2.orig/debian/libfftw3-doc.info +++ fftw3-3.2.2/debian/libfftw3-doc.info @@ -0,0 +1,2 @@ +doc/fftw3.info +doc/FAQ/fftw-faq.info --- fftw3-3.2.2.orig/debian/test_long_long-double.c +++ fftw3-3.2.2/debian/test_long_long-double.c @@ -0,0 +1,11 @@ +#include + +int main(){ + int size_long_double = sizeof(long double); + int size_double = sizeof(double); + printf("size of long double is %d\n", size_long_double); + printf("size of double is %d\n", size_double); + if (size_long_double != size_double) + return 1; + return 0; +} --- fftw3-3.2.2.orig/debian/libfftw3-doc.doc-base.fftw3-faq +++ fftw3-3.2.2/debian/libfftw3-doc.doc-base.fftw3-faq @@ -0,0 +1,20 @@ +Document: fftw3-faq +Title: FFTW Version 3 Frequently Asked Questions +Author: Matteo Frigo and Steven G. Johnson +Abstract: Frequently Asked Questions about FFTW + FFTW is the Fastest Fourier Transform in the West, providing + a comprehensive collection of fast C routines for computing + discrete Fourier transforms. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libfftw3-doc/fftw-faq.html/index.html +Files: /usr/share/doc/libfftw3-doc/fftw-faq.html/*.html + +Format: Info +Index: /usr/share/info/fftw-faq.info.gz +Files: /usr/share/info/fftw-faq.info.gz + +Format: Text +Index: /usr/share/doc/libfftw3-doc/fftw-faq.ascii.gz +Files: /usr/share/doc/libfftw3-doc/fftw-faq.ascii.gz --- fftw3-3.2.2.orig/debian/copyright +++ fftw3-3.2.2/debian/copyright @@ -0,0 +1,20 @@ +This package was debianized by James A. Treacy treacy@debian.org on +Tue, 22 Apr 2003 12:50:10 -0500 + +It was downloaded from http://fftw.org/download.html + +The homepage for fftw is at http://fftw.org/ + +Copyright: + + Copyright (c) 2003, 2007-8 Matteo Frigo + Copyright (c) 2003, 2007-8 Massachusetts Institute of Technology + +License: + + This program 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. + + A copy of the GPL can be found in /usr/share/common-licenses/GPL --- fftw3-3.2.2.orig/debian/changelog +++ fftw3-3.2.2/debian/changelog @@ -0,0 +1,277 @@ +fftw3 (3.2.2-1ubuntu2) oneiric; urgency=low + + * Work around FTBFS on armel, build some files with -O1. LP: #841437. + + -- Matthias Klose Sat, 10 Sep 2011 16:18:43 +0200 + +fftw3 (3.2.2-1ubuntu1) oneiric; urgency=low + + * Rebuild with gfortran-4.6. + * Configure with --enable-sse --enable-sse2 on amd64. LP: #602586. + + -- Matthias Klose Sat, 10 Sep 2011 11:19:17 +0200 + +fftw3 (3.2.2-1) unstable; urgency=low + + * New upstream release + * Acknowledge non-maintainer upload (closes: #532340, #532301), + thanks to Cyril Brulebois + * debian/control + - add ${misc:Depends} + - bump Standards-Version to 3.8.3, debhelper to >= 7.0.0 + - span build-depends on multiple lines + - added Vcs-Bzr and Vcs-Browser fields + * debian/rules + - fix bashisms (closes: #535378) + - only install long double where needed (closes: #540408) + - use dh_prep + * debian/compat: bump to 7 + * debian/README.source: add reference to quilt documentation + + -- Paul Brossier Fri, 30 Oct 2009 15:58:13 +0100 + +fftw3 (3.2.1-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix FTBFS on powerpc: stop passing “-maltivec” through CFLAGS in + debian/rules, thanks to Aurélien Jarno (closes: #532340). + * Fix FTBFS on GNU/kFreeBSD: improve the detection of POSIX semaphores + (they can be shared or non-shared, and GNU/kFreeBSD only supports + the latter), thanks to Petr Salinger (closes: #532301): + + 04_improve_semaphore_detection.diff + + -- Cyril Brulebois Thu, 25 Jun 2009 01:01:04 +0200 + +fftw3 (3.2.1-2) unstable; urgency=low + + * Move texinfo from Build-Depends-Indep to Build-Depends (closes: #522502) + + -- Paul Brossier Mon, 06 Apr 2009 15:31:13 +0200 + +fftw3 (3.2.1-1) unstable; urgency=low + + * New upstream release (closes: #502247, #505842, #515223) + * Patch from #486046 was included upstream (closes: #486046) + * Acknowledge non-maintainer upload (closes: #478376) + * Add build-depends on quilt and switch to patches + * Switch from gs-gpl to ghostscript (>> 8.63) + * Add 03_fix_manpages to add missing backslash in manpages + * Add Homepage and bump Standards-Version to 3.8.1 + * Bump debhelper depends to >=5.0.0 + * Update debian/copyright + + -- Paul Brossier Fri, 03 Apr 2009 18:00:56 +0200 + +fftw3 (3.1.2-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix bashism in debian/rules (Closes: #478376) + * debian/control: + - Add ${shlibs:Depends} to binary Depends of libfftw3-dev to satisfy + libc dependency for test and utility programs. + - Bump Standards-Version to 3.8.0 + + -- Chris Lamb Sat, 07 Jun 2008 17:59:46 +0100 + +fftw3 (3.1.2-3) unstable; urgency=low + + * Rename fftw3{,-dev,-doc} to libfftw3{,-dev,-doc}. + (closes: #430238, #378444) + * Add Conflicts/Replaces/Provides to all packages accordingly. + * Add -$(RM) -rf debian/tmp-long-double to debian/rules:clean + (closes: #424261) + + -- Paul Brossier Fri, 03 Aug 2007 13:33:47 +0200 + +fftw3 (3.1.2-2) unstable; urgency=low + + * debian/rules, debian/control: switching fortran compiler from g77 to + gfortran, avoiding dependancies against older gcc binaries. Compatibility + with g77 compiled libraries should work, since the -ff2c option is used. + DEB_BUILD_OPTIONS=nog77 can be used to disable backward compatibility. + Thanks to Steven G. Johnson and Warren Turkal. (closes: #392301) + * debian/fftw3-doc.doc-base.{fftw3-faq,manual}: add missing Index: line to + Info and Text formats (closes: #418798) + + -- Paul Brossier Fri, 13 Apr 2007 11:24:21 +0200 + +fftw3 (3.1.2-1) unstable; urgency=low + + * New upstream release (closes: #376967) + * debian/rules: enable altivec optimisations on powerpc (closes: #225959) + * debian/fftw3-dev: manpages are in usr/share/man/man1 + * fix noopt build option. + + -- Paul Brossier Thu, 27 Jul 2006 12:13:39 +0200 + +fftw3 (3.1.1-2) unstable; urgency=low + + * fftw3-dev: use versioned dependancy against fftw3 (= ${Source-version}) + (closes: #372246) instead of '${shlibs:Depends}, pkg-config' + + -- Paul Brossier Sat, 1 Jul 2006 13:17:24 +0200 + +fftw3 (3.1.1-1) unstable; urgency=low + + * New upstream release (closes: #350327, #338487, #338501) + * Add --enable-portable-binary to use -mtune instead of -march + * Use --with-gcc-arch=G5 / pentium4 on powerpc / i386 + * Updated Standards-Version + + -- Paul Brossier Wed, 31 May 2006 13:44:05 +0200 + +fftw3 (3.0.1-14) unstable; urgency=low + + * Fixes in acinclude.m4: + + bypass all checks for specific architecture flags + + make gcc flags check even when CFLAGS is set + + don't add -fomit-frame-pointer to CFLAGS (automatically added + by -O on machines that supports it) + + avoid overwriting CFLAGS passed from configure + + don't compile codelets with -O3 + + * Other fixes in source tree: + + add AC_CANONICAL_HOST to configure.in + + update depcomp, libtool and friends, rerun aclocal and autoconf + + update __attribute__(mode()) to vector_size() in simd/simd-*.h + + fix INFO-DIR-SECTION of info files in doc + + * Changes to debian/: + + add '-march=i386 -mtune=pentiumpro' to CFLAGS on i386 + + add a Build-Depends-Indep and rebuild the docs in build-indep + + use dh_install, update doc-base entries fftw3-doc.doc-base.* + + removed hardcoded shlibs and custom postinst/prerm + + add tests in fftw3-dev examples, add a watch file + + add ascii and info version of the faq + + remove K6 workaround, add a noopt debbuild option + + -- Paul Brossier Tue, 4 Oct 2005 20:49:58 +0100 + +fftw3 (3.0.1-13) unstable; urgency=low + + * Remove CFLAGS and archconfflags on m68k and i386 (broken autoconf and + automake, setting either makes configure script breaks and select wrong + cpu flags, more info in acinclude.m4) + + -- Paul Brossier Sun, 7 Aug 2005 17:42:15 +0100 + +fftw3 (3.0.1-12) unstable; urgency=low + + * Patch from Javier Fernández-Sanguino Peña to make fftw-wisdom-to-conf + temporary file creation more secure (closes: #321566) + * Begin to simplify debian/rules, set CFLAGS and --host on all platforms + * Add a dummy program to check sizeof(long double) != sizeof(double) + * Update config.sub config.guess in clean rules, clean cleaner + * Uncapitalise short descriptions + * Bump standards-version to 3.6.2 + * Change maintainer address to @debian.org + + -- Paul Brossier Sun, 7 Aug 2005 04:42:08 +0100 + +fftw3 (3.0.1-11) unstable; urgency=low + + * Added workaround for K6 (closes: #219688, #255755, #259612), thanks goes + to Steven G. Johnson and Guus Sliepen. (recompiled simd/taint.c by hand in + debian/rules) + * Clean cleaner: replaced make clean by distclean in rules. + * Added source section to debian/control. + + -- Paul Brossier Tue, 9 Nov 2004 18:21:52 +0000 + +fftw3 (3.0.1-10) unstable; urgency=high + + * Adopted package (closes: #263125). + * Ditch config.guess in favor of values from dpkg-architecture, to avoid + over-optimized mis-builds of the package (Steve Langasek,closes: #265193). + * Added version (>=4.0.0) to debhelper Build-Depends. + * Added missing #DEBHELPER# token to fftw-doc.postinst + + -- Paul Brossier Sun, 15 Aug 2004 19:28:44 +0200 + +fftw3 (3.0.1-9) unstable; urgency=low + + * m68k still doesn't work properly with optimatzion turned on. + + -- James A. Treacy Mon, 19 Apr 2004 17:33:04 -0400 + +fftw3 (3.0.1-8) unstable; urgency=low + + * add missing files /usr/bin/fftw{f,l}-wisdom and related man files. Closes: Bug#228959 + * remove setgid in source. Closes: Bug#240180 + * add m68k to the list of arches that don't install long-double libs in + binary-arch. Closes: Bug#244393 + + -- James A. Treacy Wed, 21 Jan 2004 19:00:01 -0500 + +fftw3 (3.0.1-7) unstable; urgency=low + + * disable altivec on powerpc. See Bug#223601 for an explanation. + + -- James A. Treacy Thu, 1 Jan 2004 20:50:40 -0500 + +fftw3 (3.0.1-6) unstable; urgency=low + + * Compile without optimization on powerpc until gcc is fixed. Closes: #220666 + * Add doc-base entry. Closes: #218132 + + -- James A. Treacy Wed, 29 Oct 2003 10:40:39 -0500 + +fftw3 (3.0.1-4) unstable; urgency=low + + * Add missing man pages. Closes: #203084 + * applied patch from upstream to fix the -t option of fftw-wisdom. Closes: #203154 + + -- James A. Treacy Sun, 27 Jul 2003 14:08:48 -0400 + +fftw3 (3.0.1-3) unstable; urgency=low + + * applied patch from upstream to fix the sparc build properly. + * remove optimization from m68k build to get around gcc bug. + + -- James A. Treacy Fri, 25 Jul 2003 01:41:25 -0400 + +fftw3 (3.0.1-2) unstable; urgency=low + + * Remove timer for sparc as it seems to be buggy. + * Fix typo in bench-main.c. Should fix m68k. + + -- James A. Treacy Sat, 12 Jul 2003 13:32:46 -0400 + +fftw3 (3.0.1-1) unstable; urgency=low + + * New upstream source. + * fftw3-dev depends on pkg-config. Closes: #197637 + + -- James A. Treacy Sun, 6 Jul 2003 17:14:38 -0400 + +fftw3 (3.0-4) unstable; urgency=low + + * Use --without-cycle-counter for mips and mipsel. + * /usr/lib/pkgconfig/fftw3.pc added to -dev package. Closes: #193799 + * Fixed fftw3-dev dependencies. Closes: #196615 + + -- James A. Treacy Tue, 6 May 2003 22:07:43 -0400 + +fftw3 (3.0-3) unstable; urgency=low + + * Forgot to remove 'time' from make check. + + -- James A. Treacy Tue, 6 May 2003 13:37:13 -0400 + +fftw3 (3.0-2) unstable; urgency=low + + * Disable building of the long double library for arches where + double == long double. Closes: #191999 + * Includes information to build on arm, m68k and s390 (also submitted + upstream. Most likely will still not build on mips{,el}. + * Will probably hang during make check on sparc. + + -- James A. Treacy Tue, 29 Apr 2003 00:28:16 -0400 + +fftw3 (3.0-1) unstable; urgency=low + + * New upstream release + * New package. FFTW should stay in the distribution until packages convert + to the new API + + -- James A. Treacy Tue, 1 Apr 2003 12:50:10 -0500 --- fftw3-3.2.2.orig/debian/README.debian +++ fftw3-3.2.2/debian/README.debian @@ -0,0 +1,63 @@ +fftw3 for DEBIAN +---------------------- + +Some of the changes made for version 3 of FFTW necessitated changes to the API, +so you will need to make (minor) changes when moving existing programs to this +version. See the documentation (in package fftw3-doc) for details. + +In fftw2 separate packages included optimizations for SIMD +instructions. In fftw3 all such optimizations (x86 and powerpc) are +included in the regular libraries. The routines should automatically +detect the capabilities of your processor. Also, the package contains +three different precision versions (single and double as before, plus +a new long double version). + +The -dev version of a package contains the headers and a statically +linked copy of the libraries. You need to install this if you intend +to compile a program which uses fftw. Be careful when compiling +against the static libs as the library linker (ld) looks for shared +libraries first. Some people prefer to use static libraries as there +can be a speed advantage (3-30%) on register starved architectures +(like x86 machines). + +The package also contains a threaded version of fftw. +Using the threaded version is almost identical to using the non- +threaded version, but the function calls are renamed and you +need to call a special function first to handle some housekeeping. +See the documentation for details. + +Unlike fftw2, there are no MPI based libraries at this time. Upstream +should release them soon. Once upstream adds MPI support, the Debian +package will include it. + +To top it all off, you can call fftw from fortran. See the docs at +/usr/share/doc/fftw3-doc/html/Calling-FFTW-from-Fortran.html +(needs package fftw-doc installed). + +Checking the fftw library for correctness +----------------------------------------- +A 'make check' is run during the Debian build. This runs a number of tests +on the library but does not test all aspects of fftw. + +Some users may want to run more complete checks on the library. +Unfortunately, it is difficult to compile or run the checks outside +the source so a precompiled binary is not included with the package. +To enable users to check the library for correctness, the +instructions for compiling the source are included here: + apt-get source fftw3 (you need a deb-src line in /etc/apt/sources.list) + cd fftw3-3.0 +Run the configure line from debian/rules appropriate for your architecture and +the precision you would like to test. For example, to run the double precision +tests on an x86 machine you would run: + ./configure --prefix=/usr --enable-shared --enable-threads --enable-sse2 +Then compile the source and go into the tests directory: + make + cd tests +You are now ready to run the tests. You can run individual tests yourself or +you can run the automated tests. For details on running tests yourself, read +the README file. There are three choices for the automated tests: + make check (takes a few minutes) + make bigcheck (takes hours to run) + make paranoid-check (you tell me how long it takes) + +James A. Treacy , Thu, 24 Apr 2003 21:42:20 -0500 --- fftw3-3.2.2.orig/debian/watch +++ fftw3-3.2.2/debian/watch @@ -0,0 +1,3 @@ +version=3 + +opts=pasv ftp://ftp.fftw.org/pub/fftw/ fftw-([\.0-9]*)\.tar\.gz --- fftw3-3.2.2.orig/debian/libfftw3-dev.examples +++ fftw3-3.2.2/debian/libfftw3-dev.examples @@ -0,0 +1,2 @@ +tests/README +tests/*.{c,pl,am,in} --- fftw3-3.2.2.orig/debian/patches/10_uptodate_configure.diff +++ fftw3-3.2.2/debian/patches/10_uptodate_configure.diff @@ -0,0 +1,22 @@ +--- kino/config.sub 2009-01-29 08:30:53.000000000 +0100 ++++ kino/config.sub 2009-03-17 13:40:53.000000000 +0100 +@@ -1,4 +1,8 @@ + #! /bin/sh ++if [ -x /usr/share/misc/config.sub ]; then ++ exec /usr/share/misc/config.sub "$@" ++fi ++ + # Configuration validation subroutine script. + # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, + # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 +--- kino/config.guess 2009-01-29 08:30:53.000000000 +0100 ++++ kino/config.guess 2009-03-17 13:39:55.000000000 +0100 +@@ -1,4 +1,8 @@ + #! /bin/sh ++if [ -x /usr/share/misc/config.guess ]; then ++ exec /usr/share/misc/config.guess "$@" ++fi ++ + # Attempt to guess a canonical system name. + # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, + # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 --- fftw3-3.2.2.orig/debian/patches/02_fftw-faq_bfnn.diff +++ fftw3-3.2.2/debian/patches/02_fftw-faq_bfnn.diff @@ -0,0 +1,11 @@ +--- fftw3-3.1.2.orig/doc/FAQ/fftw-faq.bfnn ++++ fftw3-3.1.2/doc/FAQ/fftw-faq.bfnn +@@ -19,6 +19,7 @@ + + \endcopy + \copyto INFO ++INFO-DIR-SECTION Development + START-INFO-DIR-ENTRY + * FFTW FAQ: (fftw-faq). FFTW Frequently Asked Questions with Answers. + END-INFO-DIR-ENTRY + --- fftw3-3.2.2.orig/debian/patches/04_improve_semaphore_detection.diff +++ fftw3-3.2.2/debian/patches/04_improve_semaphore_detection.diff @@ -0,0 +1,12 @@ +--- a/threads/threads.c ++++ b/threads/threads.c +@@ -34,7 +34,8 @@ + #endif + + /* imlementation of semaphores and mutexes: */ +-#if (defined(_POSIX_SEMAPHORES) && (_POSIX_SEMAPHORES >= 200112L)) ++#if (defined(_POSIX_SEMAPHORES) && (_POSIX_SEMAPHORES >= 200112L)) \ ++ && defined(_POSIX_THREAD_PROCESS_SHARED) && (_POSIX_THREAD_PROCESS_SHARED >= 200112L) + + /* If optional POSIX semaphores are supported, use them to + implement both semaphores and mutexes. */ --- fftw3-3.2.2.orig/debian/patches/01_fftw3_texi.diff +++ fftw3-3.2.2/debian/patches/01_fftw3_texi.diff @@ -0,0 +1,11 @@ +--- fftw3-3.1.2.orig/doc/fftw3.texi ++++ fftw3-3.1.2/doc/fftw3.texi +@@ -88,7 +88,7 @@ + @end quotation + @end copying + +-@dircategory Texinfo documentation system ++@dircategory Development + @direntry + * fftw3: (fftw3). FFTW User's Manual. + @end direntry --- fftw3-3.2.2.orig/debian/patches/03_fix_manpages.diff +++ fftw3-3.2.2/debian/patches/03_fix_manpages.diff @@ -0,0 +1,22 @@ +--- fftw3-3.2.1.orig/tools/fftw_wisdom.1.in 2009-03-17 14:46:42.000000000 +0100 ++++ fftw3-3.2.1/tools/fftw_wisdom.1.in 2009-03-17 14:45:59.000000000 +0100 +@@ -24,7 +24,7 @@ + [\fIOPTION\fR]... [\fISIZE\fR]... + .SH DESCRIPTION + .PP +-." Add any additional description here ++.\" Add any additional description here + .I fftw@PREC_SUFFIX@-wisdom + is a utility to generate FFTW + .B wisdom +--- fftw3-3.2.1.orig/tools/fftw-wisdom-to-conf.1 2008-11-11 02:18:10.000000000 +0100 ++++ fftw3-3.2.1/tools/fftw-wisdom-to-conf.1 2009-03-17 14:45:27.000000000 +0100 +@@ -23,7 +23,7 @@ + \fBfftw-wisdom-to-conf\fR [< \fIINPUT\fR] [> \fIOUTPUT\fR] + .SH DESCRIPTION + .PP +-." Add any additional description here ++.\" Add any additional description here + .I fftw-wisdom-to-conf + is a utility to generate C + .B configuration --- fftw3-3.2.2.orig/debian/patches/series +++ fftw3-3.2.2/debian/patches/series @@ -0,0 +1,5 @@ +01_fftw3_texi.diff +02_fftw-faq_bfnn.diff +03_fix_manpages.diff +04_improve_semaphore_detection.diff +10_uptodate_configure.diff