--- qarecord-0.5.0.orig/debian/changelog +++ qarecord-0.5.0/debian/changelog @@ -0,0 +1,60 @@ +qarecord (0.5.0-0ubuntu5) maverick; urgency=low + + * No-change rebuild for jack transition + + -- Lorenzo De Liso Wed, 21 Jul 2010 12:29:41 +0200 + +qarecord (0.5.0-0ubuntu4) lucid; urgency=low + + * Correct build-depend version for Qt4.6 + + -- Jonathan Thomas Tue, 24 Nov 2009 11:21:41 -0500 + +qarecord (0.5.0-0ubuntu3) lucid; urgency=low + + * Rebuild against Qt 4.6 rc 1, which is binary incompatible with 4.6 + beta + + -- Jonathan Thomas Tue, 24 Nov 2009 10:11:34 -0500 + +qarecord (0.5.0-0ubuntu2) lucid; urgency=low + + [ David Henningsson ] + * ringbuffer-mod-size.patch: Fix sometimes crash on recording start + (LP: #475652). Cherrypicked from upstream svn. + + [ Fabrice Coutadeur ] + * debian/README.source: added as per 3.8.3 policy + + -- Fabrice Coutadeur Fri, 13 Nov 2009 03:49:06 +0000 + +qarecord (0.5.0-0ubuntu1) karmic; urgency=low + + * New upstream version (LP: #422182, LP: #32957) + * Build system changed to CDBS and quilt + * Control and copyright files updated + * Added the following small bug fixes as quilt patches: + - Fix error in french man page + - Fix error in midi channel selection + - Fix compiler warning + - Fix error in Swedish translation + - Fix invalid disk write error message + + -- David Henningsson Fri, 06 Sep 2009 00:58:56 +0200 + +qarecord (0.0.9b-0ubuntu2) hardy; urgency=low + + [ Steve Stalcup ] + * Added watch file (LP: #180701) + + [ Emmet Hikory ] + * Updated Maintainer + + -- Emmet Hikory Sun, 06 Jan 2008 12:28:03 +0900 + +qarecord (0.0.9b-0ubuntu1) dapper; urgency=low + + * Initial release. + + -- Dana Olson Wed, 15 Feb 2006 07:58:25 -0500 + --- qarecord-0.5.0.orig/debian/qarecord.install +++ qarecord-0.5.0/debian/qarecord.install @@ -0,0 +1,2 @@ +debian/qarecord.desktop /usr/share/applications/ +src/pixmaps/qarecord_48.xpm /usr/share/pixmaps/ --- qarecord-0.5.0.orig/debian/watch +++ qarecord-0.5.0/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://sf.net/alsamodular/qarecord-(.*)\.tar\.bz2 debian uupdate --- qarecord-0.5.0.orig/debian/copyright +++ qarecord-0.5.0/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Dana Olson on +Wed, 15 Feb 2006 07:58:25 -0500, and updated by David Henningsson +. + +It was downloaded from http://alsamodular.sourceforge.net/. + +Program authors: + Copyright 2002-2003 Matthias Nagorni (SuSE AG Nuremberg) + Copyright 2009 Frank Kober + Copyright 2009 David Henningsson + Copyright 2009 Guido Scholz + +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 Street, 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'. --- qarecord-0.5.0.orig/debian/README.source +++ qarecord-0.5.0/debian/README.source @@ -0,0 +1,3 @@ +This package uses quilt to manage patches to the original source directory. See +/usr/share/doc/quilt/README.source for more info on how getting a patched +source directory. --- qarecord-0.5.0.orig/debian/compat +++ qarecord-0.5.0/debian/compat @@ -0,0 +1 @@ +5 --- qarecord-0.5.0.orig/debian/control +++ qarecord-0.5.0/debian/control @@ -0,0 +1,19 @@ +Source: qarecord +Section: sound +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: David Henningsson +Build-Depends: debhelper (>= 5.0.0), cdbs, quilt, libasound2-dev, libjack-dev, libqt4-dev (>= 4:4.6.0~rc1-1ubuntu1) +Standards-Version: 3.8.3 +Homepage: http://alsamodular.sourceforge.net/ + +Package: qarecord +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: audio recording tool + QARecord is a simple but solid recording tool. It works well with stereo + and multichannel recordings, supporting ALSA and JACK interfaces and in + both 16 bit and 32 bit mode. By using a large ringbuffer for the captured + data, buffer overruns are avoided. It has a Qt based GUI with graphical + peak meters. + --- qarecord-0.5.0.orig/debian/qarecord.desktop +++ qarecord-0.5.0/debian/qarecord.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=QARecord +Comment=Simple but solid audio recording tool +Exec=qarecord +Icon=/usr/share/pixmaps/qarecord_48.xpm +Terminal=false +Type=Application +Categories=Application;AudioVideo;Audio --- qarecord-0.5.0.orig/debian/rules +++ qarecord-0.5.0/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + --- qarecord-0.5.0.orig/debian/patches/french-man-page.patch +++ qarecord-0.5.0/debian/patches/french-man-page.patch @@ -0,0 +1,13 @@ +Index: qarecord-0.5.0/man/fr/qarecord.1 +=================================================================== +--- qarecord-0.5.0.orig/man/fr/qarecord.1 2009-08-31 13:44:52.000000000 +0200 ++++ qarecord-0.5.0/man/fr/qarecord.1 2009-08-31 13:47:29.000000000 +0200 +@@ -103,7 +103,7 @@ + .B \-\-midiChannel \fIcanal\fP + Spécifie le canal MIDI utilisé pour le contrôle de + .B qarecord +-. La valeur par défaut est 16, le valide domaine des valeurs est 1..16. ++allant de 1 à 16. La valeur par défaut est 16. + .TP + .B \-\-midiNote \fInombre\fP + Spécifie les notes utilisées pour le contrôle MIDI. --- qarecord-0.5.0.orig/debian/patches/ringbuffer-mod-size.patch +++ qarecord-0.5.0/debian/patches/ringbuffer-mod-size.patch @@ -0,0 +1,13 @@ +Description: Fixes QARecord sometimes crash on recording start. +Bug-Ubuntu: https://launchpad.net/bugs/475652 +Forwarded: not-needed +Origin: http://alsamodular.cvs.sourceforge.net/viewvc/alsamodular/qarecord/src/ringbuffer.cpp?r1=1.3&r2=1.4 +--- a/src/ringbuffer.cpp ++++ b/src/ringbuffer.cpp +@@ -205,5 +205,6 @@ + #else + readOfs += q_atomic_set_int(&fillRate, 0); + #endif ++ readOfs %= ringBufSize; + } + --- qarecord-0.5.0.orig/debian/patches/fix-swedish-translation.patch +++ qarecord-0.5.0/debian/patches/fix-swedish-translation.patch @@ -0,0 +1,13 @@ +Index: qarecord-0.5.0/src/translations/qarecord_sv.ts +=================================================================== +--- qarecord-0.5.0.orig/src/translations/qarecord_sv.ts 2009-08-31 13:25:33.000000000 +0200 ++++ qarecord-0.5.0/src/translations/qarecord_sv.ts 2009-08-31 13:27:07.000000000 +0200 +@@ -110,7 +110,7 @@ + + + Current: +- Ström: ++ Nu: + + + --- qarecord-0.5.0.orig/debian/patches/series +++ qarecord-0.5.0/debian/patches/series @@ -0,0 +1,6 @@ +ringbuffer-mod-size.patch +fix-invalid-disk-write-error.patch +fix-swedish-translation.patch +compiler-warning.patch +french-man-page.patch +midi-channel.patch --- qarecord-0.5.0.orig/debian/patches/compiler-warning.patch +++ qarecord-0.5.0/debian/patches/compiler-warning.patch @@ -0,0 +1,13 @@ +Index: qarecord-0.5.0/src/settings.cpp +=================================================================== +--- qarecord-0.5.0.orig/src/settings.cpp 2009-08-31 13:36:34.000000000 +0200 ++++ qarecord-0.5.0/src/settings.cpp 2009-08-31 13:36:57.000000000 +0200 +@@ -127,7 +127,7 @@ + midiNote = atoi(optarg); + break; + case 'v': +- printf(ABOUTMSG); ++ printf("%s", ABOUTMSG); + return 0; + case 'h': + SettingsData def; --- qarecord-0.5.0.orig/debian/patches/midi-channel.patch +++ qarecord-0.5.0/debian/patches/midi-channel.patch @@ -0,0 +1,52 @@ +Index: qarecord-0.5.0/src/mainwindow.cpp +=================================================================== +--- qarecord-0.5.0.orig/src/mainwindow.cpp 2009-08-31 13:56:21.000000000 +0200 ++++ qarecord-0.5.0/src/mainwindow.cpp 2009-08-31 19:40:26.000000000 +0200 +@@ -383,7 +383,7 @@ + do { + snd_seq_event_input(seq_handle, &ev); + if ((ev->type == SND_SEQ_EVENT_NOTEON) && +- (ev->data.control.channel == settings->getMidiChannel())) { ++ (ev->data.control.channel == (settings->getMidiChannel()-1))) { + + switch (ev->data.note.note - settings->getMidiNote()) { + case 0: +Index: qarecord-0.5.0/src/settings.cpp +=================================================================== +--- qarecord-0.5.0.orig/src/settings.cpp 2009-08-31 19:40:26.000000000 +0200 ++++ qarecord-0.5.0/src/settings.cpp 2009-08-31 19:44:19.000000000 +0200 +@@ -54,7 +54,7 @@ + (int) ringBufSize); + } + +- midiChannel = checkRange("midiChannel", midiChannel, 0, 15); ++ midiChannel = checkRange("midiChannel", midiChannel, 1, 16); + midiNote = checkRange("midiNote", midiNote, 0, 127); + meterrange = checkRange("meterrange", meterrange, 12, 192); + splitMB = checkRange("split", splitMB, 1, 4095); +@@ -68,7 +68,7 @@ + ringBufSize = 1048576; + enableJack = false; + enable32bit = false; +- midiChannel = 15; ++ midiChannel = 16; + midiNote = 21; + channels = 2; + meterrange = 85; +@@ -109,7 +109,6 @@ + break; + case 'm': + midiChannel = atoi(optarg); +- midiChannel--; + break; + case 's': + splitMB = atoi(optarg); +@@ -137,7 +136,7 @@ + printf("--buffersize Size of ringbuffer [%ld]\n", + def.ringBufSize); + printf("--channels Channels [%d]\n", +- def.channels + 1); ++ def.channels); + printf("--jack Enable JACK mode\n"); + printf("--meterrange Dynamic range of peak meter [%d]\n", + def.meterrange); --- qarecord-0.5.0.orig/debian/patches/fix-invalid-disk-write-error.patch +++ qarecord-0.5.0/debian/patches/fix-invalid-disk-write-error.patch @@ -0,0 +1,13 @@ +Index: qarecord-0.5.0/src/diskwrite.cpp +=================================================================== +--- qarecord-0.5.0.orig/src/diskwrite.cpp 2009-09-04 00:54:40.000000000 +0200 ++++ qarecord-0.5.0/src/diskwrite.cpp 2009-09-04 00:55:09.000000000 +0200 +@@ -129,7 +129,7 @@ + count -= count % framesize; + } + +- if (wavfile && (fwrite(&ringBuf[startpos], count, 1, wavfile) != 1)) { ++ if (wavfile && (count > 0) && (fwrite(&ringBuf[startpos], count, 1, wavfile) != 1)) { + qWarning("File write error"); + } + currentDataSize += count;