From owner-freebsd-ports@FreeBSD.ORG Wed Oct 31 11:01:03 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E62795EE for ; Wed, 31 Oct 2012 11:01:03 +0000 (UTC) (envelope-from gabor@zahemszky.hu) Received: from default-smtp.integrity.hu (default-smtp.integrity.hu [212.52.165.203]) by mx1.freebsd.org (Postfix) with ESMTP id 9618E8FC17 for ; Wed, 31 Oct 2012 11:01:02 +0000 (UTC) Received: by smtp.integrity.hu (Postfix, from userid 10000) id 63C7213462C3; Wed, 31 Oct 2012 11:55:38 +0100 (CET) Received: from webmail2.integrity.hu (mail-fe-1.integrity.hu [10.1.64.120]) (Authenticated sender: gabor@zahemszky.hu) by smtp.integrity.hu (Postfix) with ESMTPA id CBFDB134612C; Wed, 31 Oct 2012 11:55:37 +0100 (CET) Received: from JH2omnBab4MhQD17XeFHvXLFzRfVr7xgLK8QOfguMX2S04dGQzdE9A== (dpk8SHErPKBoaAhLlxPZt17PpCcVBtCA) by webmail2.integrity.hu with HTTP (HTTP/1.1 POST); Wed, 31 Oct 2012 11:55:37 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 31 Oct 2012 11:55:37 +0100 From: gabor@zahemszky.hu To: Subject: interesting bug in multimedia/recordmydesktop port Message-ID: X-Sender: gabor@zahemszky.hu User-Agent: Roundcube Webmail/0.5.1 X-Virus-Scanned: clamav-milter 0.97.5 at mail-autosubmit X-Virus-Status: Clean X-Mailman-Approved-At: Wed, 31 Oct 2012 11:27:41 +0000 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2012 11:01:04 -0000 Hi! Today I tried the recordmydesktop package / port on FreeBSD. It was a bit disappointing, that on FreeBSD jack is a forced dependency of it. But it was a bigger surprise, that the command ==== $ recordmydesktop --print-config recordMyDesktop was compiled with the following options: Jack :Disabled Default Audio Backend :OSS ==== showed that jack was disabled. As I downloaded the 9.0 package, I tried to recompile. (Actually it's a machine, running 9.0-p3, but with not-too-old ports - updated with portsnap) And got the same result: ==== Vasarely# cd work/recordmydesktop-0.3.8.1/ Vasarely# fgrep -i jack config.log $ ./configure --enable-oss=yes --enable-jack=yes --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=i386-portbld-freebsd9.0 configure:8657: checking for jack_activate in -ljack configure:8692: cc -o conftest -I/usr/local/include -O2 -pipe -fno-strict-aliasing conftest.c -ljack -pthread -ltheora -logg -lvorbisenc -lvorbisfile -lvorbis -lXdamage -lXfixes -lXext -lX11 -lSM -lICE -lz -lm -L/usr/local/lib >&5 ac_cv_lib_jack_jack_activate=yes ==== So the configuration phase found it, but at the end, the generated binary doesn't know about is: ==== Vasarely# src/recordmydesktop --print-config recordMyDesktop was compiled with the following options: Jack :Disabled Default Audio Backend :OSS ==== So I think, it would be better to disable the jack dependency from the default configuration with a small modification, like replacing the --enable-jack=yes withe the --enable-jack=no in the port Makefile, and deleting jack from the LIB_DEPENDS line, too. Bye, Gabor ZAHEMSZKY < Gabor at Zahemszky dot hU >