pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math
Module Name: pkgsrc
Committed By: nia
Date: Fri Apr 9 11:00:29 UTC 2021
Modified Files:
pkgsrc/math: Makefile
Added Files:
pkgsrc/math/kissfft: DESCR Makefile PLIST distinfo
pkgsrc/math/kissfft/patches: patch-CMakeLists.txt
Log Message:
add math/kissfft
KISS FFT - A mixed-radix Fast Fourier Transform
There are many great fft libraries already around. Kiss FFT is not trying
to be better than any of them. It only attempts to be a reasonably efficient,
moderately useful FFT that can use fixed or floating data types and can be
incorporated into someone's C program in a few minutes with trivial licensing.
To generate a diff of this commit:
cvs rdiff -u -r1.491 -r1.492 pkgsrc/math/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/math/kissfft/DESCR pkgsrc/math/kissfft/Makefile \
pkgsrc/math/kissfft/PLIST pkgsrc/math/kissfft/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/kissfft/patches/patch-CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/Makefile
diff -u pkgsrc/math/Makefile:1.491 pkgsrc/math/Makefile:1.492
--- pkgsrc/math/Makefile:1.491 Thu Mar 18 03:46:56 2021
+++ pkgsrc/math/Makefile Fri Apr 9 11:00:28 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.491 2021/03/18 03:46:56 markd Exp $
+# $NetBSD: Makefile,v 1.492 2021/04/09 11:00:28 nia Exp $
COMMENT= Mathematics
@@ -220,6 +220,7 @@ SUBDIR+= itpp
SUBDIR+= kalgebra
SUBDIR+= kalk
SUBDIR+= kcalc
+SUBDIR+= kissfft
SUBDIR+= lapack
SUBDIR+= libffm
SUBDIR+= libint
Added files:
Index: pkgsrc/math/kissfft/DESCR
diff -u /dev/null pkgsrc/math/kissfft/DESCR:1.1
--- /dev/null Fri Apr 9 11:00:29 2021
+++ pkgsrc/math/kissfft/DESCR Fri Apr 9 11:00:28 2021
@@ -0,0 +1,6 @@
+KISS FFT - A mixed-radix Fast Fourier Transform
+
+There are many great fft libraries already around. Kiss FFT is not trying
+to be better than any of them. It only attempts to be a reasonably efficient,
+moderately useful FFT that can use fixed or floating data types and can be
+incorporated into someone's C program in a few minutes with trivial licensing.
Index: pkgsrc/math/kissfft/Makefile
diff -u /dev/null pkgsrc/math/kissfft/Makefile:1.1
--- /dev/null Fri Apr 9 11:00:29 2021
+++ pkgsrc/math/kissfft/Makefile Fri Apr 9 11:00:28 2021
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2021/04/09 11:00:28 nia Exp $
+
+DISTNAME= kissfft-131.1.0
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mborgerding/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/mborgerding/kissfft
+COMMENT= Simple mixed-radix Fast Fourier Transform
+LICENSE= modified-bsd
+
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+CMAKE_ARGS+= -DKISSFFT_TEST=OFF
+
+PKGCONFIG_OVERRIDE+= kissfft.pc.in
+PKGCONFIG_OVERRIDE+= kissfft-float.pc
+
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/kissfft/PLIST
diff -u /dev/null pkgsrc/math/kissfft/PLIST:1.1
--- /dev/null Fri Apr 9 11:00:29 2021
+++ pkgsrc/math/kissfft/PLIST Fri Apr 9 11:00:28 2021
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2021/04/09 11:00:28 nia Exp $
+bin/fastconv-float
+bin/fastconvr-float
+bin/fft-float
+bin/psdpng-float
+include/kissfft/kiss_fft.h
+include/kissfft/kiss_fftnd.h
+include/kissfft/kiss_fftndr.h
+include/kissfft/kiss_fftr.h
+include/kissfft/kissfft.hh
+lib/cmake/kissfft/kissfft-config-version.cmake
+lib/cmake/kissfft/kissfft-config.cmake
+lib/cmake/kissfft/kissfft-float-shared-targets-noconfig.cmake
+lib/cmake/kissfft/kissfft-float-shared-targets.cmake
+lib/libkissfft-float.so
+lib/libkissfft-float.so.131
+lib/libkissfft-float.so.${PKGVERSION}
+lib/pkgconfig/kissfft-float.pc
Index: pkgsrc/math/kissfft/distinfo
diff -u /dev/null pkgsrc/math/kissfft/distinfo:1.1
--- /dev/null Fri Apr 9 11:00:29 2021
+++ pkgsrc/math/kissfft/distinfo Fri Apr 9 11:00:28 2021
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2021/04/09 11:00:28 nia Exp $
+
+SHA1 (kissfft-131.1.0.tar.gz) = e313f318ed7bf1b2d4226f3ce4434788896fb089
+RMD160 (kissfft-131.1.0.tar.gz) = 3a9022bda35f4b845da93fc679aa8517d146a6e4
+SHA512 (kissfft-131.1.0.tar.gz) = bd715868ce0e93a291a0592fb1f8b960e832fc64efe863755e52b67d5addff9bcb444a1bf2570d1914c52b41dad1023d0d86400f5ea30c9fb84cd6b4f7210708
+Size (kissfft-131.1.0.tar.gz) = 52383 bytes
+SHA1 (patch-CMakeLists.txt) = 630b68eacad245051ffd0350abb09ab3707ca864
Index: pkgsrc/math/kissfft/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/math/kissfft/patches/patch-CMakeLists.txt:1.1
--- /dev/null Fri Apr 9 11:00:29 2021
+++ pkgsrc/math/kissfft/patches/patch-CMakeLists.txt Fri Apr 9 11:00:28 2021
@@ -0,0 +1,33 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2021/04/09 11:00:28 nia Exp $
+
+-lm is not GNU/Linux specific...
+
+--- CMakeLists.txt.orig 2021-04-09 10:52:02.217349618 +0000
++++ CMakeLists.txt
+@@ -105,7 +105,7 @@ endif()
+ # Add GNUInstallDirs for GNU infrastructure before target)include_directories
+ #
+
+-if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$" AND NOT CMAKE_CROSSCOMPILING)
++if(UNIX)
+ include(GNUInstallDirs)
+ endif()
+
+@@ -242,7 +242,7 @@ add_library(kissfft::kissfft-${KISSFFT_D
+ # Build with libm (-lm) on Linux and kFreeBSD
+ #
+
+-if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$" AND NOT CMAKE_CROSSCOMPILING)
++if(UNIX)
+ target_link_libraries(kissfft PRIVATE m)
+ endif()
+
+@@ -258,7 +258,7 @@ function(add_kissfft_executable NAME)
+ # Build with libm (-lm) on Linux and kFreeBSD
+ #
+
+- if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$" AND NOT CMAKE_CROSSCOMPILING)
++ if(UNIX)
+ target_link_libraries(${NAME} PRIVATE m)
+ endif()
+
Home |
Main Index |
Thread Index |
Old Index