[oe-commits] Otavio Salvador : firefox 3.0.4: use /usr/lib/mozilla/ plugins to load plugins

GIT User account git at amethyst.openembedded.net
Fri Nov 21 21:48:49 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: d09c754ec52a3f09f1cad6a34d12b9ef7283bc17
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d09c754ec52a3f09f1cad6a34d12b9ef7283bc17

Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Fri Nov 21 19:31:34 2008 -0200

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(+), 0 deletions(-)

diff --git a/packages/mozilla/firefox/plugins-dir.patch b/packages/mozilla/firefox/plugins-dir.patch
new file mode 100644
index 0000000..bc0dfe7
--- /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 2dce2e5..83836d9 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"





More information about the Openembedded-commits mailing list