A user has requested that we ship src/db.h in the Debian package. This seems like a reasonable request (with the possible caveat that this is not intended as a stable API, but more of a best effort).
Assuming you're ok with us shipping it, it would be useful if the header file had some more generic include guards than DB_H__, since those might very easily end up colliding with other files on the system.
This is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770699
Thanks for your report.
with the possible caveat that this is not intended as a stable API, but more of a best effort
Well, the file format is documented, so probably stable (at least until the documentation changes); though there really is no promise that db.h will not change/rename/be replaced. make install does not install the header file, if you want to, you obviously can but the level of support of that will not be high.
db.h
make install
Assuming you're ok with us shipping it, it would be useful if the header file had some more generic include guards than DB_H,
I am tempted to say that if you are patching mlocate enough to install the file, you can also patch the include guards :) Anyway, it is easy enough to rename them now, so https://fedorahosted.org/mlocate/changeset/249 .
mlocate
I hope you’ll forgive me that I won’t be releasing a new version of mlocate for this, though.
I (and I believe, the bug submitter) understands it's not a supported API as such.
This looks just like what I wanted, so I'll pull that into the Debian package. No need to release a new version for this. :-)
Metadata Update from @mitr: - Issue assigned to mitr
Metadata Update from @mitr: - Assignee reset