Changeset a428935


Ignore:
Timestamp:
09/16/2022 06:39:31 AM (19 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/soup3, xry111/xf86-video-removal
Children:
bbdb8c24
Parents:
c807a2b
git-author:
Pierre Labastie <pierre.labastie@…> (09/16/2022 06:36:19 AM)
git-committer:
Pierre Labastie <pierre.labastie@…> (09/16/2022 06:39:31 AM)
Message:

Unconditionally use duktape for polkit

  • duktape is so low overhead, that even if mozjs is later needed, it is not a problem...
  • it simplifies our instructions, otherwise, we would have had to use four <screen> sections (sysd-duktape, sysv-duktape, sysd-mozjs, and sysv-mozjs). GNOME can also be used with sysv.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/polkit.xml

    rc807a2b ra428935  
    9494    <para role="required">
    9595      <xref linkend="glib2"/> and
    96       <xref linkend="js91"/> or
    9796      <xref linkend="duktape"/>
    9897    </para>
     
    134133    <bridgehead renderas="sect4">Optional</bridgehead>
    135134    <para role="optional">
    136       <xref linkend="dbus-python"/> and
    137       <xref linkend="python-dbusmock"/> (both needed for tests),
    138       <xref linkend="gtk-doc"/>, and
    139       <ulink url="https://duktape.org">duktape</ulink>
     135      <xref linkend="gtk-doc"/>,
     136      <xref linkend="js91"/> (can be used in place of duktape), and
     137      <xref linkend="python-dbusmock"/> (for tests)
    140138    </para>
    141139
     
    157155      <xref role="runtime" linkend="polkit-gnome"/> for XFCE, and
    158156      <application>lxpolkit</application> in
    159       <xref role="runtime" linkend="lxsession"/> for LXDE.
     157      <xref role="runtime" linkend="lxsession"/> for LXDE
    160158    </para>
    161159
     
    226224      -Dsession_tracking=libsystemd-login \
    227225      -Dtests=true                        \
    228       -Djs_engine=mozjs                   \
     226      -Djs_engine=duktape                 \
    229227      ..                                  &amp;&amp;
    230228ninja</userinput></screen>
     
    280278
    281279    <para>
    282       <parameter>-Djs_engine=mozjs</parameter>: This switch allows using the
    283       Mozilla JavaScript engine instead of Duktape.
     280      <parameter>-Djs_engine=duktape</parameter>: This switch allows using the
     281      <xref linkend="duktape"/> JavaScript engine. Replace with
     282      <option>-Djs_engine=mozjs</option> for using the <xref linkend="js91"/>
     283      JavaScript engine.
    284284    </para>
    285285
     
    380380        <seg>
    381381          pkaction, pkcheck, <!--pk-example-frobnicate,--> pkexec,
    382           pkttyagent and polkitd
     382          pkttyagent, and polkitd
    383383        </seg>
    384384        <seg>
     
    390390          /usr/include/polkit-1,
    391391          /usr/lib/polkit-1,
    392           /usr/share/gtk-doc/html/polkit-1 and
     392          /usr/share/gtk-doc/html/polkit-1, and
    393393          /usr/share/polkit-1
    394394        </seg>
Note: See TracChangeset for help on using the changeset viewer.