[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[2c80efe] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[a4ac6e36] | 7 | <!ENTITY libnma-download-http "&gnome-download-http;/libnma/1.10/libnma-&libnma-version;.tar.xz">
|
---|
[e1e58be] | 8 | <!ENTITY libnma-download-ftp " ">
|
---|
[be3ace2] | 9 | <!ENTITY libnma-md5sum "71c7ce674fea1fae8f1368a7fcb6ff43">
|
---|
| 10 | <!ENTITY libnma-size "688 KB">
|
---|
| 11 | <!ENTITY libnma-buildsize "15 MB">
|
---|
[fca053a3] | 12 | <!ENTITY libnma-time "0.1 SBU (Using parallelism=4; with test)">
|
---|
[2c80efe] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libnma" xreflabel="libnma-&libnma-version;">
|
---|
| 16 | <?dbhtml filename="libnma.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>libnma-&libnma-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="libnma">
|
---|
| 22 | <primary sortas="a-libnma">libnma</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to libnma</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | The <application>libnma</application> package contains an implementation
|
---|
| 30 | of the <application>NetworkManager</application> GUI functions.
|
---|
| 31 | </para>
|
---|
| 32 |
|
---|
[fc09938] | 33 | &lfs122_checked;
|
---|
[2c80efe] | 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&libnma-download-http;"/>
|
---|
| 40 | </para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&libnma-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download MD5 sum: &libnma-md5sum;
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download size: &libnma-size;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Estimated disk space required: &libnma-buildsize;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated build time: &libnma-time;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect3">libnma Dependencies</bridgehead>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 72 | <para role="required">
|
---|
| 73 | <xref linkend="gcr"/>,
|
---|
| 74 | <xref linkend="gtk3"/>,
|
---|
| 75 | <xref linkend="iso-codes"/>, and
|
---|
| 76 | <xref linkend="NetworkManager"/>
|
---|
| 77 | </para>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 80 | <para role="recommended">
|
---|
[4a96ce04] | 81 | <xref linkend="gtk4"/> and
|
---|
[2c80efe] | 82 | <xref linkend="vala"/>
|
---|
| 83 | </para>
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 86 | <para role="optional">
|
---|
| 87 | <ulink url="&gnome-download-http;/mobile-broadband-provider-info">mobile-broadband-provider-info</ulink>
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="installation">
|
---|
| 93 | <title>Installation of libnma</title>
|
---|
| 94 |
|
---|
| 95 | <para>
|
---|
| 96 | Install <application>libnma</application> by running the following
|
---|
| 97 | commands:
|
---|
| 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <screen><userinput>mkdir build &&
|
---|
| 101 | cd build &&
|
---|
| 102 |
|
---|
[6d6005b0] | 103 | meson setup .. \
|
---|
| 104 | --prefix=/usr \
|
---|
| 105 | --buildtype=release \
|
---|
| 106 | -D gtk_doc=false \
|
---|
| 107 | -D libnma_gtk4=true \
|
---|
| 108 | -D mobile_broadband_provider_info=false &&
|
---|
[2c80efe] | 109 | ninja</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | <para>
|
---|
| 112 | To test the results, issue: <command>ninja test</command>.
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
| 115 | <para>
|
---|
| 116 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 117 | </para>
|
---|
| 118 |
|
---|
| 119 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | <sect2 role="commands">
|
---|
| 123 | <title>Command Explanations</title>
|
---|
| 124 |
|
---|
[adf17153] | 125 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 126 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 127 |
|
---|
[2c80efe] | 128 | <para>
|
---|
[6d6005b0] | 129 | <parameter>-D gtk_doc=false</parameter>: This parameter disables
|
---|
[2c80efe] | 130 | generating API documentation using gtk-doc. If you have
|
---|
| 131 | <xref role="nodep" linkend="gtk-doc"/> installed and wish to
|
---|
| 132 | generate the API documentation, omit this switch.
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
[e5f2361] | 135 | <para>
|
---|
[6d6005b0] | 136 | <parameter>-D libnma_gtk4=true</parameter>: This parameter builds the
|
---|
[67c8341] | 137 | GTK-4 version of libnma. It is needed by
|
---|
| 138 | <xref linkend="gnome-control-center"/>.
|
---|
[e5f2361] | 139 | </para>
|
---|
| 140 |
|
---|
[2c80efe] | 141 | <para>
|
---|
[6d6005b0] | 142 | <parameter>-D mobile_broadband_provider_info=false</parameter>: This
|
---|
[2c80efe] | 143 | switch disables WWAN support because mobile-broadband-provider-info is
|
---|
| 144 | not in BLFS. Omit this switch if you have it installed and wish to
|
---|
| 145 | enable WWAN support.
|
---|
| 146 | </para>
|
---|
| 147 | </sect2>
|
---|
| 148 |
|
---|
| 149 | <sect2 role="content">
|
---|
| 150 | <title>Contents</title>
|
---|
| 151 |
|
---|
| 152 | <segmentedlist>
|
---|
| 153 | <segtitle>Installed Programs</segtitle>
|
---|
| 154 | <segtitle>Installed Libraries</segtitle>
|
---|
| 155 | <segtitle>Installed Directories</segtitle>
|
---|
| 156 |
|
---|
| 157 | <seglistitem>
|
---|
| 158 | <seg>
|
---|
| 159 | None
|
---|
| 160 | </seg>
|
---|
| 161 | <seg>
|
---|
[3947fa9] | 162 | libnma.so and libnma-gtk4.so
|
---|
[2c80efe] | 163 | </seg>
|
---|
| 164 | <seg>
|
---|
| 165 | /usr/include/libnma
|
---|
| 166 | </seg>
|
---|
| 167 | </seglistitem>
|
---|
| 168 | </segmentedlist>
|
---|
| 169 |
|
---|
| 170 | <variablelist>
|
---|
| 171 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 172 | <?dbfo list-presentation="list"?>
|
---|
| 173 | <?dbhtml list-presentation="table"?>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="libnma-lib">
|
---|
| 176 | <term><filename class="libraryfile">libnma.so</filename></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>
|
---|
[4c24eb0a] | 179 | contains the <application>NetworkManager</application> GUI library
|
---|
[2c80efe] | 180 | </para>
|
---|
| 181 | <indexterm zone="libnma libnma-lib">
|
---|
| 182 | <primary sortas="c-libnma">libnma.so</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
[3947fa9] | 186 |
|
---|
| 187 | <varlistentry id="libnma-gtk4">
|
---|
| 188 | <term><filename class="libraryfile">libnma-gtk4.so</filename></term>
|
---|
| 189 | <listitem>
|
---|
| 190 | <para>
|
---|
| 191 | contains the GTK-4 version of the
|
---|
| 192 | <application>NetworkManager</application> GUI library
|
---|
| 193 | </para>
|
---|
| 194 | <indexterm zone="libnma libnma-gtk4">
|
---|
| 195 | <primary sortas="c-libnma-gtk4">libnma-gtk4.so</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
[2c80efe] | 199 | </variablelist>
|
---|
| 200 | </sect2>
|
---|
[4c24eb0a] | 201 |
|
---|
[2c80efe] | 202 | </sect1>
|
---|