public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Diego 'Flameeyes' Pettenò" <flameeyes@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] IUSE and LINGUAS?
Date: Mon, 30 Jan 2006 17:15:42 +0100	[thread overview]
Message-ID: <200601301715.48101@enterprise.flameeyes.is-a-geek.org> (raw)
In-Reply-To: <200601300617.36417@enterprise.flameeyes.is-a-geek.org>

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

On Monday 30 January 2006 06:17, Diego 'Flameeyes' Pettenò wrote:
> Defining LINGUAS variable would be useful to allow people to know whether
> they are going to have special support for their language in a package, but
> it would also clutter the output quite a bit.
Okay then.. I'm still looking locally how it appears, and I'm thinking it's 
really useful to have LINGUAS told in emerge -pv and -av. The reason is 
trivial: if someone sets LINGUAS for something, and then does not get that 
language supported, it might wonder why; by stating the accepted LINGUAS the 
problem is solved.

Also, it would allow to know when a new language support is available.

This makes version bumps a bit more complex, as just renaming the ebuild will 
ignore changes in supported LINGUAS, but for most cases, it's needed anyway 
(I think of xdtv for example). For KDE-based stuff, the LINGUAS handling is 
simple to recalculate: on the new tarball (that one should extract anyway), 
just do ls po | grep -v Makefile | xargs echo to get the language supported 
and the same with doc dir to get the documentation languages (then mix them 
while adding IUSE and there you are).

I'm at 5 packages with local LINGUAS support and the output of their -pv is:

[ebuild   R   ] app-editors/kile-1.9_beta2  USE="kde -arts -debug -xinerama" 
LINGUAS="it% -br% -ca% -cs% -cy% -da% -de% -el% -en_GB% -es% -et% -eu% -fi% 
-fr% -ga% -gl% -hi% -hu% -is% -ja% -lt% -mt% -nb% -nl% -nn% -pa% -pl% -pt% 
-pt_BR% -ro% -rw% -sk% -sr% -sr@Latn% -sv% -ta% -tr% -zh_CN%" 0 kB
[ebuild   R   ] net-irc/konversation-0.19  USE="-arts -debug -xinerama" 
LINGUAS="it -bg -cs -da -de -el -en_GB -es -et -fi -fr -hi -ja -nl -pt -pt_BR 
-ru -sr -sr@Latn -sv -ta -tr" 0 kB [3]
[ebuild   R   ] media-tv/kdetv-0.8.8-r1  USE="-arts -debug -lirc -opengl 
-xinerama -zvbi" LINGUAS="it% -bg% -br% -ca% -cs% -cy% -da% -de% -el% -en_GB% 
-es% -et% -fi% -fr% -ga% -gl% -hu% -is% -lt% -mt% -nb% -nl% -pa% -pl% -pt% 
-pt_BR% -ro% -ru% -rw% -sr% -sr@Latn% -sv% -ta% -tr% -zh_CN%" 0 kB
[ebuild     UD] media-sound/amarok-1.3.8 [1.4_pre20060116] USE="flac kde 
musicbrainz vorbis xine -arts -debug -gstreamer -mp3 -mysql -noamazon -opengl 
-postgres -visualization -xinerama -xmms" LINGUAS="it% -az% -be% -bg% -br% 
-ca% -cs% -cy% -da% -de% -el% -en_GB% -eo% -es% -et% -fi% -fr% -ga% -gl% -he% 
-hi% -hr% -hu% -id% -is% -ja% -ko% -ku% -lo% -lt% -nb% -nds% -nl% -nn% -pa% 
-pl% -pt% -pt_BR% -ro% -ru% -se% -sl% -sq% -sr% -sr@Latn% -ss% -sv% -ta% -tg% 
-th% -tr% -uk% -uz% -zh_CN% -zh_TW%" 0 kB
[ebuild   R   ] media-tv/xdtv-2.3.0  USE="X alsa ffmpeg jpeg ogg png xv xvid 
zvbi -Xaw3d -aqua_theme -carbone_theme -debug -dvb -encode -lirc -neXt 
-xinerama" LINGUAS="en% it% -ca% -de% -es% -fr% -gl% -ja% -pl% -ru%" 0 kB

(amarok 1.4 is still to fix, I'll do that in my overlay).

> Also, as repoman complain about linguas_blabla not being a valid useflags,
> all the linguas_* useflags should be listed in use.desc
Well I got at least 5 packages that uses a bunch of those LINGUAS flags, so I 
think it's not a problem about adding them to use.desc instead of 
use.local.desc.

If somebody has a list of those variables, I would add them, it seems to me 
the most sensible way to do that, it would add documentation allowing people 
to know what they are going to do. Also, as use.desc is alphabetically 
sorted, all the linguas_* variables will stay together.

-- 
Diego "Flameeyes" Pettenò - http://dev.gentoo.org/~flameeyes/
Gentoo/ALT lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE

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

  parent reply	other threads:[~2006-01-30 16:20 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-30  5:17 [gentoo-dev] IUSE and LINGUAS? Diego 'Flameeyes' Pettenò
2006-01-30  7:43 ` Ciaran McCreesh
2006-01-30 11:46   ` Jason Stubbs
2006-01-30 11:54     ` Ciaran McCreesh
2006-01-30 13:22       ` Diego 'Flameeyes' Pettenò
2006-01-31 11:31       ` Jason Stubbs
2006-01-31 11:50         ` Ciaran McCreesh
2006-01-31 13:39         ` Mike Frysinger
2006-02-01  0:55           ` Jason Stubbs
2006-02-01  1:08             ` Donnie Berkholz
2006-02-02 19:46             ` Diego 'Flameeyes' Pettenò
2006-02-02 19:55               ` Ciaran McCreesh
2006-02-05 14:51                 ` Diego 'Flameeyes' Pettenò
2006-02-05 20:34                   ` Mike Frysinger
2006-02-05 20:43                     ` Diego 'Flameeyes' Pettenò
2006-02-05 20:54                       ` Ciaran McCreesh
2006-02-05 21:04                       ` Mike Frysinger
2006-02-05 21:16                         ` Diego 'Flameeyes' Pettenò
2006-02-05 20:50                     ` Alec Warner
2006-02-05 16:31                 ` Diego 'Flameeyes' Pettenò
2006-01-30 12:31     ` Re[2]: " Jakub Moc
2006-01-30 13:20       ` Diego 'Flameeyes' Pettenò
2006-01-30 11:43 ` Jason Stubbs
2006-01-30 13:23   ` Diego 'Flameeyes' Pettenò
2006-01-30 16:15 ` Diego 'Flameeyes' Pettenò [this message]
2006-01-30 16:38   ` Mike Frysinger
2006-01-30 16:48     ` Diego 'Flameeyes' Pettenò
2006-01-30 18:03       ` Mike Frysinger
2006-01-30 17:00     ` [gentoo-dev] " Duncan
2006-01-30 18:42 ` [gentoo-dev] " Harald van Dijk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200601301715.48101@enterprise.flameeyes.is-a-geek.org \
    --to=flameeyes@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox