Gentoo Archives: gentoo-user-fr

From: Possum <possum@×××××××××××××××.org>
To: gentoo-user-fr@l.g.o
Subject: Re: [gentoo-user-fr] Aspell et linguas
Date: Tue, 26 Feb 2008 20:43:07
Message-Id: 47C479D7.9080703@marsupial-power.org
In Reply to: Re: [gentoo-user-fr] Aspell et linguas by gwenhael
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 J'ai la réponse !!
5
6 vi /usr/portage/app-text/aspell/aspell-0.60.5.ebuild
7
8 # Copyright 1999-2008 Gentoo Foundation
9 # Distributed under the terms of the GNU General Public License v2
10 # $Header:
11 /var/cvsroot/gentoo-x86/app-text/aspell/aspell-0.60.5.ebuild,v 1.18
12 2008/01/26 18:49:16 philantrop Exp $
13
14 # N.B. This is before inherit of autotools, as autotools.eclass adds the
15 # relevant dependencies to DEPEND.
16 WANT_AUTOMAKE="1.10"
17
18 inherit libtool eutils flag-o-matic autotools
19
20 DESCRIPTION="A spell checker replacement for ispell"
21 HOMEPAGE="http://aspell.net/"
22 SRC_URI="mirror://gnu/aspell/${P}.tar.gz"
23
24 LICENSE="LGPL-2"
25 SLOT="0"
26 KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc
27 ~sparc-fbsd x86 ~x86-fbsd"
28 IUSE="gpm nls examples"
29 # Note; app-text/aspell-0.6 and app-dicts/aspell-en-0.6 must go stable
30 together
31
32 # Build PDEPEND from list of language codes provided in the tree.
33 # The PDEPEND string is static - this code just makes it easier to maintain.
34 def="app-dicts/aspell-en"
35 for l in \
36 ~ "af" "be" "bg" "br" "ca" "cs" "cy" "da" "de" "el" \
37 ~ "en" "eo" "es" "et" "fi" "fo" "fr" "ga" "gl" "he" \
38 ~ "hr" "is" "it" "nl" "no" "pl" "pt" "ro" "ru" "sk" \
39 ~ "sl" "sr" "sv" "uk" "vi"; do
40 ~ dep="linguas_${l}? ( app-dicts/aspell-${l} )"
41 ~ [[ -z ${PDEPEND} ]] &&
42 ~ PDEPEND="${dep}" ||
43 ~ PDEPEND="${PDEPEND}
44 ${dep}"
45 ~ def="!linguas_${l}? ( ${def} )"
46 done
47 PDEPEND="${PDEPEND}
48 ${def}"
49
50 On a donc une dépendance directe de aspell-en + si la variable LINGUAS
51 est définie:
52
53 def="app-dicts/aspell-en" et plus loin def="!linguas_${l}? ( ${def} )"
54
55 Voilà donc le pourquoi du comment.
56
57 Maintenant, aspell-en, l'est pas gros hein comme package ;)
58
59 Mais je comprends que ça te fasse raler vu que c'est un truc dont tu
60 veux pas forcément.
61
62
63 gwenhael a écrit :
64 | Ca donne
65 | app-text/aspell-0.60.5 (!linguas_vi & !linguas_uk & !linguas_sv &
66 !linguas_sr & !linguas_sl & !linguas_sk & !linguas_ru & !linguas_ro &
67 !linguas_pt & !linguas_pl & !linguas_no & !linguas_nl & !linguas_it &
68 !linguas_is & !linguas_hr & !linguas_he & !linguas_gl & !linguas_ga &
69 !linguas_fr & !linguas_fo & !linguas_fi & !linguas_et & !linguas_es &
70 !linguas_eo & !linguas_en & !linguas_el & !linguas_de & !linguas_da &
71 !linguas_cy & !linguas_cs & !linguas_ca & !linguas_br & !linguas_bg &
72 !linguas_be & !linguas_af? app-dicts/aspell-en)
73 | (linguas_en? app-dicts/aspell-en)
74 | app-text/enchant-1.3.0 (virtual/aspell-dict)
75 | kde-base/kdelibs-3.5.8-r3 (spell? >=app-dicts/aspell-en-6.0.0)
76 | mail-client/claws-mail-3.0.2-r1 (spell? virtual/aspell-dict)
77 |
78 | mais pourquoi le '!' devant linguas_fr dans aspell ?
79 | a+ Gwen
80 |
81 | On Tue, 26 Feb 2008 19:58:48 +0100
82 | Possum <possum@×××××××××××××××.org> wrote:
83 |
84 | Et le resultat d'un equery depends aspell-en, ça donne quoi chez toi ?
85 |
86 | gwenhael a écrit :
87 | | Bonjour,
88 | | j'ai kdelibs en effet mais j'ai un use a -spell pour lui donc il ne va
89 | pas prendre en compte aspell-en
90 | | Non décidement je ne sais pas pkoi il veux absolument m'installer
91 | aspell-en et pourquoi il veux me supprimer aspell-fr
92 | | Gwenhael
93 | |
94 |
95 | <couik>
96 |
97 - --
98 gentoo-user-fr@l.g.o mailing list
99 |>
100 |>
101
102 | -------
103 | http://www.trabucayre.com
104 | Arsenic et vieilles ferailles
105
106 - --
107 Sauvez un arbre, mangez un castor !
108
109 Ce mail est signé numériquement,
110 Clef publique GnuPG: http://marsupial-power.org/down/possum-gpg.asc
111 http://marsupial-power.org
112 -----BEGIN PGP SIGNATURE-----
113 Version: GnuPG v2.0.7 (GNU/Linux)
114 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
115
116 iD8DBQFHxHnX7shKAOv6mmYRAmEXAJ9D+Fzkfk35nhSv1qWR+8YuVl+fiACfUFe/
117 OcNqid6d/o5LEKmOyirfuWc=
118 =JSdE
119 -----END PGP SIGNATURE-----
120
121 --
122 gentoo-user-fr@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user-fr] Aspell et linguas gwenhael <gwenjo@××××.fr>