OSDN Git Service

LDP: Support po4a 0.62
authorAkihiro Motoki <amotoki@gmail.com>
Thu, 8 Apr 2021 12:50:01 +0000 (21:50 +0900)
committerAkihiro Motoki <amotoki@gmail.com>
Fri, 9 Apr 2021 01:54:15 +0000 (10:54 +0900)
commite0d470275448c696a01225b0c2cfe013036e507a
tree59a87cc704c82cd6754dbddf173ec3dd3c4b1939
parent6e14c99f8c2efe3e0c7231e9f0bbd7e1ff9a5674
LDP: Support po4a 0.62

po4a 0.62 is available in Homebrew on macOS.
I noticed some points which does not work with po4a 0.62.

I see the following problems at least:

* '\c' syntax is not handled properly especially the next line
  starts with roff directive (e.g., .RI).
  I haven't found a solution thru po4a, so workaround.patch replaces
  such cases with equivalent syntax that po4a can treat properly.
* Addendum is not processed when "add_$lang" is placed after "opt:"
  in po4a configuration files. I confirmed that addendum is not
  processed using po4a --debug option. We can avoid this by placing
  "opt:" after "add_$lang" part.

I think they are bugs of po4a 0.62 but it would be nice if this
workaround works.
15 files changed:
manual/LDP_man-pages/po4a/aio/aio.cfg
manual/LDP_man-pages/po4a/charset/charset.cfg
manual/LDP_man-pages/po4a/intro/intro.cfg
manual/LDP_man-pages/po4a/ld/ld.cfg
manual/LDP_man-pages/po4a/man7/man7.cfg
manual/LDP_man-pages/po4a/math/math.cfg
manual/LDP_man-pages/po4a/regexp/regexp.cfg
manual/LDP_man-pages/po4a/rpc/rpc.cfg
manual/LDP_man-pages/po4a/socket/socket.cfg
manual/LDP_man-pages/po4a/special/special.cfg
manual/LDP_man-pages/po4a/stdio/stdio.cfg
manual/LDP_man-pages/po4a/stdlib/stdlib.cfg
manual/LDP_man-pages/po4a/time/time.cfg
manual/LDP_man-pages/po4a/unistd/unistd.cfg
manual/LDP_man-pages/workaround.patch