summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-January/011113.html
blob: 55f1c8516283161d80b43236a6610193c39838ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] [Mageia-Private] Consolidation of the spelling	tools in Mageia
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BMageia-Private%5D%20Consolidation%20of%20the%20spelling%0A%09tools%20in%20Mageia&In-Reply-To=%3C4F09A5E3.20701%40free.fr%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="011125.html">
   <LINK REL="Next"  HREF="011114.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] [Mageia-Private] Consolidation of the spelling	tools in Mageia</H1>
    <B>Luc Menut</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BMageia-Private%5D%20Consolidation%20of%20the%20spelling%0A%09tools%20in%20Mageia&In-Reply-To=%3C4F09A5E3.20701%40free.fr%3E"
       TITLE="[Mageia-dev] [Mageia-Private] Consolidation of the spelling	tools in Mageia">lmenut at free.fr
       </A><BR>
    <I>Sun Jan  8 15:19:15 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="011125.html">[Mageia-dev] Missing signatures
</A></li>
        <LI>Next message: <A HREF="011114.html">[Mageia-dev] [Mageia-Private] Consolidation of the spelling tools in Mageia
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#11113">[ date ]</a>
              <a href="thread.html#11113">[ thread ]</a>
              <a href="subject.html#11113">[ subject ]</a>
              <a href="author.html#11113">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Hello,

first, sorry to reply so late, and when you have started to update 
hunspell dictionaries packages.

Le 21/12/2011 08:15, Kamil Rytarowski a &#233;crit :
&gt;<i> Hello!
</I>[...]
&gt;<i>
</I>&gt;<i> There was a discuss on
</I>&gt;<i> 1) preparing policies on hunspell-dictionaries
</I>&gt;<i> 2) deprecate and kill myspell in Mga2
</I>&gt;<i> 3) changing the default path of dictionaries, from /usr/share/myspell to
</I>&gt;<i> /usr/share/hunspell (and to keep backward compatibility links in myspell
</I>&gt;<i> directory)
</I>&gt;<i> 4) to provide &quot;enchant-dictionary&quot; and &quot;hunspell-dictionary&quot; by every
</I>&gt;<i> hunspell-dictionary
</I>&gt;<i>
</I>&gt;<i> So finally, I've prepared a first version of the policy
</I>&gt;<i> <A HREF="https://wiki.mageia.org/en/Hunspell-dictionary_policy">https://wiki.mageia.org/en/Hunspell-dictionary_policy</A>
</I>&gt;<i> If you like, please tell me your comments of it. Is it right? (Also: is
</I>&gt;<i> the .spec correct?) When everything will be accepted then every
</I>&gt;<i> hunspell-dictionary will be updated according to the policy.
</I>
some comments about the policy:

Version:        1.0
Release:        %mkrel %{upstream_release}.%{rel}

I don't think it will be possible to use Version 1.0 and upstream 
version only in the release; most hunspell dictionaries already use 
upstream version as version and have a version &gt; 1.0.

--

#Mageia values: 1 - aspell, 2 - hunspell, 3 - language specific
Provides:       enchant-dictionary = 2
Provides:       hunspell-dictionary
Provides:       dictionary-%{languagecode}

about the version value of the provides: is the meaning (1 - aspell, 2 - 
hunspell, 3 - language specific) really needed? is it currently used?
Because I think that it could be usefull that the versionned provides 
indicates the location of the dictionary:
- current enchant-dictionary = 2 -&gt;&gt; /usr/share/dict/mozilla
- enchant-dictionary from hunspell -&gt;&gt; enchant-dictionary = 4 -&gt;&gt; 
/usr/share/hunspell and /usr/share/myspell,
- enchant-dictionary from future hunspell without compatibility link in 
/usr/share/myspell -&gt;&gt; enchant-dictionary = 5 -&gt;&gt; /usr/share/hunspell only,
- ...

(it seems weird for me to use the same &quot;enchant-dictionary = 2&quot; 
versionned provide, both for &quot;deprecated&quot; myspell dictionaries, and new 
hunspell dictionaries.)

if the versionned provides indicates the location, we can use it if 
necessary in Conflicts or Requires in others packages.
e.g. currently Firefox searches dictionnaries in /usr/share/dict/mozilla 
(myspell dictionaries). when we change this location, we could add a 
Requires enchant-dictionary = 4.

same for hunspell-dictionary and dictionary-%{languagecode}, a 
versionned provides could indicate the location of the dictionary.
if we want to be able to remove easily all the compatibility link in the 
future, we should really consider this.


&gt;<i>
</I>&gt;<i> PS. The changes of enchant will be proposed or accepted later, Funda has
</I>&gt;<i> already prepared the package.
</I>
new hunspell dictionaries provides enchant-dictionary and obsoletes 
myspell dictionaries, but enchant still can't use the new hunspell 
dictionaries. I think that it should be fixed ASAP, or we will release 
an alpha 3 with broken spelling for lot of languages.
I propose the attached patches for enchant, so that enchant can use 
dictionaries from /usr/share/hunspell, /usr/share/myspell, and 
/usr/share/dict/ooo.
Anssi, Kamil, WDYT ?

same problem with firefox and thunderbird, they use dictionaries from 
/usr/share/dict/mozilla = myspell dictionaries, that are obsoleted.
(Will we wait for the complete migration, to release alpha 3 ? )

CC: Anssi, enchant and thunderbird maintainer
     dmorgan, firefox maintainer


regards,
Luc

-- 
Luc Menut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enchant-1.6.0-add-more-myspell-dicts-dirs.patch
Type: text/x-patch
Size: 646 bytes
Desc: not available
URL: &lt;/pipermail/mageia-dev/attachments/20120108/f40db454/attachment.bin&gt;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enchant_spec.diff
Type: text/x-patch
Size: 823 bytes
Desc: not available
URL: &lt;/pipermail/mageia-dev/attachments/20120108/f40db454/attachment-0001.bin&gt;
</PRE>




































<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="011125.html">[Mageia-dev] Missing signatures
</A></li>
	<LI>Next message: <A HREF="011114.html">[Mageia-dev] [Mageia-Private] Consolidation of the spelling tools in Mageia
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#11113">[ date ]</a>
              <a href="thread.html#11113">[ thread ]</a>
              <a href="subject.html#11113">[ subject ]</a>
              <a href="author.html#11113">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>