trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: June 2012

Re: [trinity-devel] krecord - not 'krec' -- which source does it come from?

From: Darrell Anderson <humanreadable@...>
Date: Fri, 29 Jun 2012 13:49:22 -0700 (PDT)
>   Looking at 3.5.10 on suse, there is an app called
> 'krecord' that is a handy little sound recorder that provides a frequency spectrum and
> input-level monitor window. I can't figure out what source this comes from or if
> it is in TDE. Any ideas?  Here is a screenshot:
> 
> http://www.3111skyline.com/dl/dt/trinity/ss/krecord.jpg

David,

I massaged the source code with the TQt layer, but I can't get the app to build.

Here are the converted sources:

http://humanreadable.nfshost.com/trinity/patches/

The tar.gz is the same source tree, but compressed for you to download.

For the build script, seems this is all that is needed:

export CFLAGS=$CPUOPT
export CXXFLAGS=$CPUOPT
export prefix=${PREFIX}
export TDEDIR=${PREFIX}
export QTDIR=${PREFIX}
make $NUMJOBS VERBOSE=1 || exit 1
make install DESTDIR=$PKG || exit 1

I get build errors about declarations:

kdedirs: debug: apps is /opt/trinity/share/applnk [default]
kdedirs: debug: data is /opt/trinity/share/apps [default]
kdedirs: debug: html is /opt/trinity/share/doc/HTML [default]
checking for libdir name ... lib
checking for soundcard.h ... no
checking for sys/soundcard.h ... yes
checking for sun/audioio.h ... no
checking for qt_wm_state in tqt-mt ... no

Make.config written, edit if needed

kdedirs: debug: apps is /opt/trinity/share/applnk [default]
kdedirs: debug: data is /opt/trinity/share/apps [default]
kdedirs: debug: html is /opt/trinity/share/doc/HTML [default]
  MOC     krecord.moc
  MOC     sound.moc
  MOC     fft.moc
krecord.h:41: Error: The declaration of the class "KFFT" contains signals or slots
   but no TQ_OBJECT macro.
krecord.h:68: Error: The declaration of the class "KLevel" contains signals or slots
   but no TQ_OBJECT macro.
krecord.h:120: Error: The declaration of the class "KRecord" contains signals or slots
   but no TQ_OBJECT macro.
  MOC     level.moc
sound.h:73: Error: The declaration of the class "SoundOptions" contains signals or slots
   but no TQ_OBJECT macro.
make: *** [krecord.moc] Error 1
make: *** Waiting for unfinished jobs....
make: *** [sound.moc] Error 1
fft.h:38: Error: The declaration of the class "FFTWindow" contains signals or slots
   but no TQ_OBJECT macro.
make: *** [fft.moc] Error 1
level.h:54: Error: The declaration of the class "LevelWindow" contains signals or slots
   but no TQ_OBJECT macro.
make: *** [level.moc] Error 1


Darrell