From fc62137ef2b66d773e7883f698202519b1ed0d3c Mon Sep 17 00:00:00 2001 From: David King Date: Sat, 18 Mar 2023 11:08:42 +0000 Subject: [PATCH] Update to 44.0 --- .gitignore | 1 + ...-Avoid-a-crash-caused-by-double-free.patch | 27 ------------------- ...ix-double-free-of-GtkEntryCompletion.patch | 27 ------------------- evince.spec | 10 +++---- sources | 2 +- 5 files changed, 7 insertions(+), 60 deletions(-) delete mode 100644 0001-ev-window-title-Avoid-a-crash-caused-by-double-free.patch delete mode 100644 0001-fix-double-free-of-GtkEntryCompletion.patch diff --git a/.gitignore b/.gitignore index 94a6fdd..44ef98c 100644 --- a/.gitignore +++ b/.gitignore @@ -110,3 +110,4 @@ evince-3.0.0.tar.bz2 /evince-43.0.tar.xz /evince-43.1.tar.xz /evince-44.rc.tar.xz +/evince-44.0.tar.xz diff --git a/0001-ev-window-title-Avoid-a-crash-caused-by-double-free.patch b/0001-ev-window-title-Avoid-a-crash-caused-by-double-free.patch deleted file mode 100644 index 2291586..0000000 --- a/0001-ev-window-title-Avoid-a-crash-caused-by-double-free.patch +++ /dev/null @@ -1,27 +0,0 @@ -From df8c32e2d90ec3cf7cb9c6369c7defd1ee1121fb Mon Sep 17 00:00:00 2001 -From: Marek Kasik -Date: Tue, 14 Mar 2023 10:30:35 +0100 -Subject: [PATCH] ev-window-title: Avoid a crash caused by double free - -Variable "title_header" of ev_window_title_update() -should not be freed at the end of the function as -it points to window_title->doc_title. ---- - shell/ev-window-title.c | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/shell/ev-window-title.c b/shell/ev-window-title.c -index 2f754e17..02bd9f1b 100644 ---- a/shell/ev-window-title.c -+++ b/shell/ev-window-title.c -@@ -165,7 +165,6 @@ ev_window_title_update (EvWindowTitle *window_title) - } - - g_free (title); -- g_free (title_header); - } - - EvWindowTitle * --- -2.39.2 - diff --git a/0001-fix-double-free-of-GtkEntryCompletion.patch b/0001-fix-double-free-of-GtkEntryCompletion.patch deleted file mode 100644 index 74e51be..0000000 --- a/0001-fix-double-free-of-GtkEntryCompletion.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 68d71634312ed2ba3b1d9e8bb101d06ccf7b4bc5 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Nelson=20Ben=C3=ADtez=20Le=C3=B3n?= -Date: Sat, 11 Mar 2023 22:23:27 -0400 -Subject: [PATCH] fix double free of GtkEntryCompletion - -It can be seen when closing Evince -after having used the Outline search. ---- - libmisc/ev-page-action-widget.c | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/libmisc/ev-page-action-widget.c b/libmisc/ev-page-action-widget.c -index d7a70491..e32b1dac 100644 ---- a/libmisc/ev-page-action-widget.c -+++ b/libmisc/ev-page-action-widget.c -@@ -615,8 +615,6 @@ ev_page_action_widget_update_links_model (EvPageActionWidget *proxy, GtkTreeMode - (GtkCellLayoutDataFunc) display_completion_text, - proxy, NULL); - gtk_entry_set_completion (GTK_ENTRY (proxy->entry), completion); -- -- g_object_unref (completion); - } - - void --- -2.39.2 - diff --git a/evince.spec b/evince.spec index db34d64..7d4fc9d 100644 --- a/evince.spec +++ b/evince.spec @@ -8,17 +8,14 @@ %global tarball_version %%(echo %{version} | tr '~' '.') Name: evince -Version: 44~rc -Release: 2%{?dist} +Version: 44.0 +Release: 1%{?dist} Summary: Document viewer License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse URL: https://wiki.gnome.org/Apps/Evince Source0: https://download.gnome.org/sources/%{name}/44/%{name}-%{tarball_version}.tar.xz -Patch0: 0001-ev-window-title-Avoid-a-crash-caused-by-double-free.patch -Patch1: 0001-fix-double-free-of-GtkEntryCompletion.patch - BuildRequires: gcc BuildRequires: gettext-devel BuildRequires: pkgconfig(adwaita-icon-theme) @@ -282,6 +279,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p %{_mandir}/man1/evince-previewer.1* %changelog +* Sat Mar 18 2023 David King - 44.0-1 +- Update to 44.0 + * Tue Mar 14 2023 Marek Kasik - 44~rc-2 - Fix crashes on closing of Evince - Resolves: #2178016 diff --git a/sources b/sources index d9cfbad..f0d8d9a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (evince-44.rc.tar.xz) = a6e7efb79a9317604f1f5646af692693105d974b56dc23fe7248588215066b314bd464cbd454608610dd3514364e2a1c0ca4747b1e4804dc63746344857e1806 +SHA512 (evince-44.0.tar.xz) = 1ff4e5a30e8b0c834dfa26294a6b6a4ec9fb2e3b5ecf040cc175423ebe4660a4c238bc21bf761e5dcda2b8c3888bddf6cae4cff3437ec20b9477f2106b5ba8da