r1160 - in /unstable/djbfft: ./ debian/ debian/patches/
fabian-guest at users.alioth.debian.org
fabian-guest at users.alioth.debian.org
Fri Apr 25 12:53:47 UTC 2008
Author: fabian-guest
Date: Fri Apr 25 12:53:46 2008
New Revision: 1160
URL: http://svn.debian.org/wsvn/pkg-multimedia/?sc=1&rev=1160
Log:
Initial djbfft check-in.
Added:
unstable/djbfft/
unstable/djbfft/debian/
unstable/djbfft/debian/changelog
unstable/djbfft/debian/compat
unstable/djbfft/debian/control
unstable/djbfft/debian/copyright
unstable/djbfft/debian/libdjbfft0.76-dev.install
unstable/djbfft/debian/libdjbfft0.76-dev.links
unstable/djbfft/debian/libdjbfft0.76.install
unstable/djbfft/debian/patches/
unstable/djbfft/debian/patches/01_conf.patch
unstable/djbfft/debian/patches/02_gcc-3.patch
unstable/djbfft/debian/patches/03_shared-libdjbfft.patch
unstable/djbfft/debian/patches/series
unstable/djbfft/debian/rules (with props)
Added: unstable/djbfft/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/djbfft/debian/changelog?rev=1160&op=file
==============================================================================
--- unstable/djbfft/debian/changelog (added)
+++ unstable/djbfft/debian/changelog Fri Apr 25 12:53:46 2008
@@ -1,0 +1,7 @@
+djbfft (0.76-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #477806).
+ * Applied a (slightly modified) patch from Gentoo to build the shared
+ library.
+
+ -- Fabian Greffrath <fabian at debian-unofficial.org> Fri, 25 Apr 2008 00:00:00 +0100
Added: unstable/djbfft/debian/compat
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/djbfft/debian/compat?rev=1160&op=file
==============================================================================
--- unstable/djbfft/debian/compat (added)
+++ unstable/djbfft/debian/compat Fri Apr 25 12:53:46 2008
@@ -1,0 +1,1 @@
+6
Added: unstable/djbfft/debian/control
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/djbfft/debian/control?rev=1160&op=file
==============================================================================
--- unstable/djbfft/debian/control (added)
+++ unstable/djbfft/debian/control Fri Apr 25 12:53:46 2008
@@ -1,0 +1,36 @@
+Source: djbfft
+Section: devel
+Priority: optional
+Maintainer: Debian multimedia packages maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
+Uploaders: Fabian Greffrath <fabian at debian-unofficial.org>
+Build-Depends: cdbs, debhelper (>= 6), quilt
+Standards-Version: 3.7.3
+Homepage: http://cr.yp.to/djbfft.html
+Vcs-Svn: svn://svn.debian.org/pkg-multimedia/unstable/djbfft/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-multimedia/unstable/djbfft/
+
+Package: libdjbfft0.76
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: extremely fast library for floating-point convolution
+ djbfft is an extremely fast library for floating-point convolution. The
+ current version holds most of the speed records for double-precision FFTs on
+ general-purpose computers. djbfft provides power-of-2 complex FFTs, real FFTs
+ at twice the speed, and fast multiplication of complex arrays. Single
+ precision and double precision are equally supported.
+ .
+ This package contains the shared library.
+
+Package: libdjbfft0.76-dev
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libdjbfft0.76 (= ${binary:Version})
+Description: extremely fast library for floating-point convolution (development)
+ djbfft is an extremely fast library for floating-point convolution. The
+ current version holds most of the speed records for double-precision FFTs on
+ general-purpose computers. djbfft provides power-of-2 complex FFTs, real FFTs
+ at twice the speed, and fast multiplication of complex arrays. Single
+ precision and double precision are equally supported.
+ .
+ This package contains the development files.
Added: unstable/djbfft/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/djbfft/debian/copyright?rev=1160&op=file
==============================================================================
--- unstable/djbfft/debian/copyright (added)
+++ unstable/djbfft/debian/copyright Fri Apr 25 12:53:46 2008
@@ -1,0 +1,19 @@
+This package was debianized by Fabian Greffrath <fabian at debian-unofficial.org> on
+Fri, 25 Apr 2008 00:00:00 +0100.
+
+It was downloaded from <http://cr.yp.to/djbfft.html>.
+
+Upstream Author:
+
+ D. J. Bernstein <djb at cr.yp.to>
+
+License:
+
+ 2008.02.27: I hereby place the djbfft package (in particular,
+ djbfft-0.76.tar.gz, with MD5 checksum 9349eff24c1f9fdfb98cfb51bece8efb)
+ into the public domain. The package is no longer copyrighted.
+
+ <http://cr.yp.to/distributors.html>
+
+The Debian packaging is © 2008, Fabian Greffrath <fabian at debian-unofficial.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
Added: unstable/djbfft/debian/libdjbfft0.76-dev.install
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/djbfft/debian/libdjbfft0.76-dev.install?rev=1160&op=file
==============================================================================
--- unstable/djbfft/debian/libdjbfft0.76-dev.install (added)
+++ unstable/djbfft/debian/libdjbfft0.76-dev.install Fri Apr 25 12:53:46 2008
@@ -1,0 +1,10 @@
+real4.h /usr/include
+real8.h /usr/include
+complex4.h /usr/include
+complex8.h /usr/include
+fftc4.h /usr/include
+fftc8.h /usr/include
+fftr4.h /usr/include
+fftr8.h /usr/include
+fftfreq.h /usr/include
+libdjbfft.a /usr/lib
Added: unstable/djbfft/debian/libdjbfft0.76-dev.links
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/djbfft/debian/libdjbfft0.76-dev.links?rev=1160&op=file
==============================================================================
--- unstable/djbfft/debian/libdjbfft0.76-dev.links (added)
+++ unstable/djbfft/debian/libdjbfft0.76-dev.links Fri Apr 25 12:53:46 2008
@@ -1,0 +1,1 @@
+/usr/lib/libdjbfft.so.0.76 /usr/lib/libdjbfft.so
Added: unstable/djbfft/debian/libdjbfft0.76.install
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/djbfft/debian/libdjbfft0.76.install?rev=1160&op=file
==============================================================================
--- unstable/djbfft/debian/libdjbfft0.76.install (added)
+++ unstable/djbfft/debian/libdjbfft0.76.install Fri Apr 25 12:53:46 2008
@@ -1,0 +1,1 @@
+libdjbfft.so.* /usr/lib
Added: unstable/djbfft/debian/patches/01_conf.patch
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/djbfft/debian/patches/01_conf.patch?rev=1160&op=file
==============================================================================
--- unstable/djbfft/debian/patches/01_conf.patch (added)
+++ unstable/djbfft/debian/patches/01_conf.patch Fri Apr 25 12:53:46 2008
@@ -1,0 +1,23 @@
+--- djbfft-0.76.orig/conf-cc
++++ djbfft-0.76/conf-cc
+@@ -1 +1 @@
+-gcc -O1 -fomit-frame-pointer
++gcc $CFLAGS
+--- djbfft-0.76.orig/conf-home
++++ djbfft-0.76/conf-home
+@@ -1,4 +1,4 @@
+-/usr/local/djbfft
++./debian/tmp/usr
+
+ The djbfft include files and library will be stored under this
+ directory.
+--- djbfft-0.76.orig/conf-ld
++++ djbfft-0.76/conf-ld
+@@ -1 +1 @@
+-gcc
++gcc $LDFLAGS
+--- djbfft-0.76.orig/conf-opt
++++ djbfft-0.76/conf-opt
+@@ -1 +1 @@
+-auto
++idea
Added: unstable/djbfft/debian/patches/02_gcc-3.patch
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/djbfft/debian/patches/02_gcc-3.patch?rev=1160&op=file
==============================================================================
--- unstable/djbfft/debian/patches/02_gcc-3.patch (added)
+++ unstable/djbfft/debian/patches/02_gcc-3.patch Fri Apr 25 12:53:46 2008
@@ -1,0 +1,37 @@
+--- djbfft-0.76.orig/install.c
++++ djbfft-0.76/install.c
+@@ -1,3 +1,4 @@
++#include <errno.h>
+ #include "substdio.h"
+ #include "strerr.h"
+ #include "error.h"
+--- djbfft-0.76.orig/instcheck.c
++++ djbfft-0.76/instcheck.c
+@@ -1,5 +1,6 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <errno.h>
+ #include "strerr.h"
+ #include "error.h"
+ #include "readwrite.h"
+--- djbfft-0.76.orig/strerr_sys.c
++++ djbfft-0.76/strerr_sys.c
+@@ -1,3 +1,4 @@
++#include <errno.h>
+ #include "error.h"
+ #include "strerr.h"
+
+--- djbfft-0.76.orig/substdi.c
++++ djbfft-0.76/substdi.c
+@@ -1,3 +1,4 @@
++#include <errno.h>
+ #include "substdio.h"
+ #include "byte.h"
+ #include "error.h"
+--- djbfft-0.76.orig/substdo.c
++++ djbfft-0.76/substdo.c
+@@ -1,3 +1,4 @@
++#include <errno.h>
+ #include "substdio.h"
+ #include "str.h"
+ #include "byte.h"
Added: unstable/djbfft/debian/patches/03_shared-libdjbfft.patch
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/djbfft/debian/patches/03_shared-libdjbfft.patch?rev=1160&op=file
==============================================================================
--- unstable/djbfft/debian/patches/03_shared-libdjbfft.patch (added)
+++ unstable/djbfft/debian/patches/03_shared-libdjbfft.patch Fri Apr 25 12:53:46 2008
@@ -1,0 +1,134 @@
+--- djbfft-0.76.orig/Makefile
++++ djbfft-0.76/Makefile
+@@ -2,6 +2,10 @@
+
+ SHELL=/bin/sh
+
++LIBPERMS=0644
++LIBDJBFFT=djbfft.a
++LIBSONAME=djbfft.so.0
++
+ default: it
+
+ 4c0.c: \
+@@ -569,8 +573,8 @@
+ ./compile 8v5.c
+
+ accuracy: \
+-load accuracy.o djbfft.a math.lib
+- ./load accuracy djbfft.a `cat math.lib`
++load accuracy.o $(LIBDJBFFT) math.lib
++ ./load accuracy $(LIBDJBFFT) `cat math.lib`
+
+ accuracy.o: \
+ compile accuracy.c fftc4.h complex4.h real4.h fftc8.h complex8.h \
+@@ -578,8 +582,8 @@
+ ./compile accuracy.c
+
+ accuracy2: \
+-load accuracy2.o djbfft.a math.lib
+- ./load accuracy2 djbfft.a `cat math.lib`
++load accuracy2.o $(LIBDJBFFT) math.lib
++ ./load accuracy2 $(LIBDJBFFT) `cat math.lib`
+
+ accuracy2.o: \
+ compile accuracy2.c fftc4.h complex4.h real4.h fftc8.h complex8.h \
+@@ -649,7 +653,7 @@
+ ) > compilebase
+ chmod 755 compilebase
+
+-djbfft.a: \
++$(LIBDJBFFT): \
+ makelib 8sc.o 8u5.o 8u4.o 8u3.o 8u2.o 8u1.o 8u0.o 8mc.o 8c0.o 8c1.o \
+ 8c2.o 8c3.o 8c4.o 8c5.o 8d0.o 8d1.o 8d2.o 8d3.o 8d4.o 8d5.o 8v5.o \
+ 8v4.o 8v3.o 8v2.o 8v1.o 8v0.o 8mr.o 8r0.o 8r1.o 8r2.o 8r3.o 8r4.o \
+@@ -657,7 +661,7 @@
+ 4c1.o 4c2.o 4c3.o 4c4.o 4c5.o 4d0.o 4d1.o 4d2.o 4d3.o 4d4.o 4d5.o \
+ 4v5.o 4v4.o 4v3.o 4v2.o 4v1.o 4v0.o 4mr.o 4r0.o 4r1.o 4r2.o 4r3.o \
+ 4r4.o 4r5.o 4sr.o fftfreq.o
+- ./makelib djbfft.a 8sc.o 8u5.o 8u4.o 8u3.o 8u2.o 8u1.o \
++ ./makelib $(LIBDJBFFT) 8sc.o 8u5.o 8u4.o 8u3.o 8u2.o 8u1.o \
+ 8u0.o 8mc.o 8c0.o 8c1.o 8c2.o 8c3.o 8c4.o 8c5.o 8d0.o 8d1.o \
+ 8d2.o 8d3.o 8d4.o 8d5.o 8v5.o 8v4.o 8v3.o 8v2.o 8v1.o 8v0.o \
+ 8mr.o 8r0.o 8r1.o 8r2.o 8r3.o 8r4.o 8r5.o 8sr.o 4sc.o 4u5.o \
+@@ -692,7 +696,7 @@
+
+ hier.o: \
+ compile hier.c auto_home.h
+- ./compile hier.c
++ ./compile -DLIBDJBFFT=\"$(LIBDJBFFT)\" -DLIBPERMS=$(LIBPERMS) hier.c
+
+ install: \
+ load install.o hier.o auto_home.o strerr.a substdio.a open.a error.a \
+@@ -731,7 +735,9 @@
+ ( cat warn-auto.sh; \
+ echo 'main="$$1"; shift'; \
+ echo 'rm -f "$$main"'; \
+- echo 'ar cr "$$main" $${1+"$$@"}'; \
++ echo 'if [ "$${main##*.}" = "a" ]'; \
++ echo 'then'; \
++ echo ' ar cr "$$main" $${1+"$$@"}'; \
+ case "`cat systype`" in \
+ sunos-5.*) ;; \
+ unix_sv*) ;; \
+@@ -740,8 +746,11 @@
+ dgux-*) ;; \
+ hp-ux-*) ;; \
+ sco*) ;; \
+- *) echo 'ranlib "$$main"' ;; \
+- esac \
++ *) echo ' ranlib "$$main"' ;; \
++ esac; \
++ echo 'else'; \
++ echo exec "`head -1 conf-ld`" -Wl,-soname,$(LIBSONAME) -shared -o '"$$main" $${1+"$$@"}'; \
++ echo 'fi'; \
+ ) > makelib
+ chmod 755 makelib
+
+@@ -758,15 +767,15 @@
+ ./compile open_trunc.c
+
+ prog: \
+-djbfft.a accuracy accuracy2 speed speed.out
++$(LIBDJBFFT) accuracy accuracy2 speed speed.out
+
+ setup: \
+ it install
+ ./install
+
+ speed: \
+-load speed.o djbfft.a math.lib
+- ./load speed djbfft.a `cat math.lib`
++load speed.o $(LIBDJBFFT) math.lib
++ ./load speed $(LIBDJBFFT) `cat math.lib`
+
+ speed.o: \
+ compile speed.c fftr4.h real4.h fftr8.h real8.h fftc4.h complex4.h \
+@@ -775,7 +784,7 @@
+
+ speed.out: \
+ speed
+- ./speed > speed.out
++ LD_LIBRARY_PATH=".:$$LD_LIBRARY_PATH" ./speed > speed.out
+
+ str.a: \
+ makelib byte_copy.o byte_cr.o str_len.o
+--- djbfft-0.76.orig/hier.c
++++ djbfft-0.76/hier.c
+@@ -2,12 +2,12 @@
+
+ void hier()
+ {
+- h(auto_home,-1,-1,02755);
++ h(auto_home,-1,-1,0755);
+
+- d(auto_home,"lib",-1,-1,02755);
+- c(auto_home,"lib","djbfft.a",-1,-1,0644);
++ d(auto_home,"lib",-1,-1,0755);
++ c(auto_home,"lib",LIBDJBFFT,-1,-1,LIBPERMS);
+
+- d(auto_home,"include",-1,-1,02755);
++ d(auto_home,"include",-1,-1,0755);
+ c(auto_home,"include","real4.h",-1,-1,0644);
+ c(auto_home,"include","real8.h",-1,-1,0644);
+ c(auto_home,"include","complex4.h",-1,-1,0644);
Added: unstable/djbfft/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/djbfft/debian/patches/series?rev=1160&op=file
==============================================================================
--- unstable/djbfft/debian/patches/series (added)
+++ unstable/djbfft/debian/patches/series Fri Apr 25 12:53:46 2008
@@ -1,0 +1,3 @@
+01_conf.patch
+02_gcc-3.patch
+03_shared-libdjbfft.patch
Added: unstable/djbfft/debian/rules
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/djbfft/debian/rules?rev=1160&op=file
==============================================================================
--- unstable/djbfft/debian/rules (added)
+++ unstable/djbfft/debian/rules Fri Apr 25 12:53:46 2008
@@ -1,0 +1,18 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+build/libdjbfft0.76:: libdjbfft.so.0.76
+libdjbfft.so.0.76:
+ rm -f *.so.* $(shell cat TARGETS)
+ make LIBDJBFFT="libdjbfft.so.0.76" LIBPERMS="0755" LIBSONAME="libdjbfft.so.0.76" \
+ CFLAGS="$(CFLAGS) -fPIC -DPIC" LDFLAGS="$(LDFLAGS)"
+
+build/libdjbfft0.76-dev:: libdjbfft.a
+libdjbfft.a:
+ rm -f *.a $(shell cat TARGETS)
+ make LIBDJBFFT="libdjbfft.a" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
+
+clean::
+ rm -f *.a *.so.* $(shell cat TARGETS)
Propchange: unstable/djbfft/debian/rules
------------------------------------------------------------------------------
svn:executable = *
More information about the pkg-multimedia-commits
mailing list