Bug 223429

Summary: math/nfft 3.3.2: Nonequispaced fast Fourier transform
Product: Ports & Packages Reporter: Anonymized Account <no-reply>
Component: Individual Port(s)Assignee: Rodrigo Osorio <rodrigo>
Status: Closed FIXED    
Severity: Affects Only Me CC: rodrigo, yuri
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
math/nfft
none
portlint -AC
none
poudriere testport (WITH PATCHED LIBM)
none
math/nfft
none
poudriere testport
none
math/nfft none

Description Anonymized Account freebsd_committer freebsd_triage 2017-11-04 16:07:25 UTC
Created attachment 187728 [details]
math/nfft

/!\ At present this requres a patched libm to fix the missing cpow function: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221341

NFFT is a software library, written in C, for computing non-equispaced fast
Fourier transforms and related variations. It implements the following
transforms:

1. Non-equispaced fast Fourier transform (NFFT)
 - forward transform (NFFT), i.e. frequency to time/space domain
 - adjoint transform (adjoint NFFT), i.e. time/space to frequency domain

2. Generalisations
 - to arbitrary nodes in time and frequency domain (NNFFT)
 - to real-valued data, i.e. (co)sine transforms, (NFCT, NFST)
 - to the sphere S^2 (NFSFT)
 - to the rotation group (NFSOFT)
 - to the hyperbolic cross (NSFFT)
3. Generalised inverse transformations based on iterative methods, e.g.
   CGNR/CGNE
Comment 1 Anonymized Account freebsd_committer freebsd_triage 2017-11-04 16:07:50 UTC
Created attachment 187729 [details]
portlint -AC
Comment 2 Anonymized Account freebsd_committer freebsd_triage 2017-11-04 16:08:39 UTC
Created attachment 187730 [details]
poudriere testport (WITH PATCHED LIBM)
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2017-11-04 17:05:07 UTC
Maybe it's better to not depend on bug#221341, but to replace the missing calls with ad-hoc implementations? Once bug#221341 is fixed, older OS versions will still not have those functions, and you will need to work around this anyway.
Comment 4 Anonymized Account freebsd_committer freebsd_triage 2017-11-06 16:57:01 UTC
Indeed, I forgot. Will try.
Comment 5 Anonymized Account freebsd_committer freebsd_triage 2017-11-06 18:44:45 UTC
Created attachment 187805 [details]
math/nfft
Comment 6 Anonymized Account freebsd_committer freebsd_triage 2017-11-06 18:45:07 UTC
Created attachment 187806 [details]
poudriere testport
Comment 7 Anonymized Account freebsd_committer freebsd_triage 2017-11-06 18:54:14 UTC
Created attachment 187807 [details]
math/nfft
Comment 8 commit-hook freebsd_committer freebsd_triage 2017-12-03 23:13:01 UTC
A commit references this bug:

Author: rodrigo
Date: Sun Dec  3 23:12:35 UTC 2017
New revision: 455493
URL: https://svnweb.freebsd.org/changeset/ports/455493

Log:
  Add new port math/nfft

  NFFT is a software library, written in C, for computing non-equispaced fast
  Fourier transforms and related variations. It implements the following
  transforms:

  1. Non-equispaced fast Fourier transform (NFFT)
   - forward transform (NFFT), i.e. frequency to time/space domain
   - adjoint transform (adjoint NFFT), i.e. time/space to frequency domain

  2. Generalisations
   - to arbitrary nodes in time and frequency domain (NNFFT)
   - to real-valued data, i.e. (co)sine transforms, (NFCT, NFST)
   - to the sphere S^2 (NFSFT)
   - to the rotation group (NFSOFT)
   - to the hyperbolic cross (NSFFT)
  3. Generalised inverse transformations based on iterative methods, e.g.
     CGNR/CGNE

  PR:		223429
  Submitted by:	Michael Danilov <mike.d.ft402@gmail.com>

Changes:
  head/math/Makefile
  head/math/nfft/
  head/math/nfft/Makefile
  head/math/nfft/distinfo
  head/math/nfft/files/
  head/math/nfft/files/cpow.c
  head/math/nfft/files/patch-3rdparty_Makefile.am
  head/math/nfft/pkg-descr
  head/math/nfft/pkg-plist
Comment 9 Rodrigo Osorio freebsd_committer freebsd_triage 2017-12-03 23:13:19 UTC
committed, thanks