Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tFrpH-00Gw2a-38 for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Nov 2024 09:25:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tFrpF-005dBP-Jw for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Nov 2024 09:25:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tFrpF-005dBH-5B for pgsql-hackers@lists.postgresql.org; Tue, 26 Nov 2024 09:25:41 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tFrp8-0046jw-B6 for pgsql-hackers@postgresql.org; Tue, 26 Nov 2024 09:25:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Content-Transfer-Encoding:Content-Type: Mime-Version:References:In-Reply-To:From:Subject:Cc:To:Message-Id:Date:Sender :Reply-To:Content-ID:Content-Description; bh=iDOqC9x26XDTAtjs8nuGGcgNsUNtacdZThlkhdVXFz4=; b=5WkG98LGJ1/Uf5ePR4ER7Dpt68 WwKBgLVnVs3VbmwddWYQlef+wf5mCkipMi6j1y5q6fY838LNRdy3vQp90tuUkPLH0DxPQP73mLeQp lxYnLoRy4kUfhklpjY2MHN8YO3NT7cgFjSrkL/ocY7nzo1voRr8NQ5XBZbv8VzEQ0n4GPvH87VxC9 7KrO9wtpruz+3rGeoCo/TltNnH6Q8pvcOpNmRpvzUAyyDxXoVjAnMNETyvJkEsmpmLLrCLV0OzymW V/BCov7NQgEROYn995sipL2KIgNUopQBL9y1slJR5e8CQ8mvDY2sOGEOtRgpgp5IFRz07S8xDZKTd HfLr4RDA==; Received: from [2409:11:4120:300:2996:2d07:cb5:4da6] (helo=localhost) by meldrar.postgresql.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (Exim 4.94.2) (envelope-from ) id 1tFroy-009lSU-Gn; Tue, 26 Nov 2024 09:25:27 +0000 Date: Tue, 26 Nov 2024 18:25:13 +0900 (JST) Message-Id: <20241126.182513.1752581942460106099.ishii@postgresql.org> To: nagata@sraoss.co.jp Cc: bruce@momjian.us, peter@eisentraut.org, tgl@sss.pgh.pa.us, daniel@yesql.se, pgsql-hackers@postgresql.org Subject: Re: Doc: typo in config.sgml From: Tatsuo Ishii In-Reply-To: <20241119193121.7ba727c489b5f0b6d20f9c25@sraoss.co.jp> References: <20241119112907.1cdfe086df16e7ac173f9571@sraoss.co.jp> <20241119193121.7ba727c489b5f0b6d20f9c25@sraoss.co.jp> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2409:11:4120:300:2996:2d07:cb5:4da6 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I have looked into the patches. > Subject: [PATCH v3 1/3] Disallow characters that cannot be displayed in PDF > > --- > doc/src/sgml/Makefile | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile > index a04c532b53..18bf87d031 100644 > --- a/doc/src/sgml/Makefile > +++ b/doc/src/sgml/Makefile > @@ -156,7 +156,9 @@ XSLTPROC_FO_FLAGS += --stringparam img.src.path '$(srcdir)/' > $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) $(XSLTPROC_FO_FLAGS) --stringparam paper.type USletter -o $@ $^ > > %.pdf: %.fo $(ALL_IMAGES) > - $(FOP) -fo $< -pdf $@ > + CLANG=C $(FOP) -fo $< -pdf $@ 2>&1 | \ Shouldn't "CLANG" be "LANG"? > + awk 'BEGIN{err=0}{print}/not available in font/{err=1}END{exit err}' 1>&2 || \ > + (echo "Found characters that cannot be displayed in PDF" 1>&2; exit 1) Currently "make postgres*.pdf" generates the pdf file even if there's a "not available in font" error while generating it. With the patch the pdf file is removed in this case. I'm not sure if this is an improvement because there's no way to generate such a pdf file if there's such a warning. Printing "Found characters that cannot be displayed in PDF" is good, but I'd prefer let users decide whether they retain or remove the pdf file. > Subject: [PATCH v3 3/3] Check whether iconv exists for detecting non-latin1 > characters > > --- > configure | 65 ++++++++++++++++++++++++++++++++++++++---- > configure.ac | 1 + > doc/src/sgml/Makefile | 6 +++- > src/Makefile.global.in | 1 + You don't need to include the patch for configure. Committer will generate configure when it gets committed. See the discussion: https://www.postgresql.org/message-id/20241126.102906.1020285543012274306.ishii%40postgresql.org Best reagards, -- Tatsuo Ishii SRA OSS K.K. English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp