Bug 250129 - x11-fm/nautilus: Settings schema 'org.freedesktop.Tracker.Miner.Files' is not installed
Summary: x11-fm/nautilus: Settings schema 'org.freedesktop.Tracker.Miner.Files' is not...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-05 03:29 UTC by Neel Chauhan
Modified: 2020-10-09 21:28 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments
tracker-miner patch (1.69 KB, patch)
2020-10-07 21:44 UTC, Romain Tartière
no flags Details | Diff
nautilus patch (558 bytes, patch)
2020-10-07 21:44 UTC, Romain Tartière
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Neel Chauhan freebsd_committer freebsd_triage 2020-10-05 03:29:18 UTC
When I run nautilus 3.36.3 on FreeBSD, I get this error:

(org.gnome.Nautilus:1404): GLib-GIO-ERROR **: 20:27:19.732: Settings schema 'org.freedesktop.Tracker.Miner.Files' is not installed

Installing sysutils/tracker-miners does not help.
Comment 1 Romain Tartière freebsd_committer freebsd_triage 2020-10-07 16:41:50 UTC
Schemas seems to be listed in pkg-plist instead of GLIB_SCHEMAS in sysutils/tracker-miners.

Running `glib-compile-schemas /usr/local/share/glib-2.0/schemas` manually fix the issue for me (yet I have some glitches that are probably unrelated).

So to fix this we have to:
1. Fix sysutils/tracker-miners to register schemas properly;
2. Add sysutils/tracker-miners as a dependency to x11-fm/nautilus.
Comment 2 Romain Tartière freebsd_committer freebsd_triage 2020-10-07 21:44:04 UTC
Created attachment 218599 [details]
tracker-miner patch

I am not sure about the LDCONFIG stuff…  It helps for LIB_DEPENDS on the Nautilus side but maybe there is a better way?
Comment 3 Romain Tartière freebsd_committer freebsd_triage 2020-10-07 21:44:21 UTC
Created attachment 218600 [details]
nautilus patch
Comment 4 commit-hook freebsd_committer freebsd_triage 2020-10-09 21:27:05 UTC
A commit references this bug:

Author: bapt
Date: Fri Oct  9 21:26:35 UTC 2020
New revision: 551832
URL: https://svnweb.freebsd.org/changeset/ports/551832

Log:
  Fix tracker-miners

  The glib schemas were not tracked as such, making nautilus failed to access
  them when it needed to.

  While here; remove entire LDCONFIG which is not needed given this port does not
  provide any library that anything would be dynamiclaly linked to

  PR:		250129
  Submitted by:	Neel Chauhan <neel@neelc.org>

Changes:
  head/sysutils/tracker-miners/Makefile
  head/sysutils/tracker-miners/pkg-plist
Comment 5 commit-hook freebsd_committer freebsd_triage 2020-10-09 21:28:07 UTC
A commit references this bug:

Author: bapt
Date: Fri Oct  9 21:27:37 UTC 2020
New revision: 551833
URL: https://svnweb.freebsd.org/changeset/ports/551833

Log:
  MFH: r551832

  Fix tracker-miners

  The glib schemas were not tracked as such, making nautilus failed to access
  them when it needed to.

  While here; remove entire LDCONFIG which is not needed given this port does not
  provide any library that anything would be dynamiclaly linked to

  PR:		250129
  Submitted by:	Neel Chauhan <neel@neelc.org>

Changes:
_U  branches/2020Q4/
  branches/2020Q4/sysutils/tracker-miners/Makefile
  branches/2020Q4/sysutils/tracker-miners/pkg-plist
Comment 6 Baptiste Daroussin freebsd_committer freebsd_triage 2020-10-09 21:28:32 UTC
The dependency on nautilus is wrong, nautilus does not link on tracker-miner, but on tracker.

THe tracker patch is good to the exception of the LDCONFIG, there is no library anything could link to that are provided there.