Subject: [bug#27988] Mate: Caja

From: ng0 <[email-masked]>
Date: Sun, 6 Aug 2017 18:47:17 +0000

Patches appended are mate-terminal, caja, marco.
ng0 transcribed 6.3K bytes:
> ng0 transcribed 6.0K bytes:
> > This adds Caja, the Filemanager for MATE.
> 
> I think I'll do a few more, having a working MATE will make it easier to
> figure out why it doesn't work… maybe.

Okay, I'm having problems with DBUS here, I thought it was only caja
but mate-terminal throws comparable messages at me. mate-terminal:

user@abyayala /gnu/store/x2wlsd8kc43axg3f92yrnj7m0fm4v0jk-mate-terminal-1.18.1/bin$ ./mate-terminal

** (mate-terminal:14007): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
user@abyayala /gnu/store/x2wlsd8kc43axg3f92yrnj7m0fm4v0jk-mate-terminal-1.18.1/bin$ ./mate-terminal.wrapper
Can't exec "mate-terminal": No such file or directory at ./mate-terminal.wrapper line 81.
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org
From f6aec5c76437ca1c2846ce3d2385e7b58307eb48 Mon Sep 17 00:00:00 2001
From: ng0 <[email-masked]>
Date: Sun, 6 Aug 2017 17:22:41 +0000
Subject: [PATCH 1/3] gnu: Add caja.

* gnu/packages/mate.scm (caja): New variable.
---
 gnu/packages/mate.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm
index 316385a6f..cd743c341 100644
--- a/gnu/packages/mate.scm
+++ b/gnu/packages/mate.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2016 Fabian Harfert <[email-masked]>
 ;;; Copyright © 2016 Efraim Flashner <[email-masked]>
+;;; Copyright © 2017 ng0 <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -25,6 +26,7 @@
   #:use-module (guix build-system gnu)
   #:use-module (gnu packages)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages gnome)
@@ -32,6 +34,7 @@
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages base)
   #:use-module (gnu packages xml)
+  #:use-module (gnu packages photo)
   #:use-module (gnu packages python))
 
 (define-public mate-icon-theme
@@ -210,3 +213,47 @@ the MATE desktop environment.")
 specification, the MATE menu layout configuration files, .directory files and
 assorted menu related utility programs.")
     (license (list license:gpl2+ license:lgpl2.0+))))
+
+(define-public caja
+  (package
+    (name "caja")
+    (version "1.18.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://pub.mate-desktop.org/releases/"
+                           (version-major+minor version) "/"
+                           name "-" version ".tar.xz"))
+       (sha256
+        (base32
+         "0mljqcx7k8p27854zm7qzzn8ca6hs7hva9p43hp4p507z52caqmm"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("intltool" ,intltool)
+       ("glib:bin" ,glib "bin")
+       ("gobject-introspection" ,gobject-introspection)))
+    (inputs
+     `(("gtk+" ,gtk+)
+       ("exempi" ,exempi)
+       ("gvfs" ,gvfs)
+       ("libexif" ,libexif)
+       ("libsm" ,libsm)
+       ("libnotify" ,libnotify)
+       ("libxml2" ,libxml2)
+       ("mate-desktop" ,mate-desktop)
+       ("startup-notification" ,startup-notification)))
+    (home-page "http://mate-desktop.org/")
+    (synopsis "File manager for the MATE desktop")
+    (description
+     "Caja is the official file manager for the MATE desktop.
+It allows for browsing directories, as well as previewing files and launching
+applications associated with them.  Caja is also responsible for handling the
+icons on the MATE desktop.  It works on local and remote filesystems.
+Caja is a fork of Nautilus.")
+    ;; There is a note about a TRADEMARKS_NOTICE file in COPYING which
+    ;; does not exist. It is safe to assume that this is of no concern
+    ;; for us.
+    (license license:gpl2+)))
-- 
2.14.0

From eeb93681d3c5f543417d78f55ecf7c357b28b731 Mon Sep 17 00:00:00 2001
From: ng0 <[email-masked]>
Date: Sun, 6 Aug 2017 18:29:40 +0000
Subject: [PATCH 2/3] gnu: Add mate-terminal.

* gnu/packages/mate.scm (mate-terminal): New variable.
---
 gnu/packages/mate.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm
index cd743c341..4a4b76f89 100644
--- a/gnu/packages/mate.scm
+++ b/gnu/packages/mate.scm
@@ -173,6 +173,53 @@ desktop and the mate-about program.")
 the MATE desktop environment.")
     (license license:lgpl2.1+)))
 
+(define-public mate-terminal
+  (package
+    (name "mate-terminal")
+    (version "1.18.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://pub.mate-desktop.org/releases/"
+                           (version-major+minor version) "/"
+                           name "-" version ".tar.xz"))
+       (sha256
+        (base32
+         "1zihm609d2d9cw53ry385whshjl1dnkifpk41g1ddm9f58hv4da1"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("intltool" ,intltool)
+       ("libsm" ,libsm)))
+    (inputs
+     `(("gtk+" ,gtk+)
+       ("atk" ,atk)
+       ("gdk-pixbuf" ,gdk-pixbuf)
+       ("exempi" ,exempi)
+       ("libnotify" ,libnotify)
+       ("libxml2" ,libxml2)
+       ("libice" ,libice)
+       ("libx11" ,libx11)
+       ("pango" ,pango)
+       ("itstool" ,itstool)
+       ("vte" ,vte)
+       ("glib:bin" ,glib "bin")
+       ("yelp-tools" ,yelp-tools)
+       ("gobject-introspection" ,gobject-introspection)
+       ("mate-desktop" ,mate-desktop)))
+    (propagated-inputs
+     `(("dconf" ,dconf)))
+    (home-page "http://mate-desktop.org/")
+    (synopsis "MATE Terminal Emulator")
+    (description
+     "MATE Terminal is a terminal emulation application that you can
+use to access a UNIX shell in the MATE environment.  With it, you can
+run any application that is designed to run on VT102, VT220, and xterm
+terminals.  MATE Terminal also has the ability to use multiple terminals
+in a single window (tabs) and supports management of different
+configurations (profiles).  MATE Terminal is a fork of GNOME Terminal.")
+    (license license:gpl3)))
+
 (define-public mate-menus
   (package
     (name "mate-menus")
-- 
2.14.0

From 5a8e3f4da3d27513ae51487388de70291adb032c Mon Sep 17 00:00:00 2001
From: ng0 <[email-masked]>
Date: Sun, 6 Aug 2017 18:03:17 +0000
Subject: [PATCH 3/3] gnu: Add marco.

* gnu/packages/mate.scm (marco): New variable.
---
 gnu/packages/mate.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm
index 4a4b76f89..0ad2d1642 100644
--- a/gnu/packages/mate.scm
+++ b/gnu/packages/mate.scm
@@ -27,6 +27,7 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages libcanberra)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages gnome)
@@ -304,3 +305,42 @@ Caja is a fork of Nautilus.")
     ;; does not exist. It is safe to assume that this is of no concern
     ;; for us.
     (license license:gpl2+)))
+
+(define-public marco
+  (package
+    (name "marco")
+    (version "1.18.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://pub.mate-desktop.org/releases/"
+                           (version-major+minor version) "/"
+                           name "-" version ".tar.xz"))
+       (sha256
+        (base32
+         "0lwbp9wyd66hl5d7g272l8g3k1pb9s4s2p9fb04750a58w87d8k5"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("intltool" ,intltool)
+       ("itstool" ,itstool)
+       ("glib:bin" ,glib "bin")
+       ("glib" ,glib)
+       ("gobject-introspection" ,gobject-introspection)))
+    (inputs
+     `(("gtk+" ,gtk+)
+       ("libgtop" ,libgtop)
+       ("zenity" ,zenity)
+       ("pango" ,pango)
+       ("libcanberra" ,libcanberra)
+       ("mate-desktop" ,mate-desktop)))
+    (home-page "http://mate-desktop.org/")
+    (synopsis "Window manager for the MATE desktop")
+    (description
+     "Marco is a minimal X window manager that uses GTK+ for drawing
+window frames.  It is aimed at non-technical users and is designed to integrate
+well with the MATE desktop.  It lacks some features that may be expected by
+traditional UNIX or other technical users; these users may want to investigate
+other available window managers for use with MATE or as a standalone window
+manager.")
+    (license license:gpl2+)))
-- 
2.14.0