Subject: [bug#71781] [PATCH v4 14/29] gnu: caja-extensions: update to 1.28.0.

From: Andy Tai <[email-masked]>
Date: Thu, 11 Jul 2024 00:57:45 -0700

* gnu/packages/mate.scm (caja-extensions): Update to 1.28.0
[arguments]<#:configure-flags>: Disable AV support as needed gstreamer
components are Rust packages not in Guix at this time.

Change-Id: If48fcc79618654fd29ed6222517509224fa78e37
---
 gnu/packages/mate.scm | 70 ++++++++++++++++++++++++++-----------------
 1 file changed, 42 insertions(+), 28 deletions(-)

diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm
index b99c15dd94..ba35998fe8 100644
--- a/gnu/packages/mate.scm
+++ b/gnu/packages/mate.scm
@@ -51,6 +51,7 @@ (define-module (gnu packages mate)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
   #:use-module (gnu packages imagemagick)
@@ -846,47 +847,60 @@ (define-public caja
 (define-public caja-extensions
   (package
     (name "caja-extensions")
-    (version "1.26.1")
+    (version "1.28.0")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "mirror://mate/" (version-major+minor version) "/"
-                           "caja-extensions-" version ".tar.xz"))
+       (uri (string-append "mirror://mate/"
+                           (version-major+minor version)
+                           "/"
+                           "caja-extensions-"
+                           version
+                           ".tar.xz"))
        (sha256
-        (base32 "086mw7650n8blnr2wkg9xdb6lhwqamcbkk5575i2s90hzbiik72q"))))
+        (base32 "0x9ikq8biaq08wzj0qqpmy8k5w7axqimigfgf7i5z0s00xg6r66j"))))
     (build-system glib-or-gtk-build-system)
     (arguments
      `(#:configure-flags (list "--enable-sendto"
                                ;; TODO: package "gupnp" to enable 'upnp', package
                                ;; "gksu" to enable 'gksu'.
-                               (string-append "--with-sendto-plugins=removable-devices,"
-                                              "caja-burn,emailclient,pidgin,gajim")
+                               (string-append
+                                "--with-sendto-plugins=removable-devices,"
+                                "caja-burn,emailclient,pidgin,gajim")
                                "--enable-image-converter"
-                               "--enable-open-terminal" "--enable-share"
-                               "--enable-wallpaper" "--enable-xattr-tags"
+                               "--enable-open-terminal"
+                               "--enable-share"
+                               "--enable-wallpaper"
+                               "--enable-xattr-tags"
+
+                               ;; Guix does not have rust packages
+                               ;; gstreamer-tag-1.0
+                               ;; gstreamer-pbutils-1.0
+                               ;; so disable search for them
+                               "--enable-av=no"
+
                                (string-append "--with-cajadir="
                                               (assoc-ref %outputs "out")
                                               "/lib/caja/extensions-2.0/"))))
-    (native-inputs
-     `(("intltool" ,intltool)
-       ("gettext" ,gettext-minimal)
-       ("glib:bin" ,glib "bin")
-       ("gobject-introspection" ,gobject-introspection)
-       ("gtk-doc" ,gtk-doc)
-       ("libxml2" ,libxml2)
-       ("pkg-config" ,pkg-config)))
-    (inputs
-     (list attr
-           brasero
-           caja
-           dbus
-           dbus-glib
-           gajim ;runtime only?
-           gtk+
-           graphicsmagick
-           mate-desktop
-           pidgin ;runtime only?
-           startup-notification))
+    (native-inputs `(("intltool" ,intltool)
+                     ("gettext" ,gettext-minimal)
+                     ("glib:bin" ,glib "bin")
+                     ("gobject-introspection" ,gobject-introspection)
+                     ("gtk-doc" ,gtk-doc)
+                     ("libxml2" ,libxml2)
+                     ("pkg-config" ,pkg-config)))
+    (inputs (list attr
+                  brasero
+                  caja
+                  dbus
+                  dbus-glib
+                  gajim ;runtime only?
+                  gstreamer
+                  gtk+
+                  graphicsmagick
+                  mate-desktop
+                  pidgin ;runtime only?
+                  startup-notification))
     (home-page "https://mate-desktop.org/")
     (synopsis "Extensions for the File manager Caja")
     (description
-- 
2.34.1