all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#59054] [PATCH] gnu: Add guile-png.
@ 2022-11-05 16:49 Artyom V. Poptsov
  2022-11-07 21:51 ` bug#59054: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Artyom V. Poptsov @ 2022-11-05 16:49 UTC (permalink / raw)
  To: 59054


[-- Attachment #1.1: Type: text/plain, Size: 41 bytes --]

Hello,

this patch adds Guile-PNG 0.1.0.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-guile-png.patch --]
[-- Type: text/x-diff, Size: 1994 bytes --]

From 3ad8ae184ad83f6106cfec251468bcd822c09f78 Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
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


[-- Attachment #1.3: Type: text/plain, Size: 219 bytes --]


- Artyom

-- 
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 519 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#59054: [PATCH] gnu: Add guile-png.
  2022-11-05 16:49 [bug#59054] [PATCH] gnu: Add guile-png Artyom V. Poptsov
@ 2022-11-07 21:51 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-11-07 21:51 UTC (permalink / raw)
  To: Artyom V. Poptsov; +Cc: 59054-done

Hi,

"Artyom V. Poptsov" <poptsov.artyom@gmail.com> skribis:

> From 3ad8ae184ad83f6106cfec251468bcd822c09f78 Mon Sep 17 00:00:00 2001
> From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
> Date: Sat, 5 Nov 2022 19:47:07 +0300
> Subject: [PATCH] gnu: Add guile-png.
>
> * gnu/packages/guile-xyz.scm (guile-png): New variable.

[...]

> +    (native-inputs (list autoconf automake pkg-config texinfo texlive))

Applied, but without the unnecessary 4 GiB ‘texlive’ dependency.  :-)

> +    (home-page "https://github.com/artyom-poptsov/guile-png")
> +    (synopsis "PNG file parsing library for Guile")

Nice!

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-07 21:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-05 16:49 [bug#59054] [PATCH] gnu: Add guile-png Artyom V. Poptsov
2022-11-07 21:51 ` bug#59054: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.