On 25/06/2019 03:53, Takashi Iwai wrote:
On Mon, 24 Jun 2019 19:46:32 +0200, Andrei Borzenkov wrote:
24.06.2019 20:21, Takashi Iwai пишет:
Or need to split to subpackages per language?
With a help of rpm macro, it shouldn't be too hard. I can think of a macro like KMP builds. Maybe the most difficult part is to know the language list before the package build itself...
Mandrake rpm supported partial installation of language components in package according to configured list. So selecting "en ru de" as list of languages resulted in installing only these translations. It was long ago, but I do not think it used subpackages, rather somehow tagged files (may be based on fixed location, like /usr/share/locale/$LANG).
Aha, that's an interesting approach.
But what happens if you enable one more language support on the running system? Would the already installed packages need to be re-installed?
It probably would, but given that changing the list of languages a machine supports shouldn't happen often for most users its probably still a better way forward, especially if yast had a nice gui for updating the supported languages that handled it automatically and zypper had an update-lang option, or even better noticed the change and handled it properly in a zypper up. This would certainly be an interesting project for someone to work on. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org