From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp10.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms5.migadu.com with LMTPS
	id 0GNyIlei72LCIgAAbAwnHQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 07 Aug 2022 13:30:31 +0200
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp10.migadu.com with LMTPS
	id 0HK0IVei72LosAAAG6o9tA
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 07 Aug 2022 13:30:31 +0200
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 34C683C2AF
	for <larch@yhetil.org>; Sun,  7 Aug 2022 13:30:31 +0200 (CEST)
Received: from localhost ([::1]:48710 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	id 1oKeUH-0007mV-T8
	for larch@yhetil.org; 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 <Debian-debbugs@debbugs.gnu.org>)
 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 <Debian-debbugs@debbugs.gnu.org>)
 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 <Debian-debbugs@debbugs.gnu.org>) 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: "(" <paren@disroot.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Sun, 07 Aug 2022 11:30:02 +0000
Resent-Message-ID: <handler.57032.B.16598717562422@debbugs.gnu.org>
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: "\(" <paren@disroot.org>
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 <debbugs-submit-bounces@debbugs.gnu.org>)
 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 <paren@disroot.org>) 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 <paren@disroot.org>) 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 <paren@disroot.org>) 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
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
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: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: "Guix-patches" <guix-patches-bounces+larch=yhetil.org@gnu.org>
Reply-to:  "\(" <paren@disroot.org>
X-ACL-Warn: ,  "\( via Guix-patches" <guix-patches@gnu.org>
From:  "\( via Guix-patches" via <guix-patches@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-To: larch@yhetil.org
X-Migadu-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1659871831;
	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-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:resent-cc:
	 resent-from:resent-sender:resent-message-id:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post:dkim-signature;
	bh=hRwzht1v9hBVJ07a0yoJHEHC2daLHUtD6+fnfDDO70U=;
	b=XTvawpydKOZEjvKImOoRsEFMlVQJ8fphygwyerG8CH6viZI38qikU8Vb4GpQXqXWR0neDh
	4e8C5xYPe/zDPTKHAZU39TdihvQSdShzCP5hBcXj6qmH5UOwPdlMz1SQ01HGf60Oy5iw10
	I/QToD6/m1TIiPNKh2pMEL+aPCRKYAX+Dp6YUNHnPpXAu0t7L82Qe9u4VCkln7H36dEihv
	gF4ztO6q8O4zc3ss68LyTTnNjwVBwh2Iwh2z9cFiiMKcVlKBNft/OYn18yWPfdj3C/70LP
	KiTfhbn8jtVxTmNqHZgj5eF+K2VsydV9I4tghI340nxqT6/khlyjM4XBnSaIEQ==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659871831; a=rsa-sha256; cv=none;
	b=cJOqLE8gi3fvesgIDemw/qPmeCPIr733Zg6LYNjejQW0YeqvxDx0EzMtiFbudepr9S5MsZ
	Wk6GUVIxiLYw8au4kpWTaq5L+bgijxx7BN9auMFWyepFnxRPNH5tLj/oiKGO4KMmss0fra
	eY0tLd5t6ZN49BxKIOgJ7gT/rD4hyjEOTErWK0CJHn3L2vtWpUq7BkpIJPD8FynEeiIn0i
	6IaslGttZmkIAnOS23VgWBWsQ9w9AHo7QNkJVnhSxtMdwsINllRyBD/Xssyjpq6BRsg36C
	ISrN0kYCeaLyzYZ8jd6QmjD0n9qoCALqCRfI63MfhGMgkYppqhHONnl+jEhWyA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="ekn/TVEG";
	dmarc=pass (policy=none) header.from=gnu.org;
	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"
X-Migadu-Spam-Score: -3.60
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="ekn/TVEG";
	dmarc=pass (policy=none) header.from=gnu.org;
	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"
X-Migadu-Queue-Id: 34C683C2AF
X-Spam-Score: -3.60
X-Migadu-Scanner: scn0.migadu.com
X-TUID: 7Hiccs5ItmVD

* 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 <nicolo@nixo.xyz>
 ;;; Copyright © 2021 Alexandr Vityazev <avityazev@posteo.org>
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
+;;; Copyright © 2022 ( <paren@disroot.org>
 ;;;
 ;;; 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)))))
-- 
2.37.1