diff options
author | Michael Catanzaro <mcatanzaro@igalia.com> | 2018-01-05 17:58:15 -0600 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@igalia.com> | 2018-01-08 11:59:12 -0600 |
commit | ec9671856f232a2276e8f269dec112ac033af2d3 (patch) | |
tree | 361aa225b30138a268726d77bfe279f64f4be913 /org.gnome.Epiphany.json | |
parent | 65b156598589aac11dea6e1c2710f3ae8a20b435 (diff) | |
download | epiphany-ec9671856f232a2276e8f269dec112ac033af2d3.tar.gz |
Drop gnome-desktop dependency by copying thumbnail factory bits
gnome-desktop is not supposed to be used by applications, that's why
it's not in the runtime. And we have an Epiphany-specific security
problem in the thumbnailer, which we cannot otherwise fix without adding
new gnome-desktop API that would only be useful for Epiphany.
The thumbnail factory is a lot of code, and we only need a small bit of
it.
In particular, get rid of the thumbnail mtime tracking code, which is
unnecessary now that we control the thumbnailing code. For the past
couple of years, it has only been used to convince the thumbnail factory
to not discard our requests for thumbnails.
Also, save the snapshots under ~/.cache/epiphany, so that we can delete
them. Right now, we store undeletable snapshots of all the websites you
view, which don't go away when clearing history (except, fortunately, in
incognito mode). Now we can fix that.
This commit also contains a minor memory leak fix, for good measure.
https://bugzilla.gnome.org/show_bug.cgi?id=778578
Diffstat (limited to 'org.gnome.Epiphany.json')
-rw-r--r-- | org.gnome.Epiphany.json | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/org.gnome.Epiphany.json b/org.gnome.Epiphany.json index 521b434ba..ce4d8348f 100644 --- a/org.gnome.Epiphany.json +++ b/org.gnome.Epiphany.json @@ -41,16 +41,6 @@ "*.la", "*.a"], "modules": [ { - "name": "gnome-desktop", - "config-opts": ["--disable-debug-tools", "--disable-udev"], - "sources": [ - { - "type": "git", - "url": "https://git.gnome.org/browse/gnome-desktop" - } - ] - }, - { "name": "epiphany", "config-opts": ["-Dtech_preview=true"], "buildsystem": "meson", |