From patchwork Sat Nov 5 16:49:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Artyom V. Poptsov" X-Patchwork-Id: 44338 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 EE04E27BBE9; Sat, 5 Nov 2022 16:50:13 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,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 741B227BBEA for ; Sat, 5 Nov 2022 16:50:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orMMy-0000wS-1E; Sat, 05 Nov 2022 12:50:08 -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 1orMMs-0000tu-Tp for guix-patches@gnu.org; Sat, 05 Nov 2022 12:50:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1orMMs-0003c6-B7 for guix-patches@gnu.org; Sat, 05 Nov 2022 12:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1orMMs-000632-6k for guix-patches@gnu.org; Sat, 05 Nov 2022 12:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#59054] [PATCH] gnu: Add guile-png. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Nov 2022 16:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59054 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59054@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166766697623210 (code B ref -1); Sat, 05 Nov 2022 16:50:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Nov 2022 16:49:36 +0000 Received: from localhost ([127.0.0.1]:57894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orMMR-00062I-PW for submit@debbugs.gnu.org; Sat, 05 Nov 2022 12:49:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:37580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orMMO-000628-62 for submit@debbugs.gnu.org; Sat, 05 Nov 2022 12:49:34 -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 1orMMO-0000hw-0Z for guix-patches@gnu.org; Sat, 05 Nov 2022 12:49:32 -0400 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1orMMM-0003aW-7Z for guix-patches@gnu.org; Sat, 05 Nov 2022 12:49:31 -0400 Received: by mail-lj1-x234.google.com with SMTP id d20so10432821ljc.12 for ; Sat, 05 Nov 2022 09:49:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=eJ0QmekyGV8NiHZtQ2MMMPOVVU6vniPniwfgmuMR3U0=; b=KniL3yuJeRK4VZvfGrDY/VE2boabV3DYJIJraeMKqwJxFhMhx9qeVMOMctHwy3dQDn /waeDocrGTPK2AWKSS51CHVRuYEQYjVItHzoRGKC/KVjJDP/6kbvt3Kg86bivbIblvmt 9+RzeZtQyZknO37ngIDfPzJjemTwt0DL0VY5PU9+TdTajicLMUeQbwZP96IzTOlA/nlA 4ckff+/shbLK7beCA02uXFogjopJXmEwql59wBO58jE0aqJCIX0TIRbQIM5jXIXxMRZX 2W4ja9XPVj3goXaHNvHQ2414oMs/3HrLyetltadQwzVseDv1v7Mw1tOpDelh+Sf/G9CP yeTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eJ0QmekyGV8NiHZtQ2MMMPOVVU6vniPniwfgmuMR3U0=; b=gnAu0+Nq20nNRmD/FERnbia0/tlbrz9wQPAB7zIsutBy3ibJkhWbUFg4c4ZtzyybnP IcGi2+7gxWsJX8KUfuV757YLcprbrE9/r+Lrk09C0m6jJDn4SGjFpl26dUGdCTN3vsYp oGXKpZB3nSXRfdFX489FOqfKOdhthDcxXO+DoTG2PrxCt5e0dK73dNR0K1nc/kgtll2D 1kDewSkXLTY9M0wvuhYC7nX7dleO5SfZU6SY6Xyjic09gAKAnH5wwQ4kWZwD4zuFbapq JwnpyT1GH+J6flCLkxtmjuS+ita2VFw1FtPwQvX0Ofhyp7FSiNSxoJSdKVdCdp9xJBX5 js5Q== X-Gm-Message-State: ACrzQf3MUXcw/Io/6j+7/pZcfjgMBPacxfIy8jueUxnDWeHuTsd9bVIc OqoKo9ERIJS9u7sq12KtX0QUUEIyasI= X-Google-Smtp-Source: AMsMyM7rnDaOz2s0/7Nx1Fd+hbOhg6iEuFhkT0K7UqIXUTe9KSmegdUDzFs4p1lIxxPjZu0u/lT4Jg== X-Received: by 2002:a2e:99c4:0:b0:277:7a5:bf0a with SMTP id l4-20020a2e99c4000000b0027707a5bf0amr15844156ljj.436.1667666967702; Sat, 05 Nov 2022 09:49:27 -0700 (PDT) Received: from elephant ([95.79.131.72]) by smtp.gmail.com with ESMTPSA id v11-20020a2ea60b000000b0027713ef5360sm371867ljp.71.2022.11.05.09.49.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Nov 2022 09:49:27 -0700 (PDT) From: "Artyom V. Poptsov" Date: Sat, 05 Nov 2022 19:49:23 +0300 Message-ID: <874jvd1h4c.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::234; envelope-from=poptsov.artyom@gmail.com; helo=mail-lj1-x234.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Sender: "Guix-patches" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hello, this patch adds Guile-PNG 0.1.0. - Artyom From 3ad8ae184ad83f6106cfec251468bcd822c09f78 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sat, 5 Nov 2022 19:47:07 +0300 Subject: [PATCH] gnu: Add guile-png. * gnu/packages/guile-xyz.scm (guile-png): New variable. --- gnu/packages/guile-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 38a0b3e4cb..070ab40fe9 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -3542,6 +3542,34 @@ (define-public guile-jpeg perform geometrical transforms on JPEG images.") (license license:gpl3+)))) +(define-public guile-png + (package + (name "guile-png") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/artyom-poptsov/guile-png") + (commit (string-append "v" version)))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0ig58zjw60jg4bb4fzm22dqr5zksqpzimpfa8wcarv8gjp861cw5")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags '("GUILE_AUTO_COMPILE=0"))) ;to prevent guild warnings + (native-inputs (list autoconf automake pkg-config texinfo texlive)) + (inputs (list bash-minimal guile-3.0 guile-lib guile-zlib)) + (propagated-inputs (list guile-smc)) + (home-page "https://github.com/artyom-poptsov/guile-png") + (synopsis "PNG file parsing library for Guile") + (description + "@code{guile-png} is a GNU Guile library for working with the +@url{https://en.wikipedia.org/wiki/PNG, PNG format}. This library provides +API for reading and writing PNG data, as well as some basic image processing +filters.") + (license license:gpl3+))) + (define-public nomad (package (name "nomad") -- 2.34.1