Accepting request 795012 from GNOME:Next

Scripted push of project GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/795012
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/epiphany?expand=0&rev=336
This commit is contained in:
Dominique Leuenberger 2020-04-17 22:40:23 +00:00 committed by Git OBS Bridge
parent 0df9bbe718
commit 789b2ecd6a
5 changed files with 81 additions and 81 deletions

View File

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

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

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

View File

@ -1,68 +0,0 @@
From 929f8f4d9e89c7751e6a6f15c1915349a2851c97 Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@gnome.org>
Date: Wed, 22 Jan 2020 16:11:58 -0600
Subject: [PATCH] sync-utils: use getrandom() to generate randomness
GCC complains that we ignore the return value from fread(), which is
important for error checking.
This is easy to fix, but might as well switch to getrandom() while we're
at it, since this is the nice/modern way to get randomness.
Note: requires glibc 2.25 or a newish FreeBSD.
---
lib/ephy-sync-utils.c | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/lib/ephy-sync-utils.c b/lib/ephy-sync-utils.c
index 6c8a37a85..4ae56220b 100644
--- a/lib/ephy-sync-utils.c
+++ b/lib/ephy-sync-utils.c
@@ -23,12 +23,14 @@
#include "ephy-settings.h"
+#include <errno.h>
#include <glib/gi18n.h>
#include <inttypes.h>
#include <json-glib/json-glib.h>
#include <libsoup/soup.h>
#include <stdio.h>
#include <string.h>
+#include <sys/random.h>
static const char hex_digits[] = "0123456789abcdef";
@@ -165,21 +167,24 @@ ephy_sync_utils_base64_urlsafe_decode (const char *text,
* This is mainly required by Nettle's RSA support.
* From Nettle's documentation: random_ctx and random is a randomness generator.
* random(random_ctx, length, dst) should generate length random octets and store them at dst.
- * We don't really use random_ctx, since we have /dev/urandom available.
+ * We don't use random_ctx.
*/
void
ephy_sync_utils_generate_random_bytes (void *random_ctx,
gsize num_bytes,
guint8 *out)
{
- FILE *fp;
+ gssize ret;
g_assert (num_bytes > 0);
g_assert (out);
- fp = fopen ("/dev/urandom", "r");
- fread (out, sizeof (guint8), num_bytes, fp);
- fclose (fp);
+ do {
+ ret = getrandom (out, num_bytes, 0);
+ } while (ret < (gssize)num_bytes && errno == EINTR);
+
+ if (ret != (gssize)num_bytes)
+ g_error ("Failed to generate randomness: %s", g_strerror (errno));
}
char *
--
2.24.1

View File

@ -1,3 +1,73 @@
-------------------------------------------------------------------
Fri Mar 27 19:00:01 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.36.1:
+ Fix bookmarks lockdown.
+ Fix endless Epiphany launch loop loading ftp:// URIs.
+ Fix tab name on detached tabs.
+ Fix extra blank space in bookmarks popover.
+ Fix some downloads not working.
+ Use full width address bar dropdown in narrow mode.
-------------------------------------------------------------------
Sat Mar 7 21:48:01 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.36.0:
+ Fix crash when closing passwords dialog.
-------------------------------------------------------------------
Fri Feb 28 09:04:46 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.35.92:
+ Remove custom reader mode fonts.
+ Go to homepage when opening a new window.
+ Remember maximize/fullscreen window state.
+ Fix memory leaks.
+ Fix extra strings marked for translation.
+ Fix crash on about:memory.
-------------------------------------------------------------------
Sun Feb 16 00:55:50 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.35.91:
+ Allow bookmarks files to be symbolic links.
+ Fix new tab page with few items in history.
+ Fix password manager user account selector.
+ Fix extra page when starting browser during background
download.
+ Reenable web process sandbox.
+ Remove extra PDF.js files.
+ Fix tab title after Alt+Home.
+ "Switch to tab" should not switch tabs if URL is edited.
+ Fix crash when parsing session state.
+ Fix improper warning when closing multiple tabs.
+ Disallow top-level navigation to data:// URLs.
+ Update Epiphany icon in user help.
-------------------------------------------------------------------
Fri Feb 14 21:51:30 UTC 2020 - dimstar@opensuse.org
- Update to version 3.35.90:
+ Update design of bookmark dialogs.
+ Disable new tab page when homepage is about:blank.
+ Tab now autocompletes URL in address bar.
+ Reorganize the preferences dialog.
+ Changing web app icon in preferences dialog should copy icon.
+ Update design of data management dialogs.
+ Add placeholder text to address bar.
+ Add address bar dropdown icons for jump-to-tab and for
bookmarks.
+ Fix history dialog claiming history is empty until history has
loaded.
+ Fix Favorites and Mobile bookmarks not tagged correctly when
localized.
+ Allow Ctrl+Tab in address bar.
+ Fix problems with the new PDF support.
+ Allow opening PDFs with file chooser.
+ Various bugs fixed.
+ Updated translations.
- Drop epiphany-fix-compile-warning.patch: fixed upstream.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 14 21:51:29 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com> Fri Feb 14 21:51:29 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
@ -17,7 +87,7 @@ Fri Feb 14 21:51:29 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 23 09:48:38 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com> Thu Jan 23 09:48:38 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Add backported patch from upstream: - Add backported patch from upstream:
epiphany-fix-compile-warning.patch: sync-utils: use getrandom() epiphany-fix-compile-warning.patch: sync-utils: use getrandom()
to generate randomness. to generate randomness.
- Drop epiphany-lang Recommends: No longer needed, lang - Drop epiphany-lang Recommends: No longer needed, lang

View File

@ -17,16 +17,14 @@
Name: epiphany Name: epiphany
Version: 3.34.4 Version: 3.36.1
Release: 0 Release: 0
Summary: GNOME Web Browser Summary: GNOME Web Browser
License: GPL-3.0-or-later License: GPL-3.0-or-later
Group: Productivity/Networking/Web/Browsers Group: Productivity/Networking/Web/Browsers
URL: https://wiki.gnome.org/Apps/Web URL: https://wiki.gnome.org/Apps/Web
Source0: https://download.gnome.org/sources/epiphany/3.34/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/epiphany/3.36/%{name}-%{version}.tar.xz
Source99: %{name}-rpmlintrc Source99: %{name}-rpmlintrc
# PATCH-FIX-UPSTREAM epiphany-fix-compile-warning.patch -- sync-utils: use getrandom() to generate randomness
Patch0: epiphany-fix-compile-warning.patch
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: meson >= 0.42.0 BuildRequires: meson >= 0.42.0
@ -47,17 +45,17 @@ BuildRequires: pkgconfig(hogweed) >= 3.2
BuildRequires: pkgconfig(icu-uc) >= 4.6 BuildRequires: pkgconfig(icu-uc) >= 4.6
BuildRequires: pkgconfig(iso-codes) >= 0.35 BuildRequires: pkgconfig(iso-codes) >= 0.35
BuildRequires: pkgconfig(json-glib-1.0) >= 1.2.4 BuildRequires: pkgconfig(json-glib-1.0) >= 1.2.4
BuildRequires: pkgconfig(libdazzle-1.0) >= 3.31.90 BuildRequires: pkgconfig(libdazzle-1.0) >= 3.35.3
BuildRequires: pkgconfig(libhandy-0.0) >= 0.0.9 BuildRequires: pkgconfig(libhandy-0.0) >= 0.0.10
BuildRequires: pkgconfig(libnotify) >= 0.5.1 BuildRequires: pkgconfig(libnotify) >= 0.5.1
BuildRequires: pkgconfig(libsecret-1) >= 0.14 BuildRequires: pkgconfig(libsecret-1) >= 0.19.0
BuildRequires: pkgconfig(libsoup-2.4) >= 2.48.0 BuildRequires: pkgconfig(libsoup-2.4) >= 2.48.0
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.12 BuildRequires: pkgconfig(libxml-2.0) >= 2.6.12
BuildRequires: pkgconfig(libxslt) >= 1.1.7 BuildRequires: pkgconfig(libxslt) >= 1.1.7
BuildRequires: pkgconfig(nettle) >= 3.2 BuildRequires: pkgconfig(nettle) >= 3.2
BuildRequires: pkgconfig(sqlite3) >= 3.0 BuildRequires: pkgconfig(sqlite3) >= 3.0
BuildRequires: pkgconfig(webkit2gtk-4.0) >= 2.25.1 BuildRequires: pkgconfig(webkit2gtk-4.0) >= 2.27.4
BuildRequires: pkgconfig(webkit2gtk-web-extension-4.0) >= 2.25.1 BuildRequires: pkgconfig(webkit2gtk-web-extension-4.0) >= 2.27.4
Requires: %{name}-branding = %{version} Requires: %{name}-branding = %{version}
Requires: iso-codes Requires: iso-codes
Recommends: ca-certificates Recommends: ca-certificates