[Demudi-commits] r16 - in brutefir/trunk: . debian
Free Ekanayaka
free-guest@haydn.debian.org
Sat, 30 Oct 2004 05:31:34 -0600
Author: free-guest
Date: 2004-10-30 05:30:15 -0600 (Sat, 30 Oct 2004)
New Revision: 16
Added:
brutefir/trunk/.#Makefile.1.2
brutefir/trunk/brutefir.1
brutefir/trunk/debian/
brutefir/trunk/debian/README.Debian
brutefir/trunk/debian/brutefir.sgml
brutefir/trunk/debian/changelog
brutefir/trunk/debian/control
brutefir/trunk/debian/copyright
brutefir/trunk/debian/dirs
brutefir/trunk/debian/doc-base
brutefir/trunk/debian/docs
brutefir/trunk/debian/manpages
brutefir/trunk/debian/menu
brutefir/trunk/debian/rules
brutefir/trunk/debian/watch
Modified:
brutefir/trunk/Makefile
Log:
Load newtrunk into brutefir/trunk.
Added: brutefir/trunk/.#Makefile.1.2
===================================================================
--- brutefir/trunk/.#Makefile.1.2 2004-10-30 11:27:29 UTC (rev 15)
+++ brutefir/trunk/.#Makefile.1.2 2004-10-30 11:30:15 UTC (rev 16)
@@ -0,0 +1,137 @@
+###################################
+# Where to install
+INSTALL_PREFIX = $(DESTDIR)/usr
+
+###################################
+# Where to find libraries, and their header files.
+LIBPATHS = -L/usr/lib
+INCLUDE = -I/usr/include
+
+###################################
+# FFTW3 libraries for single and double precision
+FFTW_LIB = -lfftw3 -lfftw3f
+
+###################################
+# Binaries
+FLEX = flex
+LD = ld
+CC = gcc
+AS = as
+
+
+###################################
+# Flags
+CC_WARN = -Wall -Wlong-long -Wpointer-arith -Wshadow \
+-Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes \
+-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
+CC_FLAGS = $(DEFINE) -O2
+CC_FPIC = -fPIC
+LD_SHARED = -shared
+
+###################################
+# Objects and libs for targets
+BRUTEFIR_LIBS = $(FFTW_LIB) -lm -ldl
+BRUTEFIR_OBJS = brutefir.o fftw_convolver.o bfconf.o bfrun.o merge.o \
+emalloc.o shmalloc.o dai.o bfconf_lexical.o inout.o dither.o delay.o
+BRUTEFIR_IA32_OBJS = convolver_sse2.o convolver_sse.o \
+convolver_3dnow.o convolver_x87.o
+
+BFIO_FILE_OBJS = bfio_file.o
+
+BFIO_ALSA_LIBS = -lasound
+BFIO_ALSA_OBJS = bfio_alsa.o emalloc.o inout.o
+
+BFIO_JACK_LIBS = -ljack
+BFIO_JACK_OBJS = bfio_jack.o emalloc.o inout.o
+
+BFLOGIC_CLI_OBJS = bflogic_cli.o inout.o
+BFLOGIC_EQ_OBJS = bflogic_eq.o emalloc.o shmalloc.o
+
+BIN_TARGETS = brutefir
+LIB_TARGETS = cli.bflogic eq.bflogic file.bfio
+
+###################################
+# System-specific settings
+
+UNAME = $(shell uname)
+#
+# Specific SUN Solaris settings. We assume Sparc-V8+ here
+#
+ifeq ($(UNAME),SunOS)
+CC_WARN = -Wall -Wlong-long -Wpointer-arith -Wshadow \
+-Wcast-qual -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations \
+-Wnested-externs
+CC_FLAGS += -Wa,-xarch=v8plus
+BRUTEFIR_LIBS += -lrt
+endif
+
+#
+# Specific FreeBSD settings. We assume i386 here
+#
+ifeq ($(UNAME),FreeBSD)
+BRUTEFIR_OBJS += $(BRUTEFIR_IA32_OBJS)
+endif
+
+#
+# Specific Linux settings. We assume i386 and ALSA here
+#
+ifeq ($(UNAME),Linux)
+BRUTEFIR_OBJS += $(BRUTEFIR_IA32_OBJS)
+LIB_TARGETS += alsa.bfio
+LIB_TARGETS += jack.bfio
+endif
+
+TARGETS = $(BIN_TARGETS) $(LIB_TARGETS)
+
+###################################
+# Targets
+
+all: $(TARGETS)
+
+%.chkr.o: %.chkr.c
+ $(CC) -o $@ -c $(INCLUDE) $(CC_FLAGS) $<
+
+%.o: %.s
+ $(AS) -o $@ $<
+
+%.o: %.c
+ $(CC) -o $@ -c $(INCLUDE) $(CC_WARN) $(CC_FLAGS) $<
+
+# special rule to avoid to get warnings from code generated by flex
+bfconf_lexical.o: bfconf_lexical.c
+ $(CC) -o $@ -c $(INCLUDE) $(CC_FLAGS) $<
+
+%.c: %.lex
+ $(FLEX) -o$@ $<
+
+brutefir: $(BRUTEFIR_OBJS)
+ $(CC) $(LIBPATHS) -o $@ $(BRUTEFIR_OBJS) $(BRUTEFIR_LIBS)
+
+alsa.bfio: CC_FLAGS += $(CC_FPIC)
+alsa.bfio: $(BFIO_ALSA_OBJS)
+ $(LD) $(LD_SHARED) $(LIBPATHS) -o $@ $(BFIO_ALSA_OBJS) $(BFIO_ALSA_LIBS)
+
+jack.bfio: CC_FLAGS += $(CC_FPIC)
+jack.bfio: $(BFIO_JACK_OBJS)
+ $(LD) $(LD_SHARED) $(LIBPATHS) -o $@ $(BFIO_JACK_OBJS) $(BFIO_JACK_LIBS)
+
+file.bfio: CC_FLAGS += $(CC_FPIC)
+file.bfio: $(BFIO_FILE_OBJS)
+ $(LD) $(LD_SHARED) $(LIBPATHS) -o $@ $(BFIO_FILE_OBJS)
+
+cli.bflogic: CC_FLAGS += $(CC_FPIC)
+cli.bflogic: $(BFLOGIC_CLI_OBJS)
+ $(LD) $(LD_SHARED) $(LIBPATHS) -o $@ $(BFLOGIC_CLI_OBJS)
+
+eq.bflogic: CC_FLAGS += $(CC_FPIC)
+eq.bflogic: $(BFLOGIC_EQ_OBJS)
+ $(LD) $(LD_SHARED) $(LIBPATHS) -o $@ $(BFLOGIC_EQ_OBJS)
+
+install: $(BIN_TARGETS) $(LIB_TARGETS)
+ install $(BIN_TARGETS) $(INSTALL_PREFIX)/bin
+ install $(LIB_TARGETS) $(INSTALL_PREFIX)/lib/brutefir
+
+clean:
+ rm -f *.core core bfconf_lexical.c $(BRUTEFIR_OBJS) $(BFIO_FILE_OBJS) \
+$(BFLOGIC_CLI_OBJS) $(BFLOGIC_EQ_OBJS) $(BFIO_ALSA_OBJS) $(BFIO_JACK_OBJS) \
+$(TARGETS)
Modified: brutefir/trunk/Makefile
===================================================================
--- brutefir/trunk/Makefile 2004-10-30 11:27:29 UTC (rev 15)
+++ brutefir/trunk/Makefile 2004-10-30 11:30:15 UTC (rev 16)
@@ -1,11 +1,11 @@
###################################
# Where to install
-INSTALL_PREFIX = $(DESTDIR)/usr/local
+INSTALL_PREFIX = $(DESTDIR)/usr
###################################
# Where to find libraries, and their header files.
-LIBPATHS = -L/usr/local/lib
-INCLUDE = -I/usr/local/include
+LIBPATHS = -L/usr/lib
+INCLUDE = -I/usr/include
ifdef FFTW_PATH
LIBPATHS += -L$(FFTW_PATH)/lib
INCLUDE += -I$(FFTW_PATH)/include
Added: brutefir/trunk/brutefir.1
===================================================================
--- brutefir/trunk/brutefir.1 2004-10-30 11:27:29 UTC (rev 15)
+++ brutefir/trunk/brutefir.1 2004-10-30 11:30:15 UTC (rev 16)
@@ -0,0 +1,69 @@
+.\" $Header: /aolnet/dev/src/CVS/sgml/docbook-to-man/cmd/docbook-to-man.sh,v 1.1.1.1 1998/11/13 21:31:59 db3l Exp $
+.\"
+.\" transcript compatibility for postscript use.
+.\"
+.\" synopsis: .P! <file.ps>
+.\"
+.de P!
+.fl
+\!!1 setgray
+.fl
+\\&.\"
+.fl
+\!!0 setgray
+.fl \" force out current output buffer
+\!!save /psv exch def currentpoint translate 0 0 moveto
+\!!/showpage{}def
+.fl \" prolog
+.sy sed -e 's/^/!/' \\$1\" bring in postscript file
+\!!psv restore
+.
+.de pF
+.ie \\*(f1 .ds f1 \\n(.f
+.el .ie \\*(f2 .ds f2 \\n(.f
+.el .ie \\*(f3 .ds f3 \\n(.f
+.el .ie \\*(f4 .ds f4 \\n(.f
+.el .tm ? font overflow
+.ft \\$1
+..
+.de fP
+.ie !\\*(f4 \{\
+. ft \\*(f4
+. ds f4\"
+' br \}
+.el .ie !\\*(f3 \{\
+. ft \\*(f3
+. ds f3\"
+' br \}
+.el .ie !\\*(f2 \{\
+. ft \\*(f2
+. ds f2\"
+' br \}
+.el .ie !\\*(f1 \{\
+. ft \\*(f1
+. ds f1\"
+' br \}
+.el .tm ? font underflow
+..
+.ds f1\"
+.ds f2\"
+.ds f3\"
+.ds f4\"
+'\" t
+.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
+.TH "DeMuDi undocumented package" "1"
+.SH "NAME"
+brutefir \(em program included in the DeMuDi distribution
+.SH "DESCRIPTION"
+.PP
+This program was packaged by the AGNULA team for the
+DeMuDi project (http://www.agnula.org).
+.PP
+A manual page for this application has not been provided
+yet, but you can access the documentation under /usr/share/doc/brutefir/brutefir.html
+
+.SH "SEE ALSO"
+.PP
+info (1), whatis (1), apropos (1), dpkg (8), locate (1),
+find (1), updatedb (1), undocumented (2), man (7), missing (7)
+.\" created by instant / docbook-to-man, Fri 11 Jun 2004, 22:02
Added: brutefir/trunk/debian/README.Debian
===================================================================
--- brutefir/trunk/debian/README.Debian 2004-10-30 11:27:29 UTC (rev 15)
+++ brutefir/trunk/debian/README.Debian 2004-10-30 11:30:15 UTC (rev 16)
@@ -0,0 +1,6 @@
+brutefir for Debian
+-------------------
+
+Nothing special to say.. just read the orginal documentation carefully
+
+ -- Free Ekanayaka <free@agnula.org>, Thu, 18 Sep 2003 23:06:33 +0200
Added: brutefir/trunk/debian/brutefir.sgml
===================================================================
--- brutefir/trunk/debian/brutefir.sgml 2004-10-30 11:27:29 UTC (rev 15)
+++ brutefir/trunk/debian/brutefir.sgml 2004-10-30 11:30:15 UTC (rev 16)
@@ -0,0 +1,98 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+ page: `docbook-to-man manpage.sgml > manpage.1'. You may view
+ the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+ less'. A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+ docbook-to-man $< > $@
+
+
+ The docbook-to-man binary is found in the docbook-to-man package.
+ Please remember that if you create the nroff version in one of the
+ debian/rules file targets (such as build), you will need to include
+ docbook-to-man in your Build-Depends control field.
+
+ -->
+
+ <!-- Fill in your name for Free and Ekanayaka. -->
+ <!ENTITY dhfirstname "<firstname>Free</firstname>">
+ <!ENTITY dhsurname "<surname>Ekanayaka</surname>">
+ <!-- Please adjust the date whenever revising the manpage. -->
+ <!ENTITY dhdate "<date>November 17, 2003</date>">
+ <!-- 1 should be 1-8, maybe w/ subsection other parameters are
+ allowed: see man(7), man(1). -->
+ <!ENTITY dhsection "<manvolnum>1</manvolnum>">
+ <!ENTITY dhemail "<email>free@agnula.org</email>">
+ <!ENTITY dhusername "Free Ekanayaka">
+ <!ENTITY dhucpackage "<refentrytitle>DeMuDi undocumented package</refentrytitle>">
+ <!ENTITY dhpackage "brutefir">
+
+ <!ENTITY debian "<productname>Debian</productname>">
+ <!ENTITY gnu "<acronym>GNU</acronym>">
+ <!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+ <refentryinfo>
+ <address>
+ &dhemail;
+ </address>
+ <author>
+ &dhfirstname;
+ &dhsurname;
+ </author>
+ <copyright>
+ <year>2003</year>
+ <holder>&dhusername;</holder>
+ </copyright>
+ &dhdate;
+ </refentryinfo>
+ <refmeta>
+ &dhucpackage;
+
+ &dhsection;
+ </refmeta>
+ <refnamediv>
+ <refname>&dhpackage;</refname>
+
+ <refpurpose>program included in the DeMuDi distribution</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>DESCRIPTION</title>
+
+ <para>This program was packaged by the AGNULA team for the
+ DeMuDi project (http://www.agnula.org).</para>
+
+ <para>A manual page for this application has not been provided
+ yet, but you can access the documentation under /usr/share/doc/brutefir/brutefir.html
+ </para>
+
+ </refsect1>
+ <refsect1>
+ <title>SEE ALSO</title>
+
+ <para>info (1), whatis (1), apropos (1), dpkg (8), locate (1),
+ find (1), updatedb (1), undocumented (2), man (7), missing (7)</para>
+ </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
+
Added: brutefir/trunk/debian/changelog
===================================================================
--- brutefir/trunk/debian/changelog 2004-10-30 11:27:29 UTC (rev 15)
+++ brutefir/trunk/debian/changelog 2004-10-30 11:30:15 UTC (rev 16)
@@ -0,0 +1,38 @@
+brutefir (1.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Free Ekanayaka <free@agnula.org> Fri, 11 Jun 2004 21:52:06 +0200
+
+brutefir (0.99n-2) unstable; urgency=low
+
+ * debian/control: removed double spaces in the Desctiption field
+ (closes #241576)
+ * Removed menu file, as BruteFIR is supposed to be invoked from the
+ command line.
+
+ -- Free Ekanayaka <free@agnula.org> Wed, 14 Apr 2004 12:59:47 +0200
+
+brutefir (0.99n-1) unstable; urgency=low
+
+ * New upstream release
+ * GGeiger: Fixed endian detection on non-sparc or intel machines
+ * GGeiger: Fixed compilation on non-sparc or intel (intel assembler)
+ * First upload to Debian (closes: #187276)
+
+ -- Free Ekanayaka <free@agnula.org> Sat, 28 Feb 2004 19:58:31 +0100
+
+brutefir (0.99l-0) unstable; urgency=low
+
+ * Added template man page
+ * New upstream release
+ * adjusted description formatting
+
+ -- Free Ekanayaka <free@agnula.org> Fri, 21 Nov 2003 16:11:28 +0600
+
+brutefir (0.99k-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Free Ekanayaka <free@agnula.org> Thu, 18 Sep 2003 23:06:33 +0200
+
Added: brutefir/trunk/debian/control
===================================================================
--- brutefir/trunk/debian/control 2004-10-30 11:27:29 UTC (rev 15)
+++ brutefir/trunk/debian/control 2004-10-30 11:30:15 UTC (rev 16)
@@ -0,0 +1,26 @@
+Source: brutefir
+Section: sound
+Priority: optional
+Maintainer: Free Ekanayaka <free@agnula.org>
+Uploaders: Guenter Geiger (Debian/GNU) <geiger@debian.org>
+Build-Depends: docbook-to-man, debhelper (>> 4.0.0), fftw3-dev, libjack-dev, flex, libasound2-dev
+Standards-Version: 3.6.0
+
+Package: brutefir
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: a software convolution engine
+ BruteFIR is a program for applying long FIR filters to multi-channel
+ digital audio, either offline or in realtime. Its basic operation is
+ specified through a configuration file, and filters, attenuation and
+ delay can be changed in runtime through a simple command line
+ interface. The FIR filter algorithm used is an optimised frequency
+ domain algorithm, partly implemented in hand-coded assembler, thus
+ throughput is extremely high. In realtime, a standard computer can
+ typically run more than 10 channels with more than 60000 filter taps
+ each.
+ .
+ Through its highly modular design, things like adaptive filtering,
+ signal generators and sample I/O are easily added, extended and
+ modified, without the need to alter the program itself.
+ .
Added: brutefir/trunk/debian/copyright
===================================================================
--- brutefir/trunk/debian/copyright 2004-10-30 11:27:29 UTC (rev 15)
+++ brutefir/trunk/debian/copyright 2004-10-30 11:30:15 UTC (rev 16)
@@ -0,0 +1,12 @@
+This package was debianized by Free Ekanayaka <free@agnula.org> on
+Thu, 18 Sep 2003 23:06:33 +0200.
+
+It was downloaded from http://www.ludd.luth.se/~torger/brutefir.html
+
+Upstream Author: Anders Torger
+
+Copyright:
+
+This software is licensed under the General Public License Version 2,
+for more information see /usr/share/common-licenses/GPL-2
+
Added: brutefir/trunk/debian/dirs
===================================================================
--- brutefir/trunk/debian/dirs 2004-10-30 11:27:29 UTC (rev 15)
+++ brutefir/trunk/debian/dirs 2004-10-30 11:30:15 UTC (rev 16)
@@ -0,0 +1,2 @@
+usr/bin
+usr/lib/brutefir
Added: brutefir/trunk/debian/doc-base
===================================================================
--- brutefir/trunk/debian/doc-base 2004-10-30 11:27:29 UTC (rev 15)
+++ brutefir/trunk/debian/doc-base 2004-10-30 11:30:15 UTC (rev 16)
@@ -0,0 +1,13 @@
+Document: brutefir
+Title: Brutefir Manual
+Author: Anders Torger
+Abstract: This manual describes brutefir, and application
+ for applying long Finite Impulse Response (FIR) filters to
+ sound in realtime.
+Section: sound
+
+Format: HTML
+Index: /usr/share/doc/brutefir/brutefir.html
+Files: /usr/share/doc/brutefir/*.html
+
+
Added: brutefir/trunk/debian/docs
===================================================================
--- brutefir/trunk/debian/docs 2004-10-30 11:27:29 UTC (rev 15)
+++ brutefir/trunk/debian/docs 2004-10-30 11:30:15 UTC (rev 16)
@@ -0,0 +1,2 @@
+README
+brutefir.html
Added: brutefir/trunk/debian/manpages
===================================================================
--- brutefir/trunk/debian/manpages 2004-10-30 11:27:29 UTC (rev 15)
+++ brutefir/trunk/debian/manpages 2004-10-30 11:30:15 UTC (rev 16)
@@ -0,0 +1 @@
+brutefir.1
Added: brutefir/trunk/debian/menu
===================================================================
--- brutefir/trunk/debian/menu 2004-10-30 11:27:29 UTC (rev 15)
+++ brutefir/trunk/debian/menu 2004-10-30 11:30:15 UTC (rev 16)
@@ -0,0 +1,2 @@
+?package(brutefir):needs="text" section="Apps/Sound"\
+ title="BruteFIR" command="/usr/bin/brutefir"
Added: brutefir/trunk/debian/rules
===================================================================
--- brutefir/trunk/debian/rules 2004-10-30 11:27:29 UTC (rev 15)
+++ brutefir/trunk/debian/rules 2004-10-30 11:30:15 UTC (rev 16)
@@ -0,0 +1,97 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE) ARCH=`dpkg --print-architecture`
+ /usr/bin/docbook-to-man debian/brutefir.sgml > brutefir.1
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) clean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/brutefir.
+ $(MAKE) install ARCH=`dpkg --print-architecture` DESTDIR=$(CURDIR)/debian/tmp
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs CHANGES
+ dh_installdocs
+ dh_installexamples
+ dh_install
+ dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
Property changes on: brutefir/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: brutefir/trunk/debian/watch
===================================================================
--- brutefir/trunk/debian/watch 2004-10-30 11:27:29 UTC (rev 15)
+++ brutefir/trunk/debian/watch 2004-10-30 11:30:15 UTC (rev 16)
@@ -0,0 +1,7 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site Directory Pattern Version Script
+version=2
+http://www.ludd.luth.se/~torger/brutefir.html files/brutefir-(.*)\.tar\.gz debian uupdate
+#http://www.ludd.luth.se/~torger/files/ brutefir-(.*)\.tar\.gz debian uupdate