From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gN96U-0003vj-1y for guix-patches@gnu.org; Wed, 14 Nov 2018 23:18:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gN96Q-000895-Ra for guix-patches@gnu.org; Wed, 14 Nov 2018 23:18:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48548) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gN96Q-000891-OU for guix-patches@gnu.org; Wed, 14 Nov 2018 23:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gN96Q-0006r9-JX for guix-patches@gnu.org; Wed, 14 Nov 2018 23:18:02 -0500 Subject: [bug#33390] [PATCH 1/4] qtwebkit: Fix pri install directory. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gN969-0003uf-7h for guix-patches@gnu.org; Wed, 14 Nov 2018 23:17:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gN965-0007wZ-El for guix-patches@gnu.org; Wed, 14 Nov 2018 23:17:45 -0500 Received: from mail.onyx.syn-alias.com ([206.152.134.66]:19913 helo=smtp.centurylink.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gN963-0007uZ-En for guix-patches@gnu.org; Wed, 14 Nov 2018 23:17:41 -0500 From: ericbavier@centurylink.net Date: Wed, 14 Nov 2018 22:17:12 -0600 Message-Id: <20181115041715.15993-2-ericbavier@centurylink.net> In-Reply-To: <20181115041715.15993-1-ericbavier@centurylink.net> References: <20181115041715.15993-1-ericbavier@centurylink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33390@debbugs.gnu.org Cc: Eric Bavier From: Eric Bavier This lets qmake find qtwebkit components, allowing packages like python-pyqt to find qtwebkit and enable support. * gnu/packages/qt.scm (qtwebkit)[arguments]: Add "ECM_MKSPECS_INSTALL_DIR" to #:configure-flags. Link with "--no-keep-memory". --- gnu/packages/qt.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index d48769982..36f8aef69 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -10,6 +10,7 @@ ;;; Copyright =C2=A9 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2018 Nicolas Goaziou ;;; Copyright =C2=A9 2018 Hartmut Goebel +;;; Copyright =C2=A9 2018 Eric Bavier ;;; ;;; This file is part of GNU Guix. ;;; @@ -2171,7 +2172,15 @@ different kinds of sliders, and much more.") #:configure-flags (list ;"-DENABLE_API_TESTS=3DTRUE" "-DPORT=3DQt" "-DUSE_LIBHYPHEN=3DOFF" - "-DUSE_SYSTEM_MALLOC=3DON"))) + "-DUSE_SYSTEM_MALLOC=3DON" + ;; XXX: relative dir installs to build dir=3F + (string-append "-DECM_MKSPECS_INSTALL_DIR=3D" + %output "/lib/qt5/mkspecs/modules") + ;; Sacrifice a little speed in order to link + ;; libraries and test executables in a + ;; reasonable amount of memory. + "-DCMAKE_SHARED_LINKER_FLAGS=3D-Wl,--no-keep-memory" + "-DCMAKE_EXE_LINKER_FLAGS=3D-Wl,--no-keep-memory"))) (home-page "https://www.webkit.org") (synopsis "Web browser engine and classes to render and interact with web content") -- 2.19.1