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

Re: Why info files need to be named info-*.gz?



Hello Russ,

Russ Allbery <rra@debian.org> wrote:
> Jörg Sommer <joerg@alea.gnuu.de> writes:
>
>> They are compressed and end in .gz.
>
>> % ls /usr/share/info/jed.*
>> /usr/share/info/jed.1in.gz  /usr/share/info/jed.3in.gz
>> /usr/share/info/jed.2in.gz  /usr/share/info/jed.info.gz
>
>> The lintian check looks so:
>>     unless ($infoext && $infoext =~ /info(-\d)?/) { # it's not foo.info
>>         unless (!@fname_pieces) { # it's not foo{,-{1,2,3,...}}
>>             tag "info-document-has-wrong-extension", "$file";
>>         }
>>     }
>
> Oh, that.  I don't know, actually; it's been in lintian from long before I
> started working on it.  Have you checked that all info readers (info,
> pinfo, and C-h i from inside Emacs) can find those info files correctly
> and understand their sequencing when doing searches from inside the info
> reader?

I don't why you question this. The main document in named properly
(jed.info.gz) and the other files are referenced there by there name.

,----[ jed.info ]---
| This is Info file jed.info, produced by Makeinfo-1.55 from the input
| file jed.ti.
| 
| START-INFO-DIR-ENTRY
| * JED: (jed).         The JED editor
| END-INFO-DIR-ENTRY
| 
| 
| Indirect:
| jed.1in: 83
| jed.2in: 24234
| jed.3in: 49114
| 
| Tag Table:
| (Indirect)
| Node: Top83
`----

> If all of that works correctly with the non-standard file names, I can
> weaken the test.  (Although really, if I were you, I'd just give the info
> files standard names.  Is there some specific reason why they don't have
> standard names like all the other info files in /usr/share/info?  I
> presume that they should actually be called jed.gz, jed-1.gz, jed-2.gz,
> and jed-3.gz.)

I have no reason, upstream did so, and I need a reason to tell upstream
why he should change the names. Otherwise I have to patch the files for
the Debian package. Why must the (sub)files of an info file named
$PKG-\d.gz?

Bye, Jörg.
-- 
Hügelschäfer's Law (http://www.bruhaha.de/laws.html):
Beiträge werden dort gepostet, wo sie den größten Widerstand hervorrufen.



Reply to: