On Mon, Dec 1, 2014 at 8:34 AM, Michael DePaulo <mikedep333 at gmail.com> wrote: > On Mon, Dec 1, 2014 at 7:28 AM, Felipe Sateler <fsateler at debian.org> > wrote: > > On Mon, Dec 1, 2014 at 8:18 AM, David Henningsson > > <david.henningsson at canonical.com> wrote: > >> > >> > >> On 2014-11-29 20:49, Felipe Sateler wrote: > >>> > >>> On Fri, Nov 21, 2014 at 12:05 PM, David Henningsson > >>> <david.henningsson at canonical.com> wrote: > >>>> > >>>> Hi! > >>>> > >>>> PulseAudio 6.0 rc1 has now been released - compared to 5.0, we have > over > >>>> 300 > >>>> patches contributed by 41 people, and that's just the tip of the > iceberg. > >>>> All the millions of you who are using it, discussing it with your > friends > >>>> or > >>>> random people who are wrong on the Internet [1], reporting bugs, > >>>> answering > >>>> questions on support forums, IRC channels, Facebook etc, or in other > ways > >>>> have been caring for PulseAudio, you have all helped shape PulseAudio > >>>> what > >>>> it is today. Thank you! > >>>> > >>>> Some of the new features include: > >>>> > >>>> * Bluez 5 HSP (headset profile) support, both with and without oFono > >>>> * SystemD socket activation support > >>>> * Better support for multichannel and 2.1 profiles > >>>> * Protocol optimisations > >>> > >>> > >>> I believe this line includes the srbchannel api. > >>> The srbchannel test fails on freebsd with a sigsev, because the test > >>> does not check that srbchannel_new succeeds before using it. > >>> > >>> Maybe the srbchannel test should be disabled when eventfd is not > present? > >> > >> > >> The srbchannel test should fail if the srbchannel is not available, so I > >> think it makes most sense to disable it on architectures without > >> srbchannels. > >> > >> Would you mind writing a patch for that? I'm a little unsure exactly > when to > >> disable it (given the different FreeBSD variants). > > > > AFAIK, eventfd is a linux-only feature. But srbchannel relies on > > eventfd, so we do not need to check for a given OS in the test, but > > rather to the availability of eventfd: > > > > diff --git a/src/tests/srbchannel-test.c b/src/tests/srbchannel-test.c > > index ce5930b..1c347b2 100644 > > --- a/src/tests/srbchannel-test.c > > +++ b/src/tests/srbchannel-test.c > > @@ -99,6 +99,7 @@ START_TEST (srbchannel_test) { > > pa_log_debug("And now the same thing with srbchannel..."); > > > > sr1 = pa_srbchannel_new(pa_mainloop_get_api(ml), mp); > > +#ifdef HAVE_SYS_EVENTFD_H > > pa_srbchannel_export(sr1, &srt); > > pa_pstream_set_srbchannel(p1, sr1); > > sr2 = pa_srbchannel_new_from_template(pa_mainloop_get_api(ml), > &srt); > > @@ -106,6 +107,9 @@ START_TEST (srbchannel_test) { > > > > packet_test(250, 5, ml, p1, p2); > > packet_test(10, 1234567, ml, p1, p2); > > +#else > > + fail_unless(sr1 == NULL); > > +#endif > > > > pa_pstream_unref(p1); > > pa_pstream_unref(p2); > > > > > > -- > > > > Saludos, > > Felipe Sateler > [...] > > Thank you everyone. > > I will test a win32 build ASAP. > > For reference on my 5.0 build, see: > > http://lists.freedesktop.org/archives/pulseaudio-discuss/2014-March/020176.html > > -Mike DePaulo > win32 Package Maintainer for the X2Go Project > Error during cross-compilation with mingw32: revision 13a3daa (2014-11-29) [ 61s] /home/abuild/rpmbuild/BUILD/pulseaudio/src/pulsecore/core-util.c:1820: undefined reference to `getuid' [ 61s] /home/abuild/rpmbuild/BUILD/pulseaudio/src/pulsecore/core-util.c:1821: undefined reference to `getuid' On a positive note, I managed to get json-c 0.12 to compile with mingw32. PulseAudio now requires 0.11 or later. https://build.opensuse.org/package/show/home:mikedep333:branches:windows:mingw:win32/mingw32-json-c -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20141202/4eeae296/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: 13a3daa-mingw32.log Type: application/octet-stream Size: 454002 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20141202/4eeae296/attachment-0001.obj>