GNU bug report logs - #51187
[PATCH] gnu: Add herbe.

Previous Next

Package: guix-patches;

Reported by: iKaSeRo <ahmed <at> ikasero.com>

Date: Wed, 13 Oct 2021 18:45:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 51187 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#51187; Package guix-patches. (Wed, 13 Oct 2021 18:45:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to iKaSeRo <ahmed <at> ikasero.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 13 Oct 2021 18:45:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: iKaSeRo <ahmed <at> ikasero.com>
To: guix-patches <at> gnu.org
Cc: iKaSeRo <ahmed <at> ikasero.com>
Subject: [PATCH] gnu: Add herbe.
Date: Wed, 13 Oct 2021 21:43:42 +0300
* gnu/packages/suckless.scm (herbe): New variable.
---
 gnu/packages/suckless.scm | 40 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index b24eced379..f3ed9f1df6 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -303,6 +303,46 @@ optimising the environment for the application in use and the task performed.")
 numbers of user-defined menu items efficiently.")
     (license license:x11)))
 
+(define-public herbe
+  (package
+    (name "herbe")
+    (version "1.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/dudik/herbe")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0358i5jmmlsvy2j85ij7m1k4ar2jr5lsv7y1c58dlf9710h186cv"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f                      ; no tests
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'configure
+           (lambda* (#:key outputs inputs #:allow-other-keys)
+             (substitute* "Makefile"
+               (("CC \\?= cc")
+                (string-append "CC ="
+                               ,(cc-for-target)))
+               (("PREFIX \\?= /usr/local")
+                (string-append "PREFIX ="
+                               (assoc-ref outputs "out")))
+               (("/usr/include/freetype2")
+                (string-append (assoc-ref inputs "freetype")
+                               "/include/freetype2"))))))))
+    (inputs
+     `(("libx11" ,libx11)
+       ("libxft" ,libxft)))
+    (home-page "https://github.com/dudik/herbe")
+    (synopsis "Daemon-less notifications")
+    (description "Daemon-less notifications without D-Bus.
+You can use @code{tiramisu} to call @code{herbe}")
+    (license license:expat)))
+
 (define-public spoon
   (package
     (name "spoon")
-- 
2.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#51187; Package guix-patches. (Thu, 28 Oct 2021 19:13:01 GMT) Full text and rfc822 format available.

Message #8 received at 51187 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: iKaSeRo <ahmed <at> ikasero.com>
Cc: 51187 <at> debbugs.gnu.org
Subject: Re: bug#51187: [PATCH] gnu: Add herbe.
Date: Thu, 28 Oct 2021 21:12:12 +0200
Hi,

iKaSeRo <ahmed <at> ikasero.com> skribis:

> * gnu/packages/suckless.scm (herbe): New variable.

Overall LGTM.  Minor comments:

> diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
> index b24eced379..f3ed9f1df6 100644
> --- a/gnu/packages/suckless.scm

Could you move it to, say, xdisorg.scm as it’s not related to
suckless.org?

> +    (home-page "https://github.com/dudik/herbe")
> +    (synopsis "Daemon-less notifications")
> +    (description "Daemon-less notifications without D-Bus.
> +You can use @code{tiramisu} to call @code{herbe}")

Please make full sentences and expound a tiny bit, as per
<https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html>.

TIA!

Ludo’.




This bug report was last modified 2 years and 181 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.