Skip to content

Commit 69850db

Browse files
authored
Merge pull request #23346 from 89luca89/add-enchant2
hunspell: add missing dictionaries
2 parents 795ac0d + 1b8465e commit 69850db

File tree

2 files changed

+163
-6
lines changed

2 files changed

+163
-6
lines changed

hunspell-dict.yaml

Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
1+
package:
2+
name: hunspell-dictionaries-all
3+
version: 0.1_git20240709
4+
epoch: 0
5+
description: Dictionaries for spell checker and morphological analyzer library and program
6+
copyright:
7+
- license: GPL-2.0-or-later OR LGPL-2.1-or-later OR MPL-1.1
8+
dependencies:
9+
runtime:
10+
- hunspell-dictionary-af
11+
- hunspell-dictionary-an
12+
- hunspell-dictionary-ar
13+
- hunspell-dictionary-bg
14+
- hunspell-dictionary-bn
15+
- hunspell-dictionary-bo
16+
- hunspell-dictionary-br
17+
- hunspell-dictionary-bs
18+
- hunspell-dictionary-ca
19+
- hunspell-dictionary-ckb
20+
- hunspell-dictionary-cs
21+
- hunspell-dictionary-da
22+
- hunspell-dictionary-de
23+
- hunspell-dictionary-el
24+
- hunspell-dictionary-en
25+
- hunspell-dictionary-eo
26+
- hunspell-dictionary-es
27+
- hunspell-dictionary-et
28+
- hunspell-dictionary-fr
29+
- hunspell-dictionary-gd
30+
- hunspell-dictionary-gl
31+
- hunspell-dictionary-gu
32+
- hunspell-dictionary-gug
33+
- hunspell-dictionary-he
34+
- hunspell-dictionary-hi
35+
- hunspell-dictionary-hr
36+
- hunspell-dictionary-hu
37+
- hunspell-dictionary-id
38+
- hunspell-dictionary-is
39+
- hunspell-dictionary-it
40+
- hunspell-dictionary-kmr
41+
- hunspell-dictionary-ko
42+
- hunspell-dictionary-lo
43+
- hunspell-dictionary-lt
44+
- hunspell-dictionary-lv
45+
- hunspell-dictionary-mn
46+
- hunspell-dictionary-nb
47+
- hunspell-dictionary-ne
48+
- hunspell-dictionary-nl
49+
- hunspell-dictionary-nn
50+
- hunspell-dictionary-oc
51+
- hunspell-dictionary-pl
52+
- hunspell-dictionary-pt
53+
- hunspell-dictionary-ro
54+
- hunspell-dictionary-ru
55+
- hunspell-dictionary-si
56+
- hunspell-dictionary-sk
57+
- hunspell-dictionary-sl
58+
- hunspell-dictionary-sq
59+
- hunspell-dictionary-sr
60+
- hunspell-dictionary-sv
61+
- hunspell-dictionary-sw
62+
- hunspell-dictionary-te
63+
- hunspell-dictionary-th
64+
- hunspell-dictionary-tr
65+
- hunspell-dictionary-uk
66+
- hunspell-dictionary-vi
67+
68+
environment:
69+
contents:
70+
packages:
71+
- autoconf
72+
- automake
73+
- build-base
74+
- busybox
75+
- ca-certificates-bundle
76+
- gettext-dev
77+
- git
78+
- ncurses-dev
79+
- readline-dev
80+
81+
pipeline:
82+
- runs: |
83+
# libreoffice git repos don't provide stable download URLs, and this project doesn't use tags for versioning.
84+
# our git-checkout pipeline requires a tag to checkout, so we need to do it this way...
85+
git clone https://anongit.freedesktop.org/git/libreoffice/dictionaries.git
86+
cd dictionaries
87+
88+
# Bump this commit when updating
89+
git checkout fc2dc383a40e56c0118866c9110954bebc6ea41d
90+
91+
data:
92+
- name: _dictionaries
93+
items:
94+
af:
95+
an:
96+
ar:
97+
bg:
98+
bn:
99+
bo:
100+
br:
101+
bs:
102+
ca:
103+
ckb:
104+
cs:
105+
da:
106+
de:
107+
el:
108+
en:
109+
eo:
110+
es:
111+
et:
112+
fr:
113+
gd:
114+
gl:
115+
gu:
116+
gug:
117+
he:
118+
hi:
119+
hr:
120+
hu:
121+
id:
122+
is:
123+
it:
124+
kmr:
125+
ko:
126+
lo:
127+
lt:
128+
lv:
129+
mn:
130+
nb:
131+
ne:
132+
nl:
133+
nn:
134+
oc:
135+
pl:
136+
pt:
137+
ro:
138+
ru:
139+
si:
140+
sk:
141+
sl:
142+
sq:
143+
sr:
144+
sv:
145+
sw:
146+
te:
147+
th:
148+
tr:
149+
uk:
150+
vi:
151+
152+
subpackages:
153+
- range: _dictionaries
154+
name: hunspell-dictionary-${{range.key}}
155+
description: hunspell dictionaries
156+
pipeline:
157+
- runs: |
158+
mkdir -p ${{targets.subpkgdir}}/usr/share/hunspell
159+
find dictionaries/ \( -iname ${{range.key}}*.dic -o -iname ${{range.key}}*.aff \) -exec cp {} ${{targets.subpkgdir}}/usr/share/hunspell \;
160+
161+
update:
162+
enabled: false

hunspell.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package:
22
name: hunspell
33
version: 1.7.2
4-
epoch: 0
4+
epoch: 1
55
description: Spell checker and morphological analyzer library and program
66
copyright:
77
- license: GPL-2.0-or-later OR LGPL-2.1-or-later OR MPL-1.1
@@ -49,11 +49,6 @@ subpackages:
4949
- uses: split/manpages
5050
description: hunspell manpages
5151

52-
- name: hunspell-lang
53-
pipeline:
54-
- uses: split/locales
55-
description: hunspell FIXME
56-
5752
update:
5853
enabled: true
5954
github:

0 commit comments

Comments
 (0)