From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AMLGJiAj32KrsAAAbAwnHQ (envelope-from ) for ; Tue, 26 Jul 2022 01:11:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ICHZJiAj32LCZAAAauVa8A (envelope-from ) for ; Tue, 26 Jul 2022 01:11:28 +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 5EA682F363 for ; Tue, 26 Jul 2022 01:11:28 +0200 (CEST) Received: from localhost ([::1]:34350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oG7EV-0006e0-Hg for larch@yhetil.org; Mon, 25 Jul 2022 19:11:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oG7EA-0006bI-BB for guix-patches@gnu.org; Mon, 25 Jul 2022 19:11:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33736) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oG7EA-0005je-2W for guix-patches@gnu.org; Mon, 25 Jul 2022 19:11:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oG7E9-0000IP-Ug for guix-patches@gnu.org; Mon, 25 Jul 2022 19:11:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56771] [PATCH 17/33] gnu: Add qtwebsockets, 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:05 +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.1658790624917 (code B ref 56771); Mon, 25 Jul 2022 23:11:05 +0000 Received: (at 56771) by debbugs.gnu.org; 25 Jul 2022 23:10:24 +0000 Received: from localhost ([127.0.0.1]:51688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oG7DT-0000EW-Ob for submit@debbugs.gnu.org; Mon, 25 Jul 2022 19:10:24 -0400 Received: from mail-qk1-f174.google.com ([209.85.222.174]:39904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oG7Bf-00006w-KK for 56771@debbugs.gnu.org; Mon, 25 Jul 2022 19:08:32 -0400 Received: by mail-qk1-f174.google.com with SMTP id m7so9849089qkk.6 for <56771@debbugs.gnu.org>; Mon, 25 Jul 2022 16:08:31 -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=1vLyfQyqEQLoMQ9dyB6SJMyJ5yo9/tlB8m4N7Cib484=; b=krd+MGr4wtvDddER/xFToKt7t/J+Ivt28E874kVGsHWmlyE6el/5NCAGriP1b2Meq9 UZEEOEKlO8FH8xRe979s7zdnMLiJjAuMaimsvJYMzLhArCQJkYQeoa3h5xdjmX8QiPUM h3up1TqXqk6Z7PXTXbbVW4nXfNCUXi/eb5IDgXeB5LqTenQNRQCySVos1RWBwW+Qofu3 DOSQdq9iN2fdTN68LG5KFqAKPJ0wAxuaaat/ua9aMqUzclv39zmnCdnijQqyEAo3VX9k vDKrpoJuosvt9ZR+GTiDJNaCr6ONmKsB8DFLJDzsFMr+g95+3i6GDI6FAiHesi2kui9O TPpw== 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=1vLyfQyqEQLoMQ9dyB6SJMyJ5yo9/tlB8m4N7Cib484=; b=iKGEjQavNAVEZuKVxkPK7z7LhjbL+HHiAb4BKP/IMmcGEckTZTsZ2bxiTFoMoQetHW bpH5DvGoSsNKwqiWZJ0qvcxYAnRXH3fDL+Dxmvfu8wIl10ba7a5xjWB0jyyyymPf7GoP JEtmuzvFAA655e0SLo/yNCI7W8zzonPPv+9YOho6/ZalVnVuzp2UsePc3S+dWdt6M/tk xWy4gJzl2t1mV1h230ucqK8XGb9AJykE3xZct9iwPbAqtPnfZ0VfKVWkXQdcNA1Dl5Cu HQ/x4zPgvIqB2QFD1qSAMINKXXe2HbYAgTL/dXrQ9w8tpDFTinwjaZX/WcikbpdSQNrv Xt/w== X-Gm-Message-State: AJIora840AfMSHl80hTS8FtOauja+GNhHJ0MA2T5sOtazQfleJyrwbXc M1eMHeVfgPD7stOCS8BimPaYaBNFLLk= X-Google-Smtp-Source: AGRyM1sSqAKZFaCgfjGcwoeyUMcVK5tWWN1D1SOmwJM3lUDdgsT4NHsmUJlMaaUICOdfERMKz5rr5A== X-Received: by 2002:a05:620a:1a20:b0:6b5:fb66:c0ed with SMTP id bk32-20020a05620a1a2000b006b5fb66c0edmr11181093qkb.582.1658790505985; Mon, 25 Jul 2022 16:08:25 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jul 2022 16:08:25 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 25 Jul 2022 19:07:47 -0400 Message-Id: <20220725230803.10002-17-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=1658790688; 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=1vLyfQyqEQLoMQ9dyB6SJMyJ5yo9/tlB8m4N7Cib484=; b=IktBWu6wuN3mDE7XaKENB0bhUGw/U5/aGiien4cbu00/6pf0CGnFQl/sm++vdbfovDCreT Or7mTz057leF9HjMG0chbOUv+e8ZyUQNQx5aDD69b5mObPsoTQ++OXjfasyJ4UE7hDk13J xOnGhls2+Mln8srrDZ7CcdX08yMKZ7+bEZrrUYl9yJh6WMNTHN4ZjS91Jkd7rkQPwSU/3N /rVQi+iAHcp9JquyBl4lMNzJ5FpH/6ViK0ljT8u5tWjZFoukRKzTOIpxNP9S06597zp+3i mVs6OtZEc2FUTTZQOr4F3eJViDCvlqQPa6MaPtwlNwexhjJ68wTi45mTCe33xA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658790688; a=rsa-sha256; cv=none; b=cFQu82jydXOWoEmXjpGbTg8I7Z2Pce5dqI7YHXdl8Fdxl2Ympjt6MGM5kECNlwMef3QmJJ 0191HRd5Lw0Em3DJZ2JI8LmBL2ooi6OroizRjxEOITiM+G33WCITJ92dEXUkJKpUY3yJKu MFrn1W3DIXe/NmVlg5z/ozLVVQzdCTbmUPCpBcCBCGw8lFwUbTAuNq8INH3zVhwOsx6Gg1 bnQwe68EaFvIHjM+s3XxoiQTX6JsigGYQBVgBYJKRFLSMxQV3k1eZdws1xYF3/XVkHfdf4 asqMmYYeRutDhuLY0SwNTXhdipBfecnG7JNdSUDimOExItefO7l4vKoTLSvOiA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=krd+MGr4; 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: 5.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=krd+MGr4; 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: 5EA682F363 X-Spam-Score: 5.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: Hx7W3VL+MJ8b * gnu/packages/qt.scm (qtwebsockets): New variable. --- gnu/packages/qt.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index bd43830391..d0b9e8ea9c 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -1227,6 +1227,45 @@ (define-public qtwebsockets-5 to act as a server that can process WebSocket requests, or a client that can consume data received from the server, or both."))) +(define-public qtwebsockets + (package + (name "qtwebsockets") + (version "6.3.1") + (source (origin + (method url-fetch) + (uri (qt5-urls name version)) + (sha256 + (base32 + "06hj0pkdzjicmbiinjp1dk1ziz8cb3fgcwy7a0dxxjvzr680v64z")))) + (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)) + (synopsis "Qt Web Sockets module") + (description "WebSocket is a web-based protocol designed to enable two-way +communication between a client application and a remote host. The Qt +WebSockets module provides C++ and QML interfaces that enable Qt applications +to act as a server that can process WebSocket requests, or a client that can +consume data received from the server, or both.") + (home-page (package-home-page qtbase)) + (license (package-license qtbase)))) + (define-public qtsensors (package (inherit qtsvg-5) (name "qtsensors") -- 2.36.1