Package: pulseaudio Severity: important Version: 0.9.13-1 Tags: patch User: [EMAIL PROTECTED] Usertags: kfreebsd
Hi, the experimental version fails to build on GNU/kFreeBSD, it needs following changes: 1) restrict build-depends on libbluetooth-dev only for linux architectures 2) updated generation of pulseaudio.install.kfreebsd-* files to reflect adddition of libbluetooth-dev on linux architecturs 3) do not call pthread_setaffinity_np() in src/tests/rtstutter.c, as pthread_setaffinity_np() is not available in pthread add-on used on GNU/kFreeBSD (the same problem might have also hppa). Thanks in advance Petr diff -u pulseaudio-0.9.13/debian/control pulseaudio-0.9.13/debian/control --- pulseaudio-0.9.13/debian/control +++ pulseaudio-0.9.13/debian/control @@ -11,7 +11,8 @@ libasound2-dev (>= 1.0.17) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libavahi-client-dev, libjack0.100.0-dev, libwrap0-dev, liblircclient-dev, libgconf2-dev, libhal-dev, libasyncns-dev, - libatomic-ops-dev, libspeexdsp-dev (>= 1.2~rc1), libbluetooth-dev (>= 3.0), + libatomic-ops-dev, libspeexdsp-dev (>= 1.2~rc1), + libbluetooth-dev (>= 3.0) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libpolkit-dbus-dev, libgdbm-dev, intltool Standards-Version: 3.7.3 Vcs-Git: git://git.debian.org/git/pkg-pulseaudio/pulseaudio.git diff -u pulseaudio-0.9.13/debian/rules pulseaudio-0.9.13/debian/rules --- pulseaudio-0.9.13/debian/rules +++ pulseaudio-0.9.13/debian/rules @@ -6,10 +6,10 @@ include /usr/share/cdbs/1/rules/patchsys-quilt.mk common-build-arch:: - grep -v -e alsa -e evdev debian/pulseaudio.install > \ - debian/pulseaudio.install.kfreebsd-i386 - grep -v -e alsa -e evdev debian/pulseaudio.install > \ - debian/pulseaudio.install.kfreebsd-amd64 + grep -v -e alsa -e evdev -e bluetooth -e proximity-helper \ + debian/pulseaudio.install > debian/pulseaudio.install.kfreebsd-i386 + grep -v -e alsa -e evdev -e bluetooth -e proximity-helper \ + debian/pulseaudio.install > debian/pulseaudio.install.kfreebsd-amd64 common-install-arch:: find $(DEB_DESTDIR) -name "*.la" -delete only in patch2: unchanged: --- pulseaudio-0.9.13.orig/src/tests/rtstutter.c +++ pulseaudio-0.9.13/src/tests/rtstutter.c @@ -53,8 +53,9 @@ CPU_ZERO(&mask); CPU_SET((size_t) PA_PTR_TO_INT(p), &mask); +#ifdef __linux__ pa_assert_se(pthread_setaffinity_np(pthread_self(), sizeof(mask), &mask) == 0); - +#endif for (;;) { struct timespec now, end; uint64_t nsec; _______________________________________________ Pkg-pulseaudio-devel mailing list Pkg-pulseaudio-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-pulseaudio-devel