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
5 changed files with 70 additions and 18 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,68 @@
-------------------------------------------------------------------
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>

View File

@@ -1,11 +0,0 @@
--- lib/Locale/Po4a/TransTractor.pm.orig 2024-07-02 11:29:25.396972130 +0000
+++ lib/Locale/Po4a/TransTractor.pm 2024-07-02 11:29:48.916941692 +0000
@@ -5,6 +5,8 @@ require Exporter;
package Locale::Po4a::TransTractor;
use DynaLoader;
+sub import {};
+
use 5.16.0;
use strict;
use warnings;

View File

@@ -17,7 +17,7 @@
Name: po4a
Version: 0.73
Version: 0.74
Release: 0
Summary: Framework to translate documentation and other materials
License: GPL-2.0-or-later
@@ -28,8 +28,6 @@ Group: Development/Tools/Other
%endif
URL: https://po4a.org/
Source: https://github.com/mquinson/po4a/releases/download/v%{version}/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM Workaround for build error with perl 5.40, see https://github.com/mquinson/po4a/issues/508
Patch0: po4a.diff
%if "%{_vendor}" == "debbuild"
BuildRequires: deb-perl-macros
@@ -112,7 +110,6 @@ po4a supports currently the following formats:
%prep
%setup -q
%patch -P0
%build
perl Build.PL installdirs=vendor
@@ -155,6 +152,7 @@ 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_Hant