From 4ca46a683951419f18d7b47ba5f52e2e66619724 Mon Sep 17 00:00:00 2001 From: dimstar <> Date: Jun 30 2023 18:30:58 +0000 Subject: Update colord-gtk to version 0.3.0 / rev 14 via SR 1095980 https://build.opensuse.org/request/show/1095980 by user dimstar + dimstar_suse - fix segfault when turning monitor back on (bsc#1212840): Fix-the-callback-signature-to-fix-a-crash.patch --- diff --git a/.files b/.files index 9e3f01e..c91d97f 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 55c0098..6676f0b 100644 --- a/.rev +++ b/.rev @@ -116,4 +116,13 @@ Push GNOME:Factory 981308 + + 9cb55557c5f413352ccf6dda043fa292 + 0.3.0 + + dimstar_suse + - fix segfault when turning monitor back on (bsc#1212840): + Fix-the-callback-signature-to-fix-a-crash.patch + 1095980 + diff --git a/Fix-the-callback-signature-to-fix-a-crash.patch b/Fix-the-callback-signature-to-fix-a-crash.patch new file mode 100644 index 0000000..4b00a7a --- /dev/null +++ b/Fix-the-callback-signature-to-fix-a-crash.patch @@ -0,0 +1,24 @@ +From: Richard Hughes +Date: Sat, 24 Jun 2023 12:06:12 +0100 +Subject: Fix the callback signature to fix a crash +Patch-mainline: 0.4.0? +Git-commit: c620b4a4b3dfc2ce58cd60b9d5209fb19396fc42 +References: bsc#1212840 https://github.com/hughsie/colord-gtk/issues/22 + +Fixes https://github.com/hughsie/colord-gtk/issues/22 + +--- + libcolord-gtk/cd-window.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/libcolord-gtk/cd-window.c ++++ b/libcolord-gtk/cd-window.c +@@ -295,7 +295,7 @@ cd_window_get_profile_device_find_cb (GObject *source, + } + + static void +-cd_window_device_changed_cb (CdDevice *device, CdWindow *window) ++cd_window_device_changed_cb (CdClient *client, CdDevice *device, CdWindow *window) + { + CdProfile *profile; + diff --git a/colord-gtk.changes b/colord-gtk.changes index 6e1d19d..fb826db 100644 --- a/colord-gtk.changes +++ b/colord-gtk.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Jun 29 07:46:18 UTC 2023 - Michal Kubecek + +- fix segfault when turning monitor back on (bsc#1212840): + Fix-the-callback-signature-to-fix-a-crash.patch + +------------------------------------------------------------------- Mon May 2 18:09:19 UTC 2022 - Ferdinand Thiessen - Update to stable release 0.3.0 diff --git a/colord-gtk.spec b/colord-gtk.spec index b341bb2..842790d 100644 --- a/colord-gtk.spec +++ b/colord-gtk.spec @@ -1,7 +1,7 @@ # # spec file for package colord-gtk # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,8 @@ Source0: https://www.freedesktop.org/software/colord/releases/colord-gtk- Source1: https://www.freedesktop.org/software/colord/releases/colord-gtk-%{version}.tar.xz.asc Source2: %{name}.keyring Source99: baselibs.conf +# PATCH-FIX-UPSTREAM Fix-the-callback-signature-to-fix-a-crash.patch bsc#1212840 gh#hughsie/colord-gtk#22 -- Fix segfault when turning monitor back on +Patch1: Fix-the-callback-signature-to-fix-a-crash.patch BuildRequires: docbook5-xsl-stylesheets BuildRequires: gtk-doc BuildRequires: meson