public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Packages/build systems not honoring LINGUAS and a sane solution
@ 2012-02-17 21:58 Piotr Szymaniak
  2012-02-17 23:05 ` [gentoo-dev] " Duncan
  2012-02-20 20:00 ` Ryan Hill
  0 siblings, 2 replies; 6+ messages in thread
From: Piotr Szymaniak @ 2012-02-17 21:58 UTC (permalink / raw
  To: gentoo-dev

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

Hi.

Long story short:
localepurge will be removed from portage [1]. As I was (/am) heavy
user of it I found it funny that "linguas takes care of the proper
locale installation" [2]. Maybe it should, but there's some major
failure in lots of packages.

So I filled few dozen bugs about this, but it's not always an easy task
to make a package respect LINGUAS. As we talked about it on #gentoo-bugs
there were few suggestions to solve this issue.

Not directly related to solving, but will help (by ssuominen):
make a tracker bug for offending packages

And related to issue:
1) an eclass to clean unwanted locale/man pages/whatsoever - yngwin
suggested that theres something similar for qt [3]
2) something like FEATURES="fixlafiles" (fixlocale? ;)

Opinions?


[1]
http://archives.gentoo.org/gentoo-dev/msg_1ad70654df864843b9b6d0da2f177183.xml
[2]
http://archives.gentoo.org/gentoo-dev/msg_69c10fa4b1af60615e49f09e79c63dd1.xml
[3] -
000039 < yngwin>
https://gitorious.org/gentoo-qt/qt/blobs/master/eclass/qt4-edge.eclass
at the end has prepare_translations, but it's Qt specific


Piotr Szymaniak.
-- 
 - Zemscic  sie? - pociagnal  nosem Waldo. - Nie wiem.  Kiedys myslalem
o zemscie.  (...) Lecz koniec koncem, coz ona jest warta, ta zachwalana
zemsta?  Niczego  sie  przez  nia nie zyskuje.  Bynajmniej nie poprawia
czlowiekowi  samopoczucia.  I w koncu sprawia,  ze staje sie on jeszcze
gorszy od ludzi, ktorych chcial ukarac.
  -- Graham Masterton, "The Burning"

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* [gentoo-dev] Re: Packages/build systems not honoring LINGUAS and a sane solution
  2012-02-17 21:58 [gentoo-dev] Packages/build systems not honoring LINGUAS and a sane solution Piotr Szymaniak
@ 2012-02-17 23:05 ` Duncan
  2012-02-20 20:00 ` Ryan Hill
  1 sibling, 0 replies; 6+ messages in thread
From: Duncan @ 2012-02-17 23:05 UTC (permalink / raw
  To: gentoo-dev

Piotr Szymaniak posted on Fri, 17 Feb 2012 22:58:06 +0100 as excerpted:

> Long story short:  localepurge will be removed from portage

If the maintainers are interested, perhaps gentoolkit could adopt it?  
That would mean it's on most portage-based systems anyway, in my 
experience.

The FEATURES=fixlocales suggestion would suggest keeping the script in 
portage, modified to be called with the feature hook, perhaps to be run 
on the fake-install before qmerge and/or binpkging.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman




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

* [gentoo-dev] Re: Packages/build systems not honoring LINGUAS and a sane solution
  2012-02-17 21:58 [gentoo-dev] Packages/build systems not honoring LINGUAS and a sane solution Piotr Szymaniak
  2012-02-17 23:05 ` [gentoo-dev] " Duncan
@ 2012-02-20 20:00 ` Ryan Hill
  2012-02-20 21:26   ` Jeroen Roovers
  1 sibling, 1 reply; 6+ messages in thread
From: Ryan Hill @ 2012-02-20 20:00 UTC (permalink / raw
  To: gentoo-dev

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

On Fri, 17 Feb 2012 22:58:06 +0100
Piotr Szymaniak <szarpaj@grubelek.pl> wrote:

> localepurge will be removed from portage [1]. As I was (/am) heavy
> user of it I found it funny that "linguas takes care of the proper
> locale installation" [2]. Maybe it should, but there's some major
> failure in lots of packages.

I don't think we should drop it unless there's a reason to.  It works fine
and people obviously use it (me too!).

> So I filled few dozen bugs about this, but it's not always an easy task
> to make a package respect LINGUAS. As we talked about it on #gentoo-bugs
> there were few suggestions to solve this issue.
> 
> Not directly related to solving, but will help (by ssuominen):
> make a tracker bug for offending packages

Yes, please.  Once these get fixed then we can drop localepurge.  And please
ignore hyperactive bug wranglers who think they get to decide when you've
filed "enough" bugs.  We want these reports.


-- 
fonts, gcc-porting
toolchain, wxwidgets
@ gentoo.org

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

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

* Re: [gentoo-dev] Re: Packages/build systems not honoring LINGUAS and a sane solution
  2012-02-20 20:00 ` Ryan Hill
@ 2012-02-20 21:26   ` Jeroen Roovers
  2012-02-20 23:16     ` Alec Warner
  0 siblings, 1 reply; 6+ messages in thread
From: Jeroen Roovers @ 2012-02-20 21:26 UTC (permalink / raw
  To: gentoo-dev

On Mon, 20 Feb 2012 14:00:31 -0600
Ryan Hill <dirtyepic@gentoo.org> wrote:

> Yes, please.  Once these get fixed then we can drop localepurge.

That's a lot of bugs to fix, and the way LINGUAS now works, we could
at least do with a QA check that helps figure out which packages break
when new translations are added to new releases, or when old
translations get dropped.

> And please ignore hyperactive bug wranglers who think they get to
> decide when you've filed "enough" bugs.  We want these reports.

Give the guy bug assignment privileges and move on. And/or get the
automated check in place, and make sure package maintainers see them.


     jer



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

* Re: [gentoo-dev] Re: Packages/build systems not honoring LINGUAS and a sane solution
  2012-02-20 21:26   ` Jeroen Roovers
@ 2012-02-20 23:16     ` Alec Warner
  2012-02-24  8:14       ` Piotr Szymaniak
  0 siblings, 1 reply; 6+ messages in thread
From: Alec Warner @ 2012-02-20 23:16 UTC (permalink / raw
  To: gentoo-dev

On Mon, Feb 20, 2012 at 1:26 PM, Jeroen Roovers <jer@gentoo.org> wrote:
> On Mon, 20 Feb 2012 14:00:31 -0600
> Ryan Hill <dirtyepic@gentoo.org> wrote:
>
>> Yes, please.  Once these get fixed then we can drop localepurge.
>
> That's a lot of bugs to fix, and the way LINGUAS now works, we could
> at least do with a QA check that helps figure out which packages break
> when new translations are added to new releases, or when old
> translations get dropped.
>
>> And please ignore hyperactive bug wranglers who think they get to
>> decide when you've filed "enough" bugs.  We want these reports.
>
> Give the guy bug assignment privileges and move on. And/or get the
> automated check in place, and make sure package maintainers see them.

I gave him editbugs last week.

-A

>
>
>     jer
>



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

* Re: [gentoo-dev] Re: Packages/build systems not honoring LINGUAS and a sane solution
  2012-02-20 23:16     ` Alec Warner
@ 2012-02-24  8:14       ` Piotr Szymaniak
  0 siblings, 0 replies; 6+ messages in thread
From: Piotr Szymaniak @ 2012-02-24  8:14 UTC (permalink / raw
  To: gentoo-dev

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

On Mon, Feb 20, 2012 at 03:16:29PM -0800, Alec Warner wrote:
> On Mon, Feb 20, 2012 at 1:26 PM, Jeroen Roovers <jer@gentoo.org> wrote:
> > On Mon, 20 Feb 2012 14:00:31 -0600
> > Ryan Hill <dirtyepic@gentoo.org> wrote:
> >
> >> Yes, please.  Once these get fixed then we can drop localepurge.
> >
> > That's a lot of bugs to fix, and the way LINGUAS now works, we could
> > at least do with a QA check that helps figure out which packages break
> > when new translations are added to new releases, or when old
> > translations get dropped.
> >
> >> And please ignore hyperactive bug wranglers who think they get to
> >> decide when you've filed "enough" bugs.  We want these reports.
> >
> > Give the guy bug assignment privileges and move on. And/or get the
> > automated check in place, and make sure package maintainers see them.
> 
> I gave him editbugs last week.

Tracker bug #405485 added.

Not wanted man pages are also considered as "wrong locale installed"
bugs? Right now I have about 30 directories in /usr/share/man with
different (not wanted) languages...


Piotr Szymaniak.
-- 
 - Poznaje sie tylko to,  co sie oswoi  - powiedzial lis. - Ludzie maja
zbyt malo czasu, aby cokolwiek poznac. Kupuja w sklepach rzeczy gotowe.
A poniewaz  nie  ma  magazynow  z  przyjaciolmi,  wiec  ludzie nie maja
przyjaciol.
  -- Antoine De Saint-Exupery, "Le Petit Prince"

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2012-02-24  8:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-17 21:58 [gentoo-dev] Packages/build systems not honoring LINGUAS and a sane solution Piotr Szymaniak
2012-02-17 23:05 ` [gentoo-dev] " Duncan
2012-02-20 20:00 ` Ryan Hill
2012-02-20 21:26   ` Jeroen Roovers
2012-02-20 23:16     ` Alec Warner
2012-02-24  8:14       ` Piotr Szymaniak

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