glfs/networking/netutils/network-manager-applet.xml

256 lines
7.9 KiB
XML
Raw Normal View History

2024-01-20 05:35:53 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY network-manager-applet-download-http
2022-03-25 11:23:21 +08:00
"&gnome-download-http;/network-manager-applet/&network-manager-applet-minor;/network-manager-applet-&network-manager-applet-version;.tar.xz">
2023-10-16 05:14:18 +08:00
<!ENTITY network-manager-applet-download-ftp " ">
<!ENTITY network-manager-applet-md5sum "83ff059aff3a691766d5f0079209e5af">
<!ENTITY network-manager-applet-size "1.9 MB">
<!ENTITY network-manager-applet-buildsize "46 MB (with tests)">
<!ENTITY network-manager-applet-time "0.4 SBU (with tests)">
]>
<sect1 id="network-manager-applet" xreflabel="network-manager-applet-&network-manager-applet-version;">
<?dbhtml filename="network-manager-applet.html"?>
<title>network-manager-applet-&network-manager-applet-version;</title>
<indexterm zone="network-manager-applet">
<primary sortas="a-network-manager-applet">network-manager-applet</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to NetworkManager Applet</title>
<para>
The <application>NetworkManager Applet</application> provides a tool and
a panel applet used to configure wired and wireless network connections
through GUI. It's designed for use with any desktop environment that uses
<application>GTK+</application>, such as <application>Xfce</application>
and <application>LXDE</application>.
</para>
&lfs121_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&network-manager-applet-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&network-manager-applet-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &network-manager-applet-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &network-manager-applet-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &network-manager-applet-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &network-manager-applet-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">NetworkManager Applet Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="gtk3"/>,
<xref linkend="libnma"/>, and
<!--<xref linkend="libnotify"/>, and-->
<xref linkend="libsecret"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
&gobject-introspection; and
<xref linkend="ModemManager"/>
</para>
<bridgehead renderas="sect4">Required (Runtime)</bridgehead>
<para role="required">
Since this package uses
<xref role="nodep" linkend="polkit"/> for authorization,
one <xref role="runtime" linkend="polkit-agent"/> should be
running when the functionality of this package is used.
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="gnome-bluetooth"/> and
<ulink url="https://launchpad.net/libappindicator">libindicator</ulink>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of NetworkManager Applet</title>
<para>
Install <application>NetworkManager Applet</application> by running
the following commands:
</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson setup .. \
--prefix=/usr \
2021-07-17 06:20:58 +08:00
--buildtype=release \
-Dappindicator=no \
-Dselinux=false &amp;&amp;
ninja</userinput></screen>
<para>
To test the results, issue: <command>ninja test</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>ninja install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<parameter>-Dappindicator=no</parameter>: This switch disables
AppIndicator support in network-manager-applet because it
requires libindicator, which is not in BLFS. The build will fail
without this option.
</para>
<!-- Jansson is now included in NM as Required
<para>
<parameter>-Dteam=false</parameter>: This switch disables the team
configuration editor since it requires <xref linkend="jansson"/>. If
you have Jansson installed, remove this option or set it to "true".
</para>
-->
<para>
<parameter>-Dselinux=false</parameter>: This switch forcibly
disables <application>SELinux</application> support since it is not
currently in BLFS and the build will fail without it.
</para>
<!-- no longer needed as of 1.16.0
<para>
<parameter>-Dmobile_broadband_provider_info=false</parameter>: This
switch forcibly disables Mobile Broadband Provider support because it
is not currently available in BLFS.
</para>
<para>
<parameter>-Dgtk_doc=false</parameter>: Remove this if you have
<xref linkend="gtk-doc"/> installed and want to rebuild the
documentation with it.
</para>
-->
<para>
<option>-Dwwan=false</option>: This switch disables WWAN support.
Use this if you do not have <xref linkend="ModemManager"/> installed.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
nm-applet and nm-connection-editor
</seg>
<seg>
<!--libnma.so-->
None
</seg>
<seg>
<!--/usr/include/{libnma,libnm-gtk},-->
<!--/usr/include/libnma and /usr/share/gtk-doc/libnma-->
None
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="nm-connection-editor">
<term><command>nm-connection-editor</command></term>
<listitem>
<para>
allows users to view and edit network connection settings
</para>
<indexterm zone="network-manager-applet nm-connection-editor">
<primary sortas="b-nm-connection-editor">nm-connection-editor</primary>
</indexterm>
</listitem>
</varlistentry>
<!--
<varlistentry id="libnma">
<term><filename class="libraryfile">libnma.so</filename></term>
<listitem>
<para>
contains internal functions for the
<application>Network Manager GTK+ Interface</application>.
</para>
<indexterm zone="network-manager-applet libnma">
<primary sortas="c-libnma">libnma.so</primary>
</indexterm>
</listitem>
</varlistentry>
Moved to a separate library, libnma, in 1.16.0
-->
<!--
<varlistentry id="libnm-gtk">
<term><filename class="libraryfile">libnm-gtk.so</filename></term>
<listitem>
<para>
contains the <application>NetworkManager</application>
<application>GTK+</application> bindings.
</para>
<indexterm zone="network-manager-applet libnm-gtk">
<primary sortas="c-libnm-gtk">libnm-gtk.so</primary>
</indexterm>
</listitem>
</varlistentry>
-->
</variablelist>
</sect2>
</sect1>