[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: Add cl-png.
From: |
guix-commits |
Subject: |
03/06: gnu: Add cl-png. |
Date: |
Mon, 19 Apr 2021 11:30:20 -0400 (EDT) |
glv pushed a commit to branch master
in repository guix.
commit 1cef75faaebec55d0c5f1c03aed8deebff1dbad4
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Apr 17 21:37:45 2021 +0100
gnu: Add cl-png.
* gnu/packages/lisp-xyz.scm (sbcl-png, cl-png, ecl-png): New variables.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
---
gnu/packages/lisp-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 93f9ea8..d896e91 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -68,6 +68,7 @@
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gtk)
+ #:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
#:use-module (gnu packages libevent)
#:use-module (gnu packages libffi)
@@ -9224,6 +9225,48 @@ for reading and writing JPEG image files.")
(define-public ecl-cl-jpeg
(sbcl-package->ecl-package sbcl-cl-jpeg))
+(define-public sbcl-png
+ (let ((commit "11b965fe378fd0561abe3616b18ff03af5179648")
+ (revision "1"))
+ (package
+ (name "sbcl-png")
+ (version (git-version "0.6" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ljosa/cl-png")
+ (commit commit)))
+ (file-name (git-file-name "cl-png" version))
+ (sha256
+ (base32 "173hqwpd0rwqf95mfx1h9l9c3i8bb0gvnpspzmmz3g5x3440czy4"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-lib-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "libpng.lisp"
+ (("\"libpng\"")
+ (string-append "\""
+ (assoc-ref inputs "libpng")
+ "/lib/libpng\""))))))))
+ (inputs
+ `(("cffi" ,sbcl-cffi)
+ ("libpng" ,libpng)))
+ (home-page "https://github.com/ljosa/cl-png")
+ (synopsis "Read and write PNG file format")
+ (description
+ "This package provides a @code{PNG} Common Lisp system to operate with
+Portable Network Graphics file format.")
+ (license license:lgpl2.1))))
+
+(define-public ecl-png
+ (sbcl-package->ecl-package sbcl-png))
+
+(define-public cl-png
+ (sbcl-package->cl-source-package sbcl-png))
+
(define-public sbcl-nodgui
(let ((commit "4a9c2e7714b278fbe97d198c56f54ea87290001d")
(revision "1"))
- branch master updated (0dda794 -> bde6c43), guix-commits, 2021/04/19
- 01/06: gnu: sbcl-croatoan: Update to 0.0.1-2.7077ef1., guix-commits, 2021/04/19
- 04/06: gnu: Add cl-svg., guix-commits, 2021/04/19
- 02/06: gnu: tinmop: Update to 0.6.2., guix-commits, 2021/04/19
- 03/06: gnu: Add cl-png.,
guix-commits <=
- 05/06: gnu: Add cl-fare-mop., guix-commits, 2021/04/19
- 06/06: gnu: Add cl-inferior-shell., guix-commits, 2021/04/19