Created attachment 458794 [details]
I am using basic gnome installation, as my development machine does not need tracker, games and rest of gnomes bloatware.
Nautilus 3.22.2 however cannot be built anymore. It seems to ignore -tracker or hard require tracker-sparql dependency:
"In file included from nautilus-file-undo-operations.c:35:0:
nautilus-batch-rename-utilities.h:24:28: fatal error: tracker-sparql.h: No such file or directory
I confirm the problem with compilation.
git-bisected this issue to:
Author: Alexandru Pandelea <firstname.lastname@example.org>
Date: Sat Aug 27 19:34:08 2016 +0300
Implement batch renaming
Logged upstream as https://bugzilla.gnome.org/show_bug.cgi?id=776898
USE="tracker" emerge -1va nautilus
Then remove crapware:
emerge -Ca tracker nautilus-tracker-tags
nautilus works fine after that.
P.S. I also did this to stop portage nagging.
(In reply to Andreas Proteus from comment #3)
> USE="tracker" emerge -1va nautilus
> Then remove crapware:
> emerge -Ca tracker nautilus-tracker-tags
> nautilus works fine after that.
> P.S. I also did this to stop portage nagging.
> :> /var/lib/portage/preserved_libs_registry
Very bad idea.
This means you still have tracker just fine, it was preserved by portage, but you just have the library that nautilus links to.
With that bad hackery now after we fix it properly, I believe you'll still have tracker libraries installed, but because you messed with the portage file that keeps track of them, portage will never know and it'll stay there forever.
I see that adding gnome@ as a CC on already-opened upstream bugs is useless…
I'm planning on p.masking 3.22.2. Any objections?
Created attachment 458878 [details, diff]
Hide batch rename behind ENABLE_TRACKER ifdef
This patch makes nautilus build for me. It runs OK, and rename appears greyed out when multiple files are selected. I haven't done any additional testing, though.
(In reply to Rémi Cardona from comment #5)
> I see that adding gnome@ as a CC on already-opened upstream bugs is useless…
> I'm planning on p.masking 3.22.2. Any objections?
please don't, if it can be avoided. nautilus 3.22.2 fixes desktop icons in wayland session.
(In reply to Jan Vesely from comment #6)
> Created attachment 458878 [details, diff] [details, diff]
> Hide batch rename behind ENABLE_TRACKER ifdef
> This patch makes nautilus build for me. It runs OK, and rename appears
> greyed out when multiple files are selected. I haven't done any additional
> testing, though.
The patch seems to work for me, too.
Fixed upstream as
(In reply to Mykyta Holubakha from comment #9)
This patch solved the issue for me.
nautilus-3.22.1 removed prematurely, while this patched version of 3.22.2 has yet to enter portage tree.
# mkdir -p /etc/portage/patches/gnome-base/nautilus-3.22.2/
# cd /etc/portage/patches/gnome-base/nautilus-3.22.2/
# curl https://git.gnome.org/browse/nautilus/patch/?id=18d52a729e7aa1878edb9c231559a6f8fbcaa492 > gentoo-bug-604720.patch
# emerge -1 nautilus
Author: Mart Raudsepp <email@example.com>
Date: Thu Mar 16 12:57:38 2017 +0200
gnome-base/nautilus: bump to 3.22.3, fixing build with USE=-tracker
Include the fact that USE=tracker is needed for batch renaming in metadata.xml.
Make exempi depend specify a SLOT as 3.20 was made to post-3.22 bump.
Package-Manager: Portage-2.3.4, Repoman-2.3.1