[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/11: gnu: Add farbfeld.
From: |
guix-commits |
Subject: |
02/11: gnu: Add farbfeld. |
Date: |
Wed, 22 Jun 2022 17:50:16 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 1635d39c3c7ea7ee26c6f98d662fb90e8e7fca35
Author: Gabriel Wicki <gabriel@erlikon.ch>
AuthorDate: Sat Jun 18 17:00:16 2022 +0200
gnu: Add farbfeld.
* gnu/packages/suckless.scm (farbfeld): New variable.
[use-modules]: Add (gnu packages imagemagick)
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/suckless.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 372eac6ce3..0607e8f84e 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -39,6 +39,7 @@
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
+ #:use-module (gnu packages imagemagick)
#:use-module (gnu packages libbsd)
#:use-module (gnu packages linux)
#:use-module (gnu packages mpd)
@@ -1084,3 +1085,43 @@ There are formatting programs included to convert this
TAB-separated format to
various other formats. There are also some programs and scripts included to
import and export OPML and to fetch, filter, merge and order feed items.")
(license license:isc)))
+
+(define-public farbfeld
+ (let ((commit "ab5e3dfc9cdb476218538c6687df9f44826d8f11") (revision "0"))
+ (package
+ (name "farbfeld")
+ (version (git-version "4" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "git://git.suckless.org/farbfeld")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0pkmkvv5ggpzqwqdchd19442x8gh152xy5z1z13ipfznhspsf870"))))
+ (build-system gnu-build-system)
+ (inputs (list libpng libjpeg-turbo imagemagick))
+ (arguments
+ (list #:tests?
+ #f ;no check target
+ #:make-flags
+ #~(list (string-append "PREFIX="
+ #$output)
+ (string-append "CC="
+ #$(cc-for-target)))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'patch-2ff
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (substitute* "2ff"
+ (("png2ff") (string-append #$output "/bin/png2ff"))
+ (("jpg2ff") (string-append #$output "/bin/jpg2ff"))
+ (("convert") (search-input-file inputs
"/bin/convert")))))
+ (delete 'configure))))
+ (synopsis "Image format and conversion tools")
+ (description
+ "farbfeld is a lossless image format which is easy to parse,
+pipe and compress.")
+ (home-page "https://git.suckless.org/farbfeld/")
+ (license license:isc))))
- branch master updated (4f9ac2afc7 -> 2873433c72), guix-commits, 2022/06/22
- 01/11: services: wireguard: Shepherd 'stop' method really stops., guix-commits, 2022/06/22
- 03/11: gnu: sent: Add farbfeld to propagated-inputs., guix-commits, 2022/06/22
- 02/11: gnu: Add farbfeld.,
guix-commits <=
- 09/11: style: Keep values next to their keyword., guix-commits, 2022/06/22
- 08/11: gnu: libjxl: Update to 0.6.1-0.b7076f18., guix-commits, 2022/06/22
- 10/11: refresh: Repurpose '-L' for '--load-path'., guix-commits, 2022/06/22
- 05/11: gnu: sent: Remove input labels., guix-commits, 2022/06/22
- 04/11: gnu: sent: Apply guix style, guix-commits, 2022/06/22
- 11/11: news: Add entry for 'guix refresh -L' change., guix-commits, 2022/06/22
- 07/11: gnu: google-highway: Update to 0.17.0., guix-commits, 2022/06/22
- 06/11: gnu: reuse: Update to 1.0.0., guix-commits, 2022/06/22