From patchwork Mon Feb 20 12:20:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5a6L5paH5q2m?= X-Patchwork-Id: 47135 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 029A916A99; Mon, 20 Feb 2023 12:21:18 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D5D6116A96 for ; Mon, 20 Feb 2023 12:21:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pU5AF-0004jM-GF; Mon, 20 Feb 2023 07:21:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pU5AE-0004jB-I7 for guix-patches@gnu.org; Mon, 20 Feb 2023 07:21:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pU5AE-0002rF-0w for guix-patches@gnu.org; Mon, 20 Feb 2023 07:21:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pU5AD-0006wj-Ra for guix-patches@gnu.org; Mon, 20 Feb 2023 07:21:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61650] [PATCH] qtwebengine-5: Enable pulseaudio. Resent-From: =?utf-8?b?5a6L5paH5q2m?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Feb 2023 12:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61650@debbugs.gnu.org Cc: =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167689565126663 (code B ref -1); Mon, 20 Feb 2023 12:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Feb 2023 12:20:51 +0000 Received: from localhost ([127.0.0.1]:50802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU5A2-0006vz-V1 for submit@debbugs.gnu.org; Mon, 20 Feb 2023 07:20:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:56174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU5A0-0006vq-GY for submit@debbugs.gnu.org; Mon, 20 Feb 2023 07:20:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pU5A0-0004bZ-C6 for guix-patches@gnu.org; Mon, 20 Feb 2023 07:20:48 -0500 Received: from mail.envs.net ([5.199.136.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pU59y-0002oO-QA for guix-patches@gnu.org; Mon, 20 Feb 2023 07:20:48 -0500 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 9CE6C38A0861; Mon, 20 Feb 2023 12:20:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id hbVGP_lebgHu; Mon, 20 Feb 2023 12:20:33 +0000 (UTC) Received: from localhost (unknown [36.170.44.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Mon, 20 Feb 2023 12:20:33 +0000 (UTC) From: =?utf-8?b?5a6L5paH5q2m?= Date: Mon, 20 Feb 2023 20:20:22 +0800 Message-Id: <20230220122022.810-1-iyzsong@member.fsf.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Received-SPF: pass client-ip=5.199.136.28; envelope-from=iyzsong@envs.net; helo=mail.envs.net X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Previously it will dlopen libpulse, then fallback to alsa. See also . * gnu/packages/qt.scm (qtwebengine-5)[arguments]: Set link_pulseaudio with gn_args. --- gnu/packages/qt.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) base-commit: 53e27f8abf1163e29fb5fc17af38b90a67a18138 diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index b32a78085d..3efe3961cf 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -2669,7 +2669,8 @@ (define-public qtwebengine-5 "src/buildtools/config/linux.pri" (lambda (in out) (display (get-string-all in) out) - (display "\ngn_args += use_system_openh264=true\n" out))) + (display "\ngn_args += use_system_openh264=true\n" out) + (display "\ngn_args += link_pulseaudio = 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-5