Skip to content

Commit dd5099f

Browse files
committed
Update po4a -> 0.67
1 parent 88b54ca commit dd5099f

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# po4a Version 0.57 in ubuntu 20 do not write translated adoc as
2-
# UTF-8. Need at least version 0.62 to fix it. Using version 0.66 to
3-
# also get fix for empty asciidoc table cells.
2+
# UTF-8. Need at least version 0.62 to fix it.
3+
# Motivations to update:
4+
# 0.66 to also get fix for empty asciidoc table cells.
5+
# 0.67 for hard newlines ( +\n) in paragraphs
46
name: Build CI
57

68
on:
@@ -28,7 +30,7 @@ jobs:
2830
run: |
2931
./scripts/travis-install-build-deps.sh
3032
sudo apt-get install -y eatmydata
31-
curl -O http://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
33+
curl -O https://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
3234
sudo apt install ./po4a_0.67-2_all.deb
3335
cd src
3436
eatmydata ./autogen.sh
@@ -53,7 +55,7 @@ jobs:
5355
run: |
5456
./scripts/travis-install-build-deps.sh
5557
sudo apt-get install -y eatmydata
56-
curl -O http://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
58+
curl -O https://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
5759
sudo apt install ./po4a_0.67-2_all.deb
5860
cd src
5961
eatmydata ./autogen.sh
@@ -80,7 +82,7 @@ jobs:
8082
git fetch --recurse-submodules=no https://github.com/linuxcnc/linuxcnc refs/tags/*:refs/tags/*
8183
./scripts/travis-install-build-deps.sh
8284
sudo apt-get install -y eatmydata
83-
curl -O http://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
85+
curl -O https://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
8486
sudo apt install ./po4a_0.67-2_all.deb
8587
codename=$(lsb_release -cs)
8688
dch --maintmaint --distribution $codename "GitHub test package."

src/configure.ac

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,13 +1193,14 @@ if ( test "$BUILD_DOCS" = "yes" && test "$BUILD_DOCS_TRANSLATED_EXPLICIT" != "no
11931193
# Version 0.62 correctly write UTF-8 into translated adocs
11941194
# Version 0.65 support grouping several doc files into different POTs
11951195
# Version 0.66 handle empty table cells in asciidoc
1196+
# Version 0.67 handle enforced linbreaks
11961197
V=$(po4a --version| awk '/po4a version/ {print $3}')
1197-
if dpkg --compare-versions 0.62 gt "$V"; then
1198+
if dpkg --compare-versions 0.67 gt "$V"; then
11981199
if test "$BUILD_DOCS_TRANSLATED_EXPLICIT" = "not_set"
11991200
then
1200-
AC_MSG_WARN([po4a version too old, need version 0.62 or newer, not building translated docs])
1201+
AC_MSG_WARN([po4a version too old, need version 0.67 or newer, not building translated docs])
12011202
else
1202-
AC_MSG_ERROR([po4a version too old, need version 0.62 or newer, not building translated docs])
1203+
AC_MSG_ERROR([po4a version too old, need version 0.67 or newer, not building translated docs])
12031204
fi
12041205
BUILD_DOCS_TRANSLATED=no
12051206
fi

0 commit comments

Comments
 (0)