We will need to eventually be ready for tracker-2. Here we track what is needed to do before we can unmask a tracker2 version. tracker-2.x is NOT parallel installable with tracker-1.x, but does break API/ABI and bumps pkg-config package name. Parts of it could be parallel installable, but we have no interest in that, as we could end up with multiple trackers crawling your filesystem, etc.. We need all packages to be ready for tracker-2. If an old version is not ready, it should specifically depend on the old ABI via app-misc/tracker:0/100 subslot dependency. Ideally it would be working with either, in which case the dependency can be expressed via app-misc/tracker:0= for now. Later we might end up with a tracker-3, but hopefully by that point tracker-1 is gone and we can do a similar approach there - it isn't expected to happen anytime soon afaik. If it works only with tracker-2, then a :0/2.0 subslot dep would be appropriate. 2.0 subslot now signifies tracker_api_version, and it is the versioning in the pkg-config file. tracker-1 subslot of "100" is historical evolution from its 0.x versions, when ABI was not that stable and we naturally settled on "100" for the API stable release from there. One should be able to easily find out what tracker APIs a consumer application/library uses by looking at its build system - it would have to use different pkg-config module deps for them. If both are supported, one would usually find the build system first trying 2.0, and if not found, try 1.0 too. E.g. like this in the example of nautilus: tracker_sparql = dependency ('tracker-sparql-2.0', required: false) if not tracker_sparql.found() tracker_sparql = dependency ('tracker-sparql-1.0') endif Note that because tracker-1 and tracker-2 are not parallel installable for us, there are no automagic concerns here and in this situation we can safely just keep a app-misc/tracker:0= dependency here. Note that with tracker-2, the miners will be in a separate tracker-miners package (upstream split). If a package relies on the miners or certain miners specifically, it may want to directly depend on the package and any necessary miner USE flags on it.
The following packages have a dependency on app-misc/tracker and thus need checking over if their dep needs to be adjusted to app-misc/tracker:0/100 or not: app-cdr/brasero app-misc/bijiben dev-libs/folks gnome-base/gnome-extra-apps gnome-base/nautilus gnome-extra/gnome-boxes gnome-extra/gnome-documents gnome-extra/nautilus-tracker-tags gnome-extra/nemo media-gfx/gnome-photos media-plugins/grilo-plugins media-sound/gnome-music net-fs/netatalk net-misc/gnome-online-miners net-misc/rygel gnome@ maintained packages will be handled soon, while the rest will get a bug blocking this tracker for a time; if not promptly handled, gnome@ will update them for you, in order to safely add tracker-2 to the main tree without breaking your package.
netatalk is maintainer-needed, I have ACK for doing naughty things to nemo, and the rest is gnome@, so not much of a tracker needed afterall. I expect to complete the work within a day or so.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cb92221c6927133ae1bde831ea27d6617d2a7eb commit 0cb92221c6927133ae1bde831ea27d6617d2a7eb Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-13 16:21:58 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-13 22:53:17 +0000 app-misc/tracker: bump to 2.1.7 Bug: https://bugs.gentoo.org/672308 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> app-misc/tracker/Manifest | 1 + app-misc/tracker/files/2.1.7-doc-options.patch | 66 ++++++++ .../tracker/files/2.1.7-fix-library-symlinks.patch | 71 +++++++++ .../tracker/files/2.1.7-glib-2.60-compat.patch | 169 +++++++++++++++++++++ .../files/2.1.7-prevent-stack-smashing.patch | 39 +++++ app-misc/tracker/files/2.1.7-test-fix.patch | 49 ++++++ app-misc/tracker/tracker-2.1.7.ebuild | 94 ++++++++++++ profiles/package.mask | 4 + 8 files changed, 493 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21513d07e86f32a113457aee5987625a7c6e1745 commit 21513d07e86f32a113457aee5987625a7c6e1745 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-15 10:35:17 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-15 12:29:35 +0000 app-misc/tracker-miners: add upstream split tracker miners package Bug: https://bugs.gentoo.org/672308 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> app-misc/tracker-miners/Manifest | 1 + .../tracker-miners/files/2.1.5-meson-fixes.patch | 322 +++++++++++++++++++++ app-misc/tracker-miners/files/2.1.5-test-fix.patch | 50 ++++ app-misc/tracker-miners/metadata.xml | 17 ++ .../tracker-miners/tracker-miners-2.1.5.ebuild | 139 +++++++++ profiles/base/package.use.force | 1 + profiles/package.mask | 1 + 7 files changed, 531 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a36430aa894f437924697e06674f37a47b43763c commit a36430aa894f437924697e06674f37a47b43763c Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-15 12:37:11 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-15 12:38:47 +0000 app-misc/tracker: pull in tracker-miners by default Bug: https://bugs.gentoo.org/672308 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> app-misc/tracker/metadata.xml | 1 + app-misc/tracker/tracker-2.1.7.ebuild | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db15cba6fe8f1eadfac5d3d06fe4afe33c9fad3a commit db15cba6fe8f1eadfac5d3d06fe4afe33c9fad3a Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-15 13:33:03 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-15 13:38:27 +0000 app-misc/bijiben: bump to 3.26.2 for tracker-2 support Adds checking for tracker 2.0 API and has a couple translation updates, otherwise identical to 3.26.1 Bug: https://bugs.gentoo.org/672308 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> app-misc/bijiben/Manifest | 1 + app-misc/bijiben/bijiben-3.26.2.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d756fbd4eb6abc1414bffb1f058dfd990fe6008 commit 9d756fbd4eb6abc1414bffb1f058dfd990fe6008 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-15 13:18:43 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-15 13:38:24 +0000 dev-libs/folks-0.11.4-r0: lock to tracker-1 due to the bug that -r1 fixes Bug: https://bugs.gentoo.org/672308 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> dev-libs/folks/folks-0.11.4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbc18bd814258d60143a17ecee38a7b745207123 commit bbc18bd814258d60143a17ecee38a7b745207123 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-15 13:13:36 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-15 13:38:19 +0000 app-misc/tracker-miners: fix DESCRIPTION Forgot to update it before from a copy of tracker core Bug: https://bugs.gentoo.org/672308 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> app-misc/tracker-miners/tracker-miners-2.1.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a0df764495750020525c6b9c008ee1caa003ab7 commit 8a0df764495750020525c6b9c008ee1caa003ab7 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-15 13:07:20 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-15 13:38:14 +0000 net-misc/gnome-online-miners: bump to 3.26.0 for tracker-2 support Flipping the tracker API version it links to is the only difference between 3.24.0 and 3.26.0, thus we flip with the bump instead of patching it to support either in the same version like was done with gnome-photos. Bug: https://bugs.gentoo.org/672308 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> net-misc/gnome-online-miners/Manifest | 1 + .../gnome-online-miners-3.26.0.ebuild | 39 ++++++++++++++++++++++ profiles/package.mask | 1 + 3 files changed, 41 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3008dca6f0148d4e16cc8dfab9cb9d7e388a6885 commit 3008dca6f0148d4e16cc8dfab9cb9d7e388a6885 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-15 13:03:02 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-15 13:38:11 +0000 media-gfx/gnome-photos: support tracker-2 Bug: https://bugs.gentoo.org/672308 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> media-gfx/gnome-photos/gnome-photos-3.26.4.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03b98ad10879b41fed31ccc7f9ec8c6bba3907f5 commit 03b98ad10879b41fed31ccc7f9ec8c6bba3907f5 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-15 12:54:13 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-15 13:38:09 +0000 gnome-extra/gnome-boxes: support tracker-2 Bug: https://bugs.gentoo.org/672308 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> gnome-extra/gnome-boxes/gnome-boxes-3.26.4.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe6bac8296ebbf1da3f8bdb366f47ed4229fa163 commit fe6bac8296ebbf1da3f8bdb366f47ed4229fa163 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-15 14:13:09 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-15 14:14:28 +0000 app-misc/tracker: fix database upgrade from tracker-1 Without the added patch tracker-store actually fails to upgrade the database from tracker-1 times to tracker-2 and exits, thus for users that had used tracker-1 already tracker-2 wouldn't actually work at all. This patch fixes it for me at least. This might only be a problem when upgrading from tracker-1 only now, while having sqlite at v3.25 or newer, but this will be the case for only main tree users. Bug: https://bugs.gentoo.org/672308 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> .../tracker/files/2.1.7-upgrade-path-fix.patch | 33 ++++++++++++++++++++++ ...racker-2.1.7.ebuild => tracker-2.1.7-r1.ebuild} | 1 + 2 files changed, 34 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb4be5bf6495445692d2e8e03573a42d2ea0eb2a commit cb4be5bf6495445692d2e8e03573a42d2ea0eb2a Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-15 14:51:35 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-15 14:51:35 +0000 media-plugins/grilo-plugins: remove old SLOT=0.2 Doesn't work with tracker-2 Bug: https://bugs.gentoo.org/672308 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> media-plugins/grilo-plugins/Manifest | 1 - .../grilo-plugins/grilo-plugins-0.2.17.ebuild | 93 ---------------------- 2 files changed, 94 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1651807bca992d1900cbca583668857a7238d5c commit e1651807bca992d1900cbca583668857a7238d5c Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-15 17:48:31 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-15 17:49:49 +0000 gnome-extra/gnome-documents: bump to 3.26.3 Compatible with and requires tracker-2 Bug: https://bugs.gentoo.org/672308 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> gnome-extra/gnome-documents/Manifest | 1 + .../gnome-documents/gnome-documents-3.26.3.ebuild | 47 ++++++++++++++++++++++ profiles/package.mask | 6 +-- 3 files changed, 50 insertions(+), 4 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=265a0a147477469b2f6b24deb7d0f3e37e2db2ae commit 265a0a147477469b2f6b24deb7d0f3e37e2db2ae Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-15 18:40:53 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-15 18:41:20 +0000 net-fs/netatalk: pass correct tracker-pkgconfig-version At least since 1.0, the pkgconfig version is always 1.0 or 2.0, without the minor version affecting it (as that's semantically backwards compatible). As we don't have any 0.x anymore, change it to pass the found tracker major version with .0 suffixed. This should fix the option. Before the fix it seems it just fails to find tracker non-fatally and disabled tracker usage despite USE=tracker being used. Bug: https://bugs.gentoo.org/672308 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> net-fs/netatalk/netatalk-3.1.10.ebuild | 6 +++--- net-fs/netatalk/netatalk-3.1.12.ebuild | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5050b1195bb4a46e76f1a6b5be338f1162ccec2b commit 5050b1195bb4a46e76f1a6b5be338f1162ccec2b Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-15 18:22:57 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-15 18:41:17 +0000 media-sound/gnome-music: bump to 3.26.2 Compatible with and requires tracker-2 (and actually uses a new tracker-2 feature - title-order sorting, which ignores "The" and such for sort) Bug: https://bugs.gentoo.org/672308 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> media-sound/gnome-music/Manifest | 1 + media-sound/gnome-music/gnome-music-3.26.2.ebuild | 64 +++++++++++++++++++++++ profiles/package.mask | 1 + 3 files changed, 66 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16037b116e7b11434a72bcfbdd0fad1339b9c7bd commit 16037b116e7b11434a72bcfbdd0fad1339b9c7bd Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-15 18:53:51 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-15 19:21:30 +0000 gnome-extra/nemo: bump to 4.0.6, add tracker-2 compatibility Bug: https://bugs.gentoo.org/672308 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> gnome-extra/nemo/Manifest | 1 + gnome-extra/nemo/files/tracker-2.patch | 27 +++++++++++ gnome-extra/nemo/nemo-4.0.6.ebuild | 84 ++++++++++++++++++++++++++++++++++ 3 files changed, 112 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee713bb25e4b870367e699dd31c766806fe2d6d3 commit ee713bb25e4b870367e699dd31c766806fe2d6d3 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-15 19:45:00 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-15 19:49:37 +0000 package.mask: unmask tracker-2 Closes: https://bugs.gentoo.org/672308 Signed-off-by: Mart Raudsepp <leio@gentoo.org> profiles/package.mask | 9 --------- 1 file changed, 9 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbb7a79dbb7e2858dc3fda4ab58ba8869fc09de0 commit bbb7a79dbb7e2858dc3fda4ab58ba8869fc09de0 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-02-15 19:49:00 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-02-15 19:49:39 +0000 gnome-base/gnome-extra-apps-3.26: require tracker-2 things .. now that we can do so. Were intentionally lower before due to not being ready. Bug: https://bugs.gentoo.org/672308 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> gnome-base/gnome-extra-apps/gnome-extra-apps-3.26.2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)