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.
If the patch isn't too intrusive, I'd be fine with this.
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?
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?
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.
--enable-binaries sounds good to me.
Created attachment 110846 [details] [review] build-sys: Add a configure flag for building only client libs
-- 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.