From f0f0a48b6a32c7d450f73bbc86d2b2a602b30bd0 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Sun, 14 Aug 2016 01:46:58 -0500 Subject: gnu: Add sent. * gnu/packages/suckless.scm (sent): New variable. Co-authored-by: Leo Famulari Co-authored-by: Eric Bavier --- gnu/packages/suckless.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index 7aab2c28b9..1f62e26248 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -3,6 +3,9 @@ ;;; Copyright © 2015 Amirouche Boubekki ;;; Copyright © 2016 Al McElrath ;;; Copyright © 2016 ng0 +;;; Copyright © 2015 Dmitry Bogatov +;;; Copyright © 2015 Leo Famulari +;;; Copyright © 2016 Eric Bavier ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,6 +30,7 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (gnu packages) #:use-module (gnu packages gnome) + #:use-module (gnu packages image) #:use-module (gnu packages xorg) #:use-module (gnu packages fonts) #:use-module (gnu packages pkg-config) @@ -200,3 +204,44 @@ display websites and follow links. It supports the XEmbed protocol which makes it possible to embed it in another application. Furthermore, one can point surf to another URI by setting its XProperties.") (license license:x11))) + +(define-public sent + (package + (name "sent") + (version "0.2") + (source (origin + (method url-fetch) + (uri (string-append "http://dl.suckless.org/tools/sent-" + version ".tar.gz")) + (sha256 + (base32 + "0xhh752hwaa26k4q6wvrb9jnpbnylss2aw6z11j7l9rav7wn3fak")))) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (delete 'configure)) ;no configuration + #:tests? #f ;no test suite + #:make-flags (let ((pkg-config (lambda (flag) + (string-append + "$(shell pkg-config " flag " " + "xft fontconfig x11 libpng)")))) + (list + "CC=gcc" + (string-append "PREFIX=" %output) + (string-append "INCS=-I. " (pkg-config "--cflags")) + (string-append "LIBS=" (pkg-config "--libs") " -lm"))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libpng" ,libpng) + ("libx11" ,libx11) + ("libxft" ,libxft) + ("fontconfig" ,fontconfig))) + (synopsis "Plaintext presentation tool") + (description "Sent uses plaintext files and PNG images to create slideshow +presentations. Each paragraph represents a slide in the presentation. +Especially for presentations using the Takahashi method this is very nice and +allows you to write down the presentation for a quick lightning talk within a +few minutes.") + (home-page "http://tools.suckless.org/sent") + (license license:x11))) -- cgit v1.2.3