Changeset fb109fd for networking


Ignore:
Timestamp:
11/20/2023 06:58:41 AM (5 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
fded572
Parents:
bc99c9d
Message:

wireshark: qt5 and qt6 shouldn't be both required

The problem is that qt6 is not strictly required, qince qt5 can
be used. But an option has to be added for using qt5. Furthermore,
we have an established layout of describing options in a "Command
explanations" paragraph. So:

  • Move qt5 to optional
  • Add a note telling that qt6 is not strictly required referring to command explanations.
  • Add the said command explanation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netutils/wireshark.xml

    rbc99c9d rfb109fd  
    112112      <xref linkend="glib2"/>,
    113113      <xref linkend="libgcrypt"/>, and
    114       (<xref linkend="qt5"/> or
    115        <xref role="nodep" linkend="qt5-components"/> with qtmultimedia) or
    116        <xref linkend="qt6"/>
    117     </para>
     114      <xref linkend="qt6"/>
     115    </para>
     116
     117    <note>
     118      <para>
     119        <xref linkend="qt6"/> is not strictly required, since it can be
     120        replaced with <application>Qt5</application>. See <quote>Command
     121        explanations</quote> below.
     122      </para>
     123    </note>
    118124
    119125    <bridgehead renderas="sect4">Recommended</bridgehead>
     
    135141      <xref linkend="mitkrb"/>,
    136142      <xref linkend="nghttp2"/>,
     143      (<xref linkend="qt5"/> or
     144      <xref role="nodep" linkend="qt5-components"/> with qtmultimedia)
     145      (required if <xref role="nodep" linkend="qt6"/> is not installed),
    137146      <xref linkend="sbc"/>,
    138147      <xref linkend="speex"/>,
     
    186195
    187196<screen role="root"><userinput>groupadd -g 62 wireshark</userinput></screen>
    188 <!--
    189     <para>
    190       Fix building with Python-3.12 and higher:
    191     </para>
    192 
    193 <screen><userinput>patch -Np1 -i ../wireshark-&wireshark-version;-py_3.12_fix-1.patch</userinput></screen>
    194 -->
     197
    195198    <para>
    196199      Continue to install <application>Wireshark</application> by running
     
    208211ninja</userinput></screen>
    209212
    210     <note>
    211       <para>
    212         Wireshark now prefers <xref linkend="qt6"/>.  If it is not available
    213         Add <code>-DUSE_qt6=OFF</code> to the build instructions above.
    214       </para>
    215     </note>
    216 
    217213    <para>
    218214      This package does not come with a test suite.
     
    270266
    271267  </sect2>
    272 <!--
     268
    273269  <sect2 role="commands">
    274270    <title>Command Explanations</title>
    275271
     272      <para>
     273        <option>-DUSE_qt6=OFF</option>: Use this switch if
     274        <xref linkend="qt6"/> is not available. You'll need
     275        <xref linkend="qt5"/> or at least <xref linkend="qt5-components"/>
     276        with qtmultimedia in this case.
     277      </para>
     278<!--
    276279    <para>
    277280      <option>- -disable-wireshark</option>: Use this switch if you
     
    279282      any of the GUIs.
    280283    </para>
     284-->
    281285  </sect2>
    282 -->
    283286
    284287  <sect2 role="configuration">
Note: See TracChangeset for help on using the changeset viewer.