mate.caja: 1.22.3 -> 1.24.0

This commit is contained in:
José Romildo Malaquias 2020-02-12 14:51:18 -03:00
parent 21fceb367f
commit c17f188de0
2 changed files with 22 additions and 6 deletions

View file

@ -1,11 +1,24 @@
From 35e9e6a6f3ba6cbe62a3957044eb67864f5d8e66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= <malaquias@gmail.com>
Date: Tue, 11 Feb 2020 17:49:13 -0300
Subject: [PATCH] Look for caja extentions at $CAJA_EXTENTSION_DIRS
CAJA_EXTENSION_DIRS is a list of paths where caja extensions are
looked for. It is needed for distributions like NixOS that do not
install all extensions in the same directory. In NixOS each package is
installed in a self contained directory.
---
libcaja-private/caja-module.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/libcaja-private/caja-module.c b/libcaja-private/caja-module.c
index 023c22e..414913b 100644
index d54d7cf..9794e56 100644
--- a/libcaja-private/caja-module.c
+++ b/libcaja-private/caja-module.c
@@ -258,11 +258,25 @@ caja_module_setup (void)
@@ -258,11 +258,25 @@ void
caja_module_setup (void)
{
static gboolean initialized = FALSE;
GList *res;
+ gchar *caja_extension_dirs;
+ gchar **dir_vector;
@ -28,3 +41,6 @@ index 023c22e..414913b 100644
load_module_dir (CAJA_EXTENSIONDIR);
eel_debug_call_at_shutdown (free_module_objects);
--
2.25.0

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "caja";
version = "1.22.3";
version = "1.24.0";
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1w2liq9h1kr5zyaaq82xz8pic04qi5sra8kaycfg1iddmknkfqn7";
sha256 = "1cnfy481hcwjv3ia3kw0d4h7ga8cng0pqm3z349v4qcmfdapmqc0";
};
nativeBuildInputs = [
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
meta = {
description = "File manager for the MATE desktop";
homepage = https://mate-desktop.org;
homepage = "https://mate-desktop.org";
license = with stdenv.lib.licenses; [ gpl2 lgpl2 ];
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ];