Skip to content

WIP: Add duktape as javascript engine.

Wu Xiaotian requested to merge yetist/polkit:dev-duktape into master

I don't know if there is a chance to use duktape as the js backend for polkit.

I saw this email on the mailing list.

But some things have changed now:

  1. Duktape can be found in popular distributions.
  • Fedora: 2.2.0
  • Archlinux: 2.3.0
  • Debian / Ubuntu: 2.3.0

  1. This PR provides a new option --with-duktape to enable build with duktape. If you don't add this option, it will still compile with mozjs as before.
  2. Now it uses the system's duktape dynamic library.
  3. This PR migrates the code to duktape-2.0.0+, and when duktape is updated, it will automatically get a new implementation.
Edited by Wu Xiaotian

Merge request reports