summaryrefslogtreecommitdiff
path: root/libre/epiphany/pluginsdir.diff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-08-13 21:40:12 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-08-13 21:40:12 -0500
commit1383bf7c0ad6ff186e489018b5468a7071faf626 (patch)
tree9559e4bc7a07724f0193c46de487090a1dd750c7 /libre/epiphany/pluginsdir.diff
parentfe73c6726d92855b276f3dd78f7c64608091494a (diff)
epiphany-3.20.3-2.parabola1: Create a plugin dir that only Epiphany will find
Diffstat (limited to 'libre/epiphany/pluginsdir.diff')
-rw-r--r--libre/epiphany/pluginsdir.diff28
1 files changed, 28 insertions, 0 deletions
diff --git a/libre/epiphany/pluginsdir.diff b/libre/epiphany/pluginsdir.diff
new file mode 100644
index 000000000..f91ee4527
--- /dev/null
+++ b/libre/epiphany/pluginsdir.diff
@@ -0,0 +1,28 @@
+ embed/Makefile.am | 1 +
+ embed/ephy-embed-shell.c | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git c/embed/Makefile.am i/embed/Makefile.am
+index 8969e1b59e252c19..7c3225b02c2ec5fb 100644
+--- c/embed/Makefile.am
++++ i/embed/Makefile.am
+@@ -65,6 +65,7 @@ libephyembed_la_CPPFLAGS = \
+ libephyembed_la_CFLAGS = \
+ -DDATADIR="\"$(datadir)\"" \
+ -DSHARE_DIR=\"$(pkgdatadir)\" \
++ -DEPHY_PLUGINS_DIR=\""$(libdir)/epiphany/plugins"\" \
+ -DEPHY_WEB_EXTENSIONS_DIR=\""$(libdir)/epiphany/$(EPIPHANY_MAJOR)/web-extensions"\" \
+ $(DEPENDENCIES_CFLAGS) \
+ $(CODE_COVERAGE_CFLAGS) \
+diff --git c/embed/ephy-embed-shell.c i/embed/ephy-embed-shell.c
+index cd74f7d144b37ed3..624020f3c39383c6 100644
+--- c/embed/ephy-embed-shell.c
++++ i/embed/ephy-embed-shell.c
+@@ -671,6 +671,7 @@ ephy_embed_shell_create_web_context (EphyEmbedShell *shell)
+ g_free (cache_dir);
+
+ priv->web_context = webkit_web_context_new_with_website_data_manager (manager);
++ webkit_web_context_set_additional_plugins_directory (priv->web_context, EPHY_PLUGINS_DIR);
+ g_object_unref (manager);
+ }
+