Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scripts: sphinx-pre-install: fix dependencies for OpenMandriva

The dependeny list for OpenMandriva is wrong. Update it.

Yet, on my tests with OpenMandriva LX 4.3, the texlive packages are
broken: xelatex can't build anything there, as it lacks xelatex.sfm.

Yet, this could be a problem at the way I created the container.
Just in case, add a note about that.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/669e759ba366328e5c8d5b14a591ba45a1f58176.1755763127.git.mchehab+huawei@kernel.org

authored by

Mauro Carvalho Chehab and committed by
Jonathan Corbet
b51f8c12 b2d5d61c

+10 -2
+10 -2
scripts/sphinx-pre-install
··· 984 984 if re.search(r"OpenMandriva", self.system_release): 985 985 packager_cmd = "dnf install" 986 986 noto_sans = "noto-sans-cjk-fonts" 987 - tex_pkgs = ["texlive-collection-fontsextra"] 987 + tex_pkgs = [ 988 + "texlive-collection-basic", 989 + "texlive-collection-langcjk", 990 + "texlive-collection-fontsextra", 991 + "texlive-collection-fontsrecommended" 992 + ] 988 993 989 994 # Tested on OpenMandriva Lx 4.3 990 995 progs["convert"] = "imagemagick" 991 996 progs["yaml"] = "python-pyyaml" 992 997 progs["python-virtualenv"] = "python-virtualenv" 993 998 progs["python-sphinx"] = "python-sphinx" 999 + progs["xelatex"] = "texlive" 994 1000 995 1001 self.check_program("python-virtualenv", DepManager.PYTHON_MANDATORY) 996 1002 ··· 1010 1004 1011 1005 if not self.distro_msg: 1012 1006 self.distro_msg = \ 1013 - "Note: for venv, ensurepip could be broken, preventing its install method." 1007 + "Notes:\n"\ 1008 + "1. for venv, ensurepip could be broken, preventing its install method.\n" \ 1009 + "2. at least on OpenMandriva LX 4.3, texlive packages seem broken" 1014 1010 1015 1011 else: 1016 1012 packager_cmd = "urpmi"