We need to dist the platform/audio/resources and add a case in the GTK AudioBus implementation for accessing those in the uninstalled case.
Created attachment 116585 [details] proposed patch
Comment on attachment 116585 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=116585&action=review > Source/WebCore/platform/audio/gtk/AudioBusGtk.cpp:41 > + absoluteFilename.set(g_build_filename(UNINSTALLED_AUDIO_RESOURCES_DIR, filename.get(), NULL)); Maybe it's better to pass this as an environment variable similar to what we do for other variables like this.
Comment on attachment 116585 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=116585&action=review >> Source/WebCore/platform/audio/gtk/AudioBusGtk.cpp:41 >> + absoluteFilename.set(g_build_filename(UNINSTALLED_AUDIO_RESOURCES_DIR, filename.get(), NULL)); > > Maybe it's better to pass this as an environment variable similar to what we do for other variables like this. Hum I grepped around for getenv and failed to encounter such similar situation. That env var would be set by run-launcher?
They are typically in WebKit. One example is WEBKIT_INSPECTOR_PATH.
Committed r101644: <http://trac.webkit.org/changeset/101644>