Subject: [bug#27988] Mate: Caja

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

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.

> ISSUES
> ------
> I don't *really* know if this is working.
> The first test failed, so I had to disable it:
> 
> https://github.com/mate-desktop/caja/blob/master/eel/check-eel
> 
> And it seems like you need to have it inside of MATE with Mate-Desktop
> being present in your profile?
> 
> user@abyayala /gnu/store/90qbxv8vmr88qccppi9kvq3arh8nyzi7-caja-1.18.3/bin$ ls
> caja  caja-autorun-software  caja-connect-server  caja-file-management-properties
> user@abyayala /gnu/store/90qbxv8vmr88qccppi9kvq3arh8nyzi7-caja-1.18.3/bin$ ./caja
> ./caja: Relink `/gnu/store/88wvqp60hbrdvbp0xsqad5c6njjfshcw-libpng-1.6.28/lib/libpng16.so.16' with `/gnu/store/ybpgv1v7606xw7mafda66w10hiynpiw2-glibc-2.25/lib/libpthread.so.0' for IFUNC symbol `longjmp'
> ./caja: Relink `/gnu/store/2sq8w3x8glbjlfn22im6nwwycmbdlzws-freetype-2.7.1/lib/libfreetype.so.6' with `/gnu/store/ybpgv1v7606xw7mafda66w10hiynpiw2-glibc-2.25/lib/libpthread.so.0' for IFUNC symbol `longjmp'
> 
> ** (caja:8760): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
> 
> (caja:8760): GLib-GIO-CRITICAL **: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
> 
> (caja:8760): GLib-GIO-CRITICAL **: g_dbus_proxy_get_name_owner: assertion 'G_IS_DBUS_PROXY (proxy)' failed
> 
> (caja:8760): GLib-GIO-ERROR **: Settings schema 'org.mate.caja.preferences' is not installed
> 
> Trace/breakpoint trap
> -- 
> 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] 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
> 

-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org