2012-03-09 09:33:03 +01:00
|
|
|
# -*- encoding: utf-8 -*-
|
2002-05-23 00:59:41 +02:00
|
|
|
#
|
2013-01-03 03:08:40 +01:00
|
|
|
# Copyright © 2003 Keith Packard
|
|
|
|
# Copyright © 2013 Google, Inc.
|
2002-05-23 00:59:41 +02:00
|
|
|
#
|
|
|
|
# Permission to use, copy, modify, distribute, and sell this software and its
|
|
|
|
# documentation for any purpose is hereby granted without fee, provided that
|
|
|
|
# the above copyright notice appear in all copies and that both that
|
|
|
|
# copyright notice and this permission notice appear in supporting
|
2010-11-10 22:45:42 +01:00
|
|
|
# documentation, and that the name of the author(s) not be used in
|
2002-05-23 00:59:41 +02:00
|
|
|
# advertising or publicity pertaining to distribution of the software without
|
2010-11-10 22:45:42 +01:00
|
|
|
# specific, written prior permission. The authors make no
|
2002-05-23 00:59:41 +02:00
|
|
|
# representations about the suitability of this software for any purpose. It
|
|
|
|
# is provided "as is" without express or implied warranty.
|
|
|
|
#
|
2009-03-12 21:00:08 +01:00
|
|
|
# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
2002-05-23 00:59:41 +02:00
|
|
|
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
2009-03-12 21:00:08 +01:00
|
|
|
# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
2002-05-23 00:59:41 +02:00
|
|
|
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
|
|
|
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
|
|
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
|
# PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
#
|
2013-01-03 03:08:40 +01:00
|
|
|
# Google Author(s): Behdad Esfahbod
|
2002-05-23 00:59:41 +02:00
|
|
|
|
2013-01-03 03:08:40 +01:00
|
|
|
TAG = lang
|
|
|
|
DEPS = $(ORTH)
|
2020-08-26 15:33:07 +02:00
|
|
|
ARGS = --directory $(srcdir) $(ORTH)
|
2013-01-03 03:08:40 +01:00
|
|
|
DIST = $(ORTH)
|
2012-03-09 09:33:03 +01:00
|
|
|
|
2013-01-03 03:08:40 +01:00
|
|
|
include $(top_srcdir)/Tools.mk
|
2009-03-19 00:28:52 +01:00
|
|
|
|
|
|
|
# NOTE:
|
|
|
|
#
|
|
|
|
# The order of the orth files here is extremely important (part of the cache
|
|
|
|
# format) and should not be modified. New orth files should be added at the
|
|
|
|
# end. No files should be removed either.
|
|
|
|
#
|
|
|
|
ORTH = \
|
|
|
|
aa.orth \
|
|
|
|
ab.orth \
|
|
|
|
af.orth \
|
|
|
|
am.orth \
|
|
|
|
ar.orth \
|
|
|
|
as.orth \
|
|
|
|
ast.orth \
|
|
|
|
av.orth \
|
|
|
|
ay.orth \
|
|
|
|
az_az.orth \
|
|
|
|
az_ir.orth \
|
|
|
|
ba.orth \
|
|
|
|
bm.orth \
|
|
|
|
be.orth \
|
|
|
|
bg.orth \
|
|
|
|
bh.orth \
|
|
|
|
bho.orth \
|
|
|
|
bi.orth \
|
|
|
|
bin.orth \
|
|
|
|
bn.orth \
|
|
|
|
bo.orth \
|
|
|
|
br.orth \
|
|
|
|
bs.orth \
|
|
|
|
bua.orth \
|
|
|
|
ca.orth \
|
|
|
|
ce.orth \
|
|
|
|
ch.orth \
|
|
|
|
chm.orth \
|
|
|
|
chr.orth \
|
|
|
|
co.orth \
|
|
|
|
cs.orth \
|
|
|
|
cu.orth \
|
|
|
|
cv.orth \
|
|
|
|
cy.orth \
|
|
|
|
da.orth \
|
|
|
|
de.orth \
|
|
|
|
dz.orth \
|
|
|
|
el.orth \
|
|
|
|
en.orth \
|
|
|
|
eo.orth \
|
|
|
|
es.orth \
|
|
|
|
et.orth \
|
|
|
|
eu.orth \
|
|
|
|
fa.orth \
|
|
|
|
fi.orth \
|
|
|
|
fj.orth \
|
|
|
|
fo.orth \
|
|
|
|
fr.orth \
|
|
|
|
ff.orth \
|
|
|
|
fur.orth \
|
|
|
|
fy.orth \
|
|
|
|
ga.orth \
|
|
|
|
gd.orth \
|
|
|
|
gez.orth \
|
|
|
|
gl.orth \
|
|
|
|
gn.orth \
|
|
|
|
gu.orth \
|
|
|
|
gv.orth \
|
|
|
|
ha.orth \
|
|
|
|
haw.orth \
|
|
|
|
he.orth \
|
|
|
|
hi.orth \
|
|
|
|
ho.orth \
|
|
|
|
hr.orth \
|
|
|
|
hu.orth \
|
|
|
|
hy.orth \
|
|
|
|
ia.orth \
|
|
|
|
ig.orth \
|
|
|
|
id.orth \
|
|
|
|
ie.orth \
|
|
|
|
ik.orth \
|
|
|
|
io.orth \
|
|
|
|
is.orth \
|
|
|
|
it.orth \
|
|
|
|
iu.orth \
|
|
|
|
ja.orth \
|
|
|
|
ka.orth \
|
|
|
|
kaa.orth \
|
|
|
|
ki.orth \
|
|
|
|
kk.orth \
|
|
|
|
kl.orth \
|
|
|
|
km.orth \
|
|
|
|
kn.orth \
|
|
|
|
ko.orth \
|
|
|
|
kok.orth \
|
|
|
|
ks.orth \
|
|
|
|
ku_am.orth \
|
|
|
|
ku_ir.orth \
|
|
|
|
kum.orth \
|
|
|
|
kv.orth \
|
|
|
|
kw.orth \
|
|
|
|
ky.orth \
|
|
|
|
la.orth \
|
|
|
|
lb.orth \
|
|
|
|
lez.orth \
|
|
|
|
ln.orth \
|
|
|
|
lo.orth \
|
|
|
|
lt.orth \
|
|
|
|
lv.orth \
|
|
|
|
mg.orth \
|
|
|
|
mh.orth \
|
|
|
|
mi.orth \
|
|
|
|
mk.orth \
|
|
|
|
ml.orth \
|
|
|
|
mn_cn.orth \
|
|
|
|
mo.orth \
|
|
|
|
mr.orth \
|
|
|
|
mt.orth \
|
|
|
|
my.orth \
|
|
|
|
nb.orth \
|
|
|
|
nds.orth \
|
|
|
|
ne.orth \
|
|
|
|
nl.orth \
|
|
|
|
nn.orth \
|
|
|
|
no.orth \
|
|
|
|
nr.orth \
|
|
|
|
nso.orth \
|
|
|
|
ny.orth \
|
|
|
|
oc.orth \
|
|
|
|
om.orth \
|
|
|
|
or.orth \
|
|
|
|
os.orth \
|
2009-05-07 23:31:11 +02:00
|
|
|
pa.orth \
|
2009-03-19 00:28:52 +01:00
|
|
|
pl.orth \
|
|
|
|
ps_af.orth \
|
|
|
|
ps_pk.orth \
|
|
|
|
pt.orth \
|
|
|
|
rm.orth \
|
|
|
|
ro.orth \
|
|
|
|
ru.orth \
|
|
|
|
sa.orth \
|
|
|
|
sah.orth \
|
|
|
|
sco.orth \
|
|
|
|
se.orth \
|
|
|
|
sel.orth \
|
|
|
|
sh.orth \
|
|
|
|
shs.orth \
|
|
|
|
si.orth \
|
|
|
|
sk.orth \
|
|
|
|
sl.orth \
|
|
|
|
sm.orth \
|
|
|
|
sma.orth \
|
|
|
|
smj.orth \
|
|
|
|
smn.orth \
|
|
|
|
sms.orth \
|
|
|
|
so.orth \
|
|
|
|
sq.orth \
|
|
|
|
sr.orth \
|
|
|
|
ss.orth \
|
|
|
|
st.orth \
|
|
|
|
sv.orth \
|
|
|
|
sw.orth \
|
|
|
|
syr.orth \
|
|
|
|
ta.orth \
|
|
|
|
te.orth \
|
|
|
|
tg.orth \
|
|
|
|
th.orth \
|
|
|
|
ti_er.orth \
|
|
|
|
ti_et.orth \
|
|
|
|
tig.orth \
|
|
|
|
tk.orth \
|
|
|
|
tl.orth \
|
|
|
|
tn.orth \
|
|
|
|
to.orth \
|
|
|
|
tr.orth \
|
|
|
|
ts.orth \
|
|
|
|
tt.orth \
|
|
|
|
tw.orth \
|
|
|
|
tyv.orth \
|
|
|
|
ug.orth \
|
|
|
|
uk.orth \
|
|
|
|
ur.orth \
|
|
|
|
uz.orth \
|
|
|
|
ve.orth \
|
|
|
|
vi.orth \
|
|
|
|
vo.orth \
|
|
|
|
vot.orth \
|
|
|
|
wa.orth \
|
|
|
|
wen.orth \
|
|
|
|
wo.orth \
|
|
|
|
xh.orth \
|
|
|
|
yap.orth \
|
|
|
|
yi.orth \
|
|
|
|
yo.orth \
|
|
|
|
zh_cn.orth \
|
|
|
|
zh_hk.orth \
|
|
|
|
zh_mo.orth \
|
|
|
|
zh_sg.orth \
|
|
|
|
zh_tw.orth \
|
|
|
|
zu.orth \
|
|
|
|
ak.orth \
|
|
|
|
an.orth \
|
|
|
|
ber_dz.orth \
|
|
|
|
ber_ma.orth \
|
|
|
|
byn.orth \
|
|
|
|
crh.orth \
|
|
|
|
csb.orth \
|
|
|
|
dv.orth \
|
|
|
|
ee.orth \
|
|
|
|
fat.orth \
|
|
|
|
fil.orth \
|
|
|
|
hne.orth \
|
|
|
|
hsb.orth \
|
|
|
|
ht.orth \
|
|
|
|
hz.orth \
|
|
|
|
ii.orth \
|
|
|
|
jv.orth \
|
|
|
|
kab.orth \
|
|
|
|
kj.orth \
|
|
|
|
kr.orth \
|
|
|
|
ku_iq.orth \
|
|
|
|
ku_tr.orth \
|
|
|
|
kwm.orth \
|
|
|
|
lg.orth \
|
|
|
|
li.orth \
|
|
|
|
mai.orth \
|
|
|
|
mn_mn.orth \
|
|
|
|
ms.orth \
|
|
|
|
na.orth \
|
|
|
|
ng.orth \
|
|
|
|
nv.orth \
|
|
|
|
ota.orth \
|
|
|
|
pa_pk.orth \
|
|
|
|
pap_an.orth \
|
|
|
|
pap_aw.orth \
|
|
|
|
qu.orth \
|
2013-08-29 10:12:45 +02:00
|
|
|
quz.orth \
|
2009-03-19 00:28:52 +01:00
|
|
|
rn.orth \
|
|
|
|
rw.orth \
|
|
|
|
sc.orth \
|
|
|
|
sd.orth \
|
|
|
|
sg.orth \
|
|
|
|
sid.orth \
|
|
|
|
sn.orth \
|
|
|
|
su.orth \
|
|
|
|
ty.orth \
|
|
|
|
wal.orth \
|
2009-05-07 23:31:11 +02:00
|
|
|
za.orth \
|
2012-02-21 07:11:30 +01:00
|
|
|
lah.orth \
|
2012-02-23 12:12:06 +01:00
|
|
|
nqo.orth \
|
|
|
|
brx.orth \
|
2012-02-24 08:43:14 +01:00
|
|
|
sat.orth \
|
2012-02-24 08:50:14 +01:00
|
|
|
doi.orth \
|
2017-08-01 11:50:55 +02:00
|
|
|
mni.orth \
|
2017-08-22 13:37:30 +02:00
|
|
|
und_zsye.orth \
|
2022-12-08 07:54:26 +01:00
|
|
|
und_zmth.orth \
|
|
|
|
anp.orth \
|
|
|
|
bhb.orth \
|
|
|
|
hif.orth \
|
|
|
|
mag.orth \
|
|
|
|
raj.orth \
|
Add {agr,ayc,bem,ckb,cmn,dsb,hak,lij,lzh,mfe,mhr,miq,mjw,mnw,nan,nhn,niu,rif,sgs,shn,szl,tcy,tpi,unm,wae,yue,yuw}.orth
Resolves: https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/341
Also move {anp,bhb,hif,mag,raj,the}.orth which were recently added
to the proper insert position in fc-lang/{Makefile.am,meson.build}
2022-12-02 12:36:55 +01:00
|
|
|
the.orth \
|
|
|
|
agr.orth \
|
|
|
|
ayc.orth \
|
|
|
|
bem.orth \
|
|
|
|
ckb.orth \
|
|
|
|
cmn.orth \
|
|
|
|
dsb.orth \
|
|
|
|
hak.orth \
|
|
|
|
lij.orth \
|
|
|
|
lzh.orth \
|
|
|
|
mfe.orth \
|
|
|
|
mhr.orth \
|
|
|
|
miq.orth \
|
|
|
|
mjw.orth \
|
|
|
|
mnw.orth \
|
|
|
|
nan.orth \
|
|
|
|
nhn.orth \
|
|
|
|
niu.orth \
|
|
|
|
rif.orth \
|
|
|
|
sgs.orth \
|
|
|
|
shn.orth \
|
|
|
|
szl.orth \
|
|
|
|
tcy.orth \
|
|
|
|
tpi.orth \
|
|
|
|
unm.orth \
|
|
|
|
wae.orth \
|
|
|
|
yue.orth \
|
|
|
|
yuw.orth
|
2009-03-19 00:28:52 +01:00
|
|
|
# ^-------------- Add new orth files here
|
2012-10-06 23:52:39 +02:00
|
|
|
|
2019-07-26 09:24:16 +02:00
|
|
|
BUILT_SOURCES += $(top_builddir)/conf.d/35-lang-normalize.conf
|
|
|
|
|
|
|
|
DISTCLEANFILES = $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
$(top_builddir)/conf.d/35-lang-normalize.conf: $(ORTH) Makefile
|
2020-05-19 07:12:15 +02:00
|
|
|
$(AM_V_GEN) echo "<?xml version=\"1.0\"?>" > $@ && \
|
|
|
|
echo "<!DOCTYPE fontconfig SYSTEM \"urn:fontconfig:fonts.dtd\">" >> $@ && \
|
|
|
|
echo "<fontconfig>" >> $@ && \
|
2019-07-26 09:24:16 +02:00
|
|
|
for i in `echo $(ORTH) | sed -e 's/ /\n/g' | grep -v _ | sed -e 's/\.orth$$//g' | sort`; do \
|
|
|
|
echo " <!-- $$i* -> $$i -->" >> $@; \
|
|
|
|
echo " <match>" >> $@; \
|
|
|
|
echo " <test name=\"lang\" compare=\"contains\"><string>$$i</string></test>" >> $@; \
|
|
|
|
echo " <edit name=\"lang\" mode=\"assign\" binding=\"same\"><string>$$i</string></edit>" >> $@; \
|
|
|
|
echo " </match>" >> $@; \
|
|
|
|
done && \
|
|
|
|
echo "</fontconfig>" >> $@
|
|
|
|
|
2012-10-06 23:52:39 +02:00
|
|
|
-include $(top_srcdir)/git.mk
|