unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* glibc-locales
@ 2022-07-03  8:53 Efraim Flashner
  2022-07-03  9:53 ` glibc-locales Efraim Flashner
  0 siblings, 1 reply; 5+ messages in thread
From: Efraim Flashner @ 2022-07-03  8:53 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 2919 bytes --]

The package glibc-locales and glibc-locales-2.32 are nearly identical
according to diffoscope.

(ins)efraim@3900XT ~$ guix shell diffoscope -- diffoscope /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33 /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32
--- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33
+++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32
│   --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33/lib
├── +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32/lib
│ │   --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33/lib/locale
│ ├── +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32/lib/locale
│ │ ├── file list
│ │ │ @@ -1 +1 @@
│ │ │ -2.33
│ │ │ +2.32
│   --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33/share
├── +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32/share
│ │   --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33/share/doc
│ ├── +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32/share/doc
│ │ ├── file list
│ │ │ @@ -1 +1 @@
│ │ │ -glibc-locales-2.33
│ │ │ +glibc-locales-2.32-2.32
│ │ ├── /gnu/store/8fpk2cja3f07xls48jfnpgrzrljpqivr-coreutils-8.32/bin/stat {}
│ │ │ @@ -1,8 +1,8 @@
│ │ │
│ │ │ -  Size: 36               Blocks: 0          IO Block: 4096   directory
│ │ │ +  Size: 46               Blocks: 0          IO Block: 4096   directory
│ │ │  Links: 1
│ │ │  Access: (0555/dr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
│ │ │
│ │ │  Modify: 1970-01-01 00:00:01.000000000 +0000
│ │ ├── /gnu/store/8fpk2cja3f07xls48jfnpgrzrljpqivr-coreutils-8.32/bin/stat {}
│ │ │ @@ -1,8 +1,8 @@
│ │ │
│ │ │ +  Size: 46               Blocks: 0          IO Block: 4096   directory
│ │ │ -  Size: 36               Blocks: 0          IO Block: 4096   directory
│ │ │  Links: 1
│ │ │  Access: (0555/dr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
│ │ │
│ │ │  Modify: 1970-01-01 00:00:01.000000000 +0000


So while it would be nice to build glibc-locales-2.32 with glibc-2.33 I
don't think it's actually in use anywhere since IIRC we jumped from 2.31
to 2.33.

Also, for 2.33 I'd like to build it with glibc-final. glibc-locales
doesn't retain a reference to any packages and it would reduce an
instance of using an "extra" glibc when there's already one in the build
environment.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: glibc-locales
  2022-07-03  8:53 glibc-locales Efraim Flashner
@ 2022-07-03  9:53 ` Efraim Flashner
  2022-07-03 11:35   ` glibc-locales Andreas Enge
  0 siblings, 1 reply; 5+ messages in thread
From: Efraim Flashner @ 2022-07-03  9:53 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 3316 bytes --]

On Sun, Jul 03, 2022 at 11:53:45AM +0300, Efraim Flashner wrote:
> The package glibc-locales and glibc-locales-2.32 are nearly identical
> according to diffoscope.
> 
> (ins)efraim@3900XT ~$ guix shell diffoscope -- diffoscope /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33 /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32
> --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33
> +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32
> │   --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33/lib
> ├── +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32/lib
> │ │   --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33/lib/locale
> │ ├── +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32/lib/locale
> │ │ ├── file list
> │ │ │ @@ -1 +1 @@
> │ │ │ -2.33
> │ │ │ +2.32
> │   --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33/share
> ├── +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32/share
> │ │   --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33/share/doc
> │ ├── +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32/share/doc
> │ │ ├── file list
> │ │ │ @@ -1 +1 @@
> │ │ │ -glibc-locales-2.33
> │ │ │ +glibc-locales-2.32-2.32
> │ │ ├── /gnu/store/8fpk2cja3f07xls48jfnpgrzrljpqivr-coreutils-8.32/bin/stat {}
> │ │ │ @@ -1,8 +1,8 @@
> │ │ │
> │ │ │ -  Size: 36               Blocks: 0          IO Block: 4096   directory
> │ │ │ +  Size: 46               Blocks: 0          IO Block: 4096   directory
> │ │ │  Links: 1
> │ │ │  Access: (0555/dr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
> │ │ │
> │ │ │  Modify: 1970-01-01 00:00:01.000000000 +0000
> │ │ ├── /gnu/store/8fpk2cja3f07xls48jfnpgrzrljpqivr-coreutils-8.32/bin/stat {}
> │ │ │ @@ -1,8 +1,8 @@
> │ │ │
> │ │ │ +  Size: 46               Blocks: 0          IO Block: 4096   directory
> │ │ │ -  Size: 36               Blocks: 0          IO Block: 4096   directory
> │ │ │  Links: 1
> │ │ │  Access: (0555/dr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
> │ │ │
> │ │ │  Modify: 1970-01-01 00:00:01.000000000 +0000
> 
> 
> So while it would be nice to build glibc-locales-2.32 with glibc-2.33 I
> don't think it's actually in use anywhere since IIRC we jumped from 2.31
> to 2.33.
> 
> Also, for 2.33 I'd like to build it with glibc-final. glibc-locales
> doesn't retain a reference to any packages and it would reduce an
> instance of using an "extra" glibc when there's already one in the build
> environment.

I misread the source. I'd like glibc-utf8-locales built with glibc-final.
glibc-locales actually rebuilds the sources with an extra patch. I
suppose another option would be to use glibc-locales to build
glibc-utf8-locales.


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: glibc-locales
  2022-07-03  9:53 ` glibc-locales Efraim Flashner
@ 2022-07-03 11:35   ` Andreas Enge
  2022-07-03 14:36     ` glibc-locales Vagrant Cascadian
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Enge @ 2022-07-03 11:35 UTC (permalink / raw)
  To: guix-devel

Am Sun, Jul 03, 2022 at 12:53:09PM +0300 schrieb Efraim Flashner:
> I misread the source. I'd like glibc-utf8-locales built with glibc-final.

Has glibc-utf8-locales not been removed some time ago? I always had it in
my profile, then saw a message during upgrade that it had been removed,
and dropped it from my profile (without any apparent harm to my GNU system).

Andreas



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: glibc-locales
  2022-07-03 11:35   ` glibc-locales Andreas Enge
@ 2022-07-03 14:36     ` Vagrant Cascadian
  2022-07-03 14:41       ` glibc-locales Tobias Geerinckx-Rice
  0 siblings, 1 reply; 5+ messages in thread
From: Vagrant Cascadian @ 2022-07-03 14:36 UTC (permalink / raw)
  To: guix-devel; +Cc: Andreas Enge, Efraim Flashner

[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]

On 2022-07-03, Andreas Enge wrote:
> Am Sun, Jul 03, 2022 at 12:53:09PM +0300 schrieb Efraim Flashner:
>> I misread the source. I'd like glibc-utf8-locales built with glibc-final.
>
> Has glibc-utf8-locales not been removed some time ago? I always had it in
> my profile, then saw a message during upgrade that it had been removed,
> and dropped it from my profile (without any apparent harm to my GNU system).

Still is there as a hidden package and used as an input for some
packages, though this brings up another locales-related question...

Before glibc-utf8-locales was a hidden package, I preferred using that
because it only included a small subset of locales, and happened to
include the main one I needed (lucky me!).

How feasible would it be to make each locale it's own output on
glibc-locales (e.g. glibc-locales:en_US.utf8, or maybe cluster languages
together, e.g. glibc-locales:en) ? Most people probably only use a
relatively small number of locales on any given system... though which
locales any given person uses probably varies.

Is it a complexity vs. space-savings issue? Would it be tricky to
compose multiple locales packages into a single profile? Just not worth
the effort?

live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: glibc-locales
  2022-07-03 14:36     ` glibc-locales Vagrant Cascadian
@ 2022-07-03 14:41       ` Tobias Geerinckx-Rice
  0 siblings, 0 replies; 5+ messages in thread
From: Tobias Geerinckx-Rice @ 2022-07-03 14:41 UTC (permalink / raw)
  To: guix-devel, Vagrant Cascadian; +Cc: Andreas Enge, Efraim Flashner

The intended use is NOT to use a package at all, see https://guix.gnu.org/en/manual/devel/en/html_node/Application-Setup.html#Locales-1

Strongly put (and very possibly missing something :-), this sounds like maintenance effort to support an antipattern.

Kind regards,

T G-R

Sent on the go.  Excuse or enjoy my brevity.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-07-03 14:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-03  8:53 glibc-locales Efraim Flashner
2022-07-03  9:53 ` glibc-locales Efraim Flashner
2022-07-03 11:35   ` glibc-locales Andreas Enge
2022-07-03 14:36     ` glibc-locales Vagrant Cascadian
2022-07-03 14:41       ` glibc-locales Tobias Geerinckx-Rice

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).