public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michael Catanzaro <mcatanzaro@gnome.org>
To: git-commits@fedoraproject.org
Subject: [rpms/gtk4] rawhide: Update to 4.23.1
Date: Mon, 15 Jun 2026 20:56:27 GMT	[thread overview]
Message-ID: <178155698746.1.8766958768672298075.rpms-gtk4-fad62e252c11@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gtk4
Branch : rawhide
Commit : fad62e252c119ed7f01d1bd91a29a1b68605351d
Author : Michael Catanzaro <mcatanzaro@gnome.org>
Date   : 2026-06-15T15:56:11-05:00
Stats  : +118/-2 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/gtk4/c/fad62e252c119ed7f01d1bd91a29a1b68605351d?branch=rawhide

Log:
Update to 4.23.1

---
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..00b15e7
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,113 @@
+From 09433950d6c4f7d7c906af29cd47e9e6cf19a2dc Mon Sep 17 00:00:00 2001
+From: Matthias Clasen <mclasen@redhat.com>
+Date: Sat, 30 May 2026 20:22:09 -0400
+Subject: [PATCH] searchengine: Fix the build
+
+The build with tracker broke during the recent goblint cleanups,
+and nobody noticed. Take this opportunity to clean up the
+GObject boilerplate a bit and use a DECLARE macro.
+
+Fixes: 8cfbab2344881ef98f
+Part-of: <https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/9995>
+---
+ gtk/gtksearchengine.c        | 10 +++++-----
+ gtk/gtksearchengineprivate.h | 19 ++++++-------------
+ 2 files changed, 11 insertions(+), 18 deletions(-)
+
+diff --git a/gtk/gtksearchengine.c b/gtk/gtksearchengine.c
+index 9f867661fee..be1c1b52f3e 100644
+--- a/gtk/gtksearchengine.c
++++ b/gtk/gtksearchengine.c
+@@ -59,7 +59,7 @@ enum
+ 
+ static guint signals[LAST_SIGNAL];
+ 
+-G_DEFINE_TYPE_WITH_PRIVATE (GtkSearchEngine, _gtk_search_engine, G_TYPE_OBJECT);
++G_DEFINE_TYPE_WITH_PRIVATE (GtkSearchEngine, gtk_search_engine, G_TYPE_OBJECT);
+ 
+ static void
+ set_query (GtkSearchEngine *engine,
+@@ -131,11 +131,11 @@ finalize (GObject *object)
+ 
+   g_clear_object (&engine->priv->query);
+ 
+-  G_OBJECT_CLASS (_gtk_search_engine_parent_class)->finalize (object);
++  G_OBJECT_CLASS (gtk_search_engine_parent_class)->finalize (object);
+ }
+ 
+ static void
+-_gtk_search_engine_class_init (GtkSearchEngineClass *class)
++gtk_search_engine_class_init (GtkSearchEngineClass *class)
+ {
+   GObjectClass *object_class = G_OBJECT_CLASS (class);
+ 
+@@ -176,9 +176,9 @@ _gtk_search_engine_class_init (GtkSearchEngineClass *class)
+ }
+ 
+ static void
+-_gtk_search_engine_init (GtkSearchEngine *engine)
++gtk_search_engine_init (GtkSearchEngine *engine)
+ {
+-  engine->priv = _gtk_search_engine_get_instance_private (engine);
++  engine->priv = gtk_search_engine_get_instance_private (engine);
+ }
+ 
+ static void
+diff --git a/gtk/gtksearchengineprivate.h b/gtk/gtksearchengineprivate.h
+index 61139009bdf..4ae109a99a2 100644
+--- a/gtk/gtksearchengineprivate.h
++++ b/gtk/gtksearchengineprivate.h
+@@ -23,19 +23,15 @@
+ 
+ #include "gtkqueryprivate.h"
+ #include "gtkfilesystemmodelprivate.h"
++#include "gdktypes.h"
+ #include <gio/gio.h>
+ 
+ G_BEGIN_DECLS
+ 
+-#define GTK_TYPE_SEARCH_ENGINE		(_gtk_search_engine_get_type ())
+-#define GTK_SEARCH_ENGINE(obj)		(G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_ENGINE, GtkSearchEngine))
+-#define GTK_SEARCH_ENGINE_CLASS(klass)	(G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEARCH_ENGINE, GtkSearchEngineClass))
+-#define GTK_IS_SEARCH_ENGINE(obj)		(G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_ENGINE))
+-#define GTK_IS_SEARCH_ENGINE_CLASS(klass)	(G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEARCH_ENGINE))
+-#define GTK_SEARCH_ENGINE_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEARCH_ENGINE, GtkSearchEngineClass))
++#define GTK_TYPE_SEARCH_ENGINE (gtk_search_engine_get_type ())
++
++GDK_DECLARE_INTERNAL_TYPE (GtkSearchEngine, gtk_search_engine, GTK, SEARCH_ENGINE, GObject)
+ 
+-typedef struct _GtkSearchEngine GtkSearchEngine;
+-typedef struct _GtkSearchEngineClass GtkSearchEngineClass;
+ typedef struct _GtkSearchEnginePrivate GtkSearchEnginePrivate;
+ typedef struct _GtkSearchHit GtkSearchHit;
+ 
+@@ -52,10 +48,10 @@ struct _GtkSearchEngine
+   GtkSearchEnginePrivate *priv;
+ };
+ 
+-struct _GtkSearchEngineClass 
++struct _GtkSearchEngineClass
+ {
+   GObjectClass parent_class;
+-  
++
+   /* VTable */
+   void     (*set_query)       (GtkSearchEngine *engine, 
+ 			       GtkQuery        *query);
+@@ -70,8 +66,6 @@ struct _GtkSearchEngineClass
+ 			       const char      *error_message);
+ };
+ 
+-GType            _gtk_search_engine_get_type        (void);
+-
+ GtkSearchEngine* _gtk_search_engine_new             (void);
+ 
+ void             _gtk_search_engine_set_query       (GtkSearchEngine *engine, 
+@@ -93,4 +87,3 @@ void             _gtk_search_engine_set_model       (GtkSearchEngine    *engine,
+                                                      GtkFileSystemModel *model);
+ 
+ G_END_DECLS
+-
+-- 
+GitLab
+

diff --git a/gtk4.spec b/gtk4.spec
index 201026c..cfdea7f 100644
--- a/gtk4.spec
+++ b/gtk4.spec
@@ -28,7 +28,7 @@
 %global major_minor_version %%(echo %%{version} | cut -d "." -f 1-2)
 
 Name:           gtk4
-Version:        4.23.0
+Version:        4.23.1
 Release:        %autorelease
 Summary:        GTK graphical user interface library
 
@@ -75,6 +75,9 @@ License:        LGPL-2.0-or-later AND LGPL-2.1-or-later AND Apache-2.0 AND CC0-1
 URL:            https://www.gtk.org
 Source0:        https://download.gnome.org/sources/gtk/%{major_minor_version}/gtk-%{version}.tar.xz
 
+# https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/9995
+Patch:          build.patch
+
 BuildRequires:  cups-devel
 BuildRequires:  desktop-file-utils
 BuildRequires:  docbook-style-xsl

diff --git a/sources b/sources
index 14ce3f9..cda1f86 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gtk-4.23.0.tar.xz) = 45639ec1ae598eca05fd46880034f44a586691b265d4c51073963c10a162b8eb493a2605a9da01c448824b9124ba9c0ff21d6f9d50d181f5036bad3141c99448
+SHA512 (gtk-4.23.1.tar.xz) = a4fe9f4a066c8693cab136a1b181d1f272d777ef350fe95df482a6effe15e74f9fc62aaef44e94bd2eafd8d8053375af864b4389348bdbdcd8e4b1fe15a38a55

                 reply	other threads:[~2026-06-15 20:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178155698746.1.8766958768672298075.rpms-gtk4-fad62e252c11@fedoraproject.org \
    --to=mcatanzaro@gnome.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox