Bug 72173 - Please make it possible to build pulseaudio libs without the daemon
Summary: Please make it possible to build pulseaudio libs without the daemon
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: build-system (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-30 14:56 UTC by Michał Górny
Modified: 2018-07-30 10:28 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
build-sys: Add a configure flag for building only client libs (8.41 KB, patch)
2014-12-15 08:35 UTC, Arun Raghavan
Details | Splinter Review

Description Michał Górny 2013-11-30 14:56:35 UTC
When building PulseAudio for multilib systems, it is necessary to build multiple variants of the PA library but it is enough to build the daemon just for the native system.

Since the daemon and modules have a lot of dependencies, it would be really helpful for us if PulseAudio provided a switch that could turn off building them and the relevant configure checks.

If you agree with implementing something like this, I'd be happy to try to provide a patch for configure.ac and Makefiles.
Comment 1 Arun Raghavan 2013-11-30 20:38:21 UTC
If the patch isn't too intrusive, I'd be fine with this.
Comment 2 Michał Górny 2014-02-17 08:49:36 UTC
Just to be clear, what goes into 'too intrusive'? I'm afraid the configure.ac would need a major shuffle. A lot of checks would go under a big AS_IF(), and the relevant AM_CONDITIONALs would have to be moved below it. Would that be a problem?
Comment 3 Tanu Kaskinen 2014-02-19 09:12:49 UTC
I don't think a major shuffle in configure.ac is a problem.

Could you give details of what changes you plan for the configure script interface? Will there be a new --enable-daemon option that defaults to "yes"? Or something else?
Comment 4 Michał Górny 2014-02-19 13:46:13 UTC
Yes, I was specifically thinking about --enable-server or --enable-binaries, since I don't want to unnecessary build client executables as well. Then make all the configure checks and Makefile rules that aren't used for the libraries conditional to this switch.
Comment 5 Tanu Kaskinen 2014-02-19 19:29:25 UTC
--enable-binaries sounds good to me.
Comment 6 Arun Raghavan 2014-12-15 08:35:01 UTC
Created attachment 110846 [details] [review]
build-sys: Add a configure flag for building only client libs
Comment 7 GitLab Migration User 2018-07-30 10:28:57 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/455.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.