Bug 30807

Summary: libreoffice installs tracker as a dependancy because of Gtk4
Product: Mageia Reporter: Cyril Levet <cyril.levet0780>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: libreoffice-7.4.0.3-1.mga9.src.rpm, gtk4.0-4.7.2-2.mga9 CVE:
Status comment:

Description Cyril Levet 2022-09-02 20:15:11 CEST
Description of problem:
When installing the last version of libreoffice in Cauldron, it installs tracker even if you are not using GNOME. The problems come from Gtk4.
Because gtk4.0 has lib64gtk4_1 as dependency, which needs lib64tracker3.0_0 and finally tracker. This will happen with all Gtk4 software.

However, for KDE users, tracker is redundant with baloo. Moreover, if both tracker and baloo creates their database it will be a lack of space and a huge consumption of resources for indexation.

I don't know if tracker is a mandatory dependency for Gtk4. If yes, it will be a mess on KDE systems.

Version-Release number of selected component (if applicable): libreoffice-7.4.0.3-1, gtk4.0-4.7.2-2,

How reproducible: Always


Steps to Reproduce:
1. Update libreoffice to 7.4.0 and check new dependencies.
Comment 1 Marja Van Waes 2022-09-02 21:21:21 CEST
(In reply to Cyril Levet from comment #0)
> Description of problem:
> When installing the last version of libreoffice in Cauldron, it installs
> tracker even if you are not using GNOME. The problems come from Gtk4.
> Because gtk4.0 has lib64gtk4_1 as dependency, which needs lib64tracker3.0_0
> and finally tracker. This will happen with all Gtk4 software.
> 
> However, for KDE users, tracker is redundant with baloo. Moreover, if both
> tracker and baloo creates their database it will be a lack of space and a
> huge consumption of resources for indexation.

Not for me, I use Plasma and did disable baloo at some time but have never disabled tracker and wasn't even aware it is installed, but it is:

$ rpm -qa | grep tracker
tracker-miners-3.3.1-3.mga9
tracker-3.3.3-1.mga9
lib64tracker3.0_0-3.3.3-1.mga9
lib64tracker-gir3.0-3.3.3-1.mga9


# systemctl -a | grep tracker
doesn't find any of the tracker* services

# journalctl -b | grep tracker
doesn't mention anything about a tracker service, either. 

(But: # journalctl -b | grep baloo
does mention kde-baloo.service was Skipped due to 'exec-condition')



> 
> I don't know if tracker is a mandatory dependency for Gtk4. If yes, it will
> be a mess on KDE systems.

It seems not, but I'll assign to the gtk4.0 & libreoffice maintainer (one and the same person)
> 
> Version-Release number of selected component (if applicable):
> libreoffice-7.4.0.3-1, gtk4.0-4.7.2-2,
>

Source RPM: libreoffice-7.4.0.3-1.mga9.src.rpm => libreoffice-7.4.0.3-1.mga9.src.rpm, gtk4.0-4.7.2-2.mga9
CC: (none) => marja11
Assignee: bugsquad => thierry.vignaud

Comment 2 Cyril Levet 2022-09-02 22:55:58 CEST
Ok. I didn't update when I saw tracker as a new package. But if tracker is not activated, it's minor. Even if I think some user will be surprised to have a non asked program named tracker.
Comment 3 Jani Välimaa 2022-09-28 08:56:13 CEST
It's not completely true that there're no systemd services shipped with tracker.

$ systemctl -a --user | grep tracker
  tracker-miner-fs-3.service            loaded    active   running   Tracker file system data miner
  tracker-miner-fs-control-3.service    loaded    active   running   Tracker Filesystem Indexing Proxy