unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#73653] [PATCH 0/3] mate: Fix some crashes.
@ 2024-10-06  8:16 Dariqq
  2024-10-06  8:33 ` [bug#73653] [PATCH 1/3] gnu: mate-control-center: Remove input labels Dariqq
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dariqq @ 2024-10-06  8:16 UTC (permalink / raw)
  To: 73653; +Cc: Dariqq

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#73653] [PATCH 1/3] gnu: mate-control-center: Remove input labels.
  2024-10-06  8:16 [bug#73653] [PATCH 0/3] mate: Fix some crashes Dariqq
@ 2024-10-06  8:33 ` Dariqq
  2024-10-06  8:33 ` [bug#73653] [PATCH 2/3] gnu: mate-control-center: Add gsettings-desktop-schemas to inputs Dariqq
  2024-10-06  8:33 ` [bug#73653] [PATCH 3/3] gnu: mozo: Wrap python and gi dependencies Dariqq
  2 siblings, 0 replies; 4+ messages in thread
From: Dariqq @ 2024-10-06  8:33 UTC (permalink / raw)
  To: 73653; +Cc: Dariqq

* 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#73653] [PATCH 2/3] gnu: mate-control-center: Add gsettings-desktop-schemas to inputs
  2024-10-06  8:16 [bug#73653] [PATCH 0/3] mate: Fix some crashes Dariqq
  2024-10-06  8:33 ` [bug#73653] [PATCH 1/3] gnu: mate-control-center: Remove input labels Dariqq
@ 2024-10-06  8:33 ` Dariqq
  2024-10-06  8:33 ` [bug#73653] [PATCH 3/3] gnu: mozo: Wrap python and gi dependencies Dariqq
  2 siblings, 0 replies; 4+ messages in thread
From: Dariqq @ 2024-10-06  8:33 UTC (permalink / raw)
  To: 73653; +Cc: Dariqq

* 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#73653] [PATCH 3/3] gnu: mozo: Wrap python and gi dependencies.
  2024-10-06  8:16 [bug#73653] [PATCH 0/3] mate: Fix some crashes Dariqq
  2024-10-06  8:33 ` [bug#73653] [PATCH 1/3] gnu: mate-control-center: Remove input labels Dariqq
  2024-10-06  8:33 ` [bug#73653] [PATCH 2/3] gnu: mate-control-center: Add gsettings-desktop-schemas to inputs Dariqq
@ 2024-10-06  8:33 ` Dariqq
  2 siblings, 0 replies; 4+ messages in thread
From: Dariqq @ 2024-10-06  8:33 UTC (permalink / raw)
  To: 73653; +Cc: Dariqq

* 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-06  8:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-06  8:16 [bug#73653] [PATCH 0/3] mate: Fix some crashes Dariqq
2024-10-06  8:33 ` [bug#73653] [PATCH 1/3] gnu: mate-control-center: Remove input labels Dariqq
2024-10-06  8:33 ` [bug#73653] [PATCH 2/3] gnu: mate-control-center: Add gsettings-desktop-schemas to inputs Dariqq
2024-10-06  8:33 ` [bug#73653] [PATCH 3/3] gnu: mozo: Wrap python and gi dependencies Dariqq

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).