Re: F23 System Wide Change: Glibc locale subpackaging

2015-09-02 Thread Matthew Miller
On Thu, Aug 27, 2015 at 05:53:19PM +0200, Florian Festi wrote: > In theory, yes. In the end we'd need something like find-lang.sh that > actually spits out the packages to be included in the main spec file. > debug-info packages are done that way. But it is not pretty. It's not pretty behind the s

Re: F23 System Wide Change: Glibc locale subpackaging

2015-08-28 Thread Kevin Kofler
Kevin Kofler wrote: > Carlos O'Donell wrote: >> The stepping stone will likely be: >> >> _install_langs (to limit languages) >> -> subpackages that modify locale-archive >> -> subpackages that install their own files > > The funny thing is that your last step is probably the easiest to > impleme

Re: F23 System Wide Change: Glibc locale subpackaging

2015-08-28 Thread Kevin Kofler
Carlos O'Donell wrote: > The stepping stone will likely be: > > _install_langs (to limit languages) > -> subpackages that modify locale-archive > -> subpackages that install their own files The funny thing is that your last step is probably the easiest to implement, because that's how subpackage

Re: F23 System Wide Change: Glibc locale subpackaging

2015-08-28 Thread Kevin Kofler
Jan Kurik wrote: > Currently the file /usr/lib/locale/locale-archive contains all locales and > is thus huge (103MB). For small systems (and containers) it would be > useful to be able to install only a small number of locales. That makes a lot of sense indeed. > Recently we made it possible to i

Re: F23 System Wide Change: Glibc locale subpackaging

2015-08-28 Thread Kevin Kofler
Alexander Larsson wrote: > I understand that, and thanks for doing this work, its pretty > important imho. I just wanted to make sure that you were aware of what > the best end goal was. > Btw, do you have any measures of the performance improvements of using > the locale archive is in general? It

Re: F23 System Wide Change: Glibc locale subpackaging

2015-08-27 Thread Orion Poplawski
On 06/22/2015 04:16 AM, Jan Kurik wrote: > = Proposed System Wide Change: Glibc locale subpackaging = > https://fedoraproject.org/wiki/Changes/Glibc_locale_subpackaging > > Change owner(s): > * Mike Fabian > * Siddhesh Poyarekar > * Carlos O’Donell > > This change should make it possible to i

Re: F23 System Wide Change: Glibc locale subpackaging

2015-08-27 Thread Florian Festi
On 08/27/2015 05:33 PM, Mathieu Bridon wrote: > On Thu, 2015-08-27 at 16:10 +0200, Florian Festi wrote: >> 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

Re: F23 System Wide Change: Glibc locale subpackaging

2015-08-27 Thread Mathieu Bridon
On Thu, 2015-08-27 at 16:10 +0200, Florian Festi wrote: > 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 sy

Re: F23 System Wide Change: Glibc locale subpackaging

2015-08-27 Thread Florian Festi
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 langs

Re: F23 System Wide Change: Glibc locale subpackaging

2015-08-25 Thread Alexander Larsson
On fre, 2015-08-21 at 15:14 -0400, Carlos O'Donell wrote: > On 06/22/2015 10:59 AM, Alexander Larsson wrote: > > Do they really have to modify locale-archive? Can't each package > > install separate archive files (say, based on the locale name). > > Packaging optional extra files is a lot easier f

Re: F23 System Wide Change: Glibc locale subpackaging

2015-08-21 Thread Carlos O'Donell
On 06/22/2015 10:59 AM, Alexander Larsson wrote: > On mån, 2015-06-22 at 06:16 -0400, Jan Kurik wrote: >> = Proposed System Wide Change: Glibc locale subpackaging = >> https://fedoraproject.org/wiki/Changes/Glibc_locale_subpackaging >> >> Change owner(s): >> * Mike Fabian >> * Siddhesh Poyarekar

Re: F23 System Wide Change: Glibc locale subpackaging

2015-08-21 Thread Carlos O'Donell
On 06/22/2015 09:01 AM, Jonathan Dieter wrote: > On Mon, 2015-06-22 at 06:16 -0400, Jan Kurik wrote: >> Recently we made it possible to install a small number of locales by >> supplying the rpm-macro “_install_langs”, for example >> >>rpm -i -D _install_langs="en:de_DE" glibc-common.rpm >> >>

Re: F23 System Wide Change: Glibc locale subpackaging

2015-06-22 Thread Alexander Larsson
On mån, 2015-06-22 at 06:16 -0400, Jan Kurik wrote: > = Proposed System Wide Change: Glibc locale subpackaging = > https://fedoraproject.org/wiki/Changes/Glibc_locale_subpackaging > > Change owner(s): > * Mike Fabian > * Siddhesh Poyarekar > * Carlos O’Donell > > This change should make it po

Re: F23 System Wide Change: Glibc locale subpackaging

2015-06-22 Thread Jonathan Dieter
On Mon, 2015-06-22 at 06:16 -0400, Jan Kurik wrote: > Recently we made it possible to install a small number of locales by > supplying the rpm-macro “_install_langs”, for example > >rpm -i -D _install_langs="en:de_DE" glibc-common.rpm > > will install all English locales and all German local

F23 System Wide Change: Glibc locale subpackaging

2015-06-22 Thread Jan Kurik
= Proposed System Wide Change: Glibc locale subpackaging = https://fedoraproject.org/wiki/Changes/Glibc_locale_subpackaging Change owner(s): * Mike Fabian * Siddhesh Poyarekar * Carlos O’Donell This change should make it possible to install or uninstall locales individually. == Detailed De