From patchwork Wed Nov 13 15:46:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosha X-Patchwork-Id: 70364 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 00D1327BBE9; Wed, 13 Nov 2024 15:52:06 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 7D28927BBE2 for ; Wed, 13 Nov 2024 15:52:05 +0000 (GMT) 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?b?5a6L5paH5q2m?= X-Debbugs-Original-Xcc: Maxim Cournoyer , =?utf-8?b?5a6L5paH5q2m?= 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 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 X-Patchwork-Original-From: Sughosha via Guix-patches via From: Sughosha 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 * 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")