From 7426cd4f8ad58e8644cc855d30069f297c6ee33c Mon Sep 17 00:00:00 2001 From: Darcy Shen Date: Mon, 9 Oct 2023 12:37:44 +0800 Subject: [PATCH 1/2] gs --- xmake/packages.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xmake/packages.lua b/xmake/packages.lua index f1ca9e70fd..2b61184a7a 100644 --- a/xmake/packages.lua +++ b/xmake/packages.lua @@ -21,6 +21,7 @@ local LOLLY_VERSION = "1.2.8" local TBOX_VERSION = "1.7.4" +local GS_VERSION = "9.55.0" -- https://xmake.io/#/manual/package_dependencies?id=inherit-package-configuration package("lolly") @@ -98,4 +99,5 @@ function add_requires_of_mogan() end add_requires("s7 2023.04.13", {system=false}) + add_requires("ghostscript " .. GS_VERSION) end From 17bf6cddef1f3aebd7762d2ff17cf1c9c237a9e2 Mon Sep 17 00:00:00 2001 From: Darcy Shen Date: Mon, 9 Oct 2023 12:59:25 +0800 Subject: [PATCH 2/2] disable gs on wasm --- xmake/packages.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/packages.lua b/xmake/packages.lua index 2b61184a7a..ee75fee89b 100644 --- a/xmake/packages.lua +++ b/xmake/packages.lua @@ -96,8 +96,8 @@ function add_requires_of_mogan() add_requireconfs("pdfhummus.freetype", {version = FREETYPE_VERSION, system = false, override=true}) add_requireconfs("pdfhummus.libpng", {version = "1.6.37", system = false, override=true}) add_requireconfs("pdfhummus.libjpeg", {version = "v9e", system = false, override=true}) + add_requires("ghostscript " .. GS_VERSION) end add_requires("s7 2023.04.13", {system=false}) - add_requires("ghostscript " .. GS_VERSION) end