12 Commits

Author SHA256 Message Date
ef021587c4 Accepting request 1295285 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1295285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/po4a?expand=0&rev=36
2025-07-25 15:03:49 +00:00
ecad3a2ff7 Accepting request 1294897 from home:elchevive:branches:devel:languages:perl
- Update to version 0.74
- remove upstreamed patches (gettext-0.25-tests.patch and po4a.diff)

OBS-URL: https://build.opensuse.org/request/show/1294897
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/po4a?expand=0&rev=91
2025-07-23 11:21:15 +00:00
e24895d79c Accepting request 1291881 from devel:languages:perl
-  Fix test to handle trailing spaces with gettext-runtime 0.25
   * gettext-0.25-tests.patch

OBS-URL: https://build.opensuse.org/request/show/1291881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/po4a?expand=0&rev=35
2025-07-15 14:42:20 +00:00
b4ce94cb12 fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/po4a?expand=0&rev=89
2025-07-11 08:51:37 +00:00
823290b898 Accepting request 1291877 from home:anag_factory:Rebuild0
-  Fix test to handle trailing spaces with gettext-runtime 0.25

OBS-URL: https://build.opensuse.org/request/show/1291877
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/po4a?expand=0&rev=88
2025-07-11 08:41:57 +00:00
8214186608 Accepting request 1268669 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1268669
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/po4a?expand=0&rev=34
2025-04-14 10:55:35 +00:00
3324f00e62 Accepting request 1268485 from home:epaolantonio:branches:devel:languages:perl
- Update licence tag to GPL-2.0-or-later to match the
  actual package licence.

OBS-URL: https://build.opensuse.org/request/show/1268485
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/po4a?expand=0&rev=86
2025-04-11 16:33:05 +00:00
9102d7669a Accepting request 1184865 from devel:languages:perl
- Add a workaround to fix building against perl-5.40.0 which added
  a warning for accidental usage of UNIVERSAL::import()
  * new patch: po4a.diff

OBS-URL: https://build.opensuse.org/request/show/1184865
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/po4a?expand=0&rev=33
2024-07-02 16:14:28 +00:00
5a1b413cb5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/po4a?expand=0&rev=84 2024-07-02 12:46:20 +00:00
5325aefc21 Accepting request 1184858 from home:mlschroe:branches:devel:languages:perl
Add a workaround to fix building against perl-5.40.0

OBS-URL: https://build.opensuse.org/request/show/1184858
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/po4a?expand=0&rev=83
2024-07-02 12:45:22 +00:00
c3868e0ced Accepting request 1183661 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1183661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/po4a?expand=0&rev=32
2024-06-29 13:16:23 +00:00
61e81fcbd1 Accepting request 1182660 from home:dimstar:Factory
update to latet 0.73; sadly does not yet fix the issues with Perl 5.40

OBS-URL: https://build.opensuse.org/request/show/1182660
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/po4a?expand=0&rev=81
2024-06-27 17:27:05 +00:00
4 changed files with 138 additions and 7 deletions

Binary file not shown.

3
po4a-0.74.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25fc323f2ba37bbd48c3af0ebf49952644b0e468261f98633e91219a838fe7c2
size 5907018

View File

@@ -1,3 +1,134 @@
-------------------------------------------------------------------
Mon Jul 21 19:12:56 UTC 2025 - Luiz Fernando Ranghetti <elchevive@opensuse.org>
- Update to version 0.74:
General:
* Fix a failure with Perl 5.40.
* Add --target-lang option to po4a [jnavila]
* Include bash_completion files (GitHub's #542) [Fat-Zer]
Copy the share/bash-completion/completions/ files under /usr to use them.
Scripts:
* po4a-updatepo: remove --width as no localized file will ever be
generated (GitHub's #549) [Mt].
Asciidoc:
* Manage custom verbatim styles (Github's #548) [Jean-Noël Avila]
Markdown:
* Avoid searching for bullets in code blocks (GitHub's #550)
[Alexander Golubev].
* Ensure the parser avoids infinite loops, even when a document ends with an
incorrect number of backticks, leaving a code block incomplete (GitHub's
#558 and #560) [reported by Jibec, and fixed by gemmaro].
Org:
* New module (GitHub's #485) [gemmaro].
Pod:
* Add an announcement warning to the Pod module. (GitHub's #573) [gemmaro].
It is based on a deprecated Perl module that will disappear at some point.
SimplePod:
* New module (GitHub's #573), meant as a drop-in to the deprecated Pod [gemmaro].
We think that it is production-ready, even if it was never tested
in battlefield conditions, so bugs are expected in some cases.
Please help us improving it as it will become the only Pod module.
TeX:
* Fix read error of input/include files in TeX files (thanks Alex Karabanov)
* latex: Fix a failure when \input is surrounded with {curly braces}.
Thanks to Mayeul Cantan for the report and fix, and to Alex Karabanov
for the test case.
Texinfo:
* Allow spaces before line-breaking commands and fix some warnings
(GitHub's #497) [Alexander Golubev].
VimHelp:
* New module (GitHub's #525) [gemmaro].
* Allow for an optional Vim language specification in code blocks
(GitHub's #552) [Gemmaro].
Internal refactorings:
* Remove DynaLoader (GitHub's #532) [gemmaro].
* Improve the code when reading a non-UTF po file (GitHub's #538)
[Golubev Alexander].
- remove upstreamed patches (gettext-0.25-tests.patch and po4a.diff)
-------------------------------------------------------------------
Fri Jul 11 07:53:10 UTC 2025 - Ana Guerrero <ana.guerrero@suse.com>
- Fix test to handle trailing spaces with gettext-runtime 0.25
* gettext-0.25-tests.patch
-------------------------------------------------------------------
Thu Apr 10 20:17:56 UTC 2025 - Eugenio Paolantonio <eugenio.paolantonio@suse.com>
- Update licence tag to GPL-2.0-or-later to match the
actual package licence.
-------------------------------------------------------------------
Tue Jul 2 13:51:42 CEST 2024 - mls@suse.de
- Add a workaround to fix building against perl-5.40.0 which added
a warning for accidental usage of UNIVERSAL::import()
* new patch: po4a.diff
-------------------------------------------------------------------
Sat Jun 22 18:28:32 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 0.73:
+ Try to not fail when writing UTF po files with old Perl
versions.
+ Improve various error messages to help users debugging encoding
issues.
- Changes from version 0.72:
+ TransTractor:
- Remove one source of supirious error reports when writing
files.
+ Asciidoc:
- Support a cleanspaces option to remove extra spaces in
wrapped lines.
+ Man/Groff:
- Handle ~ as non-breaking space.
- Properly handle \c escape sequence in .TP parameters.
+ Markdown:
- Treat tables as verbatim paragraphs.
+ All scripts:
- Add an option -w/--width to rewrap text on an arbitrary
column.
+ po4a main script only:
- Fix the behavior of --translate-only.
+ Documentation:
- Fix typos.
- Kill outdated documentation on Pod parameters.
- Changes from version 0.71:
+ 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.
+ General:
- Better error messages on encoding errors. It remains fragile,
but at least we try to display an error message.
- Changes from version 0.70:
+ 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, expect
issues with this on some corner cases, such as projects not
using UTF-8 but a mixture of encodings.
-------------------------------------------------------------------
Mon Jan 16 07:06:48 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package po4a
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,10 +17,10 @@
Name: po4a
Version: 0.69
Version: 0.74
Release: 0
Summary: Framework to translate documentation and other materials
License: GPL-2.0-only
License: GPL-2.0-or-later
%if "%{_vendor}" == "debbuild"
Group: text
%else
@@ -152,8 +152,8 @@ rm -rf t/fmt-tex.t t/fmt/tex
%dir %{_mandir}/pt_BR
%dir %{_mandir}/ru
%dir %{_mandir}/sr_Cyrl
%dir %{_mandir}/ta
%dir %{_mandir}/uk
%dir %{_mandir}/zh_CHS
%dir %{_mandir}/zh_Hant
%changelog