all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: florhizome@posteo.net
To: 58501@debbugs.gnu.org
Cc: florhizome <florhizome@posteo.net>
Subject: [bug#58501] [PATCH 3/3] gnu: freedesktop: Add low-memory-monitor
Date: Fri, 14 Oct 2022 12:02:46 +0000	[thread overview]
Message-ID: <922dee2e76de618b0bfc406e749bd32e854cc3b3.1665748966.git.florhizome@posteo.net> (raw)
In-Reply-To: <fccafcd56377a2bbab7b0562265ba99103f4e9ab.1665748966.git.florhizome@posteo.net>

From: florhizome <florhizome@posteo.net>

---
 gnu/packages/freedesktop.scm | 43 ++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index b6aaf1f1ba..5d496da71e 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1733,6 +1733,49 @@ (define-public libqmi
      ;; The qmicli tool is released under the GPLv2+ license.
      (list license:lgpl2.0+ license:gpl2+))))
 
+(define-public low-memory-monitor
+ (package
+    (name "low-memory-monitor")
+    (version "2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.freedesktop.org/hadess/low-memory-monitor")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0431wzn9q2hnx0mwai8w3bcmbln8g76r7wyyhjbkamnl2sccl8jn"))))
+    (build-system meson-build-system)
+    (arguments
+     `(#:configure-flags (list "-Dsystemdsystemunitdir=false")
+       #:tests? #f
+       #:glib-or-gtk? #t))
+    (native-inputs
+     (list `(,glib "bin") gtk-doc libxml2
+              gobject-introspection pkg-config))
+   (inputs
+    (list glib libgudev eudev))
+    (synopsis "Daemon to send information about memory pressure to userspace")
+    (description
+     "The Low Memory Monitor is an early boot daemon that will monitor memory
+pressure information coming from the kernel, and, when memory pressure means
+that memory isn't as readily available and would cause interactivity problems,
+ would:
+
+@itemize
+@item send D-Bus signals to user-space applications when memory is running low,
+
+@item if configured to do so and memory availability worsens, activate the kernel's
+OOM killer.
+@end itemize
+
+It is designed for use on traditional Linux systems, with interactive user interfaces
+and D-Bus communication.")
+    (home-page "https://gitlab.freedesktop.org/hadess/low-memory-monitor")
+    (license license:gpl3)))
+
 (define-public modem-manager
   (package
     (name "modem-manager")
-- 
2.38.0





  parent reply	other threads:[~2022-10-14 14:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-13 15:39 [bug#58501] [PATCH] gnu: Add userspace desktop services florhizome
2022-10-14 12:02 ` [bug#58501] [PATCH 1/3] gnu: freedesktop: Add iio-sensor-proxy florhizome
2022-10-14 12:02   ` [bug#58501] [PATCH 2/3] gnu: freedesktop: Add power-profiles-daemon florhizome
2022-10-14 12:02   ` florhizome [this message]
2022-11-03 20:59 ` [bug#58501] [PATCH v2 1/3] gnu: Add iio-sensor-proxy florhizome
2022-11-03 20:59   ` [bug#58501] [PATCH v2 2/3] gnu: Add power-profiles-daemon florhizome
2022-11-03 20:59   ` [bug#58501] [PATCH v2 3/3] gnu: Add low-memory-monitor florhizome
2023-03-14 15:44 ` [bug#58501] [PATCH] gnu: Add userspace desktop services florhizome
2023-03-14 15:48   ` bug#58501: " Tobias Geerinckx-Rice via Guix-patches via

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

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

  git send-email \
    --in-reply-to=922dee2e76de618b0bfc406e749bd32e854cc3b3.1665748966.git.florhizome@posteo.net \
    --to=florhizome@posteo.net \
    --cc=58501@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 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.