GNU bug report logs - #67338
[PATCH gnome-team] [WIP] gnu: Add gnome-logs.

Previous Next

Package: guix-patches;

Reported by: Vivien Kraus <vivien <at> planete-kraus.eu>

Date: Tue, 21 Nov 2023 19:41:04 UTC

Severity: normal

Tags: patch

Done: Vivien Kraus <vivien <at> planete-kraus.eu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Vivien Kraus <vivien <at> planete-kraus.eu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#67338: closed ([PATCH gnome-team] [WIP] gnu: Add gnome-logs.)
Date: Mon, 29 Jan 2024 18:16:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 29 Jan 2024 19:15:04 +0100
with message-id <0f9e3b79cb60bd867ccadd0f4bfe5a203ffe1e86.camel <at> planete-kraus.eu>
and subject line [PATCH gnome-team] [WIP] gnu: Add gnome-logs.
has caused the debbugs.gnu.org bug report #67338,
regarding [PATCH gnome-team] [WIP] gnu: Add gnome-logs.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
67338: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67338
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: guix-patches <at> gnu.org
Cc: rg <at> raghavgururajan.name, liliana.prikler <at> gmail.com,
 maxim.cournoyer <at> gmail.com
Subject: [PATCH gnome-team] [WIP] gnu: Add gnome-logs.
Date: Tue, 21 Nov 2023 18:54:31 +0100
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


[Message part 3 (message/rfc822, inline)]
From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: 67338-done <at> debbugs.gnu.org
Subject: [PATCH gnome-team] [WIP] gnu: Add gnome-logs.
Date: Mon, 29 Jan 2024 19:15:04 +0100
I’m retracting this, it is obviously out of scope.

Best regards,

Vivien


This bug report was last modified 1 year and 171 days ago.

Previous Next


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