Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P polkit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 121
    • Issues 121
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • polkit
  • polkit
  • Merge requests
  • !35

Closed
Created Jul 24, 2019 by Wu Xiaotian@yetist
  • Report abuse
Report abuse

WIP: Add duktape as javascript engine.

  • Overview 89
  • Commits 13
  • Pipelines 6
  • Changes 6

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

https://pkgs.org/download/duktape

  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 Dec 06, 2020 by Wu Xiaotian
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: dev-duktape