From owner-freebsd-ports@FreeBSD.ORG Sat Sep 13 11:41:31 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CB7A16A4BF for ; Sat, 13 Sep 2003 11:41:31 -0700 (PDT) Received: from posti4.jyu.fi (posti4.jyu.fi [130.234.5.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8EDE43FE1 for ; Sat, 13 Sep 2003 11:41:29 -0700 (PDT) (envelope-from erkkila@cc.jyu.fi) Received: from a.o.t (dynamic52.isdn.jyu.fi [130.234.232.116]) h8DIfO7O017046; Sat, 13 Sep 2003 21:41:24 +0300 Received: from a.o.t (a.o.t [127.0.0.1]) by a.o.t (8.12.9/8.12.9) with ESMTP id h8DIfleA006647; Sat, 13 Sep 2003 21:41:48 +0300 (EEST) (envelope-from je@a.o.t) Received: (from je@localhost) by a.o.t (8.12.9/8.12.9/Submit) id h8DIfkkl006646; Sat, 13 Sep 2003 21:41:46 +0300 (EEST) Date: Sat, 13 Sep 2003 21:41:46 +0300 From: Juha Erkkila To: Alexander =?iso-8859-1?Q?K=F6nig?= Message-ID: <20030913184145.GA5686@a.o.t> References: <20030910113540.GA29546@a.o.t> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030910113540.GA29546@a.o.t> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-milter (http://www.amavis.org/) at posti4.jyu.fi; Sat, 13 Sep 2003 21:41:26 +0300 X-Spam-Checked: by miltrassassin at posti4.jyu.fi; Sat, 13 Sep 2003 21:41:28 +0300 cc: ports@FreeBSD.org Subject: terminatorX-3.81 issues... (FreeBSD-port audio/terminatorx) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2003 18:41:31 -0000 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);