sphinx-pre-install (b3df6223bdea763ed666b06a4e7431f40b33da67) sphinx-pre-install (bfc7f4281066154e6b420a87335d6387c9b0835a)
1#!/usr/bin/perl
2# SPDX-License-Identifier: GPL-2.0-or-later
3use strict;
4
5# Copyright (c) 2017-2019 Mauro Carvalho Chehab <mchehab@kernel.org>
6#
7
8my $prefix = "./";

--- 335 unchanged lines hidden (view full) ---

344 "rsvg-convert" => "librsvg2-bin",
345 );
346
347 if ($pdf) {
348 check_missing_file(["/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf"],
349 "fonts-dejavu", 2);
350
351 check_missing_file(["/usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc",
1#!/usr/bin/perl
2# SPDX-License-Identifier: GPL-2.0-or-later
3use strict;
4
5# Copyright (c) 2017-2019 Mauro Carvalho Chehab <mchehab@kernel.org>
6#
7
8my $prefix = "./";

--- 335 unchanged lines hidden (view full) ---

344 "rsvg-convert" => "librsvg2-bin",
345 );
346
347 if ($pdf) {
348 check_missing_file(["/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf"],
349 "fonts-dejavu", 2);
350
351 check_missing_file(["/usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc",
352 "/usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc"],
352 "/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc",
353 "/usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc"],
353 "fonts-noto-cjk", 2);
354 }
355
356 check_program("dvipng", 2) if ($pdf);
357 check_missing(\%map);
358
359 return if (!$need && !$optional);
360 printf("You should run:\n\n\tsudo apt-get install $install\n");

--- 446 unchanged lines hidden ---
354 "fonts-noto-cjk", 2);
355 }
356
357 check_program("dvipng", 2) if ($pdf);
358 check_missing(\%map);
359
360 return if (!$need && !$optional);
361 printf("You should run:\n\n\tsudo apt-get install $install\n");

--- 446 unchanged lines hidden ---