]> git.pld-linux.org Git - packages/chromium-browser.git/blob - plugin-searchdirs.patch
up to 34.0.1847.132
[packages/chromium-browser.git] / plugin-searchdirs.patch
1 - search plugins from ~/.mozilla plugins and $MOZ_PLUGIN_PATH, so in short, plugins are searched from:
2 1. %{_libdir}/%{name}/plugins
3 2. $MOZ_PLUGIN_PATH (colon separated)
4 3. ~/.mozilla/plugins
5
6 --- chromium-browser-10.0.632.0~svn20110107r70714/content/common/plugin_list_posix.cc~  2010-12-22 04:02:37.000000000 +0100
7 +++ chromium-browser-10.0.632.0~svn20110107r70714/content/common/plugin_list_posix.cc   2011-01-07 17:41:38.193692743 +0100
8 @@ -146,6 +146,8 @@
9    if (!home.empty())
10      plugin_dirs->push_back(home.Append(".mozilla/plugins"));
11  
12 +  // in PLD Linux we want to search only Chrome specific dirs.
13 +#if 0
14    // 3) NS_SYSTEM_PLUGINS_DIR:
15    // This varies across different browsers and versions, so check 'em all.
16    plugin_dirs->push_back(FilePath("/usr/lib/browser-plugins"));
17 @@ -161,6 +163,7 @@
18    plugin_dirs->push_back(FilePath("/usr/lib64/firefox/plugins"));
19    plugin_dirs->push_back(FilePath("/usr/lib64/xulrunner-addons/plugins"));
20  #endif  // defined(ARCH_CPU_64_BITS)
21 +#endif // PLD Linux
22  #endif  // !defined(OS_CHROMEOS)
23  }
24  
This page took 0.042668 seconds and 3 git commands to generate.