From d09c754ec52a3f09f1cad6a34d12b9ef7283bc17 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 21 Nov 2008 19:31:34 -0200 Subject: firefox 3.0.4: use /usr/lib/mozilla/plugins to load plugins --- packages/mozilla/firefox/plugins-dir.patch | 14 ++++++++++++++ packages/mozilla/firefox_3.0.4.bb | 1 + 2 files changed, 15 insertions(+) create mode 100644 packages/mozilla/firefox/plugins-dir.patch diff --git a/packages/mozilla/firefox/plugins-dir.patch b/packages/mozilla/firefox/plugins-dir.patch new file mode 100644 index 0000000000..bc0dfe7202 --- /dev/null +++ b/packages/mozilla/firefox/plugins-dir.patch @@ -0,0 +1,14 @@ +--- mozilla/browser/app/mozilla.in.orig 2007-10-05 10:29:26.000000000 +0300 ++++ mozilla/browser/app/mozilla.in 2008-08-26 17:21:20.000000000 +0300 +@@ -54,6 +54,11 @@ + + moz_libdir=%MOZAPPDIR% + ++if test -d /usr/lib/mozilla/plugins; then ++ MOZ_PLUGIN_PATH="${MOZ_PLUGIN_PATH:+"$MOZ_PLUGIN_PATH:"}/usr/lib/mozilla/plugins" ++ export MOZ_PLUGIN_PATH ++fi ++ + # Use run-mozilla.sh in the current dir if it exists + # If not, then start resolving symlinks until we find run-mozilla.sh + found=0 diff --git a/packages/mozilla/firefox_3.0.4.bb b/packages/mozilla/firefox_3.0.4.bb index 2dce2e5549..83836d9117 100644 --- a/packages/mozilla/firefox_3.0.4.bb +++ b/packages/mozilla/firefox_3.0.4.bb @@ -12,6 +12,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/ file://jemalloc-tls.patch;patch=1 \ file://0001-Remove-Werror-from-build.patch;patch=1 \ file://0002-Fix-security-cross-compile-cpu-detection-error.patch;patch=1 \ + file://plugins-dir.patch;patch=1 \ " S = "${WORKDIR}/mozilla" -- cgit 1.2.3-korg