From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AAsoO74j32JaXgAAbAwnHQ (envelope-from ) for ; Tue, 26 Jul 2022 01:14:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0Kw4O74j32LCZAAAauVa8A (envelope-from ) for ; Tue, 26 Jul 2022 01:14:06 +0200 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 C19E638E7F for ; Tue, 26 Jul 2022 01:14:05 +0200 (CEST) Received: from localhost ([::1]:37542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oG7H2-0000Zc-Qv for larch@yhetil.org; Mon, 25 Jul 2022 19:14:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oG7EB-0006bn-TN for guix-patches@gnu.org; Mon, 25 Jul 2022 19:11:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oG7EB-0005k7-KV for guix-patches@gnu.org; Mon, 25 Jul 2022 19:11:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oG7EB-0000Iu-Gj for guix-patches@gnu.org; Mon, 25 Jul 2022 19:11:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56771] [PATCH 19/33] gnu: Add qtwebchannel, version 6.3.1. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Jul 2022 23:11:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56771 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56771@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 56771-submit@debbugs.gnu.org id=B56771.1658790626949 (code B ref 56771); Mon, 25 Jul 2022 23:11:07 +0000 Received: (at 56771) by debbugs.gnu.org; 25 Jul 2022 23:10:26 +0000 Received: from localhost ([127.0.0.1]:51696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oG7DW-0000F7-8p for submit@debbugs.gnu.org; Mon, 25 Jul 2022 19:10:26 -0400 Received: from mail-qk1-f181.google.com ([209.85.222.181]:35366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oG7Bh-00007W-Mq for 56771@debbugs.gnu.org; Mon, 25 Jul 2022 19:08:34 -0400 Received: by mail-qk1-f181.google.com with SMTP id z18so9551895qki.2 for <56771@debbugs.gnu.org>; Mon, 25 Jul 2022 16:08:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o9W5Dy9KZ9AyxlJc6uFc9fearz5b2TuQqL91Xzmg61E=; b=G7gAVbx+wHFydfBr4CDDMRLI7kaupuqBuU4b2OJsIv3tS3FNYPhPqRZOPyi9BkUASH nPhJIEt3uFVMF+Tvk772Wf+FsWOlc8d0tibmpNKeTxFkntd26fXP6uDBdHVZPheQkG0J dT3X5XScFt3x21/k4UU6A+BEXx83KQ3H3fFoXJztH8P6IVDLCFSzra9lDMdXqHaM4/BK eZuOxeZslLDoluvXfIuQl5putGqPCmvj7ShRGI5M3HalTyvNpnLIoWoAPBOz7OFjSBlx /ty1++Y5TMq/mSpmLvFJgpvIfAJspI2UyWu1c9Sy8aX2Nb5L3POuwIFUy89V/fiDiT2N ZHEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=o9W5Dy9KZ9AyxlJc6uFc9fearz5b2TuQqL91Xzmg61E=; b=ZQXKYhugwPEotlwMuqLhkwhHWa5itgQv78MEX5vPXCILAwR27YHmlOVI4GWcV5p+WJ Qc9l75mkFVSxcAPkepyTiGGCgfzwO7mso3viV+MlGtYaaUFjAQmxcuzqp2bBwtQo8EEE OW5IDH5C2/47i7tM8nuiP5jnXzDfrwl9sg2T6vU8Nsbzyp+3YvIMOgiixrtwgk9MIbAF 0fu7F8oy41sOdAktZ4SyUlFaPALQjZ7RwR1IKtA/XpUSNK/4MSz5EzY+1RmLILGYwB2Z d2C+awoy0Y4wtOsH/nsC16UdpI7eujkfylRPDLzgwfnQt4HNsis6Tmo9IpJ+XAh25Ovo WdlQ== X-Gm-Message-State: AJIora8QCEYnzZOgmjwqxnMGKV1d1mMRJu66MQZyc9iDhxqozowZsC6A teicqCeuNcDQKXmXk97+Xnwgw9i7/1Y= X-Google-Smtp-Source: AGRyM1spad2ikyzt8Mz7WGPl/mR6JFP9y3m1PgwG6iAjGgy9xOgT0KfbYuhMDOxAw/bKW9XpNSSzlQ== X-Received: by 2002:a05:620a:29d6:b0:6b5:be51:fcf0 with SMTP id s22-20020a05620a29d600b006b5be51fcf0mr11259350qkp.705.1658790508034; Mon, 25 Jul 2022 16:08:28 -0700 (PDT) Received: from localhost.localdomain (dsl-205-233-125-69.b2b2c.ca. [205.233.125.69]) by smtp.gmail.com with ESMTPSA id c15-20020ac8008f000000b0031ee9afafccsm8110580qtg.14.2022.07.25.16.08.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jul 2022 16:08:27 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 25 Jul 2022 19:07:49 -0400 Message-Id: <20220725230803.10002-19-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220725230803.10002-1-maxim.cournoyer@gmail.com> References: <20220725230803.10002-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658790845; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=o9W5Dy9KZ9AyxlJc6uFc9fearz5b2TuQqL91Xzmg61E=; b=FWvoN4P9ATz6/mHkIcmtKyY22+7Q+oTFo98YKHC5RaKRkgXSq5Jji9nNXJv4AnmaZKYE9j v11d4dcKYwGjydMYbsjUwMtvKYkq0ToEF7L7gx/2oui7syZQvEBhaboFxZuTpaZT8Q135z 19ZQEzi9WcQ1JOWCFHlhOTZBCYZI+7+GcQMBemcHIZJl/GUbZcujTqZNFE8Sh/TXmNiYIM 6TZp6VwmQukQz0P18QMlZsh2B6OiRv+DDjB3KcVyH/AsOstFaTbNbdglLHmoMjbt6QDUCX 1+qjbHh0piJyq5JmdBDVXXtYQetIW5bTS/5pStT7GKTC9kdyWhk1X+SvKBqrzg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658790845; a=rsa-sha256; cv=none; b=Wb9TnRnddV6XICiKiSlBFO6IsGoSaD47ZoF6C0jjxQUBH2quzSvjgdKCaMTHPwPZ38OBKd XFJDlDAO15o8fvVi5jhLfJPzGFO1I0j8/8ULF6G4Tc0dQRsVk/C0Aj3UHKvGE09hfGX/cI TDVcA64ZYAHFqmY2QLuQxgMpbjlIdOWC4xOvt30tTcZI/x5F76cgflRnE3RGEp7UZgwQGZ VpF3xPTAAHePfcH+vbi+hzl3CJqUI3Ij4ElHHLTwKVYyutuoSCfykI1Ob4x3Z8hAkqSH+/ q07HFuLsKXv+9rzrllyk/OsxtWqHznlSHOs7pRLMpW/QP4o4IG9ic0B+b4DuJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=G7gAVbx+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=G7gAVbx+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C19E638E7F X-Spam-Score: 4.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4LSjjQiBsTY+ * gnu/packages/qt.scm (qtwebchannel): New variable. --- gnu/packages/qt.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index a16b1285b4..b051fc5fe5 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -1563,6 +1563,43 @@ (define-public qtwebchannel-5 application). The transport mechanism is supported out of the box by the two popular web engines, Qt WebKit 2 and Qt WebEngine."))) +(define-public qtwebchannel + (package + (name "qtwebchannel") + (version "6.3.1") + (source (origin + (method url-fetch) + (uri (qt5-urls name version)) + (sha256 + (base32 + "0s16zx3qn3byldvhmsnwijm8rmizk8vpqj7fnwhjg6c67z10m8ma")))) + (build-system cmake-build-system) + (arguments + (list + #:configure-flags #~(list "-DQT_BUILD_TESTS=ON") + #:phases #~(modify-phases %standard-phases + (delete 'check) ;move after install + (add-after 'install 'prepare-for-tests + (lambda _ + (setenv "QT_QPA_PLATFORM" "offscreen") + (setenv "QML2_IMPORT_PATH" + (string-append #$output "/lib/qt6/qml:" + (getenv "QML2_IMPORT_PATH"))))) + (add-after 'prepare-for-tests 'check + (assoc-ref %standard-phases 'check)) + (add-after 'check 'delete-installed-tests + (lambda _ + (delete-file-recursively + (string-append #$output "/tests"))))))) + (native-inputs (list perl)) + (inputs (list qtbase qtdeclarative qtwebsockets)) + (home-page (package-home-page qtbase)) + (synopsis "Web communication library for Qt") + (description "The Qt WebChannel module enables peer-to-peer communication +between the host (QML/C++ application) and the client (HTML/JavaScript +application).") + (license (package-license qtbase)))) + (define-public qtwebglplugin (package (inherit qtsvg-5) (name "qtwebglplugin") -- 2.36.1