summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/epiphany
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-gnome/epiphany')
-rw-r--r--meta/recipes-gnome/epiphany/epiphany_3.38.2.bb25
-rw-r--r--meta/recipes-gnome/epiphany/epiphany_46.0.bb43
-rw-r--r--meta/recipes-gnome/epiphany/files/0002-help-meson.build-disable-the-use-of-yelp.patch9
-rw-r--r--meta/recipes-gnome/epiphany/files/distributor.patch17
-rw-r--r--meta/recipes-gnome/epiphany/files/migrator.patch18
5 files changed, 72 insertions, 40 deletions
diff --git a/meta/recipes-gnome/epiphany/epiphany_3.38.2.bb b/meta/recipes-gnome/epiphany/epiphany_3.38.2.bb
deleted file mode 100644
index 7fedc43a99..0000000000
--- a/meta/recipes-gnome/epiphany/epiphany_3.38.2.bb
+++ /dev/null
@@ -1,25 +0,0 @@
1SUMMARY = "WebKit based web browser for GNOME"
2DESCRIPTION = "Epiphany is an open source web browser for the Linux desktop environment. \
3It provides a simple and easy-to-use internet browsing experience."
4HOMEPAGE = "https://wiki.gnome.org/Apps/Web"
5BUGTRACKER = "https://gitlab.gnome.org/GNOME/epiphany"
6LICENSE = "GPLv3+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
8
9DEPENDS = "libsoup-2.4 webkitgtk gtk+3 iso-codes avahi libnotify gcr \
10 gsettings-desktop-schemas libxml2-native \
11 glib-2.0 glib-2.0-native json-glib libdazzle libhandy libportal"
12
13GNOMEBASEBUILDCLASS = "meson"
14inherit gnomebase gsettings features_check upstream-version-is-even gettext mime-xdg
15REQUIRED_DISTRO_FEATURES = "x11 opengl"
16
17SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \
18 file://0002-help-meson.build-disable-the-use-of-yelp.patch \
19 file://migrator.patch \
20 file://distributor.patch \
21 "
22SRC_URI[archive.sha256sum] = "8b05f2bcc1e80ecf4a10f6f01b3285087eb4cbdf5741dffb8c0355715ef5116d"
23
24FILES_${PN} += "${datadir}/dbus-1 ${datadir}/gnome-shell/search-providers ${datadir}/metainfo"
25RDEPENDS_${PN} = "iso-codes adwaita-icon-theme gsettings-desktop-schemas"
diff --git a/meta/recipes-gnome/epiphany/epiphany_46.0.bb b/meta/recipes-gnome/epiphany/epiphany_46.0.bb
new file mode 100644
index 0000000000..9052fe170b
--- /dev/null
+++ b/meta/recipes-gnome/epiphany/epiphany_46.0.bb
@@ -0,0 +1,43 @@
1SUMMARY = "WebKit based web browser for GNOME"
2DESCRIPTION = "Epiphany is an open source web browser for the Linux desktop environment. \
3It provides a simple and easy-to-use internet browsing experience."
4HOMEPAGE = "https://wiki.gnome.org/Apps/Web"
5BUGTRACKER = "https://gitlab.gnome.org/GNOME/epiphany"
6LICENSE = "GPL-3.0-or-later"
7LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
8
9DEPENDS = " \
10 webkitgtk \
11 gcr \
12 gsettings-desktop-schemas \
13 nettle \
14 json-glib \
15 libadwaita \
16 libarchive \
17 libdazzle \
18 libhandy \
19 libportal \
20 libsoup \
21 glib-2.0-native \
22 coreutils-native \
23 desktop-file-utils-native \
24 "
25
26inherit gnomebase gsettings features_check gettext mime-xdg gtk-icon-cache
27REQUIRED_DISTRO_FEATURES = "x11 opengl"
28
29SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@oe.utils.trim_version("${PV}", 1)}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \
30 file://0002-help-meson.build-disable-the-use-of-yelp.patch \
31 file://migrator.patch \
32 file://distributor.patch \
33 "
34SRC_URI[archive.sha256sum] = "f4348f2cf51c07c0c106d130172d4d23f2cd4068771e1de007b758ca2ade5660"
35
36# Developer mode enables debugging
37PACKAGECONFIG[developer-mode] = "-Ddeveloper_mode=true,-Ddeveloper_mode=false"
38
39FILES:${PN} += "${datadir}/dbus-1 ${datadir}/gnome-shell/search-providers ${datadir}/metainfo"
40RDEPENDS:${PN} = "iso-codes adwaita-icon-theme gsettings-desktop-schemas"
41
42# ANGLE requires SSE support as of webkit 2.40.x on 32 bit x86
43COMPATIBLE_HOST:x86 = "${@bb.utils.contains_any('TUNE_FEATURES', 'core2 corei7', '.*', 'null', d)}"
diff --git a/meta/recipes-gnome/epiphany/files/0002-help-meson.build-disable-the-use-of-yelp.patch b/meta/recipes-gnome/epiphany/files/0002-help-meson.build-disable-the-use-of-yelp.patch
index 118b5d1825..e505466764 100644
--- a/meta/recipes-gnome/epiphany/files/0002-help-meson.build-disable-the-use-of-yelp.patch
+++ b/meta/recipes-gnome/epiphany/files/0002-help-meson.build-disable-the-use-of-yelp.patch
@@ -1,4 +1,4 @@
1From 3725c254f1d1d8204fa299e71c1e2bfd0ff6a634 Mon Sep 17 00:00:00 2001 1From bd45c75fe691e275d7a7d7e641ac66b153369a1c Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 31 Jan 2018 15:50:38 +0200 3Date: Wed, 31 Jan 2018 15:50:38 +0200
4Subject: [PATCH] help/meson.build: disable the use of yelp 4Subject: [PATCH] help/meson.build: disable the use of yelp
@@ -7,17 +7,16 @@ In particular this avoids calling itstool which oe-core doesn't provide.
7 7
8Upstream-Status: Inappropriate [oe-core specific] 8Upstream-Status: Inappropriate [oe-core specific]
9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10
11--- 10---
12 help/meson.build | 8 ++++---- 11 help/meson.build | 8 ++++----
13 1 file changed, 4 insertions(+), 4 deletions(-) 12 1 file changed, 4 insertions(+), 4 deletions(-)
14 13
15diff --git a/help/meson.build b/help/meson.build 14diff --git a/help/meson.build b/help/meson.build
16index 484860c..d9b2e80 100644 15index ff324dd..f5e421d 100644
17--- a/help/meson.build 16--- a/help/meson.build
18+++ b/help/meson.build 17+++ b/help/meson.build
19@@ -32,7 +32,7 @@ help_media = [ 18@@ -31,7 +31,7 @@ help_media = [
20 'media/epiphany-private-3-36.png' 19 'media/org.gnome.Epiphany.svg'
21 ] 20 ]
22 21
23-gnome.yelp(meson.project_name(), 22-gnome.yelp(meson.project_name(),
diff --git a/meta/recipes-gnome/epiphany/files/distributor.patch b/meta/recipes-gnome/epiphany/files/distributor.patch
index b09c9b38d2..a2800eb62d 100644
--- a/meta/recipes-gnome/epiphany/files/distributor.patch
+++ b/meta/recipes-gnome/epiphany/files/distributor.patch
@@ -1,12 +1,19 @@
1Don't encode the distro from /etc/os-release into the binaries. 1From c297f5b89d7c8e98ac98e1d9a7506df6db6fc025 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Fri, 26 Feb 2021 10:17:52 +0000
4Subject: [PATCH] Don't encode the distro from /etc/os-release into the
5 binaries.
2 6
3Upstream-Status: Pending 7Upstream-Status: Pending
4RP 2021/2/26 8RP 2021/2/26
9---
10 meson.build | 1 +
11 1 file changed, 1 insertion(+)
5 12
6Index: epiphany-3.38.2/meson.build 13diff --git a/meson.build b/meson.build
7=================================================================== 14index e416cc7..ee5f7b1 100644
8--- epiphany-3.38.2.orig/meson.build 15--- a/meson.build
9+++ epiphany-3.38.2/meson.build 16+++ b/meson.build
10@@ -15,6 +15,7 @@ if r.returncode() == 0 17@@ -15,6 +15,7 @@ if r.returncode() == 0
11 else 18 else
12 distributor_name = 'GNOME Web' 19 distributor_name = 'GNOME Web'
diff --git a/meta/recipes-gnome/epiphany/files/migrator.patch b/meta/recipes-gnome/epiphany/files/migrator.patch
index a9a650a64a..1b4404c8ca 100644
--- a/meta/recipes-gnome/epiphany/files/migrator.patch
+++ b/meta/recipes-gnome/epiphany/files/migrator.patch
@@ -1,15 +1,23 @@
1From b38a4ceaeec05efb1b822d52c43590e7fd518113 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Thu, 25 Feb 2021 14:52:32 +0000
4Subject: [PATCH] epiphany: Fix reproducibility issue
5
1We don't want to encide BUILD_ROOT into target packages. This is used 6We don't want to encide BUILD_ROOT into target packages. This is used
2for build time tests but in our case those would be on target anyway 7for build time tests but in our case those would be on target anyway
3do use the target paths. 8do use the target paths.
4 9
5Upstream-Status: Pending 10Upstream-Status: Pending
6RP 2021/2/25 11RP 2021/2/25
12---
13 lib/ephy-profile-utils.c | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
7 15
8Index: epiphany-3.38.2/lib/ephy-profile-utils.c 16diff --git a/lib/ephy-profile-utils.c b/lib/ephy-profile-utils.c
9=================================================================== 17index a2f6181..5218077 100644
10--- epiphany-3.38.2.orig/lib/ephy-profile-utils.c 18--- a/lib/ephy-profile-utils.c
11+++ epiphany-3.38.2/lib/ephy-profile-utils.c 19+++ b/lib/ephy-profile-utils.c
12@@ -130,10 +130,10 @@ ephy_profile_utils_do_migration (const c 20@@ -130,10 +130,10 @@ ephy_profile_utils_do_migration (const char *profile_directory,
13 argv[i++] = NULL; 21 argv[i++] = NULL;
14 22
15 #if DEVELOPER_MODE 23 #if DEVELOPER_MODE