summaryrefslogtreecommitdiff
path: root/flatpak
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2020-08-24 14:50:43 +0200
committerBastien Nocera <hadess@hadess.net>2020-08-24 16:52:25 +0200
commit1b305425cbbec9fb0340c8df1bfaed5513ab9742 (patch)
tree143ebaa49083bffe197a180527f029bb036fb205 /flatpak
parent81117d1a5e5b0818c4edd2cc7c888467a325d889 (diff)
downloadtotem-1b305425cbbec9fb0340c8df1bfaed5513ab9742.tar.gz
flatpak: Limit indexing by default
Diffstat (limited to 'flatpak')
-rw-r--r--flatpak/0001-Only-index-Videos-and-the-root-of-the-Downloads-dir.patch34
-rw-r--r--flatpak/org.gnome.Totem.Devel.json4
2 files changed, 38 insertions, 0 deletions
diff --git a/flatpak/0001-Only-index-Videos-and-the-root-of-the-Downloads-dir.patch b/flatpak/0001-Only-index-Videos-and-the-root-of-the-Downloads-dir.patch
new file mode 100644
index 000000000..558f6383f
--- /dev/null
+++ b/flatpak/0001-Only-index-Videos-and-the-root-of-the-Downloads-dir.patch
@@ -0,0 +1,34 @@
+From edea769787bd9f483528158ce133e4977b7e799a Mon Sep 17 00:00:00 2001
+From: Bastien Nocera <hadess@hadess.net>
+Date: Mon, 24 Aug 2020 14:29:16 +0200
+Subject: [PATCH] Only index Videos and the root of the Downloads dir
+
+---
+ data/org.freedesktop.Tracker.Miner.Files.gschema.xml | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/data/org.freedesktop.Tracker.Miner.Files.gschema.xml b/data/org.freedesktop.Tracker.Miner.Files.gschema.xml
+index 30f1c6e1c..0eaf3df34 100644
+--- a/data/org.freedesktop.Tracker.Miner.Files.gschema.xml
++++ b/data/org.freedesktop.Tracker.Miner.Files.gschema.xml
+@@ -106,7 +106,7 @@ Boston, MA 02110-1301, USA.
+
+ See /etc/xdg/user-dirs.defaults and $HOME/.config/user-dirs.default
+ </description>
+- <default>[ '&amp;DESKTOP', '&amp;DOCUMENTS', '&amp;MUSIC', '&amp;PICTURES', '&amp;VIDEOS' ]</default>
++ <default>[ '&amp;VIDEOS' ]</default>
+ </key>
+
+ <key name="index-single-directories" type="as">
+@@ -120,7 +120,7 @@ Boston, MA 02110-1301, USA.
+
+ See /etc/xdg/user-dirs.defaults and $HOME/.config/user-dirs.default
+ </description>
+- <default>[ '$HOME', '&amp;DOWNLOAD' ]</default>
++ <default>[ '&amp;DOWNLOAD' ]</default>
+ </key>
+
+ <key name="index-applications" type="b">
+--
+2.26.2
+
diff --git a/flatpak/org.gnome.Totem.Devel.json b/flatpak/org.gnome.Totem.Devel.json
index fdf72d0db..0ca3f479d 100644
--- a/flatpak/org.gnome.Totem.Devel.json
+++ b/flatpak/org.gnome.Totem.Devel.json
@@ -178,6 +178,10 @@
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/tracker-miners.git"
+ },
+ {
+ "type": "patch",
+ "path": "0001-Only-index-Videos-and-the-root-of-the-Downloads-dir.patch"
}
]
},