public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Getting rid of USE=unicode
@ 2020-12-30 17:46 Andreas K. Huettel
  2020-12-30 17:53 ` Aisha Tammy
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas K. Huettel @ 2020-12-30 17:46 UTC (permalink / raw
  To: gentoo-dev

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

Hi all, 

since utf8 encoding is everywhere by now, and since switching the useflag 
unicode off without taking precautions is a way to hose your installation, I 
would propose to medium-term get rid of this flag.

Suggestion:

1) use.force unicode now/soon in the default profiles

2) step by step, modify ebuilds to enable the functionality unconditionally 
(and if necessary fix depstrings)

3) at some point the flag is gone

Opinions?

Cheers, 
Andreas

-- 
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer 
(council, qa, toolchain, base-system, perl, libreoffice)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [gentoo-dev] Getting rid of USE=unicode
  2020-12-30 17:46 [gentoo-dev] Getting rid of USE=unicode Andreas K. Huettel
@ 2020-12-30 17:53 ` Aisha Tammy
  2020-12-30 18:34   ` Andreas K. Huettel
  0 siblings, 1 reply; 5+ messages in thread
From: Aisha Tammy @ 2020-12-30 17:53 UTC (permalink / raw
  To: gentoo-dev

On 12/30/20 12:46 PM, Andreas K. Huettel wrote:
> Hi all, 
> 
> since utf8 encoding is everywhere by now, and since switching the useflag 
> unicode off without taking precautions is a way to hose your installation, I 
> would propose to medium-term get rid of this flag.
> 
> Suggestion:
> 
> 1) use.force unicode now/soon in the default profiles
> 
> 2) step by step, modify ebuilds to enable the functionality unconditionally 
> (and if necessary fix depstrings)
> 
> 3) at some point the flag is gone
> 
> Opinions?
> 
> Cheers, 
> Andreas
> 

Yes, this sounds nice.
What about packages which rely on/give unicode support outside of this flag?
Like the global icu flag, which supposedly needs dev-libs/icu ?

Cheers,
Aisha


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

* Re: [gentoo-dev] Getting rid of USE=unicode
  2020-12-30 17:53 ` Aisha Tammy
@ 2020-12-30 18:34   ` Andreas K. Huettel
  2020-12-30 23:17     ` Aisha Tammy
  2020-12-31  1:16     ` James Cloos
  0 siblings, 2 replies; 5+ messages in thread
From: Andreas K. Huettel @ 2020-12-30 18:34 UTC (permalink / raw
  To: gentoo-dev; +Cc: Aisha Tammy

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

Am Mittwoch, 30. Dezember 2020, 19:53:25 EET schrieb Aisha Tammy:
> 
> Yes, this sounds nice.
> What about packages which rely on/give unicode support outside of this flag?
> Like the global icu flag, which supposedly needs dev-libs/icu ?
> 

Hmmm... good point. I thought too simple.

1) We want to enable unicode unconditionally whereever that is possible 
without much impact.
2) If that pulls in large libraries like icu, a useflag remains useful.

So maybe instead of any use.forcing we should just go through the ebuilds and 

a) reduce the number of occurences of IUSE=unicode as much as possible
b) switch to IUSE=icu or similar where that makes sense

-- 
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer 
(council, qa, toolchain, base-system, perl, libreoffice)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [gentoo-dev] Getting rid of USE=unicode
  2020-12-30 18:34   ` Andreas K. Huettel
@ 2020-12-30 23:17     ` Aisha Tammy
  2020-12-31  1:16     ` James Cloos
  1 sibling, 0 replies; 5+ messages in thread
From: Aisha Tammy @ 2020-12-30 23:17 UTC (permalink / raw
  To: Andreas K. Huettel, gentoo-dev

On 12/30/20 1:34 PM, Andreas K. Huettel wrote:
> Am Mittwoch, 30. Dezember 2020, 19:53:25 EET schrieb Aisha Tammy:
>>
>> Yes, this sounds nice.
>> What about packages which rely on/give unicode support outside of this flag?
>> Like the global icu flag, which supposedly needs dev-libs/icu ?
>>
> 
> Hmmm... good point. I thought too simple.
> 
> 1) We want to enable unicode unconditionally whereever that is possible 
> without much impact.
> 2) If that pulls in large libraries like icu, a useflag remains useful.
> 
> So maybe instead of any use.forcing we should just go through the ebuilds and 
> 
> a) reduce the number of occurences of IUSE=unicode as much as possible
> b) switch to IUSE=icu or similar where that makes sense
> 

dilfridge++

Sounds awesome.


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

* Re: [gentoo-dev] Getting rid of USE=unicode
  2020-12-30 18:34   ` Andreas K. Huettel
  2020-12-30 23:17     ` Aisha Tammy
@ 2020-12-31  1:16     ` James Cloos
  1 sibling, 0 replies; 5+ messages in thread
From: James Cloos @ 2020-12-31  1:16 UTC (permalink / raw
  To: Andreas K. Huettel; +Cc: gentoo-dev, Aisha Tammy

there are not too many packages to look at:

:; git grep -P IUSE.+unicode.*\"|awk -F/ '{print $1 "/" $2}'|sort -u|wc -l
82

so it should ot take too uch effort.

and it definitely would be worth it!

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 0x997A9F17ED7DAEA6


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

end of thread, other threads:[~2020-12-31  1:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-30 17:46 [gentoo-dev] Getting rid of USE=unicode Andreas K. Huettel
2020-12-30 17:53 ` Aisha Tammy
2020-12-30 18:34   ` Andreas K. Huettel
2020-12-30 23:17     ` Aisha Tammy
2020-12-31  1:16     ` James Cloos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox