From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 118C547F89 for ; Mon, 6 Nov 2023 23:38:22 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 79B6268CA0A; Tue, 7 Nov 2023 01:38:20 +0200 (EET) Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id EBC1F68C1E2 for ; Tue, 7 Nov 2023 01:38:13 +0200 (EET) Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2c515527310so70409381fa.2 for ; Mon, 06 Nov 2023 15:38:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699313893; x=1699918693; darn=ffmpeg.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=pgEecKE8Zyy8GSBsA92CbqNM/5ACOCMeKYlYihx7NZY=; b=dqEcECYibLMj07qpFsC5UUqVdqijenNyxA6VAydUkwNSSoioLEb66UYMj5tTsvFoc8 RlQMAUGC/p5a6BezNNyP1vo+gLSA9ntl/fgU2WZoFAKQe3F7o79zx8LQwclOJ9TCON6V F7sF8aiqtRFNZRZByvcWpmtv5I4fcDz49omNdadenZRl8c1Igp12EbIo9e32HBx1Mapo HYMX871jJ5V42aRqI67Zpmvm1bpi2Q13K9GP3kjgLyWOVu5nq5l+ulENWKRh9mFgEdgX mq2kVz1IRXSTTg6VpccWMlvS56c6qEuC9JpON3sDvFqTmnP7PtZwEj3X/y+ocOOuCQkl yEeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699313893; x=1699918693; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=pgEecKE8Zyy8GSBsA92CbqNM/5ACOCMeKYlYihx7NZY=; b=WkCoWEO8peqyDsfglR8Yvv8cU6KI9KrKnbwznRZ10Hq2mLH2UL0d+Qi3IZ0YpdLUsB NpmAosyUUDDRhXPLh7u89Fiw6XFxc94IJm8Cmx2QdEHV3Gwf2APJXp3z6byH7E1cpq2o wFkCwmTT1d4uYfRUGCCn8i8vPwjvfNdf4a16wGl+YA4h+flsMHrScbZZNrhMcr8oG6x6 JCcDOfcXicrdgUjHS+RZQpY4y+VfO86zEJROgikWWyfMvAHo3G7cltyJbtKP98NBnFyE wbRgjT4Ttjwto9YJCus5rEYKvAe7UHeupUVElagTsoCFt/C84BN3Qi6iXIOxMai/h0Ui LB+w== X-Gm-Message-State: AOJu0YwWshxJynxK998vwQ423aGPD7Zl/AdHFk75/cSeO+z663h9IVh+ IZdykPWWwisyroZfU2mdJLmFnqzpvJ87LQ== X-Google-Smtp-Source: AGHT+IH4YzcLQ83pGNW2INHuCSpi6d4Ev+HTkgiEcmT1DmpuYT3aAZB6WOYmLrliQcZoD5UjgZeiHw== X-Received: by 2002:ac2:5470:0:b0:503:3890:ca3a with SMTP id e16-20020ac25470000000b005033890ca3amr21865795lfn.66.1699313892398; Mon, 06 Nov 2023 15:38:12 -0800 (PST) Received: from mariano (dynamic-adsl-84-220-189-10.clienti.tiscali.it. [84.220.189.10]) by smtp.gmail.com with ESMTPSA id c4-20020a50f604000000b00543b2d6f88asm4914469edn.15.2023.11.06.15.38.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 15:38:11 -0800 (PST) Received: by mariano (Postfix, from userid 1000) id 9FCF2BFCDA; Tue, 7 Nov 2023 00:38:10 +0100 (CET) Date: Tue, 7 Nov 2023 00:38:10 +0100 From: Stefano Sabatini To: FFmpeg development discussions and patches , Frank Plowman Message-ID: Mail-Followup-To: FFmpeg development discussions and patches , Frank Plowman References: <20231105135335.85752-1-post@frankplowman.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.1.4 (2021-12-11) Subject: Re: [FFmpeg-devel] [PATCH] doc/t2h: Support texinfo 7.0 X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On date Tuesday 2023-11-07 00:36:14 +0100, Stefano Sabatini wrote: > On date Sunday 2023-11-05 13:53:38 +0000, post@frankplowman.com wrote: > > From: Frank Plowman > > > > Texinfo 7.0, released in November 2022, changed the names of various > > functions. Compiling docs with Texinfo 7.0 results in warnings and > > improperly formatted documentation. More old names appear to have > > been removed in Texinfo 7.1, released October 2023, which causes docs > > compilation to fail. > > > > This PR addresses the issue by adding logic to switch between the old > > and new function names depending on the Texinfo version. > > > > CC > > https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1938238.html > > https://bugs.gentoo.org/916104 > > > > Signed-off-by: Frank Plowman > > --- > > doc/t2h.pm | 97 +++++++++++++++++++++++++++++++++++++++++++----------- > > 1 file changed, 78 insertions(+), 19 deletions(-) > > > > diff --git a/doc/t2h.pm b/doc/t2h.pm > > index d07d974286..1f23083703 100644 > > --- a/doc/t2h.pm > > +++ b/doc/t2h.pm > [...] > > @@ -112,8 +145,8 @@ sub ffmpeg_heading_command($$$$$) > > $cmdname > > = $Texinfo::Common::level_to_structuring_command{$cmdname}->[$heading_level]; > > } > > > - $result .= &{$self->{'format_heading_text'}}( > > - $self, $cmdname, $heading, > > + $result .= &{get_formatting_function($self,'format_heading_text')}( > > > + $self, $cmdname, [$heading], > > Are the added [] intended? This is causing rendering of titles as > ARRAYXNNNNN (as Perl is trying to render a dictionary with its address Here I meant array in place of dictionary. > in place of a string element). Dropping the [] fixes the issue. I tested with makeinfo 6.8. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".