From patchwork Sun Aug 7 11:29:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "\\(" X-Patchwork-Id: 41329 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 3BB5927BBEA; Sun, 7 Aug 2022 12:30:30 +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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 D9D1827BBE9 for ; Sun, 7 Aug 2022 12:30:29 +0100 (BST) Received: from localhost ([::1]:48710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKeUH-0007mV-28 for patchwork@mira.cbaines.net; Sun, 07 Aug 2022 07:30:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKeTt-0007kE-UX for guix-patches@gnu.org; Sun, 07 Aug 2022 07:30:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46323) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKeTq-0004iy-Du for guix-patches@gnu.org; Sun, 07 Aug 2022 07:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKeTq-0000ec-9R for guix-patches@gnu.org; Sun, 07 Aug 2022 07:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57032] [PATCH] gnu: packages: Add spng. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Aug 2022 11:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57032 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57032@debbugs.gnu.org Cc: "\(" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16598717562422 (code B ref -1); Sun, 07 Aug 2022 11:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Aug 2022 11:29:16 +0000 Received: from localhost ([127.0.0.1]:36072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKeT5-0000d0-Rg for submit@debbugs.gnu.org; Sun, 07 Aug 2022 07:29:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:34532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKeT3-0000cs-7C for submit@debbugs.gnu.org; Sun, 07 Aug 2022 07:29:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKeT3-0006gM-32 for guix-patches@gnu.org; Sun, 07 Aug 2022 07:29:13 -0400 Received: from knopi.disroot.org ([178.21.23.139]:33006) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKeT1-0004d5-5Z for guix-patches@gnu.org; Sun, 07 Aug 2022 07:29:12 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id C788944F71; Sun, 7 Aug 2022 13:29:08 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E3PZPq9b0wiD; Sun, 7 Aug 2022 13:29:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1659871747; bh=0U19xKneLBh51QHsotQ2zhcejXgHgb9fV4utR70xuTc=; h=From:To:Cc:Subject:Date; b=ekn/TVEGT9mnMaCAxjwMLDTqRhOl0I7rXYE6l91K3C6WcAszd2aY967gHzcm6MKlO juthAwwlaZPmYyBvfYiiBFXnSwjVv0uioecnqFWZ62nrfpRM6sR4ykOkFUdOvU+pW7 PesDhVGDQ7qJvFdktxZh3zHBePpux5TKX4qykCaYlh6JbkilR6REd00hok7etgb2zz GtD/EBX48nQeItbffbbNVRWGCjvASqtTeY4PhoT4ZTjjRJwAZhJYJdOqpwxT/fZuvI xHy5GnzvEBwCSh+lENOGoHkGA234E7lxte6Zd9DceU5HzB+Mfb+8bx+xAAfRq7zjrC MyCaYJXft/aXw== Date: Sun, 7 Aug 2022 12:29:03 +0100 Message-Id: <20220807112903.16835-1-paren@disroot.org> Mime-Version: 1.0 Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" X-Patchwork-Original-From: "\( via Guix-patches" via From: "\\(" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/image.scm (spng): New variable. --- gnu/packages/image.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 1b88c7be83..9c132ced05 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -33,6 +33,7 @@ ;;; Copyright © 2021 Nicolò Balzarotti ;;; Copyright © 2021 Alexandr Vityazev ;;; Copyright © 2022 Jai Vetrivelan +;;; Copyright © 2022 ( ;;; ;;; This file is part of GNU Guix. ;;; @@ -2445,3 +2446,28 @@ (define-public phockup have creation date information will be placed in a folder called @file{unknown}.") (license license:expat))) + +(define-public spng + (package + (name "spng") + (version "0.7.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/randy408/libspng") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0src9ii9w9afz2vgridn9r38pa6888myk28x2bjw0ynw5xcd62hs")))) + (build-system meson-build-system) + (inputs (list zlib)) + (native-inputs (list libpng)) + (home-page "https://libspng.org") + (synopsis "Simple PNG loading library") + (description + "@code{libspng} is a simple C library for loading Portable Network +Graphics (PNGs), intended as an easy-to-use replacement for @code{libpng}.") + (license license:bsd-2) + ;; Supports SSE on x86-64 and NEON on AArch64. + (properties '((tunable? . #t)))))