Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
polkit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 100
    • Issues 100
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 23
    • Merge Requests 23
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • polkit
  • polkit
  • Merge Requests
  • !35

Open
Opened Jul 24, 2019 by Wu Xiaotian@yetist
  • Report abuse
Report abuse

WIP: Add duktape as javascript engine.

  • Overview 57
  • 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
None
Milestone
None
Assign milestone
Time tracking
Reference: polkit/polkit!35
Source branch: dev-duktape