]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.16-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jan 2022 08:56:22 +0000 (09:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jan 2022 08:56:22 +0000 (09:56 +0100)
added patches:
scripts-sphinx-pre-install-add-required-ctex-dependency.patch
scripts-sphinx-pre-install-fix-ctex-support-on-debian.patch

queue-5.16/scripts-sphinx-pre-install-add-required-ctex-dependency.patch [new file with mode: 0644]
queue-5.16/scripts-sphinx-pre-install-fix-ctex-support-on-debian.patch [new file with mode: 0644]
queue-5.16/series

diff --git a/queue-5.16/scripts-sphinx-pre-install-add-required-ctex-dependency.patch b/queue-5.16/scripts-sphinx-pre-install-add-required-ctex-dependency.patch
new file mode 100644 (file)
index 0000000..08b475d
--- /dev/null
@@ -0,0 +1,32 @@
+From 7baab965896eaeea60a54b8fe742feea2f79060f Mon Sep 17 00:00:00 2001
+From: Mauro Carvalho Chehab <mchehab@kernel.org>
+Date: Mon, 3 Jan 2022 22:01:57 +0100
+Subject: scripts: sphinx-pre-install: add required ctex dependency
+
+From: Mauro Carvalho Chehab <mchehab@kernel.org>
+
+commit 7baab965896eaeea60a54b8fe742feea2f79060f upstream.
+
+After a change meant to fix support for oriental characters
+(Chinese, Japanese, Korean), ctex stylesheet is now a requirement
+for PDF output.
+
+Reported-by: Christoph Hellwig <hch@lst.de>
+Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
+Link: https://lore.kernel.org/r/165aa6167f21e3892a6e308688c93c756e94f4e0.1641243581.git.mchehab@kernel.org
+Signed-off-by: Jonathan Corbet <corbet@lwn.net>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ scripts/sphinx-pre-install |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/scripts/sphinx-pre-install
++++ b/scripts/sphinx-pre-install
+@@ -78,6 +78,7 @@ my %texlive = (
+       'ucs.sty'            => 'texlive-ucs',
+       'upquote.sty'        => 'texlive-upquote',
+       'wrapfig.sty'        => 'texlive-wrapfig',
++      'ctexhook.sty'       => 'texlive-ctex',
+ );
+ #
diff --git a/queue-5.16/scripts-sphinx-pre-install-fix-ctex-support-on-debian.patch b/queue-5.16/scripts-sphinx-pre-install-fix-ctex-support-on-debian.patch
new file mode 100644 (file)
index 0000000..9790315
--- /dev/null
@@ -0,0 +1,34 @@
+From 87d6576ddf8ac25f36597bc93ca17f6628289c16 Mon Sep 17 00:00:00 2001
+From: Mauro Carvalho Chehab <mchehab@kernel.org>
+Date: Thu, 6 Jan 2022 01:41:02 +0100
+Subject: scripts: sphinx-pre-install: Fix ctex support on Debian
+
+From: Mauro Carvalho Chehab <mchehab@kernel.org>
+
+commit 87d6576ddf8ac25f36597bc93ca17f6628289c16 upstream.
+
+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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ scripts/sphinx-pre-install |    3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/scripts/sphinx-pre-install
++++ b/scripts/sphinx-pre-install
+@@ -370,6 +370,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);
index 2fca0fb96d3ddafc58e6d28f540755862be32395..72657c77acf50ea3590fcc65be4dfdd973df4255 100644 (file)
@@ -1033,3 +1033,5 @@ asoc-sof-topology-remove-sof_load_pipeline_ipc.patch
 asoc-sof-free-widgets-in-sof_tear_down_pipelines-for-static-pipelines.patch
 asoc-sof-sof-audio-setup-sched-widgets-during-pipeline-complete-step.patch
 asoc-sof-handle-paused-streams-during-system-suspend.patch
+scripts-sphinx-pre-install-add-required-ctex-dependency.patch
+scripts-sphinx-pre-install-fix-ctex-support-on-debian.patch