Bug 28101 - French man page not up to date with last version
Summary: French man page not up to date with last version
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: Sander Lepik
QA Contact:
URL: https://ml.mageia.org/l/arc/i18n-disc...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-15 14:08 CET by Florent Monnier
Modified: 2023-05-27 21:24 CEST (History)
2 users (show)

See Also:
Source RPM: tree-1.8.0-2.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Florent Monnier 2021-01-15 14:08:39 CET
Description of problem:
The last version of the 'tree' command line utility is 1.8.0

http://mama.indstate.edu/users/ice/tree/

When the last version was 1.6, the French man page was already not up to date.
It was still documenting an old version of tree, a 1.5 version:

$ md5sum tree-*/*/tree.1.fr

defbd05648bd6191ccbebdb0c240f609 tree-1.5.2/man/tree.1.fr
defbd05648bd6191ccbebdb0c240f609 tree-1.6.0/doc/tree.1.fr
defbd05648bd6191ccbebdb0c240f609 tree-1.7.0/doc/tree.1.fr
defbd05648bd6191ccbebdb0c240f609 tree-1.8.0/doc/tree.1.fr

I updated it to 1.6 and sent the patch upstream, but never got any answer.
(maybe the emails never arrived?)

In 1.8.0, the French man page is still documenting a very old version of tree.

I'm not sure if people who have LANG=fr set in their terminal will
realise that they should run:
$ LANG=en man tree
in order to have the complete documentation.

Version-Release number of selected component (if applicable):
1.8.0

How reproducible:
always

Steps to Reproduce:
1. wget --quiet http://mama.indstate.edu/users/ice/tree/src/tree-1.8.0.tgz
2. tar xzf tree-1.8.0.tgz 
3. man ./tree-1.8.0/doc/tree.1.fr

Patch:
https://github.com/fccm/tree-1.6.0-patch/blob/master/tree-1.6.0-update-man-fr.patch

Download the patch:
wget -q https://raw.githubusercontent.com/fccm/tree-1.6.0-patch/master/tree-1.6.0-update-man-fr.patch

How to fix:
wget -q https://raw.githubusercontent.com/fccm/tree-1.6.0-patch/master/tree-1.6.0-update-man-fr.patch

$ md5sum ./tree-1.8.0/doc/tree.1.fr
defbd05648bd6191ccbebdb0c240f609  ./tree-1.8.0/doc/tree.1.fr

$ patch -p0 < tree-1.6.0-update-man-fr.patch
(Stripping trailing CRs from patch; use --binary to disable.)
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur tree-1.6.0/doc/tree.1.fr tree-1.6.0-update-man-fr/doc/tree.1.fr
|--- tree-1.6.0/doc/tree.1.fr	2005-03-31 15:30:31.000000000 +0200
|+++ tree-1.6.0-update-man-fr/doc/tree.1.fr	2012-04-22 16:56:18.243306150 +0200
--------------------------
File to patch: ./tree-1.8.0/doc/tree.1.fr
patching file ./tree-1.8.0/doc/tree.1.fr

$ md5sum ./tree-1.8.0/doc/tree.1.fr
5b13ab70ea274a4e8a9124e08e50b592  ./tree-1.8.0/doc/tree.1.fr

## Convert to UTF8:
$ iconv -f ISO-8859-15 -t UTF-8 ./tree-1.8.0/doc/tree.1.fr > tree.1.fr

$ man ./tree.1.fr
$ md5sum ./tree.1.fr
9148f153f4caa53c09948da38d84bad9  ./tree.1.fr
Comment 1 Aurelien Oudelet 2021-01-15 14:56:50 CET
Thanks reporting this.
Already assigned.
Corrected SRPM.

Source RPM: tree-1.8.0 => tree-1.8.0-2.mga8.src.rpm
CC: (none) => ouaurelien

Comment 2 Morgan Leijström 2023-05-27 21:24:07 CEST
$ tree --version
gives 2.1.0, so I assume the fix in SRPM have since long got through :)

Resolution: (none) => FIXED
CC: (none) => fri
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.