This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 581363ff2e9 gnu: pluma: Update to 1.28.1.
581363ff2e9 is described below

commit 581363ff2e9a32aad705acd5a8b862fde074b421
Author: FuncProgLinux <[email protected]>
AuthorDate: Sun Nov 1 00:30:44 2026 -0600

    gnu: pluma: Update to 1.28.1.
    
    * gnu/packages/mate.scm (pluma): Update to 1.28.1.
    [inputs]: Change glib to (list glib "bin").
    [source]: Add 'pluma-fix-girepository.patch'.
    * gnu/packages/patches/pluma-fix-girepository.patch: New file.
    
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/mate.scm                             |  7 +++---
 gnu/packages/patches/pluma-fix-girepository.patch | 29 +++++++++++++++++++++++
 2 files changed, 33 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm
index 79d25477f19..d3d1d9ec438 100644
--- a/gnu/packages/mate.scm
+++ b/gnu/packages/mate.scm
@@ -1898,7 +1898,7 @@ can be used as backgrounds in the MATE Desktop 
environment.")
 (define-public pluma
   (package
     (name "pluma")
-    (version "1.28.0")
+    (version "1.28.1")
     (source
      (origin
        (method git-fetch)
@@ -1908,7 +1908,8 @@ can be used as backgrounds in the MATE Desktop 
environment.")
              (recursive? #t)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "17l64v3d3i3i0a37f56d3wpi2c7zp7qljr4169hvaciha894491q"))))
+        (base32 "0d241ll8mznknn739f2gpmk2abdkcw08j3c3nppcwif91vfdhz7v"))
+       (patches (search-patches "pluma-fix-girepository.patch"))))
     (build-system glib-or-gtk-build-system)
     (arguments
      (list
@@ -1948,7 +1949,7 @@ can be used as backgrounds in the MATE Desktop 
environment.")
     (inputs (list at-spi2-core
                   cairo
                   enchant
-                  glib
+                  (list glib "bin")
                   gtk+
                   gtksourceview-4
                   gdk-pixbuf
diff --git a/gnu/packages/patches/pluma-fix-girepository.patch 
b/gnu/packages/patches/pluma-fix-girepository.patch
new file mode 100644
index 00000000000..aa171eb06ed
--- /dev/null
+++ b/gnu/packages/patches/pluma-fix-girepository.patch
@@ -0,0 +1,29 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -255,9 +255,16 @@ if test "$found_introspection" = "yes"; then
+       AC_DEFINE([HAVE_INTROSPECTION], [1], [Define to enable GObject 
Introspection])
+ 
+       # Check for girepository-2.0 API (moved to glib in version 1.80+)
+-      PKG_CHECK_EXISTS([girepository-2.0],
+-              [AC_DEFINE([HAVE_GIREPOSITORY_2], [1], [Using girepository-2.0 
API])],
+-              [])
++      # We can only use girepository-2.0 if libpeas also uses it, otherwise 
we get conflicts
++      PKG_CHECK_EXISTS([girepository-2.0], [
++              # Check if libpeas requires girepository-2.0
++              if pkg-config --print-requires libpeas-1.0 | grep -q 
"girepository-2.0"; then
++                      AC_DEFINE([HAVE_GIREPOSITORY_2], [1], [Using 
girepository-2.0 API])
++                      have_girepository_2=yes
++              else
++                      have_girepository_2=no
++              fi
++      ], [have_girepository_2=no])
+ else
+       have_introspection=no
+ fi
+@@ -326,6 +333,7 @@ fi
+       Spell Plugin enabled:   $enable_enchant
+       Gvfs metadata enabled:  $enable_gvfs_metadata
+       GObject Introspection:  ${have_introspection}
++      GIRepository 2.0:       ${have_girepository_2:-no}
+       Tests enabled:          $enable_tests
+ "

Reply via email to