[gimp] build: disable javascript plug-ins.



commit f75cad56e048d827fc4f3dff9d801520022dc95e
Author: Jehan <jehan girinstud io>
Date:   Sat May 22 15:46:46 2021 +0200

    build: disable javascript plug-ins.
    
    No need to have GIMP trying to run the Javascript goat-exercise at
    startup. All it does is make annoying error message on console output.
    We know it won't run because no interpreter is available. No need for
    trying.

 build/windows/gitlab-ci/build-gimp-msys2.sh | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/build/windows/gitlab-ci/build-gimp-msys2.sh b/build/windows/gitlab-ci/build-gimp-msys2.sh
index e07bb87847..7aff96964e 100644
--- a/build/windows/gitlab-ci/build-gimp-msys2.sh
+++ b/build/windows/gitlab-ci/build-gimp-msys2.sh
@@ -102,8 +102,14 @@ ccache --show-stats
 
 mkdir "_build${ARTIFACTS_SUFFIX}"
 cd "_build${ARTIFACTS_SUFFIX}"
+# We disable javascript as we are not able for the time being to add a
+# javascript interpreter with GObject Introspection (GJS/spidermonkey
+# and Seed/Webkit are the 2 contenders so far, but they are not
+# available on MSYS2 and we are told it's very hard to build them).
+# TODO: re-enable javascript plug-ins when we can figure this out.
 ../autogen.sh --prefix="${GIMP_PREFIX}" \
               --with-directx-sdk="${MSYS2_PREFIX}" \
+              --with-javascript=no \
               ${GIMP_OPTIONS}
 make -j4
 make install


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]