From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 2 04:50:24 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E6B416A503 for ; Thu, 2 Nov 2006 04:50:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C78A743D53 for ; Thu, 2 Nov 2006 04:50:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kA24oMI7095809 for ; Thu, 2 Nov 2006 04:50:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kA24oMkc095807; Thu, 2 Nov 2006 04:50:22 GMT (envelope-from gnats) Resent-Date: Thu, 2 Nov 2006 04:50:22 GMT Resent-Message-Id: <200611020450.kA24oMkc095807@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Diane Bruce Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EF9D16A416 for ; Thu, 2 Nov 2006 04:41:09 +0000 (UTC) (envelope-from db@db.net) Received: from diana.db.net (diana.db.net [204.228.225.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CA5C43D58 for ; Thu, 2 Nov 2006 04:41:09 +0000 (GMT) (envelope-from db@db.net) Received: from db by diana.db.net with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GfULa-000MzS-I6 for FreeBSD-gnats-submit@freebsd.org; Wed, 01 Nov 2006 21:38:34 -0700 Message-Id: Date: Wed, 01 Nov 2006 21:38:34 -0700 From: Diane Bruce Sender: Diane Bruce To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/105059: [NEW PORT] audio/xanalyser: Spectrum analyser X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 04:50:24 -0000 >Number: 105059 >Category: ports >Synopsis: [NEW PORT] audio/xanalyser: Spectrum analyser >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 02 04:50:22 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Diane Bruce >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: none >Environment: System: FreeBSD diana.db.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sat Oct 14 14:44:56 MDT 2006 >Description: XAnalyser is a program to analyse a stereo audio signal. It has two displays: Frequency Spectrum Using Fast Fourier Transform, the time domain of the signal is transformed into the frequency domain, i.e. the amplitude (in logarithmic scale) of the audio signal is plotted versus the frequency. Either the sum of the left and right channel of the audio signal can be shown or both channels simultaneously. XY Scope Roughly speaking, the audio signal of left channel deflects a point horizontally and the right channel vertically (just as the beam of a CRT would do). Thus, an audio signal only present on the left channel produces a horizontal line, whereas an audio signal only present on the right channel produces a vertical line. A mono signal produces a 45 degree line. A stereo signal creates a wilde pattern (if the phase is correct, predominately in the same direction as a mono signal) or may even fill the entire scope. WWW: http://arvin.schnell-web.net/xanalyser/ - Diane VA3DB db@db.net Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- xanalyser-1.29.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # xanalyser # xanalyser/Makefile # xanalyser/distinfo # xanalyser/pkg-descr # xanalyser/files # xanalyser/files/patch-src_pcm.cc # xanalyser/files/patch-src_pcm-cdr.cc # xanalyser/files/patch-src_pcm-wav.cc # xanalyser/files/patch-src_Sample.cc # xanalyser/files/patch-Makefile.in # echo c - xanalyser mkdir -p xanalyser > /dev/null 2>&1 echo x - xanalyser/Makefile sed 's/^X//' >xanalyser/Makefile << 'END-of-xanalyser/Makefile' X# New ports collection makefile for: xanalyser X# Date created: October 29 2006 X# Whom: Diane Bruce END-of-xanalyser/Makefile echo x - xanalyser/distinfo sed 's/^X//' >xanalyser/distinfo << 'END-of-xanalyser/distinfo' XMD5 (xanalyser-1.29.tar.bz2) = 646ac3ac60fbf5d1be4637a50d37aebe XSHA256 (xanalyser-1.29.tar.bz2) = 00887546dfa74068b7ac13d281a45bc4f042628092adffd72aa127baf49df676 XSIZE (xanalyser-1.29.tar.bz2) = 83145 END-of-xanalyser/distinfo echo x - xanalyser/pkg-descr sed 's/^X//' >xanalyser/pkg-descr << 'END-of-xanalyser/pkg-descr' XXAnalyser is a program to analyse a stereo audio signal. It has two displays: X XFrequency Spectrum XUsing Fast Fourier Transform, the time domain of the signal is transformed into Xthe frequency domain, i.e. the amplitude (in logarithmic scale) of the Xaudio signal is plotted versus the frequency. Either the sum of the Xleft and right channel of the audio signal can be shown or both Xchannels simultaneously. X XXY Scope XRoughly speaking, the audio signal of left channel deflects a point Xhorizontally and the right channel vertically (just as the beam of a CRT Xwould do). Thus, an audio signal only present on the left channel produces Xa horizontal line, whereas an audio signal only present on the right channel Xproduces a vertical line. A mono signal produces a 45 degree line. XA stereo signal creates a wilde pattern (if the phase is correct, Xpredominately in the same direction as a mono signal) or may even fill Xthe entire scope. X XWWW: http://arvin.schnell-web.net/xanalyser/ X X- Diane VA3DB Xdb@db.net END-of-xanalyser/pkg-descr echo c - xanalyser/files mkdir -p xanalyser/files > /dev/null 2>&1 echo x - xanalyser/files/patch-src_pcm.cc sed 's/^X//' >xanalyser/files/patch-src_pcm.cc << 'END-of-xanalyser/files/patch-src_pcm.cc' X--- src/pcm.cc.orig Sun Oct 29 20:39:22 2006 X+++ src/pcm.cc Sun Oct 29 20:47:16 2006 X@@ -9,6 +9,8 @@ X #include X #ifdef __NetBSD__ X # include X+#elif __FreeBSD__ X+# include X #else X # include X #endif X@@ -163,7 +165,7 @@ X case S16: { X int16_t* tmp_buffer = (int16_t*) buffer; X for (size_t i = n; i != 0; i--) { X-#ifdef __NetBSD__ X+#if defined (__NetBSD__) || (__FreeBSD__) X *tmp_buffer = bswap16 (*tmp_buffer); X #else X *tmp_buffer = bswap_16 (*tmp_buffer); X@@ -175,7 +177,7 @@ X case S32: { X int32_t* tmp_buffer = (int32_t*) buffer; X for (size_t i = n; i != 0; i--) { X-#ifdef __NetBSD__ X+#if defined (__NetBSD__) || (__FreeBSD__) X *tmp_buffer = bswap32 (*tmp_buffer); X #else X *tmp_buffer = bswap_32 (*tmp_buffer); X@@ -191,7 +193,7 @@ X PCM::uint16_to_le (uint16_t i) const X { X #if __BYTE_ORDER == __BIG_ENDIAN X-# ifdef __NetBSD__ X+# if defined (__NetBSD__) || (__FreeBSD__) X return bswap16 (i); X # else X return bswap_16 (i); X@@ -206,7 +208,7 @@ X PCM::uint32_to_le (uint32_t i) const X { X #if __BYTE_ORDER == __BIG_ENDIAN X-# ifdef __NetBSD__ X+# if defined (__NetBSD__)||(__FreeBSD__) X return bswap32 (i); X # else X return bswap_32 (i); END-of-xanalyser/files/patch-src_pcm.cc echo x - xanalyser/files/patch-src_pcm-cdr.cc sed 's/^X//' >xanalyser/files/patch-src_pcm-cdr.cc << 'END-of-xanalyser/files/patch-src_pcm-cdr.cc' X--- src/pcm-cdr.cc.orig Sun Oct 29 20:50:05 2006 X+++ src/pcm-cdr.cc Sun Oct 29 20:50:43 2006 X@@ -12,6 +12,8 @@ X #include X #include X #include X+#include X+#include X X using std::cerr; X END-of-xanalyser/files/patch-src_pcm-cdr.cc echo x - xanalyser/files/patch-src_pcm-wav.cc sed 's/^X//' >xanalyser/files/patch-src_pcm-wav.cc << 'END-of-xanalyser/files/patch-src_pcm-wav.cc' X--- src/pcm-wav.cc.orig Mon Jul 3 16:05:03 2006 X+++ src/pcm-wav.cc Sun Oct 29 23:27:20 2006 X@@ -12,6 +12,8 @@ X #include X #include X #include X+#include X+#include X X using std::cerr; X X@@ -79,7 +81,7 @@ X } X X if (!check_header (header, fs.st_size)) { X- cerr << "error: Male formed header\n"; X+ cerr << "error: mal-formed header\n"; X return; X } X END-of-xanalyser/files/patch-src_pcm-wav.cc echo x - xanalyser/files/patch-src_Sample.cc sed 's/^X//' >xanalyser/files/patch-src_Sample.cc << 'END-of-xanalyser/files/patch-src_Sample.cc' X--- src/Sample.cc.orig Sun Oct 29 20:53:54 2006 X+++ src/Sample.cc Sun Oct 29 20:54:32 2006 X@@ -12,6 +12,8 @@ X #include X #ifdef __NetBSD__ X # include X+#elif __FreeBSD__ X+# include X #else X # include X #endif END-of-xanalyser/files/patch-src_Sample.cc echo x - xanalyser/files/patch-Makefile.in sed 's/^X//' >xanalyser/files/patch-Makefile.in << 'END-of-xanalyser/files/patch-Makefile.in' X--- src/Makefile.in.orig Sun Oct 29 21:51:38 2006 X+++ src/Makefile.in Sun Oct 29 21:52:16 2006 X@@ -188,7 +188,7 @@ X utils.cc utils.h \ X Trans.h X X-xanalyser_LDADD = -lXext -lXm -lXt -lSM -lICE -lXmu -lXpm -lX11 \ X+xanalyser_LDADD = -lXext ${MOTIFLIB} -lXt -lSM -lICE -lXmu -lXpm -lX11 \ X $(FFTWLDADD) $(ALSALDADD) X X EXTRA_DIST = XAnalyser.ad help.txt *.xpm END-of-xanalyser/files/patch-Makefile.in exit --- xanalyser-1.29.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: