diff --git a/.gitignore b/.gitignore index 4f231f7..9c68701 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /gnome-text-editor-42.rc1.tar.xz /gnome-text-editor-42.0.tar.xz /gnome-text-editor-42.1.tar.xz +/gnome-text-editor-42.2.tar.xz diff --git a/gnome-text-editor.spec b/gnome-text-editor.spec index 609f503..82a0fea 100644 --- a/gnome-text-editor.spec +++ b/gnome-text-editor.spec @@ -6,16 +6,14 @@ %global tarball_version %%(echo %{version} | tr '~' '.') Name: gnome-text-editor -Version: 42.1 -Release: 2%{?dist} +Version: 42.2 +Release: 1%{?dist} Summary: A simple text editor for the GNOME desktop License: GPLv3+ URL: https://gitlab.gnome.org/GNOME/gnome-text-editor Source0: https://download.gnome.org/sources/%{name}/42/%{name}-%{tarball_version}.tar.xz -Patch0: patch-session-ensure-task-is-always-completed.patch - BuildRequires: pkgconfig(enchant-2) >= %{enchant_version} BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version} BuildRequires: pkgconfig(gtk4) >= %{gtk4_version} @@ -74,6 +72,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.TextEditor. %changelog +* Tue Jun 14 2022 David King - 42.2-1 +- Update to 42.2 (#2096085) + * Fri May 27 2022 Link Dupont - 42.1-2 - Patch to fix session handling crash (RHBZ#2071116) diff --git a/patch-session-ensure-task-is-always-completed.patch b/patch-session-ensure-task-is-always-completed.patch deleted file mode 100644 index 5fbd955..0000000 --- a/patch-session-ensure-task-is-always-completed.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 7cf8457f0b56e1e48f0662bde8fc2ed079fb4d9b Mon Sep 17 00:00:00 2001 -From: Christian Hergert -Date: Fri, 13 May 2022 14:32:12 -0700 -Subject: [PATCH] session: ensure task is always completed - -This can happen if org.gnome.desktop.privacy remember-recent-files is set -to false, causing a segfault at shutdown when persisting the session back -to disk. - -Fixes #371 ---- - src/editor-session.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/editor-session.c b/src/editor-session.c -index 44d3bf2..466da42 100644 ---- a/src/editor-session.c -+++ b/src/editor-session.c -@@ -1103,6 +1103,7 @@ editor_session_update_recent_worker (GTask *task, - /* Just delete recent files if the user doesn't want them */ - g_autofree gchar *path = get_bookmarks_filename (); - g_unlink (path); -+ g_task_return_boolean (task, TRUE); - return; - } - --- -GitLab - diff --git a/sources b/sources index 3b26321..08ec467 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gnome-text-editor-42.1.tar.xz) = 4616750d15d61b2bd2c708e414b564d0aa6c1202c765fbb895e60cdb46f8335fbefa70a24e8d99f208b186f2c8c244b752475cefdbe0184a67b60de116d5ac2f +SHA512 (gnome-text-editor-42.2.tar.xz) = 4373b048118c7a4253fe99a6ec6091c054154399d34e5a33f933d535f0e6c659023603e08e1cbcddb972d6385632b2b9351455eaa1398dcd7c50b3b4562400ae