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 4076147F86 for ; Mon, 6 Nov 2023 23:36:27 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0CC0C68CA0A; Tue, 7 Nov 2023 01:36:25 +0200 (EET) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 82A9C68C9AE for ; Tue, 7 Nov 2023 01:36:18 +0200 (EET) Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-9dbb3d12aefso730946366b.0 for ; Mon, 06 Nov 2023 15:36:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699313777; x=1699918577; darn=ffmpeg.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=IiRvPTp+3eNdjjoA7V3Ke6EvR/YoxGWXRdHAP3z3PNw=; b=PuccQies9w6O6pmj0uouMg59P2a8neeIoBYp8APQRxasCZ5/BDOOdsUdH268Beg9oy xsWGuYY0VI10E5Hu5No5VqubWldA529h0Y99y5QcPDXsTDM8vAthYWv13nFNyc4+ZpM5 zNz85W9G3sQmLIT3px7xKChXrKaVkPsyzJ0qA/HEu7tQVQFqwvozgrQ+CfZG/DcLwft+ IfKSTjO8OTOIVPr32Owa49lVRvd43XUxRKz19Cj2yG7oAWu+Y2AUvGLQ3+ryRRAS+2Ms Tmw8wtM4BdIi1iszNuuVXVCWQvZyHZPuM5nPLyZmT2FnVWWndFzvILkC58YwcFc/zs1G iV1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699313777; x=1699918577; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IiRvPTp+3eNdjjoA7V3Ke6EvR/YoxGWXRdHAP3z3PNw=; b=sxsl2cooR4bngv4A7vaz3/BpEX0Y3VPHQ86RjZ/+g59JiHRFsh9posg92FsdZiyf7l iCqX0g/X2+v+lBysg4PQPVOvM+uE0/OhZ/mmrfjN04DpGK6fwTnruSlnABho5dUZ4ZHS NyXuhfZRAhkSoHcsmGB8f4SNVs78b0ExZrCPUwo6nUm6AEGlU17e8T/NbZNoNAdoZZX9 FJK6r70KJCKV5ri41UHXjYNXOYfLOSM6UjGyMaN/gPPBpAqH+YPkTAiqA2aho6370PFe aZPsn9tvIjuwr03EJS/z4VJCk9NOToBlhXGY5QPBStr5K4bswA7EXgPHAUWAIAdRxTyV bXOQ== X-Gm-Message-State: AOJu0Yze2aIQLYN1pK4Yb7reV4O2AZi21dz670LB8suNuzHFMopKYtLu pofINT9IQuWH434ULb9PlmSxbx+uJJzBSg== X-Google-Smtp-Source: AGHT+IGrAgT9gfEFPLIacgN5QOenIzJxfiga7AsQ29wKCL0HYIQRzrElL3ofGH6hcb2F54Vw/4iMyw== X-Received: by 2002:a17:907:7b99:b0:9be:30c2:b8fd with SMTP id ne25-20020a1709077b9900b009be30c2b8fdmr15894080ejc.66.1699313776538; Mon, 06 Nov 2023 15:36:16 -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 hb14-20020a170906b88e00b0099bc8bd9066sm363358ejb.150.2023.11.06.15.36.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 15:36:16 -0800 (PST) Received: by mariano (Postfix, from userid 1000) id 8E34BBFCDA; Tue, 7 Nov 2023 00:36:14 +0100 (CET) Date: Tue, 7 Nov 2023 00:36:14 +0100 From: Stefano Sabatini To: FFmpeg development discussions and patches 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: <20231105135335.85752-1-post@frankplowman.com> 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 Cc: Frank Plowman 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 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 in place of a string element). Dropping the [] fixes the issue. _______________________________________________ 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".