File gramps-webkit3.0.patch of Package gramps
Index: gramps-4.0.4/gramps/plugins/view/htmlrenderer.gpr.py
===================================================================
--- gramps-4.0.4.orig/gramps/plugins/view/htmlrenderer.gpr.py
+++ gramps-4.0.4/gramps/plugins/view/htmlrenderer.gpr.py
@@ -54,6 +54,8 @@ TOOLKIT = NOWEB
repository = Repository.get_default()
if repository.enumerate_versions("WebKit"):
try:
+ import gi
+ gi.require_version("WebKit", "3.0")
from gi.repository import WebKit
TOOLKIT = WEBKIT
except: