From patchwork Wed Nov 13 15:46:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sughosha X-Patchwork-Id: 70365 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 5645627BBEA; Wed, 13 Nov 2024 15:52:21 +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,T_PDS_PRO_TLD,URIBL_BLOCKED autolearn=ham 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 2953927BBE2 for ; Wed, 13 Nov 2024 15:52:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBFf2-0002sw-4m; Wed, 13 Nov 2024 10:52:04 -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-0002sX-US 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-0001mB-M7 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=N8/MHu/BGDTZ/CDgFiyJhKuCBg7oj95aYJ6UkbON15A=; b=UQio0pNf8D7hR0V8CtwLs2KnuSp2yC/KJYEnTRZHKKxDriJZi/ltd0C7Sk+lMHUB5qt86dS2nmrkmdgYitCI5uis1h4deU31TcMm7ISBMDRZLTVbh8v7VHAYP5vAgtV9vwZJyigKhOBN+Or+DaZWdcN8ae25nyd0vTqCq9hdlq31WF5IGMpVJI06rzantRKEINKDDADTy2S89QoaTWYuropqG4oeilSpA2o4iwsDOduSaNRmpWkRitRCGq4hY/kQNDgVsi3lwPYxMOC4HjF5RNBlaylmLj6Eo0tus7B/Pk/9yHdcTBTe5FrLZXhYQfEk/0+EMRFfc1t48bQCQS4v3A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBFf0-0005l0-G5; Wed, 13 Nov 2024 10:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74344] [PATCH 6/7] gnu: Add widgetanimationframework. 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:02 +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.173151307922048 (code B ref 74344); Wed, 13 Nov 2024 15:52:02 +0000 Received: (at 74344) by debbugs.gnu.org; 13 Nov 2024 15:51:19 +0000 Received: from localhost ([127.0.0.1]:43209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBFeJ-0005jY-8z for submit@debbugs.gnu.org; Wed, 13 Nov 2024 10:51:19 -0500 Received: from layka.disroot.org ([178.21.23.139]:51906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBFeG-0005jO-En for 74344@debbugs.gnu.org; Wed, 13 Nov 2024 10:51:17 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 07AB324F14; Wed, 13 Nov 2024 16:51:15 +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 fUhpIYAsNzOr; Wed, 13 Nov 2024 16:51:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1731513070; bh=pIHToDQjPPLMyTBmI6BkeUNN1eqE+DgNAvY5BB110i0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=IPSjzCMvIiinFenwGi0O8Rs9vWjOEVYyBxidC4ucJAYwotF3InBsLGhkwflQd0+mh 1lNcemVHWe+7rqgoF+iXArPRr/ixm9px39VVJuKbJB9sfWpkXQl5O2LZKmNz3pYFuF 8lGOI2Z+azs5MRpbY5QaPpMIUBLx/cbRvBDdp0GQdKMAhHOW/HWtgEThMlWU/wnAxH ubj7MVa1MRJwbUChEV3Cwny1ok5pwX5eXj3GPV9aF5QAnxLfMrU5/VB/7QkKsgOljj 1k9K6Zs7pXb9Bj9OWw6BFo53KYBrZ17KCVgXO7MC2+MdV+muWR6d6/2DHraw/TMgh3 ftMm/pBQ5o0xQ== Date: Wed, 13 Nov 2024 21:16:22 +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 (widgetanimationframework): New variable. Change-Id: Iacf862eac61b521cf2dd8da9249a6411f2f737a1 --- gnu/packages/qt.scm | 56 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index efff50a60c..1a9924b1ca 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -31,6 +31,7 @@ ;;; Copyright © 2022, 2024 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2023 Herman Rimm ;;; Copyright © 2024 Foundation Devices, Inc. +;;; Copyright © 2024 Sughosha ;;; ;;; This file is part of GNU Guix. ;;; @@ -4798,6 +4799,61 @@ (define-public qtpromise "This package provides Promises/A+ implementation for Qt/C++.") (license license:expat))) +(define-public widgetanimationframework + (let ((commit "b07ab59cee7a21eb29d29cb67c160681f13ac5ae") ;no tags + (revision "0")) + (package + (name "widgetanimationframework") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/dimkanovikov/WidgetAnimationFramework") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1smbdrzk05vvbf6lpjdq82k4y2kc4yv1gk5388qbslbzlb6ihls6")) + (modules '((guix build utils))) + (snippet + '(begin + (rename-file "demo/waf-demo.pro" "src/waf.pro") + (substitute* "src/waf.pro" + (("main.cpp ") "") + (("app") "lib") + (("waf-demo") "waf")))))) + (build-system qt-build-system) + (arguments + (list #:qtbase qtbase + #:tests? #f ;no tests + #:phases + #~(modify-phases %standard-phases + (replace 'configure + (lambda _ + (chdir "src") + (invoke "qmake"))) + (replace 'install + (lambda _ + (for-each + (lambda (file) + (install-file file + (string-append #$output "/lib/" + (dirname file)))) + (find-files "." "\\.so")) + (for-each + (lambda (file) + (install-file file + (string-append #$output "/include/WAF/" + (dirname file)))) + (find-files "." "\\.h$"))))))) + (home-page "https://github.com/dimkanovikov/WidgetAnimationFramework") + (synopsis "Extension for animating Qt widgets") + (description + "Widget Animation Framework (WAF) is an extension for animating Qt +widgets.") + (license license:lgpl3)))) + (define-public qtcolorwidgets (package (name "qtcolorwidgets")