From 0a30cc3587c8bcca2538156075b84100d973888419082f548c020b1035153e43 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 11 Nov 2021 09:41:37 +0000 Subject: [PATCH] Accepting request 930803 from home:yfjiang:branches:GNOME:STABLE:41 - Add gtk4-fix-link-to-g_signal_emit.patch: fix build failure caused by inproper link to g_signal_emit. OBS-URL: https://build.opensuse.org/request/show/930803 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=78 --- gtk4-fix-link-to-g_signal_emit.patch | 34 ++++++++++++++++++++++++++++ gtk4.changes | 6 +++++ gtk4.spec | 2 ++ 3 files changed, 42 insertions(+) create mode 100644 gtk4-fix-link-to-g_signal_emit.patch diff --git a/gtk4-fix-link-to-g_signal_emit.patch b/gtk4-fix-link-to-g_signal_emit.patch new file mode 100644 index 0000000..8c27067 --- /dev/null +++ b/gtk4-fix-link-to-g_signal_emit.patch @@ -0,0 +1,34 @@ +From 49032b4b6349ee196289a237d9baa74f90ac589d Mon Sep 17 00:00:00 2001 +From: Emmanuele Bassi +Date: Mon, 1 Nov 2021 12:54:07 +0000 +Subject: [PATCH] docs: Fix link to g_signal_emit() + +--- + gdk/gdkclipboard.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/gdk/gdkclipboard.c b/gdk/gdkclipboard.c +index b2fd191538..3daf2dcb04 100644 +--- a/gdk/gdkclipboard.c ++++ b/gdk/gdkclipboard.c +@@ -1253,14 +1253,14 @@ gdk_clipboard_set_content (GdkClipboard *clipboard, + * @...: value contents conforming to @type + * + * Sets the clipboard to contain the value collected from the given varargs. +- * ++ * + * Values should be passed the same way they are passed to other value + * collecting APIs, such as [`method@GObject.Object.set`] or +- * [`id@g_signal_emit`]. ++ * [`func@GObject.signal_emit`]. + * + * ```c + * gdk_clipboard_set (clipboard, GTK_TYPE_STRING, "Hello World"); +- * ++ * + * gdk_clipboard_set (clipboard, GDK_TYPE_TEXTURE, some_texture); + * ``` + */ +-- +GitLab + diff --git a/gtk4.changes b/gtk4.changes index 18c4b38..078008f 100644 --- a/gtk4.changes +++ b/gtk4.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 11 02:42:53 UTC 2021 - Yifan Jiang + +- Add gtk4-fix-link-to-g_signal_emit.patch: fix build failure + caused by inproper link to g_signal_emit. + ------------------------------------------------------------------- Thu Nov 4 20:37:05 UTC 2021 - Bjørn Lie diff --git a/gtk4.spec b/gtk4.spec index 1c2184d..ec7c738 100644 --- a/gtk4.spec +++ b/gtk4.spec @@ -34,6 +34,8 @@ Source2: settings.ini Source3: macros.gtk4 Source98: gtk4-rpmlintrc Source99: baselibs.conf +# PATCH-FIX-UPSTREAM gtk4-fix-link-to-g_signal_emit.patch glgo#GNOME/gtk!4108 yfjiang@suse.com -- Fix link to g_signal_emit() in doc +Patch0: gtk4-fix-link-to-g_signal_emit.patch BuildRequires: cups-devel >= 2.0 # We do not support building against cups 2.3 betas