F23 System Wide Change: Glibc locale subpackaging

Florian Festi ffesti at redhat.com
Thu Aug 27 14:10:45 UTC 2015


On 06/22/2015 12:16 PM, Jan Kurik wrote:
> = Proposed System Wide Change: Glibc locale subpackaging  =

We have to revisit this topic as soon as rich dependencies are in place.
Rich dependencies offer a way to handle locales on a system wide level.
One possible implementation would be having

langsupport-XX meta packages that enable support for a given language.

Locales could be in packages like glibc-lang-de, foo-lang-de, ...
The main package could then have
Requires: (foo-lang-de if langsupport-de)
if we want to enforce the locale package to be installed.

Otherwise it might be more elegant to have the language package (e.g.
glibc-lang-de) have:

Supplements: (glibc and langsupport-de)

As we can assume that glibc is always installed this could already be
done with:

Supplements: langsupport-de

The benefit of this approach is that installing a new langsupport-XX
package will bring in the locale packages for all packages making use of
this mechanism.

Florian

-- 

Red Hat GmbH, http://www.de.redhat.com/ Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael
O'Neill, Charles Peters


More information about the devel mailing list