Gentoo Archives: gentoo-dev

From: "Diego 'Flameeyes' Pettenò" <flameeyes@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] IUSE and LINGUAS?
Date: Mon, 30 Jan 2006 16:20:35
Message-Id: 200601301715.48101@enterprise.flameeyes.is-a-geek.org
In Reply to: [gentoo-dev] IUSE and LINGUAS? by "Diego 'Flameeyes' Pettenò"
1 On Monday 30 January 2006 06:17, Diego 'Flameeyes' Pettenò wrote:
2 > Defining LINGUAS variable would be useful to allow people to know whether
3 > they are going to have special support for their language in a package, but
4 > it would also clutter the output quite a bit.
5 Okay then.. I'm still looking locally how it appears, and I'm thinking it's
6 really useful to have LINGUAS told in emerge -pv and -av. The reason is
7 trivial: if someone sets LINGUAS for something, and then does not get that
8 language supported, it might wonder why; by stating the accepted LINGUAS the
9 problem is solved.
10
11 Also, it would allow to know when a new language support is available.
12
13 This makes version bumps a bit more complex, as just renaming the ebuild will
14 ignore changes in supported LINGUAS, but for most cases, it's needed anyway
15 (I think of xdtv for example). For KDE-based stuff, the LINGUAS handling is
16 simple to recalculate: on the new tarball (that one should extract anyway),
17 just do ls po | grep -v Makefile | xargs echo to get the language supported
18 and the same with doc dir to get the documentation languages (then mix them
19 while adding IUSE and there you are).
20
21 I'm at 5 packages with local LINGUAS support and the output of their -pv is:
22
23 [ebuild R ] app-editors/kile-1.9_beta2 USE="kde -arts -debug -xinerama"
24 LINGUAS="it% -br% -ca% -cs% -cy% -da% -de% -el% -en_GB% -es% -et% -eu% -fi%
25 -fr% -ga% -gl% -hi% -hu% -is% -ja% -lt% -mt% -nb% -nl% -nn% -pa% -pl% -pt%
26 -pt_BR% -ro% -rw% -sk% -sr% -sr@Latn% -sv% -ta% -tr% -zh_CN%" 0 kB
27 [ebuild R ] net-irc/konversation-0.19 USE="-arts -debug -xinerama"
28 LINGUAS="it -bg -cs -da -de -el -en_GB -es -et -fi -fr -hi -ja -nl -pt -pt_BR
29 -ru -sr -sr@Latn -sv -ta -tr" 0 kB [3]
30 [ebuild R ] media-tv/kdetv-0.8.8-r1 USE="-arts -debug -lirc -opengl
31 -xinerama -zvbi" LINGUAS="it% -bg% -br% -ca% -cs% -cy% -da% -de% -el% -en_GB%
32 -es% -et% -fi% -fr% -ga% -gl% -hu% -is% -lt% -mt% -nb% -nl% -pa% -pl% -pt%
33 -pt_BR% -ro% -ru% -rw% -sr% -sr@Latn% -sv% -ta% -tr% -zh_CN%" 0 kB
34 [ebuild UD] media-sound/amarok-1.3.8 [1.4_pre20060116] USE="flac kde
35 musicbrainz vorbis xine -arts -debug -gstreamer -mp3 -mysql -noamazon -opengl
36 -postgres -visualization -xinerama -xmms" LINGUAS="it% -az% -be% -bg% -br%
37 -ca% -cs% -cy% -da% -de% -el% -en_GB% -eo% -es% -et% -fi% -fr% -ga% -gl% -he%
38 -hi% -hr% -hu% -id% -is% -ja% -ko% -ku% -lo% -lt% -nb% -nds% -nl% -nn% -pa%
39 -pl% -pt% -pt_BR% -ro% -ru% -se% -sl% -sq% -sr% -sr@Latn% -ss% -sv% -ta% -tg%
40 -th% -tr% -uk% -uz% -zh_CN% -zh_TW%" 0 kB
41 [ebuild R ] media-tv/xdtv-2.3.0 USE="X alsa ffmpeg jpeg ogg png xv xvid
42 zvbi -Xaw3d -aqua_theme -carbone_theme -debug -dvb -encode -lirc -neXt
43 -xinerama" LINGUAS="en% it% -ca% -de% -es% -fr% -gl% -ja% -pl% -ru%" 0 kB
44
45 (amarok 1.4 is still to fix, I'll do that in my overlay).
46
47 > Also, as repoman complain about linguas_blabla not being a valid useflags,
48 > all the linguas_* useflags should be listed in use.desc
49 Well I got at least 5 packages that uses a bunch of those LINGUAS flags, so I
50 think it's not a problem about adding them to use.desc instead of
51 use.local.desc.
52
53 If somebody has a list of those variables, I would add them, it seems to me
54 the most sensible way to do that, it would add documentation allowing people
55 to know what they are going to do. Also, as use.desc is alphabetically
56 sorted, all the linguas_* variables will stay together.
57
58 --
59 Diego "Flameeyes" Pettenò - http://dev.gentoo.org/~flameeyes/
60 Gentoo/ALT lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE

Replies

Subject Author
Re: [gentoo-dev] IUSE and LINGUAS? Mike Frysinger <vapier@g.o>