NetworkManager/po
Thomas Haller c34d3a7c10
build: don't "update-po" during make dist
Instead, hack gettext's Makefile.

gettext has an issue with parallel make. See [1] and [2].
Reproduce with:

  git reset --hard &&
    git clean -fdx &&
    NOCONFIGURE=yes ./autogen.sh &&
    ./configure --enable-gtk-doc --enable-introspection &&
    make -j distcheck V=1

We worked around this by setting "DIST_DEPENDS_ON_UPDATE_PO = yes",
however that (obviously) results in regenerating source files during
dist. "Source files" in the sense that the po files are commited to git
and get distributed in the release. Doing this is very ugly.

In particular it's ugly, because `make -C po update-po` is not reproducible
and the output depends on the current time (*had one job*).
Otherwise, we could just regenerate the files before doing a release.

This means, running "release.sh" script ends up with a dirty tree
afterwards. Also, the distributed po files are not the ones from the source
tree when we did the release. Also, since "release.sh rc1" does two distributions
(once for the rc1 and once for the next devel snapshot), the commit for the
second distribution will have a large diff for the po files.

This reverts commit 978d8eb699 ('po: make dist depend on update-po')
and hacks around the problem.

[1] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1094#note_1435313
[2] https://lists.gnu.org/archive/html/bug-gettext/2022-06/msg00022.html

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1405
(cherry picked from commit 7ee0da3eaf)
2022-10-03 17:53:36 +02:00
..
as.po po: make update-po 2022-08-11 19:54:42 +00:00
be@latin.po po: make update-po 2022-08-11 19:54:42 +00:00
bg.po po: make update-po 2022-08-11 19:54:42 +00:00
bn_IN.po po: make update-po 2022-08-11 19:54:42 +00:00
bs.po po: make update-po 2022-08-11 19:54:42 +00:00
ca.po po: make update-po 2022-08-11 19:54:42 +00:00
ChangeLog po: drop Changelog file 2018-02-07 13:32:01 +01:00
cs.po po: make update-po 2022-08-11 19:54:42 +00:00
da.po po: make update-po 2022-08-11 19:54:42 +00:00
de.po po: make update-po 2022-08-11 19:54:42 +00:00
dz.po po: make update-po 2022-08-11 19:54:42 +00:00
el.po po: make update-po 2022-08-11 19:54:42 +00:00
en_CA.po po: make update-po 2022-08-11 19:54:42 +00:00
en_GB.po po: make update-po 2022-08-11 19:54:42 +00:00
eo.po po: make update-po 2022-08-11 19:54:42 +00:00
es.po po: make update-po 2022-08-11 19:54:42 +00:00
et.po po: make update-po 2022-08-11 19:54:42 +00:00
eu.po po: make update-po 2022-08-11 19:54:42 +00:00
fi.po po: make update-po 2022-08-11 19:54:42 +00:00
fr.po po: make update-po 2022-08-11 19:54:42 +00:00
gd.po po: make update-po 2022-08-11 19:54:42 +00:00
gl.po po: make update-po 2022-08-11 19:54:42 +00:00
gu.po po: make update-po 2022-08-11 19:54:42 +00:00
he.po po: make update-po 2022-08-11 19:54:42 +00:00
hi.po po: make update-po 2022-08-11 19:54:42 +00:00
hr.po po: make update-po 2022-08-11 19:54:42 +00:00
hu.po po: make update-po 2022-08-11 19:54:42 +00:00
id.po po: make update-po 2022-08-11 19:54:42 +00:00
it.po po: make update-po 2022-08-11 19:54:42 +00:00
ja.po po: make update-po 2022-08-11 19:54:42 +00:00
ka.po po: make update-po 2022-08-11 19:54:42 +00:00
kn.po po: make update-po 2022-08-11 19:54:42 +00:00
ko.po po: make update-po 2022-08-11 19:54:42 +00:00
ku.po po: make update-po 2022-08-11 19:54:42 +00:00
LINGUAS po: add Romanian (ro) translation 2022-03-16 21:37:20 +01:00
lt.po po: make update-po 2022-08-11 19:54:42 +00:00
lv.po po: make update-po 2022-08-11 19:54:42 +00:00
Makevars build: don't "update-po" during make dist 2022-10-03 17:53:36 +02:00
meson.build all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
mk.po po: make update-po 2022-08-11 19:54:42 +00:00
ml.po po: make update-po 2022-08-11 19:54:42 +00:00
mr.po po: make update-po 2022-08-11 19:54:42 +00:00
nb.po po: make update-po 2022-08-11 19:54:42 +00:00
ne.po po: make update-po 2022-08-11 19:54:42 +00:00
nl.po po: make update-po 2022-08-11 19:54:42 +00:00
oc.po po: make update-po 2022-08-11 19:54:42 +00:00
or.po po: make update-po 2022-08-11 19:54:42 +00:00
pa.po po: make update-po 2022-08-11 19:54:42 +00:00
pl.po po: make update-po 2022-08-11 19:54:42 +00:00
POTFILES.in libnm: fix adding new file "nm-conn-utils.c" to translation 2022-07-22 13:45:17 +02:00
POTFILES.skip nm-sudo: rename to nm-priv-helper 2022-01-11 21:46:55 +01:00
pt.po po: make update-po 2022-08-11 19:54:42 +00:00
pt_BR.po po: make update-po 2022-08-11 19:54:42 +00:00
ro.po po: make update-po 2022-08-11 19:54:42 +00:00
ru.po po: make update-po 2022-08-11 19:54:42 +00:00
rw.po po: make update-po 2022-08-11 19:54:42 +00:00
sk.po po: make update-po 2022-08-11 19:54:42 +00:00
sl.po po: make update-po 2022-08-11 19:54:42 +00:00
sq.po po: make update-po 2022-08-11 19:54:42 +00:00
sr.po po: make update-po 2022-08-11 19:54:42 +00:00
sr@latin.po po: make update-po 2022-08-11 19:54:42 +00:00
sv.po po: make update-po 2022-08-11 19:54:42 +00:00
ta.po po: make update-po 2022-08-11 19:54:42 +00:00
te.po po: make update-po 2022-08-11 19:54:42 +00:00
th.po po: make update-po 2022-08-11 19:54:42 +00:00
tr.po po: make update-po 2022-08-11 19:54:42 +00:00
uk.po po: make update-po 2022-08-11 19:54:42 +00:00
vi.po po: make update-po 2022-08-11 19:54:42 +00:00
wa.po po: make update-po 2022-08-11 19:54:42 +00:00
zh_CN.po po: make update-po 2022-08-11 19:54:42 +00:00
zh_HK.po po: make update-po 2022-08-11 19:54:42 +00:00
zh_TW.po po: make update-po 2022-08-11 19:54:42 +00:00