guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] NON-WORKING: new package: sent -- simple presentation tool


From: KAction
Subject: [PATCH] NON-WORKING: new package: sent -- simple presentation tool
Date: Sun, 13 Dec 2015 00:44:51 +0300

From: Dmitry Bogatov <address@hidden>

This patch does not work. I did my best during 1.5 hours, but I failed
to actually build this package.

Here is information I can provide:

  - package builds and runs flawlessly on my main Debian system
  - guix build dies on #include <ft2build.h> on
    X11/Xft/Xft.h:39
  - this file (`ft2build.h`) belongs to `freetype` and should
    be propagated with `libxft'.
  - package `st', which also uses `libxft' build find for me.

It would be very kind of anyone to finish my work.

---
 gnu/packages/suckless.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index c921f8e..ad23798 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -25,6 +25,7 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages fonts)
+  #:use-module (gnu packages image)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages fontutils))
 
@@ -144,6 +145,41 @@ numbers of user-defined menu items efficiently.")
      "Simple X session lock with trivial feedback on password entry.")
     (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
+      '(#:tests? #f
+        #:make-flags '("CC=gcc")
+        #:phases
+        (modify-phases %standard-phases
+         (delete 'configure))))
+    (inputs
+      `(("libx11"   ,libx11)
+        ("libxft"   ,libxft)
+        ("libpng"   ,libpng)))
+    (home-page "http://tools.suckless.org/sent/";)
+    (synopsis "Simple plain-text presentation tool")
+    (description
+      "sent does not need latex, libreoffice or any other fancy file format,
+it uses plaintext files and png images. Every paragraph represents a slide in
+the presentation.
+
+The presentation is displayed in a simple X11 window colored black on white
+for maximum contrast. The content of each slide is automatically scaled to fit
+the window so you don’t have to worry about alignment. Instead you can really
+concentrate on the content.")
+    (license (license:x11-style "file://LICENSE"))))
+
 (define-public st
   (package
     (name "st")
-- 
I may be not subscribed. Please, keep me in carbon copy.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]