[bug#79525] gnu: gnote: Update to 48.2.

Message ID 20250928063908.24913-1-git@beha.pw
State New
Headers
Series [bug#79525] gnu: gnote: Update to 48.2. |

Commit Message

Ben Hansen Sept. 28, 2025, 6:39 a.m. UTC
* gnu/packages/gnome.scm (gnote): Update to 48.2.
[arguments] <glib-or-gtk>: Meson's gnome module is used now instead of
a custom python script.
[native-inputs]: Remove python as per above.
[inputs]: Remove gspell as it's no longer used. Replace gtk+/gtkmm-3
with gtk/gtkmm as gnote uses Gtk4 now. Add libadwaita.

Change-Id: I6e2af997a4fb3d50ffa3d62e5ea4039c1bb83d5b
---
 gnu/packages/gnome.scm | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)


base-commit: 686aaca89864be889dab32f5327ee98e4eaa3d7e
  

Patch

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 084f84dfbd..0fa6400d7e 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -82,6 +82,7 @@ 
 ;;; Copyright © 2024 Justin Veilleux <terramorpha@cock.li>
 ;;; Copyright © 2025 Noé Lopez <noelopez@free.fr>
 ;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010@zohomail.in>
+;;; Copyright © 2025 Ben Hansen <git@beha.pw>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -12668,7 +12669,7 @@  (define-public gnome-themes-standard
 (define-public gnote
   (package
     (name "gnote")
-    (version "42.1")
+    (version "48.2")
     (source
      (origin
        (method url-fetch)
@@ -12676,7 +12677,7 @@  (define-public gnote
                            (version-major version)  "/"
                            "gnote-" version ".tar.xz"))
        (sha256
-        (base32 "0fam3v9na4ndqdc63866bvhcxrzj478jsx34vsh0777d4ixw883c"))))
+        (base32 "10f74mkqw0la6vyswj4p3qf988r1ai29l4gfx2wryn76knhni09w"))))
     (build-system meson-build-system)
     (arguments
      `(#:glib-or-gtk? #t
@@ -12684,22 +12685,22 @@  (define-public gnote
                   (add-after 'unpack 'skip-gtk-update-icon-cache
                     ;; Don't create 'icon-theme.cache'.
                     (lambda _
-                      (substitute* "post-install.py"
-                        (("gtk-update-icon-cache") "true")))))))
+                      (substitute* "meson.build"
+                        (("gtk_update_icon_cache: true")
+                         "gtk_update_icon_cache: false")))))))
     (native-inputs
      (list desktop-file-utils
            gettext-minimal
            `(,glib "bin")
            gobject-introspection
            itstool
-           pkg-config
-           python))
+           pkg-config))
     (inputs
      (list glibmm
            gsettings-desktop-schemas
-           gspell
-           gtk+
-           gtkmm-3
+           gtk
+           gtkmm
+           libadwaita
            libsecret
            `(,util-linux "lib")
            libxml2