nixpkgs/pkgs/desktops/gnome-3/core/tracker-miners/fix-paths.patch
Tor Hedin Brønner d6c8771dd4
gnome3.tracker-miners: 2.1.5 -> 2.2.1
- update patch: meson.build now get stuff correctly from pkgconfig
2019-04-05 11:40:04 +02:00

21 lines
792 B
Diff

--- a/src/libtracker-miners-common/tracker-domain-ontology.c
+++ b/src/libtracker-miners-common/tracker-domain-ontology.c
@@ -323,7 +323,7 @@
goto end;
}
} else {
- path = g_build_filename (SHAREDIR, "tracker", "domain-ontologies",
+ path = g_build_filename ("@tracker@", "share", "tracker", "domain-ontologies",
DEFAULT_RULE, NULL);
if (!g_file_test (path, G_FILE_TEST_IS_REGULAR)) {
@@ -388,7 +388,7 @@
if (!priv->ontology_location) {
gchar *ontology_path;
- ontology_path = g_build_filename (SHAREDIR, "tracker", "ontologies",
+ ontology_path = g_build_filename ("@tracker@", "share", "tracker", "ontologies",
priv->ontology_name, NULL);
if (!g_file_test (ontology_path, G_FILE_TEST_IS_DIR)) {