bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ffmpeg documentation no longer builds after Texinfo 7.1 (due to --in


From: Patrice Dumas
Subject: Re: ffmpeg documentation no longer builds after Texinfo 7.1 (due to --init-file=)
Date: Sat, 27 Jan 2024 16:26:10 +0100

Hello,

On Sun, Nov 05, 2023 at 12:13:00PM +0100, Arsen Arsenović wrote:
> 
> Patrice Dumas <pertusus@free.fr> writes:
> 
> > my $texinfo_version = texinfo_get_conf('PACKAGE_VERSION');
> > $texinfo_version =~ s/\+dev$//;
> > # determine if texinfo is at least version 6.8
> > my $program_version_num = version->declare($texinfo_version)->numify;
> 
> Oh, interesting.  On my system, I'm using texinfo built from master, and
> it completely lacks PACKAGE_VERSION!  (if I rebuild from releases/7.1,
> it's present).  It looks like it got removed in
> 6a1a78b941a832033b8939ab4cdce1646dd56904.

I have added a new interface in the version in development to get the
PACKAGE_VERSION and other PACKAGE* variables as set by configure:

my $texinfo_version = Texinfo::Common::get_constant('PACKAGE_AND_VERSION');

However, since you need to know the version to know if you can call that
function, this is probably be useful for you only when you do not
support versions older than the first version with that function anymore.

-- 
Pat



reply via email to

[Prev in Thread] Current Thread [Next in Thread]