unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Baptiste Strazzulla <bstrazzull@hotmail.fr>
To: 57088@debbugs.gnu.org
Subject: [bug#57088] [PATCH] Add emacs-blight and emacs-lemon
Date: Tue, 9 Aug 2022 18:57:04 +0000	[thread overview]
Message-ID: <AS8P189MB2024CC1933A394084A837AA0B9629@AS8P189MB2024.EURP189.PROD.OUTLOOK.COM> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2 bytes --]



[-- Attachment #1.2: Type: text/html, Size: 337 bytes --]

[-- Attachment #2: 0001-gnu-Add-emacs-blight.patch --]
[-- Type: application/octet-stream, Size: 2571 bytes --]

From 80953dce0f7a5de74d020520770553899e7222f8 Mon Sep 17 00:00:00 2001
From: Zzull <bstrazzull@hotmail.fr>
Date: Tue, 9 Aug 2022 20:51:23 +0200
Subject: [PATCH 1/2] gnu: Add emacs-blight

* gnu/packages/emacs-xyz.scm (emacs-blight): New variable.
---
 gnu/packages/emacs-xyz.scm | 31 ++++++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3c1d322db3..e74a78557a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -49,7 +49,7 @@
 ;;; Copyright © 2019, 2020, 2021 Joseph LaFreniere <joseph@lafreniere.xyz>
 ;;; Copyright © 2019 Todor Kondić <tk.code@protonmail.com>15669
 ;;; Copyright © 2019 Amar Singh <nly@disroot.org>
-;;; Copyright © 2019 Baptiste Strazzulla <bstrazzull@hotmail.fr>
+;;; Copyright © 2019, 2022 Baptiste Strazzulla <bstrazzull@hotmail.fr>
 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;; Copyright © 2019 Jens Mølgaard <jens@zete.tk>
 ;;; Copyright © 2019, 2020 Amin Bandali <bandali@gnu.org>
@@ -4300,6 +4300,35 @@ (define-public emacs-s
 strings.")
     (license license:gpl3+)))
 
+(define-public emacs-blight
+  (let ((commit "6bf9c6192d")
+        (revision "0"))
+    (package
+      (name "emacs-blight")
+      (version (git-version "1.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://codeberg.org/emacs-weirdware/blight")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1x7s1fcva5kkl9iyb5grd6crf38rrz3zb0c6wb85khi9far10vgq"))))
+      (build-system emacs-build-system)
+      (home-page "https://codeberg.org/emacs-weirdware/blight")
+      (synopsis "Control display brightness")
+      (description
+       "@code{blight} allows you to control display brightness from Emacs.  It
+features object-oriented code using EIEIO, a base class implementing a
+reasonable API which focuses on the extremely basic \"set the back light to
+this percentage\" functionality instead of advanced tightly-coupled frippery,
+it includes a concrete implementation that uses SysFS to control brightness.
+Other systems (D-Bus, macOS, Windows, xbacklight, XELB using XRandR) are
+easily supportable, giving the same experience across environments.  It has a
+500% snappier name than any other backlight tool for Emacs.")
+      (license license:gpl3+))))
+
 (define-public emacs-symon
   (package
     (name "emacs-symon")
-- 
2.37.1


[-- Attachment #3: 0002-gnu-Add-emacs-lemon.patch --]
[-- Type: application/octet-stream, Size: 2002 bytes --]

From fd779bc76c3aa4f34c1fd921096d422e3e798ecf Mon Sep 17 00:00:00 2001
From: Zzull <bstrazzull@hotmail.fr>
Date: Tue, 9 Aug 2022 20:52:19 +0200
Subject: [PATCH 2/2] gnu: Add emacs-lemon

* gnu/packages/emacs-xyz.scm (emacs-lemon): New variable.
---
 gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e74a78557a..3e12b9e50a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4349,6 +4349,36 @@ (define-public emacs-symon
      "Tiny graphical system monitor for the Emacs minibuffer when idle.")
     (license license:gpl2+)))
 
+(define-public emacs-lemon
+  (let ((commit "37a6e6d6ef")
+        (revision "0"))
+    (package
+      (name "emacs-lemon")
+      (version (git-version "2.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://codeberg.org/emacs-weirdware/lemon")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0bc77vzi4p6mlzmhgybbldlpcsiiv4xqrd5lnc7wzvmxv8byhqpm"))))
+      (build-system emacs-build-system)
+      (native-inputs
+       (list emacs-emms emacs-blight))
+      (propagated-inputs
+       (list emacs-s))
+      (home-page "https://codeberg.org/emacs-weirdware/lemon")
+      (synopsis "System monitors in the echo area")
+      (description
+       "@code{lemon} is a tiny system monitor which displays system information
+in the echo area when Emacs is has been idle for a few seconds.  This is a
+fork of zk_phi’s Symon, which has been largely rewritten.  It fixes a number of
+bugs and shortcomings and emphasizes customizability and code reuse, but also
+drops support for non-Linux platforms.  It works nicely with EXWM.")
+      (license license:gpl3+))))
+
 (define-public emacs-sx
   (let ((version "20191229")
         (revision "0")
-- 
2.37.1


             reply	other threads:[~2022-08-09 19:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-09 18:57 Baptiste Strazzulla [this message]
2022-08-26  8:29 ` bug#57088: [PATCH] Add emacs-blight and emacs-lemon Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AS8P189MB2024CC1933A394084A837AA0B9629@AS8P189MB2024.EURP189.PROD.OUTLOOK.COM \
    --to=bstrazzull@hotmail.fr \
    --cc=57088@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).