After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 777178 - [PATCH] libtracker-miner: port to libnm
[PATCH] libtracker-miner: port to libnm
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Miners
git master
Other Linux
: Normal normal
: ---
Assigned To: tracker-general
tracker-general
Depends on:
Blocks:
 
 
Reported: 2017-01-12 15:29 UTC by Lubomir Rintel
Modified: 2017-07-24 13:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[PATCH] libtracker-miner: port to libnm (4.13 KB, patch)
2017-01-12 15:29 UTC, Lubomir Rintel
accepted-commit_now Details | Review

Description Lubomir Rintel 2017-01-12 15:29:31 UTC
Created attachment 343376 [details] [review]
[PATCH] libtracker-miner: port to libnm

It's the perferred NetworkManager's library for a couple of years now
already. Keep compatibility with the older one, since it's reasonably
similar.
---

Just compile-tested this with libnm. May need some more love.
Comment 1 Lubomir Rintel 2017-01-23 09:09:43 UTC
Ping?
Comment 2 Lubomir Rintel 2017-02-22 12:25:41 UTC
Hello?
Comment 3 Carlos Garnacho 2017-02-23 11:37:43 UTC
Comment on attachment 343376 [details] [review]
[PATCH] libtracker-miner: port to libnm

Sorry the pings fell off the radar... The patch looks good for the master branch. How long do you think makes sense to preserve the libnm-glib paths?
Comment 4 Lubomir Rintel 2017-03-03 10:05:35 UTC
(In reply to Carlos Garnacho from comment #3)
> Comment on attachment 343376 [details] [review] [review]
> [PATCH] libtracker-miner: port to libnm
> 
> Sorry the pings fell off the radar... The patch looks good for the master
> branch. How long do you think makes sense to preserve the libnm-glib paths?

I wouldn't miss it and given it's an optional feature and I think it would make sense to remove it now. But that mainly depends on which platforms do you care about supporting. libnm exists since December 2014, RHEL 7 has it; the current Debian stable doesn't have it; the most recent Ubuntu LTS has it (sorry I don't know the version numbers).
Comment 5 Carlos Garnacho 2017-03-03 10:57:15 UTC
Thanks, that's all I wanted to know :). I think it's indeed a good time to just drop the older support. If it's just debian stable which is missing it, people will have to put up with the extra dep, or not compiling the optional feature if they want to try the latest and greatest Tracker (tracker-miner-rss is the only affected daemon in practice, which is scarcely used)

But I doubt Tracker 1.12 will end up in stable through Debian channels, at least without a matching NM, nor in quite a while :).

I can change the patch during the weekend and push to master, if you don't/can't get to it.
Comment 6 Lubomir Rintel 2017-07-24 12:52:24 UTC
Pulled the patch to master now; dropping the libnm-glib compat code and a minor adjustment for the meson-based build.
Comment 7 Carlos Garnacho 2017-07-24 13:52:23 UTC
Excellent, thanks :)