problem with info files

Christopher Faylor cgf@redhat.com
Sun Feb 23 00:34:00 GMT 2003


On Fri, Feb 21, 2003 at 06:21:01PM +0000, David Starks-Browning wrote:
>On Friday 21 Feb 03, David Starks-Browning writes:
>> Greetings package maintainers,
>> 
>> I notice that _update-info-dir assumes that all info files worth
>> indexing are of the form "/usr/info/*.info".
>> 
>> Unfortunately, there are 3 packages (if I count correctly) that do
>> not follow this rule:
>> 
>> 	emacs
>> 	texinfo
>> 	groff
>> 
>> Are the maintainers of those packages aware of the problem?  Can these
>> packages be fixed?
>> 
>> Alternatively, it might be possible to re-write
>> /etc/postinstall/update-info-dir.sh to catch these exceptional cases.
>
>Actually, the alternative is easy.  At the expense of globbing
>everything in /usr/info, rather than just *.info (which was no
>problem on my PII-400 BTW), this appears to do the right thing for
>both variants of info pages:
>
>===================================================================
>--- update-info-dir.sh.orig     2002-03-31 20:14:58.000000000 +0100
>+++ update-info-dir.sh  2003-02-21 18:12:48.000000000 +0000
>@@ -1,9 +1,13 @@
> #!/bin/sh
> cd /usr/info
>-for f in *.info; do
>+for f in *; do
>     case "$f" in
>        *\**)
>            ;;
>+       *-?)
>+           ;;
>+       *-??)
>+           ;;
>        *)
>            install-info --quiet $f dir ||
>            install-info  --quiet --entry="* $$f ($f): $$f" $$f dir

I have uploaded in a similar fix.

>(It got my texinfo info working, anyway!)
>
>I don't see any documentation for the "autodep" setup hint, but I can
>guess that this is necessary too:

That change was already made to the setup.hint on sourceware so it
wasn't required.

>If you choose to use it, I hope it's trivial enough not to require an
>assignment.

This isn't the cygwin DLL.  There's no need for an assignment in any event.

Thanks.

cgf



More information about the Cygwin-apps mailing list