From 319f54bc3d9c086b01e6734e7f09cf18e750692bc49f5652f15daef048dff8ed Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 13 Sep 2022 07:32:14 +0000 Subject: [PATCH 1/2] Accepting request 1002611 from GNOME:Next GNOME 43.rc - let's get this into Staging to see what we break (e.g meson:test seems to be an issue already) OBS-URL: https://build.opensuse.org/request/show/1002611 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/epiphany?expand=0&rev=375 --- ...3b1409dcdf983995e227fb9cfc200ed1cf87.patch | 64 ------------------ epiphany-42.4.tar.xz | 3 - epiphany-43.rc.tar.xz | 3 + epiphany-fix-nb-translation.patch | 1 + epiphany.changes | 66 +++++++++++++++++++ epiphany.spec | 22 ++++--- 6 files changed, 83 insertions(+), 76 deletions(-) delete mode 100644 e7d53b1409dcdf983995e227fb9cfc200ed1cf87.patch delete mode 100644 epiphany-42.4.tar.xz create mode 100644 epiphany-43.rc.tar.xz diff --git a/e7d53b1409dcdf983995e227fb9cfc200ed1cf87.patch b/e7d53b1409dcdf983995e227fb9cfc200ed1cf87.patch deleted file mode 100644 index af91c71..0000000 --- a/e7d53b1409dcdf983995e227fb9cfc200ed1cf87.patch +++ /dev/null @@ -1,64 +0,0 @@ -From e7d53b1409dcdf983995e227fb9cfc200ed1cf87 Mon Sep 17 00:00:00 2001 -From: Carlos Garcia Campos -Date: Thu, 28 Jul 2022 14:25:22 +0200 -Subject: [PATCH] web-app: do not show the search suggestions settings in web - app mode - -Part-of: - - -(cherry picked from commit 8d5130cb13fb9a0609ce6c9f7b826fcbc260df28) ---- - src/preferences/prefs-privacy-page.c | 7 +++++++ - src/resources/gtk/prefs-privacy-page.ui | 2 +- - 2 files changed, 8 insertions(+), 1 deletion(-) - -diff --git a/src/preferences/prefs-privacy-page.c b/src/preferences/prefs-privacy-page.c -index d8caea0e9..94f95efb0 100644 ---- a/src/preferences/prefs-privacy-page.c -+++ b/src/preferences/prefs-privacy-page.c -@@ -45,6 +45,7 @@ struct _PrefsPrivacyPage { - GtkWidget *enable_website_data_storage_switch; - - /* Search Suggestions */ -+ GtkWidget *search_suggestions_box; - GtkWidget *enable_google_search_suggestions_switch; - - /* Passwords */ -@@ -152,6 +153,7 @@ prefs_privacy_page_class_init (PrefsPrivacyPageClass *klass) - gtk_widget_class_bind_template_child (widget_class, PrefsPrivacyPage, enable_website_data_storage_switch); - - /* Search Suggestions */ -+ gtk_widget_class_bind_template_child (widget_class, PrefsPrivacyPage, search_suggestions_box); - gtk_widget_class_bind_template_child (widget_class, PrefsPrivacyPage, enable_google_search_suggestions_switch); - - /* Passwords */ -@@ -165,7 +167,12 @@ prefs_privacy_page_class_init (PrefsPrivacyPageClass *klass) - static void - prefs_privacy_page_init (PrefsPrivacyPage *privacy_page) - { -+ EphyEmbedShellMode mode = ephy_embed_shell_get_mode (ephy_embed_shell_get_default ()); -+ - gtk_widget_init_template (GTK_WIDGET (privacy_page)); - - setup_privacy_page (privacy_page); -+ -+ gtk_widget_set_visible (privacy_page->search_suggestions_box, -+ mode != EPHY_EMBED_SHELL_MODE_APPLICATION); - } -diff --git a/src/resources/gtk/prefs-privacy-page.ui b/src/resources/gtk/prefs-privacy-page.ui -index bf61d6b91..f8a5aa8b9 100644 ---- a/src/resources/gtk/prefs-privacy-page.ui -+++ b/src/resources/gtk/prefs-privacy-page.ui -@@ -61,7 +61,7 @@ - - - -- -+ - Search Suggestions - True - --- -GitLab - diff --git a/epiphany-42.4.tar.xz b/epiphany-42.4.tar.xz deleted file mode 100644 index 9eab2fa..0000000 --- a/epiphany-42.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:370938ad2920eeb28bc2435944776b7ba55a0e2ede65836f79818cfb7e8f0860 -size 6107820 diff --git a/epiphany-43.rc.tar.xz b/epiphany-43.rc.tar.xz new file mode 100644 index 0000000..7383461 --- /dev/null +++ b/epiphany-43.rc.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7910392fb3cab1453562e012440863a222114deb4e489c4ce2ac1670b1da87c8 +size 4081940 diff --git a/epiphany-fix-nb-translation.patch b/epiphany-fix-nb-translation.patch index 18cd64d..4948e8a 100644 --- a/epiphany-fix-nb-translation.patch +++ b/epiphany-fix-nb-translation.patch @@ -9,3 +9,4 @@ #: embed/ephy-web-view.c:898 msgid "_Kill" + diff --git a/epiphany.changes b/epiphany.changes index 67c6c5f..99d1fe1 100644 --- a/epiphany.changes +++ b/epiphany.changes @@ -1,3 +1,69 @@ +------------------------------------------------------------------- +Thu Sep 1 18:37:07 UTC 2022 - Bjørn Lie + +- Update to version 43.rc: + + Use internal copy of bookmarks icons instead of system version. + + Fix various issues when closing tabs. + + WebExtensions: Fix crash when failing to get translated string. + + Fix loss of tab history if placeholder page is not removed. +- Drop gstreamer-plugins-rs Recommends: gstreamer with standard + aom now delivers ok performance on av1 encoded videoes. + +------------------------------------------------------------------- +Fri Aug 26 11:42:07 UTC 2022 - Bjørn Lie + +- Update to version 43.beta: + + Fix crashes and misbehavior when importing bookmarks. + + Remove PDF.js, moved to WebKit. + + WebExtensions: + - set Content Security Policy. + - implement commands API. + - allow web inspector on background pages. + - should not use separate network processes. + - should use sandbox. + - should not receive hardware acceleration. + + Update to highlight.js 11.6.0. + + Add Take Screenshot to context menu. + + Preferences: do not show search suggestions in web app mode. + + Fix desktop notification priority. +- Add desktop-file-utils BuildRequires, new dependency. Since we + now have desktop-file-validate available during build, add check + section and validate desktop files during build. +- Drop e7d53b1409dcdf983995e227fb9cfc200ed1cf87.patch: Fixed + upstream. + +------------------------------------------------------------------- +Fri Aug 26 11:42:06 UTC 2022 - Bjørn Lie + +- Update to version 43.alpha: + + Major rearchitecting of WebExtensions, including many new APIs. + + Add favicons to history dialog. + + Fix critical errors when loading malformed session state. + + Remove accelerator to open web app manager. + + Fix reader mode crash when JavaScript is disabled by Content + Security Policy. + + Fix Epiphany icon in system sound settings. + + Several fixes for downloads. + + Support view-source: URI scheme. + + Fix empty tmp directories after running custom profiles. + + Improve reader mode stylesheet. + + Revamped web app support, including new D-Bus provider. + + Preparatory refactorings for GTK 4, and miscellaneous + improvements. + + Fix non-internationalized string on synced tabs dialog. + + Update to PDF.js 2.13.216. + + Fix encodings test. + + Fix broken link in README. + + Update to highlight.js 11.5.0. + + Improve description of search-engine-providers setting. + + Fix blurry favicons on hidpi. + + Password manager should not print warnings when operation is + cancelled. + + Rename "Personal Data" dialog to "Website Data". +- Add pkgconfig(libportal-gtk3) BuildRequires, new dependency. +- Stop passing libportal and soup2 = disabled, no longer needed nor + recognized. + ------------------------------------------------------------------- Fri Aug 26 11:42:05 UTC 2022 - Bjørn Lie diff --git a/epiphany.spec b/epiphany.spec index 17fac47..7bfa361 100644 --- a/epiphany.spec +++ b/epiphany.spec @@ -17,18 +17,18 @@ Name: epiphany -Version: 42.4 +Version: 43.rc Release: 0 Summary: GNOME Web Browser License: GPL-3.0-or-later Group: Productivity/Networking/Web/Browsers URL: https://wiki.gnome.org/Apps/Web -Source0: https://download.gnome.org/sources/epiphany/42/%{name}-%{version}.tar.xz -# PATCH-FIX-UPSTREAM e7d53b1409dcdf983995e227fb9cfc200ed1cf87.patch -- web-app: do not show the search suggestions settings in web app mode -Patch0: https://gitlab.gnome.org/GNOME/epiphany/-/commit/e7d53b1409dcdf983995e227fb9cfc200ed1cf87.patch +Source0: https://download.gnome.org/sources/epiphany/43/%{name}-%{version}.tar.xz + # PATCH-FIX-UPSTREAM epiphany-fix-nb-translation.patch -- Spellfix for Norwegian Bokmål translation Patch1: epiphany-fix-nb-translation.patch +BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: meson >= 0.47.0 BuildRequires: pkgconfig @@ -50,19 +50,19 @@ BuildRequires: pkgconfig(json-glib-1.0) >= 1.6 BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(libdazzle-1.0) >= 3.37.1 BuildRequires: pkgconfig(libhandy-1) >= 0.90.0 +BuildRequires: pkgconfig(libportal-gtk3) BuildRequires: pkgconfig(libsecret-1) >= 0.19.0 BuildRequires: pkgconfig(libsoup-3.0) >= 2.48.0 BuildRequires: pkgconfig(libxml-2.0) >= 2.6.12 BuildRequires: pkgconfig(libxslt) >= 1.1.7 BuildRequires: pkgconfig(nettle) >= 3.2 BuildRequires: pkgconfig(sqlite3) >= 3.22 -BuildRequires: pkgconfig(webkit2gtk-4.1) >= 2.33.2 -BuildRequires: pkgconfig(webkit2gtk-web-extension-4.1) >= 2.33.2 +BuildRequires: pkgconfig(webkit2gtk-4.1) >= 2.37.1 +BuildRequires: pkgconfig(webkit2gtk-web-extension-4.1) >= 2.37.1 Requires: %{name}-branding = %{version} Requires: iso-codes Recommends: ca-certificates Recommends: gnome-keyring -Recommends: gstreamer-plugins-rs %description Epiphany is a Web browser for the GNOME Desktop. Its principles are @@ -106,8 +106,6 @@ search results from Web (epiphany) %meson \ -D developer_mode=false \ -D unit_tests=disabled \ - -D soup2=disabled \ - -D libportal=disabled \ %{nil} %meson_build @@ -116,6 +114,9 @@ search results from Web (epiphany) %find_lang %{name} %{?no_lang_C} %fdupes %{buildroot}%{_datadir} +%check +desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop + %files %license COPYING %doc CONTRIBUTING.md NEWS README.md TODO @@ -133,11 +134,14 @@ search results from Web (epiphany) %dir %{_libdir}/epiphany %dir %{_libdir}/epiphany/web-process-extensions %{_libdir}/epiphany/web-process-extensions/libephywebprocessextension.so +%{_libdir}/epiphany/web-process-extensions/libephywebextension.so %{_libdir}/epiphany/libephymain.so %{_libdir}/epiphany/libephymisc.so %{_libdir}/epiphany/libephysync.so %dir %{_libexecdir}/epiphany %{_libexecdir}/epiphany/ephy-profile-migrator +%{_libexecdir}/epiphany-webapp-provider +%{_datadir}/dbus-1/services/org.gnome.Epiphany.WebAppProvider.service %files branding-upstream %{_datadir}/epiphany/default-bookmarks.rdf From 1c21ce39930c9ab5d264ef5f64e7e1b04512f70a7894e127e56587259271ba4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Mon, 19 Sep 2022 16:12:18 +0000 Subject: [PATCH 2/2] Accepting request 1003928 from GNOME:Next New stable release OBS-URL: https://build.opensuse.org/request/show/1003928 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/epiphany?expand=0&rev=376 --- epiphany-43.0.tar.xz | 3 +++ epiphany-43.rc.tar.xz | 3 --- epiphany.changes | 6 ++++++ epiphany.spec | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 epiphany-43.0.tar.xz delete mode 100644 epiphany-43.rc.tar.xz diff --git a/epiphany-43.0.tar.xz b/epiphany-43.0.tar.xz new file mode 100644 index 0000000..183a6f3 --- /dev/null +++ b/epiphany-43.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b66d499f9ee72696d83cf844125377181a954554a4bb3785b73293380ac0c227 +size 3890284 diff --git a/epiphany-43.rc.tar.xz b/epiphany-43.rc.tar.xz deleted file mode 100644 index 7383461..0000000 --- a/epiphany-43.rc.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7910392fb3cab1453562e012440863a222114deb4e489c4ce2ac1670b1da87c8 -size 4081940 diff --git a/epiphany.changes b/epiphany.changes index 99d1fe1..94549a4 100644 --- a/epiphany.changes +++ b/epiphany.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 15 16:15:27 UTC 2022 - Bjørn Lie + +- Update to version 43.0: + + Updated translations. + ------------------------------------------------------------------- Thu Sep 1 18:37:07 UTC 2022 - Bjørn Lie diff --git a/epiphany.spec b/epiphany.spec index 7bfa361..ce75112 100644 --- a/epiphany.spec +++ b/epiphany.spec @@ -17,7 +17,7 @@ Name: epiphany -Version: 43.rc +Version: 43.0 Release: 0 Summary: GNOME Web Browser License: GPL-3.0-or-later