GNOME Bugzilla – Bug 673570
gtk-vnc must have configure option for enabling/disabling pulseaudio support
Last modified: 2012-04-06 09:45:57 UTC
Created attachment 211381 [details] [review] Patch adding --with-pulseaudio configure option I'm using and developing Gentoo and here we like all optional features to be controllable by configure option. gtk-vnc can be compiled without pulseaudio support when it's not installed, but it can't be forced not to compile it when it _is_ installed, so i made a patch for you that implements --with-pulseaudio option, which will build pulseaudio support when the option is not given and pulseaudio available. Please consider merging it into sources and putting into next release.
Created attachment 211451 [details] [review] a prettier (IMHO) patch Here is an (IMHO) more elegant patch for doing this, which follows the usual yes/no/check convention for --with-foo configure arguments, with check being the default, to match current configure behavior. Also, just to be clear, the reason we want such a patch in Gentoo because we want to be able to, for example, build gtk-vnc on a machine that has pulseaudio installed and then deploy the package on a different machine that does not have pulseaudio installed, and therefore need a way to optionally disable pulseaudio auto-detection at configure time.
Thanks for the patches, I have applied Alexandre's version to GIT master.