[totem/sam/tracker3-flatpak-bundle: 2/5] flatpak: Limit indexing by default
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/sam/tracker3-flatpak-bundle: 2/5] flatpak: Limit indexing by default
- Date: Mon, 24 Aug 2020 14:52:33 +0000 (UTC)
commit 1b305425cbbec9fb0340c8df1bfaed5513ab9742
Author: Bastien Nocera <hadess hadess net>
Date: Mon Aug 24 14:50:43 2020 +0200
flatpak: Limit indexing by default
...-Videos-and-the-root-of-the-Downloads-dir.patch | 34 ++++++++++++++++++++++
flatpak/org.gnome.Totem.Devel.json | 4 +++
2 files changed, 38 insertions(+)
---
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>[ '&DESKTOP', '&DOCUMENTS', '&MUSIC', '&PICTURES', '&VIDEOS' ]</default>
++ <default>[ '&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', '&DOWNLOAD' ]</default>
++ <default>[ '&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"
}
]
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]