[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#536506: glibc-doc-reference: clutters up main info directory



tags 536506 + patch
thanks

On 2009-07-11 02:06 +0200, Aurelien Jarno wrote:

> tag 536506 + help
> thanks
>
> On Fri, Jul 10, 2009 at 05:56:01PM +0200, Sven Joachim wrote:
>> Package: glibc-doc-reference
>> Version: 2.9-1
>> Severity: normal
>> 
>> Your package puts an entry for every libc function and macro into the
>> main info directory, using up more than 1700 lines.  This has been
>> triggered by the transition to GNU's install-info; apparently the dpkg
>> implementation ignored secondary INFO-DIR-SECTION entries.
>> 
>
> Could you have more details about what should be changed to fix that?

There should not be a direntry for every function (upstream includes
them on purpose, but this is a big abuse, that is what indices are
for).  The following minimal patch avoids this:

--8<---------------cut here---------------start------------->8---
--- glibc-doc-reference-2.9.orig/manual/libc.texinfo
+++ glibc-doc-reference-2.9/manual/libc.texinfo
@@ -9,7 +9,6 @@
 @direntry
 * Libc: (libc).                 C library.
 @end direntry
-@include dir-add.texi
 
 @c This tells texinfo.tex to use the real section titles in xrefs in
 @c place of the node name, when no section title is explicitly given.
--8<---------------cut here---------------end--------------->8---

I have already rebuilt and installed glibc-doc-reference with it.

Sven



Reply to: