Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#7983 closed enhancement (fixed)

update pulseaudio to 0.9.21

Reported by: loswillios Owned by: mirko
Priority: normal Milestone: Features Paradise
Component: packages Version: Trunk
Keywords: pulseaudio libtool2 Cc:

Description

This ticket should track the efforts to update pulseaudio to a recent version.

Note that you need to build it with libtool2, currently default in openwrt is libtool1.

Also note that there's pulseaudio-0.9.22 with lots of fixes etc imminent.

Attachments (10)

openwrt_pulseaudio-0.9.21.zip (27.8 KB) - added by loswillios 7 years ago.
collection of random patches for pulseaudio-0.9.21 (not working)
patch-update-libtool-to-2.4.patch (5.7 KB) - added by loswillios 7 years ago.
update-libtool-to-2.4
patch-update-pulseaudio-to-0.9.21.patch (3.1 KB) - added by loswillios 7 years ago.
update-pulseaudio-to-0.9.21
patch-update-libiconv-to-1.13.1.patch (137.3 KB) - added by loswillios 7 years ago.
update-libiconv-to-1.13.1
patch-fix-libgdbm-build-with-libtool2.patch (1.3 KB) - added by loswillios 7 years ago.
fix-libgdbm-build-with-libtool2
patch-update-pulseaudio-to-0.9.21.2.patch (3.3 KB) - added by loswillios <loswillios@…> 7 years ago.
update-pulseaudio-to-0.9.21 v2
001-libtool2-compat.patch (1.7 KB) - added by christoph.gysin@… 7 years ago.
patch-fix-libgdbm-build-with-libtool2.patch
avahi-client.patch (2.4 KB) - added by Christoph Gysin <christoph.gysin@…> 7 years ago.
pulseaudio.patch (2.7 KB) - added by Christoph Gysin <christoph.gysin@…> 7 years ago.
Makefile (4.1 KB) - added by anonymous 7 years ago.
working pulseaudio makefile

Download all attachments as: .zip

Change History (22)

Changed 7 years ago by loswillios

collection of random patches for pulseaudio-0.9.21 (not working)

Changed 7 years ago by loswillios

update-libtool-to-2.4

Changed 7 years ago by loswillios

update-pulseaudio-to-0.9.21

Changed 7 years ago by loswillios

update-libiconv-to-1.13.1

Changed 7 years ago by loswillios

fix-libgdbm-build-with-libtool2

comment:1 Changed 7 years ago by loswillios

This patches work for me. You'll need uclibc-ntpl.

git clone --depth 1 git://nbd.name/openwrt
cd openwrt
git apply ~/patch-update-libtool-to-2.4.patch
./scripts/feeds update packages > /dev/null
cd feeds/packages/
patch -p0 <~/patch-update-pulseaudio-to-0.9.21.patch
patch -p0 <~/patch-update-libiconv-to-1.13.1.patch
patch -p0 <~/patch-fix-libgdbm-build-with-libtool2.patch
cd ../..

Changed 7 years ago by loswillios <loswillios@…>

update-pulseaudio-to-0.9.21 v2

Changed 7 years ago by christoph.gysin@…

patch-fix-libgdbm-build-with-libtool2.patch

comment:2 Changed 7 years ago by anonymous

libgdm fails to build on systems where /bin/sh is not bash, since libtool2 uses bashism.

Updated the libgdbm libtool2 compatibility patch.

Changed 7 years ago by Christoph Gysin <christoph.gysin@…>

comment:3 Changed 7 years ago by Christoph Gysin <christoph.gysin@…>

Added avahi-client package

Changed 7 years ago by Christoph Gysin <christoph.gysin@…>

comment:4 Changed 7 years ago by Christoph Gysin <christoph.gysin@…>

Updated pulseaudio to include support for avahi.

comment:5 Changed 7 years ago by treffer@…

There is a major problem with module loading.... pulseaudio puts helper libs (like libavahi-wrap.so or libprotocol-native.so) into /usr/lib/pulse-*/modules/, but the openwrt runtime linker doesn't find them there.

This breaks on runtime, usually with a segfault. It can easily be identified by strace as the library is looked up in /lib and /usr/lib only.

Changed 7 years ago by anonymous

working pulseaudio makefile

comment:6 Changed 7 years ago by anonymous

I've attached my Makefile, works with avahi and usb/alsa :-) Also note that you'll need dbus config files (copy them from a normal linux system) and the pulse/system.pa from the forum!

comment:7 Changed 7 years ago by mirko

switch to libtool2, libgdbm-fixes, iconv-fixes and updates to the pulseaudio-Makefile got committed.

PulseAudio is compiling fine right now, however - unfortunately that's currently the only platform i tested on - segfaulting on mips.

comment:8 follow-up: Changed 7 years ago by mirko

  • Owner changed from developers to mirko
  • Status changed from new to accepted

comment:9 in reply to: ↑ 8 Changed 7 years ago by Christoph Gysin <christoph.gysin@…>

Replying to mirko:
Segfaulting where? You'll need uclibc-0.9.32 for a start (fadvise), and disable a couple of fancy pulseaudio features (like resample-method = trivial). That way this works for me here (x86).

comment:10 Changed 7 years ago by loswillios

  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed in r25375. Please open another ticket for avahi-client.

comment:12 Changed 7 years ago by anonymous

Thanks. I opened a new ticket for avahi-client: /ticket/8929.html

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.