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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67338 in the body.
You can then email your comments to 67338 AT debbugs.gnu.org in the normal way.

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#67338; Package guix-patches. (Tue, 21 Nov 2023 19:41:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vivien Kraus <vivien <at> planete-kraus.eu>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 21 Nov 2023 19:41:04 GMT) Full text and rfc822 format available.

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

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




Information forwarded to guix-patches <at> gnu.org:
bug#67338; Package guix-patches. (Tue, 21 Nov 2023 20:29:01 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Vivien Kraus <vivien <at> planete-kraus.eu>, 67338 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, maxim.cournoyer <at> gmail.com
Subject: Re: [PATCH gnome-team] [WIP] gnu: Add gnome-logs.
Date: Tue, 21 Nov 2023 21:28:22 +0100
Am Dienstag, dem 21.11.2023 um 18:54 +0100 schrieb Vivien Kraus:
> 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.
Yeah, this is pretty much useless in Guix.  gnome-logs requires
systemd-journald, whereas we use syslogd.  I think it's safe to ship
our GNOME 44 without it.

Cheers




Reply sent to Vivien Kraus <vivien <at> planete-kraus.eu>:
You have taken responsibility. (Mon, 29 Jan 2024 18:16:02 GMT) Full text and rfc822 format available.

Notification sent to Vivien Kraus <vivien <at> planete-kraus.eu>:
bug acknowledged by developer. (Mon, 29 Jan 2024 18:16:02 GMT) Full text and rfc822 format available.

Message #13 received at 67338-done <at> debbugs.gnu.org (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 27 Feb 2024 12:24:07 GMT) Full text and rfc822 format available.

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

Previous Next


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