import evince-3.28.4-12.el8

This commit is contained in:
CentOS Sources 2021-10-05 06:51:44 -04:00 committed by Stepan Oksanichenko
parent 5f6810fea8
commit 45c2cb83d4
3 changed files with 311 additions and 1 deletions

View File

@ -0,0 +1,31 @@
From 9756fdca2efe71738d02792e839862cb5f0a0244 Mon Sep 17 00:00:00 2001
From: Marek Kasik <mkasik@redhat.com>
Date: Tue, 16 Feb 2021 17:15:20 +0100
Subject: [PATCH] window: Use tmp dir as containing folder for non-native file
Show the temporary directory containing the downloaded document
as containing folder for documents from remote URIs.
It fails currently since it can not open remote URIs.
---
shell/ev-window.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/shell/ev-window.c b/shell/ev-window.c
index ba282e18..a1bc55f0 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -3290,6 +3290,10 @@ ev_window_cmd_open_containing_folder (GSimpleAction *action,
}
file = g_file_new_for_uri (window->priv->uri);
+ if (!g_file_is_native (file)) {
+ g_object_unref (file);
+ file = g_file_new_for_uri (ev_document_get_uri (window->priv->document));
+ }
list.next = list.prev = NULL;
list.data = file;
--
2.30.2

View File

@ -0,0 +1,260 @@
--- evince-3.28.4/po/ca.po
+++ evince-3.28.4/po/ca.po
@@ -667,6 +667,10 @@ msgstr "Vés al fitxer «%s»"
msgid "Launch %s"
msgstr "Engega %s"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "Reinicialitza el formulari"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "Salta a la pàgina:"
--- evince-3.28.4/po/cs.po
+++ evince-3.28.4/po/cs.po
@@ -678,6 +678,10 @@ msgstr "PÅ™ejít na soubor “%sâ€<C3A2>"
msgid "Launch %s"
msgstr "Spustit %s"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "Čistý formulář"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "Přejít na stránku:"
--- evince-3.28.4/po/de.po
+++ evince-3.28.4/po/de.po
@@ -691,6 +691,10 @@ msgstr "Zu Datei »%s« gehen"
msgid "Launch %s"
msgstr "%s starten"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "Formular zurücksetzen"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "Zu folgender Seite gehen:"
--- evince-3.28.4/po/es.po
+++ evince-3.28.4/po/es.po
@@ -677,6 +677,10 @@ msgstr "Ir al archivo «%s»"
msgid "Launch %s"
msgstr "Lanzar %s"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "Reiniciar formulario"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "Saltar a la página:"
--- evince-3.28.4/po/fi.po
+++ evince-3.28.4/po/fi.po
@@ -676,6 +676,10 @@ msgstr "Siirry tiedostoon â€<C3A2>%sâ€<C3A2>"
msgid "Launch %s"
msgstr "Käynnistä %s"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "Tyhjennä lomake"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "Siirry sivulle:"
--- evince-3.28.4/po/fur.po
+++ evince-3.28.4/po/fur.po
@@ -669,6 +669,10 @@ msgstr "Va al file \"%s\""
msgid "Launch %s"
msgstr "Fâs partî %s"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "Ripristine modul"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "Salte ae pagjine:"
--- evince-3.28.4/po/gl.po
+++ evince-3.28.4/po/gl.po
@@ -677,6 +677,10 @@ msgstr "Ir ao ficheiro «%s»"
msgid "Launch %s"
msgstr "Iniciar %s"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "Restabelecer o formulario"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "Saltar á páxina:"
--- evince-3.28.4/po/he.po
+++ evince-3.28.4/po/he.po
@@ -678,6 +678,10 @@ msgstr "מעבר לקובץ „%s“"
msgid "Launch %s"
msgstr "שיגור %s"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "×<>×פ×ס טופס"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "קפיצה לעמוד:"
--- evince-3.28.4/po/hu.po
+++ evince-3.28.4/po/hu.po
@@ -664,6 +664,10 @@ msgstr "Ugrás a(z) %s fájlra"
msgid "Launch %s"
msgstr "%s indítása"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "Űrlap visszaállítása"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "Ugrás oldalra:"
--- evince-3.28.4/po/id.po
+++ evince-3.28.4/po/id.po
@@ -669,6 +669,10 @@ msgstr "Pergi ke berkas “%sâ€<C3A2>"
msgid "Launch %s"
msgstr "Luncurkan %s"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "Reset formulir"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "Lompat ke halaman:"
--- evince-3.28.4/po/ja.po
+++ evince-3.28.4/po/ja.po
@@ -689,6 +689,10 @@ msgstr "ファイル“%sâ€<C3A2>ã<EFBFBD>¸ç§»å•ã<E280A2>
msgid "Launch %s"
msgstr "%s ã<>®èµ·å•"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "フォームをリセット"
+
#: ../libview/ev-view-presentation.c:735
msgid "Jump to page:"
msgstr "移å•å…ˆã<CB86>®ãƒšãƒ¼ã¸:"
--- evince-3.28.4/po/ko.po
+++ evince-3.28.4/po/ko.po
@@ -665,6 +665,10 @@ msgstr "“%sâ€<C3A2> 파ì<C592>¼ë¡œ ì<>´ë<C2B4>™"
msgid "Launch %s"
msgstr "%s 실행"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "ìì<C3AC> 다시 설정"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "페ì<CB9C>´ì§€ë¡œ ì<>´ë<C2B4>™:"
--- evince-3.28.4/po/pa.po
+++ evince-3.28.4/po/pa.po
@@ -674,6 +674,10 @@ msgstr "ਫਾਇਲ “%sâ€<C3A2> ਉੱਤà
msgid "Launch %s"
msgstr "%s ਚਲਾਓ"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "ਫਾਰਮ ਮà©<C3A0>à©œ-ਸੈੱਟ ਕਰੋ"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ:"
--- evince-3.28.4/po/pt.po
+++ evince-3.28.4/po/pt.po
@@ -694,6 +694,10 @@ msgstr "Ir para o ficheiro “%sâ€<C3A2>"
msgid "Launch %s"
msgstr "Iniciar %s"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "Restabelecer a partir de"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "Ir para a página:"
--- evince-3.28.4/po/ro.po
+++ evince-3.28.4/po/ro.po
@@ -674,6 +674,10 @@ msgstr "Navighează la fiÈ™ierul „%sâ€
msgid "Launch %s"
msgstr "Pornește %s"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "Restabilește formularul"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "Sari la pagina:"
--- evince-3.28.4/po/sl.po
+++ evince-3.28.4/po/sl.po
@@ -668,6 +668,10 @@ msgstr "SkoÄ<6F>i na datoteko »%s«"
msgid "Launch %s"
msgstr "Zaženi %s"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "Ponastavi obrazec"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "Pojdi na stran:"
--- evince-3.28.4/po/sv.po
+++ evince-3.28.4/po/sv.po
@@ -676,6 +676,10 @@ msgstr "GÃ¥ till filen â€<C3A2>%sâ€<C3A2>"
msgid "Launch %s"
msgstr "Starta %s"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "Återställ formulär"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "GÃ¥ till sidan:"
--- evince-3.28.4/po/tr.po
+++ evince-3.28.4/po/tr.po
@@ -671,6 +671,10 @@ msgstr "“%sâ€<C3A2> dosyasına git"
msgid "Launch %s"
msgstr "%s baÅŸlat"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "Formu sıfırla"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "Sayfaya git:"
--- evince-3.28.4/po/uk.po
+++ evince-3.28.4/po/uk.po
@@ -682,6 +682,10 @@ msgstr "Перейти до файла Â
msgid "Launch %s"
msgstr "ЗапуÑ<C692>ÑиÑи %s"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "Відновити початковий Ñ<>Ñан форми"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "Перейти до Ñ<>ÑорÑнки:"
--- evince-3.28.4/po/zh_CN.po
+++ evince-3.28.4/po/zh_CN.po
@@ -665,6 +665,10 @@ msgstr "转到文件“%sâ€<C3A2>"
msgid "Launch %s"
msgstr "调用 %s"
+#: libview/ev-view.c:2172
+msgid "Reset form"
+msgstr "é‡<C3A9>置表å<C2A8>•"
+
#: ../libview/ev-view-presentation.c:752
msgid "Jump to page:"
msgstr "跳到页é<C2B5>¢ï¼š"

View File

@ -5,7 +5,7 @@
Name: evince Name: evince
Version: 3.28.4 Version: 3.28.4
Release: 9%{?dist} Release: 12%{?dist}
Summary: Document viewer Summary: Document viewer
License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse
@ -34,6 +34,12 @@ Patch11: evince-3.28.4-application-id.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=1889793 # https://bugzilla.redhat.com/show_bug.cgi?id=1889793
Patch12: evince-3.28.4-reset-form-action.patch Patch12: evince-3.28.4-reset-form-action.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=1896006
Patch13: evince-3.28.4-reset-form-translations.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=1917752
Patch14: evince-3.28.4-containing-folder.patch
BuildRequires: pkgconfig(adwaita-icon-theme) BuildRequires: pkgconfig(adwaita-icon-theme)
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version} BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(gnome-desktop-3.0) BuildRequires: pkgconfig(gnome-desktop-3.0)
@ -262,6 +268,19 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/evince.desktop
%{_libdir}/mozilla/plugins/libevbrowserplugin.so %{_libdir}/mozilla/plugins/libevbrowserplugin.so
%changelog %changelog
* Mon Mar 22 2021 Marek Kasik <mkasik@redhat.com> - 3.28.4-12
- Bumping release
- Required due to collision of development of 2 y-branches
- Resolves: #1917752
* Mon Mar 22 2021 Marek Kasik <mkasik@redhat.com> - 3.28.4-11
- Use tmp dir as containing folder for non-native files
- Resolves: #1917752
* Mon Feb 15 2021 Marek Kasik <mkasik@redhat.com> - 3.28.4-10
- Add available translations of string "Reset form"
- Resolves: #1896006
* Mon Feb 1 2021 Marek Kasik <mkasik@redhat.com> - 3.28.4-9 * Mon Feb 1 2021 Marek Kasik <mkasik@redhat.com> - 3.28.4-9
- Ship evince-devel - Ship evince-devel
- Resolves: #1919423 - Resolves: #1919423