From 44e1300994b783a758de7b3cf84287811ece5e80 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 2 Dec 2021 11:32:54 +0100 Subject: gnu: Add js-mathjax-3. * gnu/packages/javascript.scm (js-mathjax-3): New variable. * gnu/packages/patches/mathjax-disable-webpack.patch, gnu/packages/patches/mathjax-no-a11y.patch: New patches. * gnu/local.mk (dist_patch_DATA): Register them. --- gnu/packages/patches/mathjax-disable-webpack.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 gnu/packages/patches/mathjax-disable-webpack.patch (limited to 'gnu/packages/patches/mathjax-disable-webpack.patch') diff --git a/gnu/packages/patches/mathjax-disable-webpack.patch b/gnu/packages/patches/mathjax-disable-webpack.patch new file mode 100644 index 0000000000..7e3d705c15 --- /dev/null +++ b/gnu/packages/patches/mathjax-disable-webpack.patch @@ -0,0 +1,23 @@ +commit 0cfd5b23aed8767f2bcf9583c1feaf4c9a64703a +Author: Lars-Dominik Braun +Date: Wed Dec 1 14:27:33 2021 +0100 + + guix: Disable webpack + + Guix uses esbuild to “link” the files. We only need the build step. + +diff --git a/components/bin/makeAll b/components/bin/makeAll +index 3e7a8914..5dae9b9b 100755 +--- a/components/bin/makeAll ++++ b/components/bin/makeAll +@@ -61,8 +61,8 @@ function processList(dirs) { + for (const dir of dirs) { + const fulldir = path.resolve(dir); + processDir(fulldir, buildLib); +- processDir(fulldir, webpackLib); +- processDir(fulldir, copyLib); ++ //processDir(fulldir, webpackLib); ++ //processDir(fulldir, copyLib); + } + } + -- cgit v1.2.3