From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4FaIBCbLNGdvsQAA62LTzQ:P1 (envelope-from ) for ; Wed, 13 Nov 2024 15:52:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 4FaIBCbLNGdvsQAA62LTzQ (envelope-from ) for ; Wed, 13 Nov 2024 16:52:06 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=bfYYVXJJ; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=LqFJ6XH6; 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=1731513125; h=from:from:sender:sender:reply-to: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=ollfHfhven/Rggvf6itcmSHJxP8IUI6GUOVWgIZb1I4=; b=ULy5muPMmQyHemXtx+ugfRj1wU2D31jC5Z5jt2n4cm+SN6IM63Tkna1zvXqnrK/TLsPUNW Gin23wijqiuCEEfxH632aqErpqysE4oP2cpAob35gd8601Wd8ffKKTCR6okdNQb0oMzcSA XXsboo2vKRtZAQfenI0u26s2qD42gmmMgKf5QVqMzFTrSBhoS365mxtlOkuSM9tWWpHkh7 5EC+ANKqRWSXbOdx+2ibXGWX6ZXHtYB3aNvJ0C+bAZvJccAq2tXD6h9ZQ+lzD7HGIqnTh7 foVgOZfQFpOtPT+GEjPhdmvTQj/5CzRs57i4x1YlBWD1kqvyt4bRowhfGGX4cg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=bfYYVXJJ; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=LqFJ6XH6; 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=1731513125; a=rsa-sha256; cv=none; b=TzoFUyhnl9rZxneixrWPGMnYDi/8fzwOulqV2BVgLm9HqpZCDyL4ZWPh0kb/Gu9QnF2okz LKX5rqT59kwMet6hXMrjkFd76XTfPl4u1+ccPHuFhVOqBv1PMwUB2htoCfQo8C0kBKEAjY 8cgIU26XZdb1aaiBO3CLRtY4UMUjXD46Fu0n1VHPkfVZlq7aH+Eje99VgUN0PWKwS2wU1k 2PB5Vmwl0i62xbjZhSVlEYCGr/+R+qonVxsv6WhNEF22UYJMansrFv2hY4OIEzRaEug3b3 agatIPe/ghqr9doCq+RG2ru9C3B8+6vv95207QTKQ5sKhOdyzqeoZaqNPrwsWA== 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 A956378B99 for ; Wed, 13 Nov 2024 16:52:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBFf1-0002su-JW; Wed, 13 Nov 2024 10:52: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 1tBFf0-0002sQ-JE for guix-patches@gnu.org; Wed, 13 Nov 2024 10:52:02 -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 1tBFf0-0001m6-BE for guix-patches@gnu.org; Wed, 13 Nov 2024 10:52:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=ollfHfhven/Rggvf6itcmSHJxP8IUI6GUOVWgIZb1I4=; b=bfYYVXJJWg0u4rrzfsVmMimzVKsY8CzSXIJ/xeARtmzuqw9LL7jmH87UsE5n90yGbNFCLQ/OSnh6Gfp3d0GHbrbv7a9k72xaItwLYNWz5RRL1pXqixGkoCEGqbykCsz2JOtA26TPQ8jM3RneP5wTiPjf18N2LCOYkvH1xPqcTuFjgxzAFE+VRiTOmaLsha9f6KrFni12BNGHDFRymy6dyKl6iDUzn3aAVYxtNgGWJqZ75miH5GTiRXIBzcdTgRrMBFw90ZR4FwMKPip2QncO9cIhB2HuPvtxc/07NC3L4qWAhlPw7J+LwqFJaLQDIHilGTDdxNF3xJu0agl8pYPEcg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBFez-0005kq-U3; Wed, 13 Nov 2024 10:52:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74344] [PATCH 5/7] gnu: Add qtpromise. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Wed, 13 Nov 2024 15:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74344 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74344@debbugs.gnu.org Cc: Sughosha , Maxim Cournoyer , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-Xcc: Maxim Cournoyer , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Received: via spool by 74344-submit@debbugs.gnu.org id=B74344.173151306522017 (code B ref 74344); Wed, 13 Nov 2024 15:52:01 +0000 Received: (at 74344) by debbugs.gnu.org; 13 Nov 2024 15:51:05 +0000 Received: from localhost ([127.0.0.1]:43205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBFe4-0005j1-Ta for submit@debbugs.gnu.org; Wed, 13 Nov 2024 10:51:05 -0500 Received: from layka.disroot.org ([178.21.23.139]:51058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBFe2-0005iO-Pv for 74344@debbugs.gnu.org; Wed, 13 Nov 2024 10:51:03 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4D88525264; Wed, 13 Nov 2024 16:51:02 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id rZPoJyEnGqOY; Wed, 13 Nov 2024 16:50:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1731513058; bh=bTsXNXWwp19I3pV5w1jSufnbJnr71Bz4uOlisQdx8lI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=LqFJ6XH6uIq0YFx5gIbHVFSyCHkG9SEmSocn/7gzHKt3C967t5xdcQD9gQXSMVg03 FhyuUg17qgis1R1F3q/LwrP5GrMeXE1U5ZKCVHyi1yZ4NVKfFGVwq1xbfQKuyuzg57 UDRGtZicBhehGbJB4HX9xNA5S+vzFGeWJ+TBUjmroC6fOibpBvRREJJR+TcNGwJARD 7CG0THqfrnN9Scy7n2wGUxHPLhAsF6qrv+446UAdW8JHejXxma4XhzY0TUaIZew/7h UxwD2aJe77ysTPTN78DSqlMVCGjfrIuvIFTkNvHej5fPwMMFvBhSWQIMoT/o0dLSV6 kpy9OX7D7TWdA== Date: Wed, 13 Nov 2024 21:16:21 +0530 Message-ID: In-Reply-To: <009f0224022cd4677679737eb01a26142e658152.1731512782.git.sughosha@disroot.org> References: <009f0224022cd4677679737eb01a26142e658152.1731512782.git.sughosha@disroot.org> 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: , Reply-to: Sughosha X-ACL-Warn: , Sughosha via Guix-patches From: Sughosha via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 2.09 X-Spam-Score: 2.09 X-Migadu-Queue-Id: A956378B99 X-TUID: ZJvIpptzJE0a * gnu/packages/qt.scm (qtpromise): New variable. Change-Id: I373a383187ec8ba73c2e8fcd5a5a5631d1f80a0d --- gnu/packages/qt.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 6108763812..efff50a60c 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -4761,6 +4761,43 @@ (define-public qtcsv "qtcsv is a library for reading and writing csv-files in Qt.") (license license:expat))) +(define-public qtpromise + (package + (name "qtpromise") + (version "0.7.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/simonbrunel/qtpromise") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0nsh6v5k4kdrrhcd6adz947n0dka4rrbx8f8rvm1175545nbi67s")))) + (build-system qt-build-system) + (arguments + (list #:test-target "tests" + #:phases + #~(modify-phases %standard-phases + (add-before 'install 'fix-include-path + (lambda _ + (chdir "../source") + (substitute* "include/QtPromise" + (("../src/") "")))) + (replace 'install + (lambda _ + (let ((include (string-append #$output "/include"))) + (install-file "include/QtPromise" + (string-append include)) + (copy-recursively "src/qtpromise" + (string-append include + "/qtpromise")))))))) + (home-page "https://qtpromise.netlify.app/") + (synopsis "Promises/A+ implementation for Qt/C++") + (description + "This package provides Promises/A+ implementation for Qt/C++.") + (license license:expat))) + (define-public qtcolorwidgets (package (name "qtcolorwidgets") -- 2.46.0