all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vivien Kraus via Guix-patches via <guix-patches@gnu.org>
To: 67338@debbugs.gnu.org
Cc: rg@raghavgururajan.name, liliana.prikler@gmail.com,
	maxim.cournoyer@gmail.com
Subject: [bug#67338] [PATCH gnome-team] [WIP] gnu: Add gnome-logs.
Date: Tue, 21 Nov 2023 18:54:31 +0100	[thread overview]
Message-ID: <cb004aa4374347f7a2391fa03c1568688a093c30.1700595030.git.vivien@planete-kraus.eu> (raw)

gnome-logs does not appear to support elogind as a journal provider, because
it crashes on startup.

* gnu/packages/gnome.scm (gnome-logs): New variable.

Change-Id: I3d4fff870b5b0d10bcd229c164a5bb19564880d7
---
 gnu/packages/gnome.scm | 45 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index ab485cffb1..61edd70d93 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -13218,6 +13218,51 @@ (define-public komikku
 developed with the aim of being used with the Librem 5 phone.")
     (license license:gpl3+)))
 
+(define-public gnome-logs
+  ;; FIXME: crashes at startup because elogind does not implement the
+  ;; requested API.
+  (package
+    (name "gnome-logs")
+    (version "43.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/" name "/"
+                                  (version-major version) "/"
+                                  name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "0q88q8z7paq2r5s7pkxbclsw5mgpi9xslj2hha3q8z62bsbkpa9k"))))
+    (build-system meson-build-system)
+    (arguments
+     (list
+      #:glib-or-gtk? #t
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'skip-icon-cache
+            (lambda _
+              (substitute* "meson_post_install.py"
+                (("gtk-update-icon-cache")
+                 "true"))))
+          (add-after 'unpack 'use-elogind
+            (lambda _
+              (substitute* "src/gl-journal.h"
+                (("systemd/sd-([^.]*)\\.h" all header)
+                 (string-append "elogind/sd-" header ".h")))
+              (substitute* "meson.build"
+                (("'libsystemd'")
+                 "'libelogind'")))))))
+    (inputs
+     (list elogind glib gtk libadwaita))
+    (native-inputs
+     (list gettext-minimal
+           `(,glib "bin")
+           itstool
+           pkg-config))
+    (home-page "https://apps.gnome.org/Logs")
+    (synopsis "View detailed event logs for the system")
+    (description "This application shows events from the system journal.")
+    (license license:gpl3+)))
+
 (define-public libgda
   (package
     (name "libgda")

base-commit: 1cc3b7e80f60a2a5a6a1400ed0b025efeae7a523
-- 
2.41.0




             reply	other threads:[~2023-11-21 19:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-21 17:54 Vivien Kraus via Guix-patches via [this message]
2023-11-21 20:28 ` [bug#67338] [PATCH gnome-team] [WIP] gnu: Add gnome-logs Liliana Marie Prikler
2024-01-29 18:15 ` bug#67338: " Vivien Kraus 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=cb004aa4374347f7a2391fa03c1568688a093c30.1700595030.git.vivien@planete-kraus.eu \
    --to=guix-patches@gnu.org \
    --cc=67338@debbugs.gnu.org \
    --cc=liliana.prikler@gmail.com \
    --cc=maxim.cournoyer@gmail.com \
    --cc=rg@raghavgururajan.name \
    --cc=vivien@planete-kraus.eu \
    /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.