lkml.org 
[lkml]   [2022]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.15 618/846] scripts: sphinx-pre-install: Fix ctex support on Debian
    Date
    From: Mauro Carvalho Chehab <mchehab@kernel.org>

    [ Upstream commit 87d6576ddf8ac25f36597bc93ca17f6628289c16 ]

    The name of the package with ctexhook.sty is different on
    Debian/Ubuntu.

    Reported-by: Akira Yokosawa <akiyks@gmail.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
    Tested-by: Akira Yokosawa <akiyks@gmail.com>
    Link: https://lore.kernel.org/r/63882425609a2820fac78f5e94620abeb7ed5f6f.1641429634.git.mchehab@kernel.org
    Signed-off-by: Jonathan Corbet <corbet@lwn.net>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    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


    \
     
     \ /
      Last update: 2022-01-25 01:11    [W:2.421 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site