Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#48545 - add locale whitelist to pacman

Attached to Project: Pacman
Opened by Marty Plummer (ntzrmtthihu777) - Saturday, 12 March 2016, 11:35 GMT
Last edited by Andrew Gregory (andrewgregory) - Saturday, 12 March 2016, 14:57 GMT
Task Type Feature Request
Category i18n & l10n
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 5.0.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Request:
I'd like to see a locale whitelist added to pacman. What I mean by this
is setting some option somewhere will determine which localization files
will be unpacked from installed/upgraded packages, such as in
`/usr/share/locale' or `/usr/share/man' and so on.

Ideas and options for this are:
=>pacman/libalpm determines the proper locales via what you have uncommented in `/etc/locale.gen'
=>pacman/libalpm determines the proper localse via a dedicated
option in `/etc/pacman.conf' such as `EnabledLocales = en_US ja_JP'

Reasoning:
I don't know about you guys, but when I read documentation and man pages
I stick with my first language, and as such all these other locales are
simply a waste of space on my disk
This task depends upon

Closed by  Andrew Gregory (andrewgregory)
Saturday, 12 March 2016, 14:57 GMT
Reason for closing:  Won't implement
Comment by Andrew Gregory (andrewgregory) - Saturday, 12 March 2016, 12:11 GMT Comment by Marty Plummer (ntzrmtthihu777) - Saturday, 12 March 2016, 13:35 GMT
I'm aware of NoExtract, but have you ever tried blacklisting every locale you don't want using this method?
NoExtract = usr/share/locale/zu_ZA/ usr/share/locale/zh_TW usr/share/zh_SG usr/share/locale/zh_HK....
the line would become unmanageably long in this usage.
Comment by Andrew Gregory (andrewgregory) - Saturday, 12 March 2016, 13:37 GMT
NoExtract supports globs...
Comment by Marty Plummer (ntzrmtthihu777) - Saturday, 12 March 2016, 14:41 GMT
How would you suggest using globs in this situation?
Comment by Andrew Gregory (andrewgregory) - Saturday, 12 March 2016, 14:47 GMT
Read the wiki; I am not going to copy/paste it here for you.
Comment by Marty Plummer (ntzrmtthihu777) - Saturday, 12 March 2016, 14:56 GMT
Oh, I didn't realize you could do multiple NoExtract's like that.

Loading...