terminatorX-3.81 issues... (FreeBSD-port audio/terminatorx)
Juha Erkkila
erkkila at cc.jyu.fi
Sat Sep 13 11:41:31 PDT 2003
On Wed, Sep 10, 2003 at 02:35:40PM +0300, Juha Erkkila wrote:
> terminatorX doesn't appear to work if one hasn't /proc mounted.
yup, and while i'm at it, there seems to be some problem with
audio file importing too, more exactly when using libaudiofile. i can't
say where this comes from, but terminatorX segfaults if trying to import
a file, with the following gdb backtrace (head only):
#0 0x080655e7 in gtk_tx_prepare (widget=0x83c0700) at tX_widget.c:302
#1 0x0806514a in gtk_tx_set_data (tx=0x83c0700, wavdata=0x85e0000,
wavsamples=220844) at tX_widget.c:203
#2 0x0807ee66 in gui_update_display(vtt_class*) (vtt=0x83c5000)
at tX_vttgui.cc:1217
#3 0x08070166 in vtt_class::load_file(char*) (this=0x83c5000,
fname=0xbfbfe2c0 "/home/je/test.wav") at tX_vtt.cc:274
#4 0x0807963e in load_part(char*, vtt_class*) (
newfile=0xbfbfe2c0 "/home/je/test.wav", vtt=0x83c5000) at
tX_vttgui.cc:141
#5 0x08079905 in do_load_file(_GtkWidget*, vtt_class*) (wid=0x854b0c8,
vtt=0x83c5000) at tX_vttgui.cc:220
#6 0x2865f9c7 in g_cclosure_marshal_VOID__VOID ()
from /usr/local/lib/libgobject-2.0.so.200
#7 0x2864cbf1 in g_closure_invoke () from
/usr/local/lib/libgobject-2.0.so.200
#8 0x2865f2ed in signal_emit_unlocked_R ()
from /usr/local/lib/libgobject-2.0.so.200
#9 0x2865e664 in g_signal_emit_valist ()
from /usr/local/lib/libgobject-2.0.so.200
i suspect the problem is somewhere in src/tX_audiofile.cc:707 (
tX_audio_error tx_audiofile::load_af() ) . if no one more knowledgable
than me knows how to fix this, or can tell me it's just me, i'd
recommend disabling the libaudiofile support in the FreeBSD-port,
because after these two "fixes" the program works for me pretty well.
(note: my libaudiofile is of version 0.2.3). here's a patch for the
port:
diff -ruN /usr/ports/audio/terminatorx/Makefile terminatorx/Makefile
--- /usr/ports/audio/terminatorx/Makefile Mon Sep 1 17:36:22 2003
+++ terminatorx/Makefile Sat Sep 13 21:04:59 2003
@@ -15,8 +15,8 @@
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa \
scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
-LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile \
- lrdf.1:${PORTSDIR}/textproc/liblrdf
+LIB_DEPENDS= lrdf.1:${PORTSDIR}/textproc/liblrdf
+ # audiofile.0:${PORTSDIR}/audio/libaudiofile
USE_BZIP2= yes
USE_X_PREFIX= yes
@@ -25,7 +25,11 @@
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CONFIGURE_ARGS= --disable-alsa --disable-jack \
+
+# there were some issues in importing files with libaudiofile, so at the
+# moment the support for it has been disabled
+
+CONFIGURE_ARGS= --disable-alsa --disable-jack --disable-audiofile \
--with-docdir="${PREFIX}/share/gnome"
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
diff -ruN /usr/ports/audio/terminatorx/files/patch-src::tX_mastergui.cc terminatorx/files/patch-src::tX_mastergui.cc
--- /usr/ports/audio/terminatorx/files/patch-src::tX_mastergui.cc Thu Jan 1 02:00:00 1970
+++ terminatorx/files/patch-src::tX_mastergui.cc Wed Sep 10 14:45:00 2003
@@ -0,0 +1,12 @@
+--- src/tX_mastergui.cc Wed Sep 10 14:16:36 2003
++++ src/tX_mastergui.cc Wed Sep 10 14:17:00 2003
+@@ -222,8 +222,8 @@
+ gtk_label_set_text(GTK_LABEL(used_mem), buffer);
+ }
+ }
+- }
+ fclose(procfs);
++ }
+
+ sprintf(buffer, "%i", vtt_class::vtt_amount);
+ gtk_label_set_text(GTK_LABEL(no_of_vtts), buffer);
More information about the freebsd-ports
mailing list