From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sJEyB33Rs2DKPwAAgWs5BA (envelope-from ) for ; Sun, 30 May 2021 19:55:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +J40An3Rs2D0UwAAB5/wlQ (envelope-from ) for ; Sun, 30 May 2021 17:55:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7B8EB15E38 for ; Sun, 30 May 2021 19:55:08 +0200 (CEST) Received: from localhost ([::1]:53654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnPeV-0004iA-G9 for larch@yhetil.org; Sun, 30 May 2021 13:55:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnPeQ-0004i2-65 for guix-patches@gnu.org; Sun, 30 May 2021 13:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48773) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnPeP-0000u3-V1 for guix-patches@gnu.org; Sun, 30 May 2021 13:55:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnPeP-00014b-U1 for guix-patches@gnu.org; Sun, 30 May 2021 13:55:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#46337] Attempt to fix the build References: <20210206014748.5b281d65@runbox.com> In-Reply-To: <20210206014748.5b281d65@runbox.com> Resent-From: Sergey Trofimov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 May 2021 17:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46337 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 46337@debbugs.gnu.org Received: via spool by 46337-submit@debbugs.gnu.org id=B46337.16223972484019 (code B ref 46337); Sun, 30 May 2021 17:55:01 +0000 Received: (at 46337) by debbugs.gnu.org; 30 May 2021 17:54:08 +0000 Received: from localhost ([127.0.0.1]:60307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnPdY-00012l-0K for submit@debbugs.gnu.org; Sun, 30 May 2021 13:54:08 -0400 Received: from mail-wr1-f50.google.com ([209.85.221.50]:35576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnPdS-00012B-Hm for 46337@debbugs.gnu.org; Sun, 30 May 2021 13:54:06 -0400 Received: by mail-wr1-f50.google.com with SMTP id m18so8507967wrv.2 for <46337@debbugs.gnu.org>; Sun, 30 May 2021 10:54:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; h=user-agent:from:to:subject:message-id:date:mime-version; bh=1+V7JBBePeUk1T07NFac8U5XBQB+3DFBpL/V1MxLViM=; b=ZDB0Z7e2A9+TBO9tJfvnuwD3zT9ttdKaTiEJXB/BFt2LQ/7c4BMFNvM87S7SyiE9mw G4sqZIgbX/0ObZ0ykAREwGyysloGxd/LntK8PT7RPqF35NaKywHFsCd6aBIn3SOO0+sU oAoJCPEFUhNVGMHfNoCuW7VaVxCHJBbmWvsT8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:message-id:date :mime-version; bh=1+V7JBBePeUk1T07NFac8U5XBQB+3DFBpL/V1MxLViM=; b=SztNPsd51YKS8ULKNKtnf8j9LHzjaqJmSOUH8DrJy2Uomoso0AKtOHHw3c99YGPI3Q rdvsYwijDIzb5qNRq1vH3K3KzbDsdx2rxkaqPrYIVevNI9UHNEU34ouQ1opiotPEAjcn awVi6sRhIqkX5fA8p/WNpFWKtNASvTLrdjVPgxqq3/HdYRWwAd6fWfkIxrJp4uPN/22y tuzfhLirWd8QBHE+uyESudgEMdK5hfAJorzzcXPzV+U1EDLi6gzdjLxyi1sRlSdllglE dL0o1JVZhbbDdxFVLJ5g869Du+I2iIn1cHpONO6B7xC65O6MmwvH2DChMK7lETTq5FdE q/+w== X-Gm-Message-State: AOAM5311Y7O2CDgaHioLhOucG4vn6VnCB3NhtA8yY5RQDx5jVJh06iXD B3uT+JTDaPU3pX1zhRvkNtZoD2cL6Fc+7Q== X-Google-Smtp-Source: ABdhPJwkwygfVE5vdazpySFauf+XcGFzihwkNUaQmHwF1T7d/shq/j8uNQgA1ET5uUeXu5lyiHGVqQ== X-Received: by 2002:a5d:4fce:: with SMTP id h14mr6677586wrw.57.1622397236132; Sun, 30 May 2021 10:53:56 -0700 (PDT) Received: from localhost ([92.206.237.187]) by smtp.gmail.com with ESMTPSA id r7sm12175856wmq.18.2021.05.30.10.53.54 for <46337@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 May 2021 10:53:55 -0700 (PDT) User-agent: mu4e 1.4.15; emacs 28.0.50 From: Sergey Trofimov Message-ID: <878s3w5cpz.fsf@sarg.org.ru> Date: Sun, 30 May 2021 19:54:33 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622397308; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=1+V7JBBePeUk1T07NFac8U5XBQB+3DFBpL/V1MxLViM=; b=Wg+l92jflr6RiqaQ+snWBh+UUUclBVv0eBoZeKtOwDfvcvjMid/cWdcXdJk53wjuoezZdT uUOMRrDwHI/blmFpa2BdGPrq1b3Fq2bE2YuAHFkCs2dXKrDpdLBhuXr7ak18rjnlMY0IF1 NEfw6gCMbx599TlkS4WpenQP2VURS62qumgCc5/JF9ZwMJmMc5ElRuit6owcOoIkXDxT8d 1FLa7P2dVh7ZOxo0l7Zr2FRZZGLlDsIJ22wGbadO5m08X1JcYEU1tCBjK253kl/y3DGbhW lFq7FYdoljQexXk9ppDCKDPLy+vJgaZ1pFSSTblarvzUaDQgFxh8TLQO6XpNYQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622397308; a=rsa-sha256; cv=none; b=dsbwc/reuEh9MPY4mMKJI5bN2s8RP+E+u6Sconlx0DB1yLOtNdjsazGQlbuoiuXpdijScm PpJtrwvA/Rr+uigKQqQsTKQWDuvFqkwfQtETcfgoLAfHFRUsnh4tfjuj3+AIPEtfxB4JBA tNluibqA9T2URZxefbUBBtPsGzX7ves+syAHcFy8gUqi2xrIvEKfW2tdoYbwbkf6mqWB/H WI4dQxZNJZaQakwjuIjL1VjMobZCHj+zZdlrB1aU/7bkNpHj5PRWb8Q4xtXO3ZZ35VyLvw 13KWPmNSlwvRww6sjHeXuQzPThlpP96skPxrQoD0BX4FfXlMY/Z1Wg0R0dKOzQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sarg.org.ru header.s=google header.b=ZDB0Z7e2; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sarg.org.ru header.s=google header.b=ZDB0Z7e2; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 7B8EB15E38 X-Spam-Score: -1.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: KW0hyhv90wwD --=-=-= Content-Type: text/plain; format=flowed Hey there, it seems that qtwebengine build script just lacks the `-system-openh264` flag. In attempt to fix that I just slap the needed GN arg to the end of `src/buildtools/config/linux.pri` I've checked that the configure phase succeeds, but the full build takes too long on my machine. Please find attached the proposed patch. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-qtwebengine-with-openh264.patch >From 553a37f4af401f2a53575c0f2d77cb5030344f40 Mon Sep 17 00:00:00 2001 From: Sergey Trofimov Date: Sun, 30 May 2021 14:39:15 +0200 Subject: [PATCH] qtwebengine with openh264 --- gnu/packages/qt.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 55855fb68a..6bb1281570 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -1547,6 +1547,7 @@ using the Enchant spell-checking library.") "third_party/modp_b64" "third_party/nasm" "third_party/one_euro_filter" + "third_party/openh264/src/codec/api/svc" "third_party/opus" "third_party/ots" "third_party/pdfium" @@ -1724,6 +1725,7 @@ using the Enchant spell-checking library.") ;; libxml2 configure summary still states "Checking for compatible ;; system libxml2... no" ("libxml2" ,libxml2) + ("openh264" ,openh264) ("libxrandr" ,libxrandr) ("libxrender" ,libxrender) ("libxslt" ,libxslt) @@ -1747,6 +1749,10 @@ using the Enchant spell-checking library.") ("xcb-util" ,xcb-util))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) + ((#:modules modules '()) + `((guix build gnu-build-system) + (guix build utils) + (ice-9 textual-ports))) ((#:phases phases) `(modify-phases ,phases (add-before 'configure 'substitute-source @@ -1754,6 +1760,10 @@ using the Enchant spell-checking library.") (let ((out (assoc-ref outputs "out")) (nss (assoc-ref inputs "nss")) (udev (assoc-ref inputs "udev"))) + (with-atomic-file-replacement "src/buildtools/config/linux.pri" + (lambda (in out) + (display (get-string-all in) out) + (display "\ngn_args += use_system_openh264=true\n" out))) ;; Qtwebengine is not installed into the same prefix as ;; qtbase. Some qtbase QTLibraryInfo constants will not ;; work. Replace with the full path to the qtwebengine @@ -1789,7 +1799,8 @@ using the Enchant spell-checking library.") "--webengine-printing-and-pdf=no" "--webengine-ffmpeg=system" "--webengine-icu=system" - "--webengine-pepper-plugins=no"))))) + "--webengine-pepper-plugins=no" + "-webengine-proprietary-codecs"))))) ;; Tests are disabled due to "Could not find QtWebEngineProcess error" ;; It's possible this can be fixed by setting QTWEBENGINEPROCESS_PATH ;; before running tests. -- 2.31.1 --=-=-=--