Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#62034 - Generate localized man pages for procps-ng

Attached to Project: Arch Linux
Opened by Mario Blättermann (mariobl) - Saturday, 16 March 2019, 23:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

The source tarball of procps-ng-3.3.15 contains a couple of localized manpages, translated into 7 languages, see [1]. The implementation of po4a [2] to create localized versions was already four years ago, but the installation toolchain is still incomplete.

So it is needed to run some additional commands in PKGBUILD. See the attached patch. It adds po4a as a dependency and runs a custom make command in the man-po subdirectory to produce the directory tree and the man pages. Then, it installs the whole tree into the man page hierarchy.

In general, localized man pages from upstream projects should always preferred over those from external man-pages-* projects. Because the latter maintain their own translations, it is needed to add them to »conflicts« in the PKGBUILD. It refers to man-pages-de (community repo) and man-pages-pl (AUR). Once procps-ng gets updated, the man page for uptime.1 needs to be removed from man-pages-de and man-pages-pl and the packages need to be rebuilt to solve the conflicts.

[1] http://translationproject.org/domain/procps-ng-man.html
[2] https://po4a.org/index.php
This task depends upon

Loading...