On Fri, 2016-01-08 at 08:31 +0000, Petr Pisar wrote: > On 2016-01-07, Mark Wielaard <mjw@xxxxxxxxxx> wrote: > > I noticed one of my packages (elfutils libelf) installs a small library > > of 90K but also 1MB of .mo locale files. Given that this package will > > always be installed because it is on the critical path I thought it > > might be nice to split the locale files out into language packs so > > that you could create a smaller install. But I cannot find documentation > > on how to create langpacks. Is there a description of the conventions > > used for language packs and/or example rpm macros to help create them? > > > I'm against this because then elfutils will behave differnently than any > other packages. If you don't care about elfutils messages, you probably > don't care about other package's messages too. Yes. I wouldn't want the package to be (too) different from others. I was just concerned that the installed package files are mostly overhead that are not needed by most installs. > RPM has a run-time macro allowing to exclude localization files from > installing them. That's the reason why the message catalog files, if > packaged properly, carry a language attribute in the binary RPM package > metadata. Is there a description of this so I can check I did it correctly for my package? > Utilizing this feature (as well as documentation stripping) is job for > a package manager. For DNF. How does DNF do this? How would I (de)install/scrub (un)needed translations from my system? Thanks, Mark -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx