* [PATCH] NON-WORKING: new package: sent -- simple presentation tool
@ 2015-12-12 21:44 KAction
2015-12-13 16:07 ` Alex Vong
2015-12-13 18:48 ` Leo Famulari
0 siblings, 2 replies; 9+ messages in thread
From: KAction @ 2015-12-12 21:44 UTC (permalink / raw)
To: guix-devel; +Cc: Dmitry Bogatov
From: Dmitry Bogatov <KAction@gnu.org>
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.
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] NON-WORKING: new package: sent -- simple presentation tool
2015-12-12 21:44 [PATCH] NON-WORKING: new package: sent -- simple presentation tool KAction
@ 2015-12-13 16:07 ` Alex Vong
2015-12-13 16:47 ` Dmitry Bogatov
2015-12-13 18:48 ` Leo Famulari
1 sibling, 1 reply; 9+ messages in thread
From: Alex Vong @ 2015-12-13 16:07 UTC (permalink / raw)
To: KAction; +Cc: guix-devel
Hi,
I haven't really look into the source but perhaps the build log has
answered your question :) (or not?)
In the build log, there are three suspicious lines:
CFLAGS = -g -std=c99 -pedantic -Wall -I. -I/usr/include
-I/usr/include/freetype2 -I/usr/X11R6/include -DVERSION="0.2"
-D_XOPEN_SOURCE=600
LDFLAGS = -g -L/usr/lib -lc -lm -L/usr/X11R6/lib -lXft -lfontconfig -lX11 -lpng
CC = gcc
It seems the paths are hard-coded (It is my guess), so it works in
Debian only because of luck. I suppose if the libraries were installed
into `/usr/local', which is permitted by the FHS, then the build
system won't able to find it. I think the way to fix it is to add an
additional phase to patch the build system.
Cheers,
Alex
On 13/12/2015, KAction@gnu.org <KAction@gnu.org> wrote:
> From: Dmitry Bogatov <KAction@gnu.org>
>
> 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.
>
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] NON-WORKING: new package: sent -- simple presentation tool
2015-12-13 16:07 ` Alex Vong
@ 2015-12-13 16:47 ` Dmitry Bogatov
0 siblings, 0 replies; 9+ messages in thread
From: Dmitry Bogatov @ 2015-12-13 16:47 UTC (permalink / raw)
To: Alex Vong; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]
* Alex Vong <alexvong1995@gmail.com> [2015-12-14 00:07:53+0800]
> Hi,
>
> I haven't really look into the source but perhaps the build log has
> answered your question :) (or not?)
>
> In the build log, there are three suspicious lines:
> CFLAGS = -g -std=c99 -pedantic -Wall -I. -I/usr/include
> -I/usr/include/freetype2 -I/usr/X11R6/include -DVERSION="0.2"
> -D_XOPEN_SOURCE=600
> LDFLAGS = -g -L/usr/lib -lc -lm -L/usr/X11R6/lib -lXft -lfontconfig -lX11 -lpng
> CC = gcc
>
> It seems the paths are hard-coded (It is my guess), so it works in
> Debian only because of luck. I suppose if the libraries were installed
> into `/usr/local', which is permitted by the FHS, then the build
> system won't able to find it. I think the way to fix it is to add an
> additional phase to patch the build system.
I thought about it. But then why Xft headers are found, but freetype are
not? I believe, that guix provides CFLAGS enviroment, which overrides
config.mk
--
Accept: text/plain, text/x-diff
Accept-Language: eo,en,ru
X-Keep-In-CC: yes
X-Web-Site: sinsekvu.github.io
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] NON-WORKING: new package: sent -- simple presentation tool
2015-12-12 21:44 [PATCH] NON-WORKING: new package: sent -- simple presentation tool KAction
2015-12-13 16:07 ` Alex Vong
@ 2015-12-13 18:48 ` Leo Famulari
2015-12-14 11:14 ` Alex Vong
1 sibling, 1 reply; 9+ messages in thread
From: Leo Famulari @ 2015-12-13 18:48 UTC (permalink / raw)
To: KAction; +Cc: guix-devel
On Sun, Dec 13, 2015 at 12:44:51AM +0300, KAction@gnu.org wrote:
> From: Dmitry Bogatov <KAction@gnu.org>
>
> 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.
I also found this "simple" software to not be so simple to package for
Guix ;)
Here is my working package definition, in my "out-of-tree" repo:
https://github.com/lfam/pkgs/blob/master/leo/packages/sent.scm
I was waiting for a little while before submitting my package definition
to let upstream work out some of the early bugs. But now that 0.2 is
out, perhaps it is time. Please feel free to submit your updated package
definition!
>
> 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.
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] NON-WORKING: new package: sent -- simple presentation tool
2015-12-13 18:48 ` Leo Famulari
@ 2015-12-14 11:14 ` Alex Vong
2016-08-13 9:35 ` ng0
0 siblings, 1 reply; 9+ messages in thread
From: Alex Vong @ 2015-12-14 11:14 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel, KAction
Leo Famulari <leo@famulari.name> writes:
> On Sun, Dec 13, 2015 at 12:44:51AM +0300, KAction@gnu.org wrote:
>> From: Dmitry Bogatov <KAction@gnu.org>
>>
>> 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.
>
> I also found this "simple" software to not be so simple to package for
> Guix ;)
>
> Here is my working package definition, in my "out-of-tree" repo:
> https://github.com/lfam/pkgs/blob/master/leo/packages/sent.scm
>
> I was waiting for a little while before submitting my package definition
> to let upstream work out some of the early bugs. But now that 0.2 is
> out, perhaps it is time. Please feel free to submit your updated package
> definition!
>
It works for me! So the problem boils dpwn to the missing
`-I/gnu/store/...-freetype/include/freetype2' include path...
>>
>> 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.
>>
>>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] NON-WORKING: new package: sent -- simple presentation tool
2015-12-14 11:14 ` Alex Vong
@ 2016-08-13 9:35 ` ng0
2016-08-14 6:52 ` Eric Bavier
0 siblings, 1 reply; 9+ messages in thread
From: ng0 @ 2016-08-13 9:35 UTC (permalink / raw)
To: Alex Vong, Leo Famulari; +Cc: guix-devel, KAction
Alex Vong <alexvong1995@gmail.com> writes:
> Leo Famulari <leo@famulari.name> writes:
>
>> On Sun, Dec 13, 2015 at 12:44:51AM +0300, KAction@gnu.org wrote:
>>> From: Dmitry Bogatov <KAction@gnu.org>
>>>
>>> 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.
>>
>> I also found this "simple" software to not be so simple to package for
>> Guix ;)
>>
>> Here is my working package definition, in my "out-of-tree" repo:
>> https://github.com/lfam/pkgs/blob/master/leo/packages/sent.scm
>>
>> I was waiting for a little while before submitting my package definition
>> to let upstream work out some of the early bugs. But now that 0.2 is
>> out, perhaps it is time. Please feel free to submit your updated package
>> definition!
>>
> It works for me! So the problem boils dpwn to the missing
> `-I/gnu/store/...-freetype/include/freetype2' include path...
This was never finished. Could anyone pick this up and finish it?
Thanks.
>>>
>>> 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.
>>>
>>>
>
--
♥Ⓐ ng0
For non-prism friendly talk find me on http://www.psyced.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] NON-WORKING: new package: sent -- simple presentation tool
2016-08-13 9:35 ` ng0
@ 2016-08-14 6:52 ` Eric Bavier
2016-08-14 8:04 ` Dmitry Bogatov
0 siblings, 1 reply; 9+ messages in thread
From: Eric Bavier @ 2016-08-14 6:52 UTC (permalink / raw)
To: ng0; +Cc: guix-devel, KAction
[-- Attachment #1: Type: text/plain, Size: 1682 bytes --]
On Sat, 13 Aug 2016 09:35:13 +0000
ng0 <ng0@we.make.ritual.n0.is> wrote:
> Alex Vong <alexvong1995@gmail.com> writes:
>
> > Leo Famulari <leo@famulari.name> writes:
> >
> >> On Sun, Dec 13, 2015 at 12:44:51AM +0300, KAction@gnu.org wrote:
> >>> From: Dmitry Bogatov <KAction@gnu.org>
> >>>
> >>> 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.
> >>
> >> I also found this "simple" software to not be so simple to package for
> >> Guix ;)
> >>
> >> Here is my working package definition, in my "out-of-tree" repo:
> >> https://github.com/lfam/pkgs/blob/master/leo/packages/sent.scm
> >>
> >> I was waiting for a little while before submitting my package definition
> >> to let upstream work out some of the early bugs. But now that 0.2 is
> >> out, perhaps it is time. Please feel free to submit your updated package
> >> definition!
> >>
> > It works for me! So the problem boils dpwn to the missing
> > `-I/gnu/store/...-freetype/include/freetype2' include path...
>
> This was never finished. Could anyone pick this up and finish it?
>
> Thanks.
This is my take on the patch. It builds and works fine.
Dmitry, I added a copyright line for you; does it seem alright?
`~Eric
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-sent.patch --]
[-- Type: text/x-patch, Size: 3427 bytes --]
From fbfd29f793815d9870d0edf9044e7aa9ec7175a6 Mon Sep 17 00:00:00 2001
From: Dmitry Bogatov <KAction@gnu.org>
Date: Sun, 14 Aug 2016 01:46:58 -0500
Subject: [PATCH] gnu: Add sent.
* gnu/packages/suckless.scm (sent): New variable.
Co-authored-by: Leo Famulari <leo@famulari.name>
Co-authored-by: Eric Bavier <bavier@member.fsf.org>
---
gnu/packages/suckless.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 7aab2c2..1f62e26 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -3,6 +3,9 @@
;;; Copyright © 2015 Amirouche Boubekki <amirouche@hypermove.net>
;;; Copyright © 2016 Al McElrath <hello@yrns.org>
;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
+;;; Copyright © 2015 Dmitry Bogatov <KAction@gnu.org>
+;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
;;;
;;; 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)))
--
2.9.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] NON-WORKING: new package: sent -- simple presentation tool
2016-08-14 6:52 ` Eric Bavier
@ 2016-08-14 8:04 ` Dmitry Bogatov
2016-08-16 19:26 ` Eric Bavier
0 siblings, 1 reply; 9+ messages in thread
From: Dmitry Bogatov @ 2016-08-14 8:04 UTC (permalink / raw)
To: Eric Bavier; +Cc: guix-devel
> This is my take on the patch. It builds and works fine.
>
> Dmitry, I added a copyright line for you; does it seem alright?
Perfectly. Thank you for saving patch from rot.
--
Accept: text/plain, text/x-diff
Accept-Language: eo,en,ru
X-Web-Site: sinsekvu.github.io
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] NON-WORKING: new package: sent -- simple presentation tool
2016-08-14 8:04 ` Dmitry Bogatov
@ 2016-08-16 19:26 ` Eric Bavier
0 siblings, 0 replies; 9+ messages in thread
From: Eric Bavier @ 2016-08-16 19:26 UTC (permalink / raw)
To: Dmitry Bogatov; +Cc: guix-devel
On Sun, 14 Aug 2016 11:04:15 +0300
Dmitry Bogatov <kaction@gnu.org> wrote:
> > This is my take on the patch. It builds and works fine.
> >
> > Dmitry, I added a copyright line for you; does it seem alright?
>
> Perfectly. Thank you for saving patch from rot.
>
No problem, sorry it took so long to get through. Pushed as f0f0a48b.
`~Eric
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2016-08-16 19:26 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-12 21:44 [PATCH] NON-WORKING: new package: sent -- simple presentation tool KAction
2015-12-13 16:07 ` Alex Vong
2015-12-13 16:47 ` Dmitry Bogatov
2015-12-13 18:48 ` Leo Famulari
2015-12-14 11:14 ` Alex Vong
2016-08-13 9:35 ` ng0
2016-08-14 6:52 ` Eric Bavier
2016-08-14 8:04 ` Dmitry Bogatov
2016-08-16 19:26 ` Eric Bavier
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.