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

Bug#803887: Luc's answer



Hi Luc,

Thanks for the prompt reply and investigation! Your effort took
this issue to its end (and fixed upstream!).

On 23/12/2015 13:36, Luc Maranget wrote:
>> https://sources.debian.net/src/texinfo/6.0.0.dfsg.1-3/debian/update-info-dir/
> 
> Ok I have looked at the script. It apparently applies install-info
> to all files in the directory except for some patterns:
> */dir|*/dir.gz|*/dir.old|*/dir.old.gz|*-[0-9]|*-[0-9].gz|*-[1-9][0-9]|*-[1-9][0-9].gz|*.png|*.jpg)
> 
> Hence there is no other way to avoid invoking "install-info" on some files
> than say, to put numbers in them (those files usually result from file
> splitting). As this is an installation problem, I'd suggest that
> you rename the warning  producing files (eg in your packaging script),
> or find any other way not to apply install-info to these files, which are
> `/usr/share/info/ocaml.info.hocaml.info.hind.gz'
> `/usr/share/info/ocaml.info.haux.gz'
> `/usr/share/info/ocaml.info.hocaml.info.kwd.hind.gz'
> The last  `/usr/share/info/ocaml.info.body.gz' can be deleted safely.
> 

Noted.

> I'd be happy to rename files myself upstream if you prefer, but will not
> alone, as I cannot test your installation procedure. Additionaly
> I'd rather see Debian adopting a clear and documented
> position on info file installation... 
> 

Installation procedure is as simple as I've previously described:
1) Put files under /usr/share/info
2) Run update-info-dir as root
3) Enjoy! (Hopefully)

As for the position on info installation, I'm afraid I don't get
what you're asking for, more than the installation procedure.
Can you please elaborate on that? Or, maybe fellow developers
maintaining the texinfo package can be more helpful? As far as I
am concerned (and to be totally frank), I have very basic
knowledge about texinfo and don't use it often¹. Besides that, if
there is anything I could help you with, please let me know.

>> The above archive has been generated using the following script:
>>
>> https://sources.debian.net/src/ocaml-doc/4.02-1/debian/generate_tarball/
> I see nothing special in this script, it could have removed  ocaml.info.body.gz.

Indeed. I didn't do so because I wanted that script to provide the exact
same files you publish (same set, same content). Until next release, I'll
stop shipping ocaml.info.body.gz in the produced .deb and capitalize relevant
tags in ocaml.info.gz file (waiting for info command to be fixed).

Regards,

¹: Euphemism detected here.

-- 
Mehdi


Reply to: