Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3724416pxb; Mon, 24 Jan 2022 16:23:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJy6D1PV13BVkdC/Fsw9qQ9a1xk+EZxJbO4YFAN352zd3blTuzzaUOsX8H1y/bXqHDJRfTlD X-Received: by 2002:a17:902:ab12:b0:149:c5a5:5323 with SMTP id ik18-20020a170902ab1200b00149c5a55323mr16690219plb.97.1643070200936; Mon, 24 Jan 2022 16:23:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643070200; cv=none; d=google.com; s=arc-20160816; b=aH9uSV+06vOB0qNCnY4ME2C+HG5SN/Q4EMs3ZOyWp6z6A+L3nduxslxwKFPd8B2xZa seY9vFpSqKKLBy3gAM0hwU8U0qRmtFnzlxsFp7oN9H1Vj914DLMMxJcU+IG0jLmwACwk LHtOPnQaoit9Kqd/U1/fHhTqQJdsr9LEE6xAw7ixrMX9JC5j9R6AsxUo+h04kXF6AM6y PZe3Z9Sd+MDoK9RuDEb4PnquE4aIp90D+wAjOfbmgfc/a5++jGGbbrBHjlZf0sy64Egj AgjrEL93MYRZRZZgE4E/MV01YkKScGvLFZpHbQNtLtlmZf5WFJaOAMimWIL+rgrYn1sQ yK+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=88hWYcq71JtvS66B1WmiGCCZ+bBwtUkAuz9ULqLF06E=; b=NPqgmdHgBJPZK9H9SrZ0s/727FJe6uMGgbNtZ8dSN31OfpMdmnjL1UbMe+l3eSBkvn dIp6qBtBxtpcjHEVKkwWQHMSBYxLH1lE9A1J1mN24soxC4++jS0GuOZdew1SN8I2R2uw BJmqS1UqMeU2XcT09BEsUGjqLrRirCj8cZHNv6AQDllOjQyHcZ71JOGCCGaj10cOO9/O ljFQ+HMOH7J4y47ia8oqz7lXdxMG+zql7R3mLLAZy6fiXDMqb2kisNlNt0EjKpj9Mam0 lk8+nVRxsUyxntpiPSlxtfKE7114eZp0S8qqgfriRjTJbhEFqNkiTGWnzqcVVGg4pe+J MtvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jAa9fZ1M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s80si5603309pgs.657.2022.01.24.16.23.09; Mon, 24 Jan 2022 16:23:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jAa9fZ1M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2374206AbiAYAQZ (ORCPT + 99 others); Mon, 24 Jan 2022 19:16:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1382466AbiAXX2E (ORCPT ); Mon, 24 Jan 2022 18:28:04 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62C19C01D7ED; Mon, 24 Jan 2022 13:31:08 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 20BD5B8122A; Mon, 24 Jan 2022 21:31:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4AFE4C340E4; Mon, 24 Jan 2022 21:31:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643059865; bh=f3jC77ynaSTB8B4PFcxF+om2SUl/1JBzStOOMLauPeU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jAa9fZ1MrMleXpEQU29xqnxt1FkF4bR8Y0tk92DaYDi2XgyvVsfpjgU1SVf5mPMro vGA3j8KAgNk7+Ey69GP/kBfwbMg7go/z3A8uGItiZmJhrDpJs0Qo/PNTm0kD3Dmoeh j/44CT4YbtpB7Rsq1PGMzxS90mDsLjpoIQNQARyQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Akira Yokosawa , Mauro Carvalho Chehab , Jonathan Corbet , Sasha Levin Subject: [PATCH 5.16 0728/1039] scripts: sphinx-pre-install: Fix ctex support on Debian Date: Mon, 24 Jan 2022 19:41:57 +0100 Message-Id: <20220124184149.801920838@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mauro Carvalho Chehab [ Upstream commit 87d6576ddf8ac25f36597bc93ca17f6628289c16 ] The name of the package with ctexhook.sty is different on Debian/Ubuntu. Reported-by: Akira Yokosawa Signed-off-by: Mauro Carvalho Chehab Tested-by: Akira Yokosawa Link: https://lore.kernel.org/r/63882425609a2820fac78f5e94620abeb7ed5f6f.1641429634.git.mchehab@kernel.org Signed-off-by: Jonathan Corbet Signed-off-by: Sasha Levin --- scripts/sphinx-pre-install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/sphinx-pre-install b/scripts/sphinx-pre-install index 288e86a9d1e58..61a79ce705ccf 100755 --- a/scripts/sphinx-pre-install +++ b/scripts/sphinx-pre-install @@ -369,6 +369,9 @@ sub give_debian_hints() ); if ($pdf) { + check_missing_file(["/usr/share/texlive/texmf-dist/tex/latex/ctex/ctexhook.sty"], + "texlive-lang-chinese", 2); + check_missing_file(["/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf"], "fonts-dejavu", 2); -- 2.34.1