GNU bug report logs - #73653
[PATCH 0/3] mate: Fix some crashes.

Previous Next

Package: guix-patches;

Reported by: Dariqq <dariqq <at> posteo.net>

Date: Sun, 6 Oct 2024 08:33:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

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 73653 in the body.
You can then email your comments to 73653 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#73653; Package guix-patches. (Sun, 06 Oct 2024 08:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dariqq <dariqq <at> posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 06 Oct 2024 08:33:02 GMT) Full text and rfc822 format available.

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

From: Dariqq <dariqq <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Dariqq <dariqq <at> posteo.net>
Subject: [PATCH 0/3] mate: Fix some crashes.
Date: Sun,  6 Oct 2024 08:16:53 +0000
Hi,

This little series tries to address some of the issues I encountered after setting up mate-desktop

* mate-centrol-centers mate-default-applications-properties program would crash with the error "Settings schema 'org.gnome.desktop.a11y.applications' is not installed".
* mozo: Would crash immediately because of missing python/gi dependencies.

Both now start from an empty --pure shell without errors.

I also removed labels for mate-control-center.

Dariqq (3):
  gnu: mate-control-center: Remove input labels.
  gnu: mate-control-center: Add gsettings-desktop-schemas to inputs
  gnu: mozo: Wrap python and gi dependencies.

 gnu/packages/mate.scm | 83 ++++++++++++++++++++++++++-----------------
 1 file changed, 51 insertions(+), 32 deletions(-)


base-commit: 002df8abd2f4d7c5d23febb1459b77c880345ca7
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#73653; Package guix-patches. (Sun, 06 Oct 2024 08:35:02 GMT) Full text and rfc822 format available.

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

From: Dariqq <dariqq <at> posteo.net>
To: 73653 <at> debbugs.gnu.org
Cc: Dariqq <dariqq <at> posteo.net>
Subject: [PATCH 1/3] gnu: mate-control-center: Remove input labels.
Date: Sun,  6 Oct 2024 08:33:18 +0000
* gnu/packages/mate.scm (mate-control-center)[inputs]: Remove labels.

Change-Id: I0c54cd365ef8686a67d4bc44bc47996905040d72
---
 gnu/packages/mate.scm | 64 +++++++++++++++++++++----------------------
 1 file changed, 32 insertions(+), 32 deletions(-)

diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm
index ca987cca7c..18c9ec56d8 100644
--- a/gnu/packages/mate.scm
+++ b/gnu/packages/mate.scm
@@ -951,38 +951,38 @@ (define-public mate-control-center
            xmodmap
            gobject-introspection))
     (inputs
-     `(("at-spi2-core" ,at-spi2-core)
-       ("cairo" ,cairo)
-       ("caja" ,caja)
-       ("dconf" ,dconf)
-       ("dbus" ,dbus)
-       ("dbus-glib" ,dbus-glib)
-       ("elogind" ,elogind)
-       ("fontconfig" ,fontconfig)
-       ("freetype" ,freetype)
-       ("glib" ,glib)
-       ("gtk+" ,gtk+)
-       ("libappindicator" ,libappindicator)
-       ("libcanberra" ,libcanberra)
-       ("libgtop" ,libgtop)
-       ("libmatekbd" ,libmatekbd)
-       ("libx11" ,libx11)
-       ("libxcursor" ,libxcursor)
-       ("libxext" ,libxext)
-       ("libxi" ,libxi)
-       ("libxklavier" ,libxklavier)
-       ("libxml2" ,libxml2)
-       ("libxrandr" ,libxrandr)
-       ("libxrender" ,libxrender)
-       ("libxscrnsaver" ,libxscrnsaver)
-       ("marco" ,marco)
-       ("mate-desktop" ,mate-desktop)
-       ("mate-menus" ,mate-menus)
-       ("mate-settings-daemon" ,mate-settings-daemon)
-       ("pango" ,pango)
-       ("polkit" ,polkit)
-       ("startup-notification" ,startup-notification)
-       ("udisks" ,udisks)))
+     (list at-spi2-core
+           cairo
+           caja
+           dconf
+           dbus
+           dbus-glib
+           elogind
+           fontconfig
+           freetype
+           glib
+           gtk+
+           libappindicator
+           libcanberra
+           libgtop
+           libmatekbd
+           libx11
+           libxcursor
+           libxext
+           libxi
+           libxklavier
+           libxml2
+           libxrandr
+           libxrender
+           libxscrnsaver
+           marco
+           mate-desktop
+           mate-menus
+           mate-settings-daemon
+           pango
+           polkit
+           startup-notification
+           udisks))
     (propagated-inputs
      (list (librsvg-for-system)))        ;mate-slab.pc
     (home-page "https://mate-desktop.org/")
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#73653; Package guix-patches. (Sun, 06 Oct 2024 08:35:02 GMT) Full text and rfc822 format available.

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

From: Dariqq <dariqq <at> posteo.net>
To: 73653 <at> debbugs.gnu.org
Cc: Dariqq <dariqq <at> posteo.net>
Subject: [PATCH 2/3] gnu: mate-control-center: Add gsettings-desktop-schemas
 to inputs
Date: Sun,  6 Oct 2024 08:33:19 +0000
* gnu/packages/mate.scm (mate-control-center)[inputs]: Add gsettings-desktop-schemas.

Change-Id: Id695c231c2e886ab219084037cdfb8137646a925
---
 gnu/packages/mate.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm
index 18c9ec56d8..974c54bd27 100644
--- a/gnu/packages/mate.scm
+++ b/gnu/packages/mate.scm
@@ -961,6 +961,7 @@ (define-public mate-control-center
            fontconfig
            freetype
            glib
+           gsettings-desktop-schemas
            gtk+
            libappindicator
            libcanberra
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#73653; Package guix-patches. (Sun, 06 Oct 2024 08:35:03 GMT) Full text and rfc822 format available.

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

From: Dariqq <dariqq <at> posteo.net>
To: 73653 <at> debbugs.gnu.org
Cc: Dariqq <dariqq <at> posteo.net>
Subject: [PATCH 3/3] gnu: mozo: Wrap python and gi dependencies.
Date: Sun,  6 Oct 2024 08:33:20 +0000
* gnu/packages/mate.scm (mozo)
[#:phases]: Add 'python-and-gi-wrap phase.
[inputs]: Add gtk+ and mate-panel.

Change-Id: I322878083101b5c05da53fe13092afa037e32736
---
 gnu/packages/mate.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm
index 974c54bd27..1ab834b339 100644
--- a/gnu/packages/mate.scm
+++ b/gnu/packages/mate.scm
@@ -29,6 +29,7 @@ (define-module (gnu packages mate)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix gexp)
   #:use-module (guix utils)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system glib-or-gtk)
@@ -1548,11 +1549,28 @@ (define-public mozo
        (sha256
         (base32 "0929yk7g7103d18p400ysi19pqrxl3dyzg4l0mnw7a3azm7ri67y"))))
     (build-system glib-or-gtk-build-system)
+    (arguments
+     (list
+      #:imported-modules `((guix build python-build-system)
+                           ,@%glib-or-gtk-build-system-modules)
+      #:modules '((guix build utils)
+                  (guix build glib-or-gtk-build-system)
+                  ((guix build python-build-system) #:prefix python:))
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
+            (lambda* (#:key inputs outputs #:allow-other-keys)
+              (wrap-program (search-input-file outputs "bin/mozo")
+                `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
+                                       ,(python:site-packages inputs outputs)))
+                `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
     (native-inputs
      (list pkg-config))
     (inputs
      (list gettext-minimal
+           gtk+
            mate-menus
+           mate-panel
            python
            python-pygobject))
     (home-page "https://mate-desktop.org/")
-- 
2.46.0





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 21 Oct 2024 21:00:02 GMT) Full text and rfc822 format available.

Notification sent to Dariqq <dariqq <at> posteo.net>:
bug acknowledged by developer. (Mon, 21 Oct 2024 21:00:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Dariqq <dariqq <at> posteo.net>
Cc: 73653-done <at> debbugs.gnu.org
Subject: Re: [bug#73653] [PATCH 0/3] mate: Fix some crashes.
Date: Mon, 21 Oct 2024 22:59:02 +0200
Hi,

Dariqq <dariqq <at> posteo.net> skribis:

>   gnu: mate-control-center: Remove input labels.
>   gnu: mate-control-center: Add gsettings-desktop-schemas to inputs
>   gnu: mozo: Wrap python and gi dependencies.

Applied, thanks!

Ludo’.




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

This bug report was last modified 270 days ago.

Previous Next


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