From patchwork Mon Aug 14 04:29:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 52821 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 A06C127BBE2; Mon, 14 Aug 2023 05:36:06 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS 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 CEC8E27BBEA for ; Mon, 14 Aug 2023 05:36:04 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVPIZ-0006qe-Pr; Mon, 14 Aug 2023 00:35:26 -0400 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 1qVPIG-0006mr-Mo for guix-patches@gnu.org; Mon, 14 Aug 2023 00:35:04 -0400 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 1qVPIG-00044r-EZ for guix-patches@gnu.org; Mon, 14 Aug 2023 00:35:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qVPIG-00031Q-91; Mon, 14 Aug 2023 00:35:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65280] [PATCH 10/26] gnu: Add qtimageformats. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, maxim.cournoyer@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Mon, 14 Aug 2023 04:35:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65280 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65280@debbugs.gnu.org Cc: Maxim Cournoyer , Andreas Enge , Maxim Cournoyer , =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-Xcc: Andreas Enge , Maxim Cournoyer , =?utf-8?b?5a6L5paH5q2m?= Received: via spool by 65280-submit@debbugs.gnu.org id=B65280.169198765411299 (code B ref 65280); Mon, 14 Aug 2023 04:35:04 +0000 Received: (at 65280) by debbugs.gnu.org; 14 Aug 2023 04:34:14 +0000 Received: from localhost ([127.0.0.1]:60685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVPHR-0002w3-UY for submit@debbugs.gnu.org; Mon, 14 Aug 2023 00:34:14 -0400 Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]:51393) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVPHM-0002un-MF for 65280@debbugs.gnu.org; Mon, 14 Aug 2023 00:34:08 -0400 Received: by mail-qt1-x82c.google.com with SMTP id d75a77b69052e-40ff796e8ddso31220001cf.2 for <65280@debbugs.gnu.org>; Sun, 13 Aug 2023 21:34:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691987643; x=1692592443; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IiZLW2PdZSDadkbOStvH11txaB0dIWBJN/5UglJzkXE=; b=Sz6atBKwNE6FblM/H6hTyjM9X8kXkTznLD+EJA7MkvQB9Cnl3FE5QQ9SFdiNywq1dd as4aBPQhoGYuTSQzrJl3Oa5cuhU+QCtW6oXyi1h1fqVewIs2p6b6F+dlOzyjVOZXKg5z BOowruBPnkM9mfDF7KT01ovxUfluF/2VP/iQxCdmEw2e9FCuaa6r04io49X2GxNUiL38 RwCi/JZD++5g1L6BOBtK0sdpPcKTph/8i9hyBx4RmJN5kL9qLhTQBHhrRDLHyYwDi5Cm irOy08nIBpM9EzCasNSdPfLMhF9tccoVv0Ozrr2gc3UbSXatn58vvQbHzozwtLRmRsVr vtjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691987643; x=1692592443; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IiZLW2PdZSDadkbOStvH11txaB0dIWBJN/5UglJzkXE=; b=ME5tzqWCtn1Dh5p6gkF//sRZvo9uQzOkqDYnK++WOZNk85ejhUSdsO0LGp+0nrnxcx o2KDfl9/4DnNSNMrX5KDNEEKzqXAy1EwvSIsV9HdpjxFwiDMWLnW0mRIjj+Ruo9ZTt4o zruXpyInK+9+BBvhuOCXYn8leBOb//UjCEe+DRlc4A0llXmcBXJoN8qD+JBxYfMa78vw sD5Fh0alwE5f/6CZ2z+wNUmXLXaocKXRdi/ys3ykjUTPBUJLaSnqZO8FE5kRdYOykHMf eFm7L69GLGaa6q6zf7nX3POF5dS7AANkAmNU39ND/nVz0wPeF7Gwf5zq3pzoWutWvUAB JOOw== X-Gm-Message-State: AOJu0YxHySRiz/3zwuks+ZDMpK2gMOoPlQjg0yBHB6cxH2hoMlYy5aT3 qzbABRD5sxXLjJNHQQ+Dkgg5uzFxLV96Bg== X-Google-Smtp-Source: AGHT+IESGajarT6e6ywZSO3y3MbU6I8uvq5sDeUClXIJ/nRS90xUOp41Jttfo1NQPv0XWCM73pCE2Q== X-Received: by 2002:a05:622a:350:b0:403:a819:6d80 with SMTP id r16-20020a05622a035000b00403a8196d80mr10361936qtw.50.1691987643116; Sun, 13 Aug 2023 21:34:03 -0700 (PDT) Received: from localhost.localdomain (dsl-205-233-124-111.b2b2c.ca. [205.233.124.111]) by smtp.gmail.com with ESMTPSA id f23-20020ac80157000000b0040541a8bd66sm2844492qtg.60.2023.08.13.21.34.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Aug 2023 21:34:02 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 14 Aug 2023 00:29:20 -0400 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: , 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 (qtimageformats): New variable. --- gnu/packages/qt.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index e1869802ea..d9ca408721 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -1122,6 +1122,40 @@ (define-public qtimageformats-5 (description "The QtImageFormats module contains plugins for adding support for MNG, TGA, TIFF and WBMP image formats."))) +(define-public qtimageformats + (package + (name "qtimageformats") + (version "6.5.2") + (source (origin + (inherit (package-source qtimageformats-5)) + (method url-fetch) + (uri (qt-url name version)) + (sha256 + (base32 + "0hv7mkn72126rkhy5gmjmbvzy7v17mkk3q2pkmzy99f64j4w1q5a")))) + (build-system cmake-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-display + (lambda _ + ;; Make Qt render "offscreen", required for tests. + (setenv "QT_QPA_PLATFORM" "offscreen")))))) + (inputs + (list jasper + libmng + libtiff + libwebp + mesa + qtbase + zlib)) + (synopsis "Additional Image Format plugins for Qt") + (description "The QtImageFormats module contains plugins for adding +support for MNG, TGA, TIFF and WBMP image formats.") + (home-page (package-home-page qtbase)) + (license (package-license qtbase)))) + (define-public qtx11extras (package (inherit qtsvg-5) (name "qtx11extras")