Update to 44.0

This commit is contained in:
David King 2023-03-18 11:08:42 +00:00
parent 7bcc2201ca
commit fc62137ef2
5 changed files with 7 additions and 60 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -1,27 +0,0 @@
From df8c32e2d90ec3cf7cb9c6369c7defd1ee1121fb Mon Sep 17 00:00:00 2001
From: Marek Kasik <mkasik@redhat.com>
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

View File

@ -1,27 +0,0 @@
From 68d71634312ed2ba3b1d9e8bb101d06ccf7b4bc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nelson=20Ben=C3=ADtez=20Le=C3=B3n?= <nbenitezl@gmail.com>
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

View File

@ -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 <amigadave@amigadave.com> - 44.0-1
- Update to 44.0
* Tue Mar 14 2023 Marek Kasik <mkasik@redhat.com> - 44~rc-2
- Fix crashes on closing of Evince
- Resolves: #2178016

View File

@ -1 +1 @@
SHA512 (evince-44.rc.tar.xz) = a6e7efb79a9317604f1f5646af692693105d974b56dc23fe7248588215066b314bd464cbd454608610dd3514364e2a1c0ca4747b1e4804dc63746344857e1806
SHA512 (evince-44.0.tar.xz) = 1ff4e5a30e8b0c834dfa26294a6b6a4ec9fb2e3b5ecf040cc175423ebe4660a4c238bc21bf761e5dcda2b8c3888bddf6cae4cff3437ec20b9477f2106b5ba8da