Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp4376980pxb; Tue, 18 Jan 2022 17:51:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJwS8tUp1sZd/XXZS4rpUr0ilI3pimpMG8o916C70RA0+ukSHsrrekAf5RpJN9ntOaXU9skD X-Received: by 2002:a63:b247:: with SMTP id t7mr25518792pgo.164.1642557068775; Tue, 18 Jan 2022 17:51:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642557068; cv=none; d=google.com; s=arc-20160816; b=pt8P1IFZYqplqv9nJBGrmhJObWWYzFsl0dM1MadRID+PlHjU9KVfL0wMVZmnKXlnaS UKIbknbmxvRZoHPESkMmgRN917BJCGobpXN5Yl73QO7edzoPBNjgenwnGK/3iTLnf6hd bRAe4m6cX2f3nkVIXc67/2bDXPOygeVmOLqMdkYT8idY81syI2Veepx/qWhQSPHb7rBv rmSZ7Ylf+uOp49H7+3hx6eLuX2De4aZf3mSYgIsxkvn3fclMuoRbVI5eRUSwBG/NP6Ii GMDUNFy38Ag5Ja0KUT6Ajaq2+GsRXj7yu5qs3FdSwrIm85YX3QrCRrXGLAHrnYxbwF/r sV+w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=88hWYcq71JtvS66B1WmiGCCZ+bBwtUkAuz9ULqLF06E=; b=eCW8XGH1eJx9DJLn3wNGtOCm/LwbRBASxuw7qM4t0+wLvSP2bO7Nz2LlMWq8Gsz9S/ hbr+pMfGXzNybm9c2GGaG7XAhRTjzxuuINwbHG1nfGr1ZwDvPnkz7lU0gKxYZkaSd5WE YvIcytcBGhNBtkaVdgBO0uBiHaJHAazo9nOtWerlU45nI5RfD/6QehlWOyrurvL/GSlE p6PbHq94cfslZeuI8URIEpg8dq2s1OzBBU3nk/lrGmBIeMO1hTpw7Sy13CBb+q48Vi7q vKHKkHScD34jh4w8aefj5R9jJbGPGlTOQSCedkh4IhAojL/qjDT8I82ByLf83NRUa4xX xkKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ELNds69p; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o15si4079762pjt.135.2022.01.18.17.50.57; Tue, 18 Jan 2022 17:51:08 -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=@kernel.org header.s=k20201202 header.b=ELNds69p; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348146AbiARCo4 (ORCPT + 99 others); Mon, 17 Jan 2022 21:44:56 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:48498 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345488AbiARCbf (ORCPT ); Mon, 17 Jan 2022 21:31:35 -0500 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 dfw.source.kernel.org (Postfix) with ESMTPS id 82A41611D4; Tue, 18 Jan 2022 02:31:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A1F5C36AEF; Tue, 18 Jan 2022 02:31:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642473095; bh=f3jC77ynaSTB8B4PFcxF+om2SUl/1JBzStOOMLauPeU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ELNds69ppMV9Pvg66ovZcZT9p2Xr3xD8G4op6HY1pVFciqZIRSx9gQT98qvMGjm1M 27bXL/rJ+K8CNMZxpVJVntHQ659Yf0eT6FRy/97YJOLPsKdlhHR/1HF/DfY4BskhOX LPII5zFyGpLyOJGsYUPTvck+CzF9bNXccp285bvyYRuBpVCbYEKAJbJCYJH7/sxgYQ UoKY960aBzJo3DL8KdSkw2uRSGQH8LFAzXcJk+TD/cUBY4LfKmx6gZbhZ5M/S0L3/p EmaKSam/gB05fMYE75AQUIxipjmhHY7r05xFn4EDaZUKDTJaHPTTXXZJ7WkFtlS5kl HVDmcM0CWanmg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Mauro Carvalho Chehab , Akira Yokosawa , Jonathan Corbet , Sasha Levin , linux-doc@vger.kernel.org Subject: [PATCH AUTOSEL 5.16 212/217] scripts: sphinx-pre-install: Fix ctex support on Debian Date: Mon, 17 Jan 2022 21:19:35 -0500 Message-Id: <20220118021940.1942199-212-sashal@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220118021940.1942199-1-sashal@kernel.org> References: <20220118021940.1942199-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore 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