./textproc/po4a, Tool for using gettext where it was not intended to be used

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.73nb4, Package name: po4a-0.73nb4, Maintainer: pkgsrc-users

The po4a (po for anything) project goal is to ease translations (and
more interestingly, the maintenance of translations) using gettext
tools on areas where they were not expected like documentation.

In po4a each documentation format is handled by a module. For now,
there exist modules for the pod format (in which the perl documentation
is written), the good old man pages, and the documentation of the
kernel compilation options. Some other modules are underway, like
for sgml, xml, or texinfo.


Required to run:
[textproc/p5-Text-WrapI18N] [textproc/docbook-xsl] [textproc/libxslt] [textproc/p5-SGMLS] [lang/perl5] [devel/p5-gettext] [devel/gettext-tools] [devel/p5-Term-ReadKey] [textproc/p5-YAML-Tiny] [print/kpathsea] [textproc/p5-Pod-Parser] [print/tex-latex] [textproc/p5-Unicode-LineBreak] [devel/p5-PerlIO-utf8_strict]

Required to build:
[devel/p5-Module-Build]

Master sites:

Filesize: 4072.318 KB

Version history: (Expand)


CVS history: (Expand)


   2024-03-02 21:59:03 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
po4a: updated to 0.71

        ___  _____ _
__   __/ _ \|___  / |
\ \ / / | | |  / /| |             Happy leap day
 \ V /| |_| | / / | |
  \_/  \___(_)_/  |_|             (released on 2024/02/29)

po4a main script:
 * Fix the parsing of nested simple and double quotes mixed with escaped
   spaces.
 * Properly parse config files iteratively redefining the same alias to
   enrich it.
 * Don't eat up quotes around parameters containing spaces, as they are needed
   later on when passing parameters to msgmerge and friends.

Gemtext:
 * New module

Documentation:
 * Fix many typos introduced in previous release [Golubev Alexander
   and Rafael Fontenelle].

General:
 * Better error messages on encoding errors. It remains fragile, but at least we
   try to display an error message.

Translations:
 * Updated: Chinese (simplified), thanks Wenbin Lv.
 * Updated: Esperanto, thanks Marco Ciampa.
 * Updated: French, thanks brandelune.
 * Updated: German, thanks Helge Kreutzmann.
 * Updated: Italian, thanks Marco Ciampa.
 * Updated: Japanese, thanks gemmaro.
 * Updated: Norwegian Bokmål, thanks Petter Reinholdtsen.
 * Updated: Portuguese (Brazil), thanks Rafael Fontenelle.
 * Updated: Russian, thanks Golubev Alexander.
 * Updated: Spanish, thanks gallegonovato.
 * Updated: Ukrainian, thanks Yuri Chornoivan (українська) and \ 
Сергій.

   2024-02-09 13:18:08 by Jonathan Perkin | Files touched by this commit (4)
Log message:
po4a: Various build and test fixes.
   2024-02-03 19:58:08 by Amitai Schleier | Files touched by this commit (3)
Log message:
po4a: add missing DEPENDS. Bump PKGREVISION.
   2024-02-03 06:33:10 by Amitai Schleier | Files touched by this commit (3)
Log message:
po4a: restore Try-avoiding patch lost in previous.

Bump PKGREVISION.
   2024-01-29 17:08:21 by Adam Ciarcinski | Files touched by this commit (9) | Package updated
Log message:
po4a: updated to 0.70

0.70
The PerlIO cleanup release

Major cleanup:

Greatly simplify the code by using PerlIO instead of messing up with encodings \ 
manually.
This is a very intrusive change, and even if all tests of our comprehensive \ 
suite pass, I still expect issues with this on some corner cases, such as \ 
projects not using UTF-8 but a mixture of encodings. Please report any issue, \ 
and accept my apologies.
This greatly simplifies the code, enabling future maintenance.
Asciidoc:

Correctly handle lines that start with a dot in a paragraph. Thanks Jean-Noël \ 
Avila for the pull request.
Labels of cross-references were not translatable. Thanks Jean-Noël Avila for \ 
the pull request.
Fix a bug in the handling of the 'id' attribute. Thanks Jean-Noël Avila for the \ 
pull request.
Process multi-line attributes in legacy and asciidoctor mode. Thanks Jean-Noël \ 
Avila for the pull request.
Process transparent index entries in their own segmentst. Thanks Jean-Noël \ 
Avila for the pull request.
Keep original formating. Thanks suddenfall for the feedback, and Jean-Noël \ 
Avila for the fixes.
Fix a bug in handling of bold text starting a list item. Thanks Jean-Noël Avila \ 
for the pull request.
Fix handling of linebreaks in lists). Thanks Jean-Noël Avila for the pull request.
Tex:

Allow verbatim environment declaration without trailing space. Thanks Mayeul \ 
Cantan for the report & the fix.
Informative error message when file not found for \input, indicating how to skip \ 
this include [mquinson].
Texinfo:

Translate partial menu node names [Apteryks].
Markdown:

Treat link reference definitions as no-wrap [gemmaro].
Don't emit a warning when provided an empty tag list in YFM [Martin].
YAML:

Verbosely fail on inline lists and dictionaries, as YAML::Tiny does not handle \ 
them as lists or dicts anyway. Do quote list-looking strings [Martin & \ 
gemmaro].
General:

Don't fail on empty po files, e.g. adoc files containing only includes. Thanks \ 
Suddenfall for the report & fix.
Fix an encoding error in one file which resulted in build errors with new \ 
gettext versions. Thanks to Jan Palus for the issue report and the fix.
Use the semantic of Perl v5.12 (released in 2012) instead of the previously \ 
requested one (v5.6 release in 2000). This is to request the unicode_strings \ 
feature, making the utf strings more predictable.
Accept BOM markers at the beginning of files [Mt]
Specify in the README.md and in all source files that the license is GPL2+, not \ 
GPL2-only [Mt]
Documentation:

Improve the description of the internals, in the hope that potential \ 
contributors will become proficient quickly and help us. [Mt]
Revamp the po4a(7) document now that the po4a-* scripts are deprecated. Explain \ 
why they are, and don't mention them in the described workflow. [Mt]
po4a main script (the deprecated po4a-* scripts are still buggy):

Deal properly with CRLF files coming from windows.
Allow to escape spaces in file names, or to quote them.
Do not pass empty PO files to msgmerge, as it stumbles on such things when the \ 
POT file has UTF chars in the msgids. [Mt]
po4a-translate:

Remove the wrap-po option that was not used internally.
po4a-updatepo:

Do not pass empty PO files to msgmerge, as it stumbles on such things when the \ 
POT file has UTF chars in the msgids. [Mt]
Build scripts:

Use xmlcatalog(1) to find DocBook XSL file.
Translations:

Updated: Chinese (traditional), thanks Haowei Hsu.
Updated: French, thanks Jérémie Tarot, brandelune and Jean-Baptiste Holcroft.
Updated: Georgian, thanks Temuri Doghonadze.
Updated: German, thanks Helge Kreutzmann.
Updated: Italian, thanks Marco Ciampa.
Updated: Japanese, thanks gemmaro.
Updated: Norwegian Bokmål, thanks Allan Nordhøy and Petter Reinholdtsen.
Updated: Portuguese, thanks Silvério Santos.
Updated: Russian, thanks vrbtm, Виталий Наумов and Golubev Alexander.
Updated: Serbian (cyrillic), thanks Ivan Pesic.
Updated: Spanish, thanks Francisco Serrador, ignotus and gallegonovato.
   2023-11-08 14:21:43 by Thomas Klausner | Files touched by this commit (2377)
Log message:
*: recursive bump for icu 74.1
   2023-07-06 11:43:03 by Thomas Klausner | Files touched by this commit (2483)
Log message:
*: recursive bump for perl 5.38
   2023-07-03 23:16:53 by Thomas Klausner | Files touched by this commit (2)
Log message:
po4a: fix build with gettext 0.22

Using patch from upstream bug tracker