Accepting request 1004773 from GNOME:Factory

- Update to version 43.0:
  + Updated translations.
- 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.
- 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.
- 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.

OBS-URL: https://build.opensuse.org/request/show/1004773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/epiphany?expand=0&rev=196
This commit is contained in:
Dominique Leuenberger 2022-09-21 12:42:19 +00:00 committed by Git OBS Bridge
commit d8e71cd8f5
6 changed files with 89 additions and 76 deletions

View File

@ -1,64 +0,0 @@
From e7d53b1409dcdf983995e227fb9cfc200ed1cf87 Mon Sep 17 00:00:00 2001
From: Carlos Garcia Campos <cgarcia@igalia.com>
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: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1178>
(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 @@
</object>
</child>
<child>
- <object class="HdyPreferencesGroup">
+ <object class="HdyPreferencesGroup" id="search_suggestions_box">
<property name="title" translatable="yes">Search Suggestions</property>
<property name="visible">True</property>
<child>
--
GitLab

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:370938ad2920eeb28bc2435944776b7ba55a0e2ede65836f79818cfb7e8f0860
size 6107820

3
epiphany-43.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b66d499f9ee72696d83cf844125377181a954554a4bb3785b73293380ac0c227
size 3890284

View File

@ -9,3 +9,4 @@
#: embed/ephy-web-view.c:898
msgid "_Kill"

View File

@ -1,3 +1,75 @@
-------------------------------------------------------------------
Thu Sep 15 16:15:27 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 43.0:
+ Updated translations.
-------------------------------------------------------------------
Thu Sep 1 18:37:07 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- 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 <bjorn.lie@gmail.com>
- 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 <bjorn.lie@gmail.com>
- 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 <bjorn.lie@gmail.com>

View File

@ -17,18 +17,18 @@
Name: epiphany
Version: 42.4
Version: 43.0
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