From: john Date: Tue, 21 Aug 2007 01:39:23 +0000 (-0600) Subject: Add Debian stuff for version 0.97.6-2 X-Git-Tag: 0.97.6-2 X-Git-Url: http://git.johnwright.org/?p=fmit.git;a=commitdiff_plain;h=f5fd3a5de50498c441f01f33d62b075d58fcca15 Add Debian stuff for version 0.97.6-2 --- diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..b9050b7 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,39 @@ +fmit (0.97.6-2) unstable; urgency=low + + * New maintainer. (Closes: 429756) + * Allow building on platforms without ALSA, thanks to Cyril Brulebois. + (Closes: 414391) + * Add XS-Vcs-Svn and XS-Vcs-Browser fields. + + -- John Wright Fri, 22 Jun 2007 17:03:48 +0100 + +fmit (0.97.6-1) unstable; urgency=low + + * New upstream version. Closes: #421099. + * upstream-fix: Immediate segfault problem. Closes: #403567. + * debian/patches/01_Upstream_TODO.dpatch: Update for new TODO file. + + -- Ludovic RESLINGER Sat, 16 Jun 2007 23:52:33 +0200 + +fmit (0.96.7-1) unstable; urgency=high + + * New upstream version. + * upstream-fix: Alsa bug in case of multiple channels. Closes: #400483. + * debian/control: Add Build-Dependency on fftw3-dev, required with new + version. + * debian/rules: Change QTDIR by --with-Qt-dir for ./configure. + * debian/patches/01_Upstream_TODO.dpatch: Update for new TODO file. + + -- Ludovic RESLINGER Sat, 09 Dec 2006 14:50:20 +0100 + +fmit (0.96.5-1) unstable; urgency=low + + * Initial release: Closes: #280876 Closes: #380500. + * debian/docs: Remove README and NEWS because upstream's files are empty. + * debian/rules: Add QTDIR=/usr/share/qt3 to ./configure. + * Add debian/fmit.1: Manpage for fmit. + * Add dpatch packaging system. + * Add patches/01_Upstream_TODO.dpatch: Traducting some parts of TODO in + english. + + -- Ludovic RESLINGER Sun, 13 Aug 2006 15:28:57 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..19e4ba1 --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: fmit +Section: sound +Priority: optional +Maintainer: John Wright +Build-Depends: debhelper (>= 4), autotools-dev, dpatch, libqt3-mt-dev, fftw3-dev, freeglut3-dev, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libjack-dev +Standards-Version: 3.7.2 +XS-Vcs-Svn: svn://svn.johnwright.org/fmit/trunk +XS-Vcs-Browser: http://trac.johnwright.org/fmit/browser/trunk/ + +Package: fmit +Architecture: any +Depends: ${shlibs:Depends} +Description: Free Music Instrument Tuner + fmit is a graphical software for tuning your music instruments, with + error and volume history and advanced features like wave-length shape, + harmonics ratio (formants) and microtonal tuning. + . + This package use Qt as gui library and ALSA or JACK as sound input library. + . + Homepage: http://home.gna.org/fmit/ diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..7adf631 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,144 @@ +This package was debianized by Ludovic RESLINGER on +Sun, 13 Aug 2006 15:28:57 +0200. + +It was downloaded from http://download.gna.org/fmit/ + +Upstream Author: Gilles DEGOTTEX + +License: + + This package 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. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +Other Licenses: + + - LGPL v2 or higher + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + + The following files are licensed under LGPL: + - libs/CppAddons/Singleton.h + - libs/CppAddons/Random.{h,cpp} + - libs/CppAddons/Math.{h,cpp} + - libs/CppAddons/StringAddons.h + - libs/CppAddons/Observer.h + - libs/Music/FreqAnalysis.{h,cpp} + - libs/Music/Correlation.{h,cpp} + - libs/Music/TimeAnalysis.{h,cpp} + - libs/Music/AutocorrelationAlgo.{h,cpp} + - libs/Music/MultiCorrelationAlgo.{h,cpp} + - libs/Music/Algorithm.{h,cpp} + - libs/Music/BubbleAlgo.{h,cpp} + - libs/Music/Convolution.{h,cpp} + - libs/Music/Music.{h,cpp} + - src/CaptureThread.{h,cpp} + - src/GLGraph.{h,cpp} + - src/View.{h,cpp} + + - MIT/X11 + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + The following file is licensed under MIT Licence: + - install-sh + +All others files are licenced under GPLv2 Licence. + +Debian packaging is (C) 2006, Ludovic RESLINGER and +is licensed under the GPLv2, see above. + +Copyright notices: + + - libs/CppAddons/Singleton.h + libs/CppAddons/Random.{h,cpp} + libs/CppAddons/Math.{h,cpp} + libs/CppAddons/StringAddons.h + libs/CppAddons/Observer.h + libs/Music/FreqAnalysis.{h,cpp} + libs/Music/Correlation.{h,cpp} + libs/Music/TimeAnalysis.{h,cpp} + libs/Music/AutocorrelationAlgo.{h,cpp} + libs/Music/MultiCorrelationAlgo.{h,cpp} + libs/Music/Algorithm.{h,cpp} + libs/Music/BubbleAlgo.{h,cpp} + libs/Music/Convolution.{h,cpp} + libs/Music/Music.{h,cpp}: + Copyright (C) 2004 Gilles DEGOTTEX + - src/CaptureThread.{h,cpp} + Copyright (C) 2004 Gilles DEGOTTEX + - src/GLGraph.{h,cpp}: + Copyright (C) 2004-2005 Gilles DEGOTTEX + - src/View.{h,cpp}: + Copyright (C) 2005 Gilles DEGOTTEX + - src/CustomInstrumentTunerForm.{h,cpp} + src/main.cpp + src/GLErrorHistory.{h,cpp} + src/GLSample.{h,cpp} + src/GLVolumeHistory.{h,cpp} + src/DialView.h + src/GLFormants.{h,cpp} + src/MicrotonalView.{h,cpp}: + Copyright (C) 2004 Gilles DEGOTTEX + - m4/Makefile.in + tr/Makefile.in + ui/Makefile.in + Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. + - aclocal.m4: + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. + - configure: + Copyright (C) 2003 Free Software Foundation, Inc. + - COPYING: + Copyright (C) 1989-1991 Free Software Foundation, Inc. + - INSTALL: + Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + - Makefile.in: + Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. + - depcomp + Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc. + - missing: + Copyright (C) 1996 Fran,cois Pinard + Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc. + - install-sh: + Copyright (C) 1994 X Consortium diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..e772481 --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +usr/bin diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..1333ed7 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +TODO diff --git a/debian/fmit.1 b/debian/fmit.1 new file mode 100644 index 0000000..b14ccdd --- /dev/null +++ b/debian/fmit.1 @@ -0,0 +1,88 @@ +.\" Copyright (C) 2006 Ludovic RESLINGER +.\" +.\" This is free documentation; 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. +.\" +.\" The GNU General Public License's references to "object code" +.\" and "executables" are to be interpreted as the output of any +.\" document formatting or typesetting system, including +.\" intermediate and printed output. +.\" +.\" This manual is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public +.\" License along with this manual; if not, write to the Free +.\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, +.\" USA. +.\" +.TH fmit 1 "August 13, 2006" +.SH NAME +fmit \- Free Music Instrument Tuner +.SH SYNOPSIS +.B fmit +.br +There are no command line options. +.SH DESCRIPTION +The +.B Free Music Instrument Tuner (fmit) +is a graphical sofware for tuning your music instrument using +QT as gui library. +.br +For the sound input library you can choise to use ALSA or JACK. +.br +.B fmit +contain all features of a standard hardware instrument tuner. +.PP +You choise the tuning frequency corresponding at your tuning note, +and when you play it, fmit display your error margin. +.PP +Other views are availables, corresponding to more advanced +and specific features like a microtonal tuning with more precision about +you error margin, and a view of the harmonics ratio. +.br +Currently 6 views are availables: +.TS +tab (@); +l l. +1@A small view of the captured sound. +2@An history of the pitch error. +3@An history of the sound volume. +4@The shape of the wave-length. +5@Harmonics ratio (the formants). +6@A microtonal tuning view. +.TE +.SH BUGS +Please send bug reports or any other feedback to the fmit mailing-lists: +.br +.B \& +: For bug reports and other problems. +.br +.B \& +: For CVS commits. +.br +Or contact Gilles DEGOTTEX +.B . +.SH AUTHOR +.B fmit +is written and maintained by Gilles DEGOTTEX +.B . +.SH HOME PAGE +.B fmit +can be found at: +.br +.B \& +.SH COPYRIGHT +Copyright (C) 2004-2006 Gilles DEGOTTEX +.B +.br +Licensed under the +.B GNU Public License V2. +.PP +This manual page was written by Ludovic RESLINGER +.B , +for the Debian project (but may be used by others). diff --git a/debian/fmit.install b/debian/fmit.install new file mode 100644 index 0000000..f7177e8 --- /dev/null +++ b/debian/fmit.install @@ -0,0 +1,2 @@ +usr/bin +usr/share diff --git a/debian/fmit.manpages b/debian/fmit.manpages new file mode 100644 index 0000000..f2a8884 --- /dev/null +++ b/debian/fmit.manpages @@ -0,0 +1 @@ +debian/fmit.1 diff --git a/debian/menu b/debian/menu new file mode 100644 index 0000000..dc5e588 --- /dev/null +++ b/debian/menu @@ -0,0 +1,2 @@ +?package(fmit):needs="X11" section="Apps/Sound + title="fmit" command="/usr/bin/fmit" diff --git a/debian/patches/00list b/debian/patches/00list new file mode 100644 index 0000000..c0c07ca --- /dev/null +++ b/debian/patches/00list @@ -0,0 +1 @@ +01_Upstream_TODO diff --git a/debian/patches/01_Upstream_TODO.dpatch b/debian/patches/01_Upstream_TODO.dpatch new file mode 100644 index 0000000..83c470e --- /dev/null +++ b/debian/patches/01_Upstream_TODO.dpatch @@ -0,0 +1,115 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_Upstream_TODO.dpatch.dpatch by Ludovic RESLINGER +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: TODO: Traduction in english of the parts in french. + +@DPATCH@ +diff -Nru fmit-0.97.6.orig/TODO fmit-0.97.6/TODO +--- fmit-0.97.6.orig/TODO 2007-06-09 16:11:12.000000000 +0200 ++++ fmit-0.97.6/TODO 2007-06-16 23:23:48.594868750 +0200 +@@ -1,49 +1,56 @@ +-look for translations ++TODO: ++----- + +-volume à partir de la somme des harmoniques pas de la valeur max +- perceptive volume from weighted spectrum ? +-high pass with FIR +-band pass ranges with low pass +-tests corrects des working transport possibles +-shortcuts +- +-Doc +- speak about 50hz on web site FAQ +- Do not use a too big sampling rate. 22050Hz should be largely enough in most cases. +- +-promotion +- contact AGNULA project +- http://apps.linuxaudio.org/apps/screenshots +- +-algo +- sep en bandes avec resampling ? +- Quantizer +- Viterbi +- +-interface +- statistics +- in a preselected range of notes +- keep the history of the note (not only an average over the note) +- be able to drop too short notes +- average of volume +- mean or median averaging +- post-process notes with Viterbi +- harm struct +- add inharmonicity values in cents +- phase +- DFT +- envelope ? +- microtonal view +- autodetect octave +-? stretch scale view to the complet scale length (not always 12 !) +- create your own scales inside FMIT +- configure +-? 'restore factory settings' bug for ui_chkJACKAutoConnect and his source +- +-code cleaning +- use AutoQSetting under Views +- +-autotools +- maintainer-clean +- doc directories of libs +- curse autotools authors families up to five generations ++* Look for translations. ++ ++* Volume from the harmonics sum and not from the maximum value. ++ - Perceptive volume from weighted spectrum ? ++ ++* High pass with FIR. ++ ++* Band pass ranges with low pass. ++ ++* Make correct tests for working transport available. ++ ++* Shortcuts. ++ ++* Doc: ++ - Speak about 50hz on web site FAQ. ++ - Do not use a too big sampling rate. 22050Hz should be largely enough in most cases. ++ ++* Promotion: ++ - Contact AGNULA project. ++ - http://apps.linuxaudio.org/apps/screenshots ++ ++* Algo: ++ - Sep in ranges with resampling ? ++ - Quantizer: ++ - Viterbi. ++ ++* Interface: ++ - Statistics: ++ - In a preselected range of notes. ++ - Keep the history of the note (not only an average over the note). ++ - Be able to drop too short notes. ++ - Average of volume. ++ - Mean or median averaging. ++ - Post-process notes with Viterbi. ++ - Harm struct: ++ - Add inharmonicity values in cents. ++ - Phase. ++ - DFT: ++ - Wrap ? ++ - Microtonal view: ++ - Autodetect octave. ++? - Stretch scale view to the complet scale length (not always 12 !). ++ - Create your own scales inside FMIT. ++ - Configure: ++? - 'Restore factory settings' bug for ui_chkJACKAutoConnect and his source. ++ ++* Code cleaning: ++ - Use AutoQSetting under Views. ++ ++* Autotools: ++ - Maintainer-clean. ++ - Doc directories of libs. ++ - Curse autotools authors families up to five generations. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..a44ec2a --- /dev/null +++ b/debian/rules @@ -0,0 +1,117 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# include file for dpatch system +include /usr/share/dpatch/dpatch.make + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) + +# Disable Alsa on non-Linux architectures +ifneq (,$(findstring $(DEB_HOST_ARCH_OS), kfreebsd hurd)) + DEB_CONFIGURE_ALSA = --disable-alsa +else + DEB_CONFIGURE_ALSA = --enable-alsa +endif + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: patch configure + dh_testdir + # Add here commands to configure the package. + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-Qt-dir=/usr/share/qt3 $(DEB_CONFIGURE_ALSA) CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/fmit.sgml > fmit.1 + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + rm -f $(CURDIR)/config.sub $(CURDIR)/config.guess + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + $(MAKE) install 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 ChangeLog + dh_installdocs + dh_installexamples + dh_install --sourcedir=debian/tmp +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# 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 patch unpatch diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..0ffbb7c --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://download.gna.org/fmit/ fmit-(.*)\.tar\.bz2 debian uupdate