Closed Bug 741289 Opened 8 years ago Closed 8 years ago
Sydneyaudio does not include MOZ
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.1) Gecko/20100101 Firefox/10.0.1 Build ID: 20120209214325 Steps to reproduce: Crosscompiled Mozilla embedded for ARM. Actual results: Error: alsa/asoundlib.h not found, coming from sydneyaudio/src compilation. Expected results: MOZ_ALSA_CFLAGS should be a dependency in libsydneyaudio make, as it is a dependent component. However, current autoconf.mk, as well as config.in, only "check" for ALSA, but do not pass it on. Hence if <CROSSCOMPILEROOT>/usr/include is not in the CFLAGS path, libsydneyaudio make fails. Most times we typically add <CROSSCOMPILEROOT>/usr/include globally to CFLAGS and hence this goes unnoticed. Attached patchset to fix this.
Added :glandium" or ":ted" per inputs from :romaxa
Comment on attachment 611512 [details] [diff] [review] Unified patch for changes to enable passing of MOZ_ALSA_CFLAGS One more thing, In order to simplify patch integration, it is better to generate patch with hg export, or hg diff, also use -p -U 8 And add to header Bug number and description. See for example https://bug738865.bugzilla.mozilla.org/attachment.cgi?id=609019
In order to simplify patch integration, generated patch with hg diff, also used -p -U 8 And added to header Bug number and description.
Comment on attachment 611759 [details] [diff] [review] hg patch updated per romaxa's comments Review of attachment 611759 [details] [diff] [review]: ----------------------------------------------------------------- > MOZ_ENABLE_LIBNOTIFY = @MOZ_ENABLE_LIBNOTIFY@ > > MOZ_ALSA_LIBS = @MOZ_ALSA_LIBS@ >+MOZ_ALSA_CFLAGS = @MOZ_ALSA_CFLAGS@ Make this line indented with line above pls Also I'm not able to review configure part, see https://wiki.mozilla.org/Modules/Activities#Module_Ownership_System Ask review from glandium OR ted, both are not needed for this patch
Attachment #611788 - Flags: review?(romaxa) → feedback+
Attachment #611788 - Flags: review?(mh+mozilla) → review+
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → mozilla14
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.