diff --git a/SOURCES/evince-3.28.4-containing-folder.patch b/SOURCES/evince-3.28.4-containing-folder.patch new file mode 100644 index 0000000..756134f --- /dev/null +++ b/SOURCES/evince-3.28.4-containing-folder.patch @@ -0,0 +1,31 @@ +From 9756fdca2efe71738d02792e839862cb5f0a0244 Mon Sep 17 00:00:00 2001 +From: Marek Kasik +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 + diff --git a/SOURCES/evince-3.28.4-reset-form-translations.patch b/SOURCES/evince-3.28.4-reset-form-translations.patch new file mode 100644 index 0000000..a76f9dd --- /dev/null +++ b/SOURCES/evince-3.28.4-reset-form-translations.patch @@ -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”" + 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 ”%s”" + 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”" + 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”へ移動し + 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 "移動先のページ:" +--- evince-3.28.4/po/ko.po ++++ evince-3.28.4/po/ko.po +@@ -665,6 +665,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/pa.po ++++ evince-3.28.4/po/pa.po +@@ -674,6 +674,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/pt.po ++++ evince-3.28.4/po/pt.po +@@ -694,6 +694,10 @@ msgstr "Ir para o ficheiro “%s”" + 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č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 ”%s”" + 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” 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 "Запустити %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”" + 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 "跳到页面:" diff --git a/SPECS/evince.spec b/SPECS/evince.spec index b584853..399aed4 100644 --- a/SPECS/evince.spec +++ b/SPECS/evince.spec @@ -5,7 +5,7 @@ Name: evince Version: 3.28.4 -Release: 9%{?dist} +Release: 12%{?dist} Summary: Document viewer 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 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(gio-unix-2.0) >= %{glib2_version} 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 %changelog +* Mon Mar 22 2021 Marek Kasik - 3.28.4-12 +- Bumping release +- Required due to collision of development of 2 y-branches +- Resolves: #1917752 + +* Mon Mar 22 2021 Marek Kasik - 3.28.4-11 +- Use tmp dir as containing folder for non-native files +- Resolves: #1917752 + +* Mon Feb 15 2021 Marek Kasik - 3.28.4-10 +- Add available translations of string "Reset form" +- Resolves: #1896006 + * Mon Feb 1 2021 Marek Kasik - 3.28.4-9 - Ship evince-devel - Resolves: #1919423