Re: [LAU] New release of zita-at1

From: Ken Restivo <ken@email-addr-hidden>
Date: Sat Jan 08 2011 - 00:49:43 EET

On Fri, Dec 10, 2010 at 07:55:37PM +0100, fons@email-addr-hidden wrote:
> An update of zita-at1 is available at the usual place:
>
> <http://www.kokkinizita.net/linuxaudio/downloads>.
>
> Changes:
>
> * The resampler now uses cubic interpolation (at twice
> the sample rate for 44.1 and 48 kHz), giving even
> cleaner output.
>
> * The offset control now has 400 steps of exactly 1
> cent (1/100 semitone) each, and displays the set
> value when touched. Default mousewheel step is 10
> cents, 1 cent with Shift pressed.
>

Hmm. Well I tried to build it, and came up short:

g++ -O2 -ffast-math -Wall -MMD -MP -DVERSION=\"0.2.1\" -DSHARED=\"/usr/local/share/zita-at1\" -march=native -I/usr/X11R6/include `freetype-config --cflags` -c -o zita-at1.o zita-at1.cc
In file included from button.h:27,
                 from styles.h:26,
                 from zita-at1.cc:28:
/usr/include/cairo/cairo-xlib.h:97:3: error: #error Cairo was not compiled with support for the xlib backend
In file included from button.h:26,
                 from styles.h:26,
                 from zita-at1.cc:28:
/usr/include/cairo/cairo.h:44: error: 'CAIRO_BEGIN_DECLS' does not name a type
/usr/include/cairo/cairo.h:59: error: expected constructor, destructor, or type conversion before 'const'
/usr/include/cairo/cairo.h:305: error: 'cairo_public' does not name a type
/usr/include/cairo/cairo.h:308: error: 'cairo_public' does not name a type
/usr/include/cairo/cairo.h:311: error: expected constructor, destructor, or type conversion before 'void'
/usr/include/cairo/cairo.h:314: error: expected constructor, destructor, or type conversion before 'unsigned'
/usr/include/cairo/cairo.h:317: error: expected constructor, destructor, or type conversion before 'void'

This is on Debian Lemmy. Some Googling indicated to me that I need to first instal the libx11-xcb1 package, then rebuild libcairo. Great. So I did that.

The debian/rules for libcairo say:
--enable-xlib --enable-pdf --enable-ps --enable-svg \
--disable-glitz --enable-xcb --enable-directfb \
--enable-png

So, it looks like that stuff is enabled (this is 1.6.4-7).

But then, after installing the new libcairo, I get the same error.

I dunno. If it's a choice between massive system upgradeage, or hacking the zita-at1 code to make it a LADSPA plugin (I don't need a GUI), I might try the latter.

-ken
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sat Jan 8 04:15:02 2011

This archive was generated by hypermail 2.1.8 : Sat Jan 08 2011 - 04:15:02 EET