[pulseaudio-tickets] [Bug 55180] daemon shouldn't depend on libpulse

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 2 04:18:39 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=55180

--- Comment #9 from Pierre Ossman <pierre-bugzilla at ossman.eu> ---
This has been lingering a while, but I'd like to get this sorted out. :)

As I see it, there are three options:

1. Keep disk and runtime size small

This is the original approach, and what my earlier patch does. I.e.:

 - Clients use libpulse and libpulsecommon
 - Servers use libpulsecore and libpulsecommon

IOW, nothing the client needs in libpulsecore and nothing the server needs in
libpulse.

2. Keep disk size small, and less confusing structure

 - Clients use libpulse
 - Servers use libpulse and libpulsecore

Basically the same as 1, just that libpulsecommon is merged with libpulse.
Nothing will really change for clients, but servers will be forced to load a
slightly larger library. 

(And only shipping the server still means shipping some client stuff)

3. Protect API

 - Clients use libpulse
 - Servers use libpulsecore

Here we duplicate code between libpulse and libpulsecore, but gain the ability
to lock down the exported symbols in libpulse so that no one abuses the API.



I can be prepared to implement this. We just need to decide on which one. :)
3 seemed to be the preferred from David at least?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20150702/adcf45cb/attachment.html>


More information about the pulseaudio-bugs mailing list