Hello,

the attached patch removes the webkit module from qt-4, in the same spirit
as removing chromium from qt-5 some time ago. My main motivation was to work
around the build failure on armhf; the patched qt-4 now builds there.

Andreas

>From 0da0716aea020d0b053fe1dab6b66d7de6cbd18c Mon Sep 17 00:00:00 2001
From: Andreas Enge <[email protected]>
Date: Sun, 4 Oct 2015 00:51:21 +0200
Subject: [PATCH] gnu: qt-4: Disable webkit build.

* gnu/packages/qt.scm (qt-4)[arguments]: Add configure flag to disable
  building the webkit module.
---
 gnu/packages/qt.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index ce5ab65..7699ee8 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -288,6 +288,9 @@ developers using C++ or QML, a CSS & JavaScript like 
language.")
                       "-confirm-license"
                       ;; explicitly link with dbus instead of dlopening it
                       "-dbus-linked"
+                      ;; Skip the webkit module; it fails to build on armhf
+                      ;; and, apart from that, may pose security risks.
+                      "-no-webkit"
                       ;; drop special machine instructions not supported
                       ;; on all instances of the target
                       ,@(if (string-prefix? "x86_64"
-- 
2.5.0

Reply via email to