Re: shipping elisp for notmuch in elpa-notmuch debian package

Subject: Re: shipping elisp for notmuch in elpa-notmuch debian package

Date: Fri, 06 Dec 2019 16:20:32 -0500

To: David Bremner, Notmuch Mail

Cc:

From: Daniel Kahn Gillmor


On Wed 2019-12-04 15:29:24 -0400, David Bremner wrote:
> no. the standalone info reader is a weakness of this approach, since it
> only looks in /usr/share/info.

So i did a dumb search for other .info pages on a reasonably well-used
modern system:

    dpkg -S .info | grep -v ': /usr/share/info' | grep -v version.info$ | sort

the only actual info files here aside from the ones installed by
elpa-notmuch were:

binutils-arm-none-eabi: /usr/share/doc/binutils-arm-none-eabi/info/as.info.gz
binutils-arm-none-eabi: /usr/share/doc/binutils-arm-none-eabi/info/bfd.info.gz
binutils-arm-none-eabi: /usr/share/doc/binutils-arm-none-eabi/info/binutils.info.gz
binutils-arm-none-eabi: /usr/share/doc/binutils-arm-none-eabi/info/gprof.info.gz
binutils-arm-none-eabi: /usr/share/doc/binutils-arm-none-eabi/info/ld.info.gz

The set above are proper info files, but they are cross-building
toolchain, so it makes sense to me that they wouldn't be directly
available under "info as" or "info ld".

gcc-arm-none-eabi: /usr/share/doc/gcc-arm-none-eabi/info/cpp.info
gcc-arm-none-eabi: /usr/share/doc/gcc-arm-none-eabi/info/cppinternals.info
gcc-arm-none-eabi: /usr/share/doc/gcc-arm-none-eabi/info/gcc.info
gcc-arm-none-eabi: /usr/share/doc/gcc-arm-none-eabi/info/gccinstall.info
gcc-arm-none-eabi: /usr/share/doc/gcc-arm-none-eabi/info/gccint.info

The set above appears to be basically trivial info files which just
refer to other external gcc documentation.


notmuch info documents are neither of these.

> It depends who you care about more, non-debian users of the elpa
> package,

I'm asking about what goes into the debian elpa-notmuch package, so for
those purposes, i don't care.

> or users of the standalone info reader. I'm not either...

I generally don't use /usr/bin/info, but when i do, it's from the
standalone info reader.

I also note that "M-x info" from within emacs does have a top-level
mention of (for example) GnuTLS, which is only present (afaict) due to
files in /usr/share/info/

so my conclusion from this is that the debian package should be shipping
.info files in /usr/share/info.

Doing that also means we can fix another big chunk of the dh_missing
warnings.

Unless anyone has any objections, i'll send some cleanup fixes for this
as well, to ship the info files in the standard location rather than in
the elpa dir.

    --dkg
signature.asc (application/pgp-signature)
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: