From 1383bf7c0ad6ff186e489018b5468a7071faf626 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sat, 13 Aug 2016 21:40:12 -0500 Subject: epiphany-3.20.3-2.parabola1: Create a plugin dir that only Epiphany will find --- libre/epiphany/pluginsdir.diff | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 libre/epiphany/pluginsdir.diff (limited to 'libre/epiphany/pluginsdir.diff') 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); + } + -- cgit v1.2.3