forked from pool/texinfo
C.UTF-8, so a UTF-8 locale is ensured
- Add dependencies for texi2dvi and texindex. Both programs had
missing or non-explicit dependencies on various shell utilities.
Furthermore, texi2dvi has execution statements for dvipdfmx or
other equivalent programs, dvips, biber and thumbpdf, but the spec
didn't require these programs
- Use distribution versions of perl-libintl-perl and
perl-Unicode-EastAsianWidth over the versions included in
texinfo's source tree
- Remove dependency on perl-gettext. It's not required anymore,
because gettext is not pulled in by perl-libintl-perl
- Add missing build dependency on gawk
- Add missing test dependencies for the parser tests, which would
be skipped otherwise
- Add explicit dependency on the perl module Unicode::Normalize
It's provided by perl, but if it's missing, it wouldn't fail the
configuration, but introduce erroneous behaviour, so an explicit
dependency doesn't hurt
- Update to version 7.2 (23 December 2024)
* Build
. "make install" installs files for texi2any under $datadir/texi2any, not
$datadir/texinfo.
* texinfo.tex
. use @ as the escape character in all index files. this requires
new enough texi2dvi (Texinfo 6.7, 2019) for index files to be
properly processed.
OBS-URL: https://build.opensuse.org/package/show/Publishing/texinfo?expand=0&rev=138
47 lines
1.6 KiB
Diff
47 lines
1.6 KiB
Diff
From 01d33e3b1121906f57f612ade39f6fa26e288760 Mon Sep 17 00:00:00 2001
|
|
From: Jan Fooken <jan.fooken@suse.com>
|
|
Date: Tue, 2 Sep 2025 10:31:31 +0200
|
|
Subject: [PATCH] Fix precedence problems for Perl 5.42
|
|
|
|
The test suite doesn't run successfully under Perl 5.42, because Perl
|
|
rightfully flags possible precedence precedence problems in two string
|
|
equality checks. This commit fixes these problems by replacing a
|
|
negated equal check with a non-equal check.
|
|
|
|
This patch was first introduced by Dominique Leuenberger (dimstar)
|
|
during the upgrade to Perl 5.42 and updated to apply to the texinfo-7.2
|
|
---
|
|
tp/Texinfo/Convert/Converter.pm | 2 +-
|
|
tp/Texinfo/Convert/LaTeX.pm | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/tp/Texinfo/Convert/Converter.pm b/tp/Texinfo/Convert/Converter.pm
|
|
index 5e14a9e086..89e623be79 100644
|
|
--- a/tp/Texinfo/Convert/Converter.pm
|
|
+++ b/tp/Texinfo/Convert/Converter.pm
|
|
@@ -386,7 +386,7 @@ sub output_tree($$)
|
|
|
|
my $fh;
|
|
my $encoded_output_file;
|
|
- if (! $output_file eq '') {
|
|
+ if ($output_file ne '') {
|
|
my $path_encoding;
|
|
($encoded_output_file, $path_encoding)
|
|
= $self->encoded_output_file_name($output_file);
|
|
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
|
|
index ae947d1e5e..f4ba076602 100644
|
|
--- a/tp/Texinfo/Convert/LaTeX.pm
|
|
+++ b/tp/Texinfo/Convert/LaTeX.pm
|
|
@@ -1085,7 +1085,7 @@ sub output($$)
|
|
|
|
my $fh;
|
|
my $encoded_output_file;
|
|
- if (! $output_file eq '') {
|
|
+ if ($output_file ne '') {
|
|
my $path_encoding;
|
|
($encoded_output_file, $path_encoding)
|
|
= $self->encoded_output_file_name($output_file);
|
|
--
|
|
2.51.0
|
|
|