From owner-freebsd-multimedia@FreeBSD.ORG Tue Dec 18 20:53:54 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 297AC8E3 for ; Tue, 18 Dec 2012 20:53:54 +0000 (UTC) (envelope-from Mathias.Picker@virtual-earth.de) Received: from www94.your-server.de (www94.your-server.de [213.133.104.94]) by mx1.freebsd.org (Postfix) with ESMTP id B6AD48FC0C for ; Tue, 18 Dec 2012 20:53:53 +0000 (UTC) Received: from [92.230.240.176] (helo=[192.168.178.33]) by www94.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.74) (envelope-from ) id 1Tl4Ah-0000Xv-7X; Tue, 18 Dec 2012 21:53:51 +0100 Subject: Re: Welcome to Ardour 3 Beta 5 for FreeBSD From: Mathias Picker To: Marcel Bonnet In-Reply-To: References: <1355846645.71711.9.camel@mp> <1355848235.71711.14.camel@mp> <1355848782.71711.17.camel@mp> <1355849879.71711.19.camel@mp> Content-Type: text/plain; charset="UTF-8" Organization: virtual earth GmbH Date: Tue, 18 Dec 2012 21:53:47 +0100 Message-ID: <1355864027.71711.30.camel@mp> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Authenticated-Sender: Mathias.Picker@virtual-earth.de X-Virus-Scanned: Clear (ClamAV 0.97.5/15906/Tue Dec 18 20:38:50 2012) Cc: freebsd-multimedia@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 20:53:54 -0000 Am Dienstag, den 18.12.2012, 18:33 -0200 schrieb Marcel Bonnet: > On 18 December 2012 14:57, Mathias Picker > wrote: > > Am Dienstag, den 18.12.2012, 17:39 +0100 schrieb Mathias Picker: > >> Am Dienstag, den 18.12.2012, 17:30 +0100 schrieb Mathias Picker: > >> > Am Dienstag, den 18.12.2012, 17:04 +0100 schrieb Mathias Picker: > >> > > Am Dienstag, den 18.12.2012, 12:19 -0200 schrieb Marcel Bonnet: > >> > > > Hi, folks. > >> > > > > >> > > > == Welcome to Ardour 3 Beta 5 for FreeBSD == > >> > > > > >> > > > I'm announcing a port for Ardour 3 Beta 5 (revision 13072), the last > >> > > > beta before the 3.0-RELEASE. > >> > > > >> > > Wow, thanks! Just in time for Xmas. > >> > > > > >> > > > First, thanks to Juergen Lock for his Ardour 3 Beta 1 port. I evolved on > >> > > > the same Makefile and patches. > >> > > > > >> > > > == Notes == > >> > > [snip] > >> > > > >> > > Before I comment on the other ports let me try to build ardour. > >> > > > >> > > First, I needed to add -lstdc++ for waf to compile the boost test, and > >> > > now I'm missing sratom, which is not in ports and wasn't needed for > >> > > Ardour3b1. > >> > > > >> > > Do you have it? > >> > > >> > OK, I build it myself. > >> > > >> > Now I get: > >> > > >> > [ 55/756] cxx: libs/evoral/src/SMF.cpp -> > >> > build/libs/evoral/src/SMF.cpp.2.o > >> > clang: warning: argument unused during compilation: '-rdynamic' > >> > ../libs/vamp-sdk/src/vamp-hostsdk/PluginHostAdapter.cpp:41:2: error: > >> > Unexpected version of Vamp SDK header > >> > included > >> > #error Unexpected version of Vamp SDK header included > >> > ^ > >> > 1 error generated. > >> > > >> > My vamp: > >> > > >> > mp# pkg info|grep vamp > >> > vamp-plugin-sdk-2.3 Vamp audio analysis plugin SDK > >> > > >> > Ardour ships with it's own vamp library and seems to get in trouble > >> > here. I do not yet know how to work around it, will investigate. > >> > Any hints welcome. > >> > >> Indeed, after moving my system vamp out of the way temporarily, the > >> build resumes, but now stops at: > >> > >> In file included > >> from /usr/home/mathiasp/Developer/Ardour3/ports/ardour/work/ardour-3.0-beta5-r13072/libs/evoral/evoral/Sequence.hpp:34: > >> /usr/home/mathiasp/Developer/Ardour3/ports/ardour/work/ardour-3.0-beta5-r13072/libs/evoral/evoral/PatchChange.hpp:126:7: error: > >> reference to non-static member function must be called; did you > >> mean to call it with no arguments? > >> if (bank != o.bank()) { > > > > Changing this to bank() != o.bank() resumes the build... > > > >> ^~~~ > >> () > >> 1 error generated. > >> Waf: Leaving directory > >> `/usr/home/mathiasp/Developer/Ardour3/ports/ardour/work/ardour-3.0-beta5-r13072/build' > >> Build failed > >> > >> > > > > But now: > > > > [195/756] cxx: libs/ardour/thread_buffers.cc -> > > build/libs/ardour/thread_buffers.cc.1.o > > clang: warning: argument unused during compilation: '-rdynamic' > > ../libs/ardour/session_vst.cc:62:69: error: cast from pointer to smaller > > type 'int' loses information > > ...("am callback 0x%x, opcode = %d, plugin = \"%s\" ", (int) > > pthread_self(), opcode, plug->name()); > > > > ^~~~~~~~~~~~~~~~~~~~ > > ../libs/ardour/session_vst.cc:66:51: error: cast from pointer to smaller > > type 'int' loses information > > SHOW_CALLBACK ("am callback 0x%x, opcode = %d", (int) > > pthread_self(), opcode); > > > > ^~~~~~~~~~~~~~~~~~~~ > > 2 errors generated. > > > > :( > > > > > >> Any ideas, tips, help? > >> > >> I'm now off to catch my train, and tomorrow I'll probably offline, but > >> maybe I'll look into this in the train ;) > >> > >> Cheers, Mathias > >> > >> > >> > > >> > Cheers, Mathias > >> > > >> > > >> > > > >> > > As for lv2/lv2core, I would ask the lv2core maintainer how he would like > >> > > to handle this. > >> > > > >> > > Cheers, Mathias > >> > > > >> > > _______________________________________________ > >> > > freebsd-multimedia@freebsd.org mailing list > >> > > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > >> > > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org" > >> > > >> > > >> > _______________________________________________ > >> > freebsd-multimedia@freebsd.org mailing list > >> > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > >> > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org" > >> > >> > >> _______________________________________________ > >> freebsd-multimedia@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > >> To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org" > > > > > > Hi, Mathias! Thanks. > And yes, a Xmas version was a goal for me! > About the erros above... Hum, I would like very much to help you but I > have no idea. The beta 1 I couldn't compile and this beta 5 are making > me understand why is so hard a ports maintainer's life! > But don't give up. :) It's actually pretty simple, change the cast to intptr_t (int is platform specific, inptr_t not) and adjust the format string. I'm no C expert, but I guess this should work, at least it compiles: SHOW_CALLBACK ("am callback 0x%" PRIxPTR", opcode = %d, plugin = \"%s\" ", (intptr_t) pthread_self(), opcode, plug->name()); > At home I'll take a look and upload the sratom port. I think you're > right, I forgot it. > > Cheers, I have now build ardour3b5 and can start it, load a b1 file, but mouse button 1 does not work as expected. It does not activate play or stop, and clicking on some ui elements a menu pops up, just as if some modifier is pressed at the same time - but it's not. Very puzzling. Ardour hangs when closing. Thanks for your work, at least it compiles now! I may go over your other ports after xmas, they still need some work, let's see if we can get this up and running! Cheers, Mathias