FS#78310 - [util-linux] Enable translated man pages

Attached to Project: Arch Linux
Opened by Rafael Fontenelle (josephg) - Wednesday, 26 April 2023, 16:25 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:23 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: util-linux now provides translated man pages, until 2.38.1 it requires adding 'po4a' to makedepends and appeding '--enable-poman' to ./configure. As of 2.39, simply adding 'po4a' to makedepends should do the job because poman was set to be enable by default.

note: enabling translated man pages for 2.38.1 increases the package size from 2.5 MB to 5 MB, so you might want to consider keeping a separate package for the translated man pages.

Additional info:
* package version(s)
util-linux 2.38.1-4
* config and/or log files etc.
* link to upstream bug report, if any
Commit that replaced --enable-poman with --disabled-poman, checking po4a presence:
https://github.com/util-linux/util-linux/commit/9acfc349e0ea68a92baf818cc659121f40ab9c04
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:23 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/util-linux/issues/3
Comment by Mario Blättermann (mariobl) - Monday, 22 May 2023, 20:21 GMT
In the latest version 2.39, installing translated man pages is enabled by default. The po4a tools are needed. The install chain complains about missing po4a, but continues anyway. See20230518095504.dywkmtgluwfjt4d6@ws.net.home/T/#t"> https://lore.kernel.org/util-linux/20230518095504.dywkmtgluwfjt4d6@ws.net.home/T/#t.

To don't blow up the package more than needed, I recommend to split out *both* UI and man page translations into a separate package, as seen in Fedora Rawhide: https://koji.fedoraproject.org/koji/rpminfo?rpmID=34580485

To mention: The manpages-l10n project has stopped providing localized util-linux man pages for distributions where util-linux-2.39 is already available (or to expect next time). So it is the only way to enable po4a in util-linux installation, otherwise translated man pages get lost from Archlinux. A bugfix release of manpages-l10n - without util-linux stuff - will be published next days.

Loading...