From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id uPP1K74iXmVzlAAAauVa8A:P1 (envelope-from ) for ; Wed, 22 Nov 2023 16:48:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uPP1K74iXmVzlAAAauVa8A (envelope-from ) for ; Wed, 22 Nov 2023 16:48:14 +0100 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 7CDC9558DB for ; Wed, 22 Nov 2023 16:48:14 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=JjT3JXTz; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700668094; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=9kxqFf7QJwudCMdYwyk5dqk1bKxC+unhxYofVIs2bnI=; b=MmgKWs1rvgqFNnEIlUP0DeYZrduKvvGDfNpxqp9FwXlYEZNAF18z+3+kZ3en4oGr39LX/a UTwFzPV6fafttpRTKwrMitGOKicf1QFS4a76Duw1MjH4Fi9rG+Ekif53P+kAom305A9Ocf SaVL4HcdCU5zDlmyIi7oYBtFrzzZIl4a371I6Loyr7N26h9aiQWChbOna3m0Uh6mW1RMwh 0POMpFBD+xi58dqUOOGqtz2MHOMyEgwrSIH1KuLdZEpR6hWsCMfP8aWfA4SnJVq2ZvJPQT wPIva+MJLcoZzbJ3ByTId4Ey3eX2yfv6CaCcPoB0LHiR3+Z7/LZT5t1e+Gf2+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=JjT3JXTz; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700668094; a=rsa-sha256; cv=none; b=ulZrb6++0mfv9YmEhUeUDgdMKObFYsmbLgeIHaApx6+tZO1bgn1BL+FiQMpkh5DKRohevV pmrOQhYucqPG/GnYoHTi6N65i5k7EjPaK30SqzKsJAAsJofpZN3SRHMkymswfbC64NxIwg w2K3sfwCRWdEAbsTXR3qB8mCgdOxRgIJManRzAJ7yM45KCN8exe8gBGXa/z8VVP8R3oVt7 CQgQC4F6S764+kmlBt+8I9dhSG4+xQPhln8AyzW2MMsXuDbIs0XHfcxP4N+tGz2pIfenZQ QXqPizszJsHWR8t4gkHgg8uu5hCcWs8AMdt8dFaociZJroJ6pZA2ZRVNnH4GPg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r5pSM-00020B-0G; Wed, 22 Nov 2023 10:48:02 -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 1r5pSJ-0001zu-Nz for guix-patches@gnu.org; Wed, 22 Nov 2023 10:47:59 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r5pSJ-0005pE-Fy for guix-patches@gnu.org; Wed, 22 Nov 2023 10:47:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r5pSM-0006VU-HV for guix-patches@gnu.org; Wed, 22 Nov 2023 10:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#57431] [PATCH v1 2/3] gnu: Add python-pyqt, version 6.5.2. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Nov 2023 15:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57431 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Herman Rimm Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , Andreas Enge , 57431@debbugs.gnu.org, Zhu Zihao , Maxim Cournoyer Received: via spool by 57431-submit@debbugs.gnu.org id=B57431.170066808024992 (code B ref 57431); Wed, 22 Nov 2023 15:48:02 +0000 Received: (at 57431) by debbugs.gnu.org; 22 Nov 2023 15:48:00 +0000 Received: from localhost ([127.0.0.1]:59694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5pSJ-0006Uz-RU for submit@debbugs.gnu.org; Wed, 22 Nov 2023 10:48:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5pSI-0006UD-7z for 57431@debbugs.gnu.org; Wed, 22 Nov 2023 10:47:59 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r5pS9-0005oS-8P; Wed, 22 Nov 2023 10:47:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=9kxqFf7QJwudCMdYwyk5dqk1bKxC+unhxYofVIs2bnI=; b=JjT3JXTzfIPzBvJwWT2o x1Sv+0q3CE2KgX6uu4iAf8mgMa0jzByupbBEIANczI68z6boDilJ0WrX4KYSpZ8jdwR9Zk3UDkhYu HyRVF8Aj2LT5YLC034keyBPqoZqOO850nmQObewWeTDGiMY+gL4yNRxaY+BITXGfUyHFJ2k5OqCqI I6tltCKIfdGlsvVgnMDKKNukrP9lb1uozLIqXNJRTQZ6GDpp9UidZy6+9x9tP3pxTQEAr54TshT3W G3AD2/LMLQwC4BcItb0+o4hw0FuQNYbelk7opFulDZilEIiYFDTz8VzTYByvdZ7RljlmXJ0LlI4wh Ck8NlQeoYacGeA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <817ca09b733ed2163ec3147a1f131844fa0080e1.1700407095.git.herman@rimm.ee> (Herman Rimm's message of "Sun, 19 Nov 2023 16:18:14 +0100") References: <817ca09b733ed2163ec3147a1f131844fa0080e1.1700407095.git.herman@rimm.ee> Date: Wed, 22 Nov 2023 16:47:46 +0100 Message-ID: <87pm01kcwt.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.32 X-Spam-Score: -5.32 X-Migadu-Queue-Id: 7CDC9558DB X-Migadu-Scanner: mx13.migadu.com X-TUID: yzuEWeqAOWHE Herman Rimm skribis: > From: Zhu Zihao > > * gnu/packages/qt.scm (python-pyqt-6): New variable. [...] > + (inputs ; Qt5 dependencies only in python-pyqt: > + ; (qt)connectivity, location, sensors, serialport, x11extras, xmlpa= tterns. > + `(("python" ,python-wrapper) > + ("qtbase" ,qtbase) > + ("qtdeclarative" ,qtdeclarative) > + ("qtmultimedia" ,qtmultimedia) > + ("qtpositioning" ,qtpositioning) > + ("qtsvg" ,qtsvg) > + ("qttools" ,qttools) > + ("qtwebchannel" ,qtwebchannel) > + ("qtwebsockets" ,qtwebsockets))) Could you run =E2=80=98guix style -f inputs --input-simplification=3Dalways= python-pyqt-6=E2=80=99? > + #:phases > + #~(modify-phases %standard-phases > + ;; When building python-pyqtwebengine, can not be > + ;; included. Here we substitute the full path to the header in= the > + ;; store. > + (add-after 'unpack 'substitute-source > + (lambda* (#:key inputs #:allow-other-keys) > + (let* ((qtbase (assoc-ref inputs "qtbase")) > + (qtprinter.h (string-append "\"" qtbase "/include/qt= 6/QtPrintSupport/qprinter.h\""))) I understand it=E2=80=99s copied from =E2=80=98python-pyqt=E2=80=99 but IWB= N to write it along these lines: (let ((qtprinter.h (search-input-file inputs "/include/qt6/QtPrintSupport/qprinter.h"))) =E2=80=A6) (We could make the same changes in =E2=80=98python-pyqt=E2=80=99 in a separ= ate patch.) Thanks, Ludo=E2=80=99.