1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
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 |
|
---|
7 | <!ENTITY libadwaita-download-http "&gnome-download-http;/libadwaita/&libadwaita-minor;/libadwaita-&libadwaita-version;.tar.xz">
|
---|
8 | <!ENTITY libadwaita-download-ftp "&gnome-download-ftp;/libadwaita/&libadwaita-minor;/libadwaita-&libadwaita-version;.tar.xz">
|
---|
9 | <!ENTITY libadwaita-md5sum "8726755ebfa48e3773a86bf1d4279edb">
|
---|
10 | <!ENTITY libadwaita-size "3.0 MB">
|
---|
11 | <!ENTITY libadwaita-buildsize "42 MB (with tests)">
|
---|
12 | <!ENTITY libadwaita-time "0.2 SBU (with parallelism=4; with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libadwaita1" xreflabel="libadwaita-&libadwaita-version;">
|
---|
16 | <?dbhtml filename="libadwaita.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>libadwaita-&libadwaita-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="libadwaita1">
|
---|
22 | <primary sortas="a-libadwaita">libadwaita</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to libadwaita</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | The <application>libadwaita</application> package provides additional
|
---|
30 | GTK4 UI widgets for use in developing user interfaces. It is used
|
---|
31 | primarily for GNOME applications.
|
---|
32 | </para>
|
---|
33 |
|
---|
34 | &lfs113_checked;
|
---|
35 |
|
---|
36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
37 | <itemizedlist spacing="compact">
|
---|
38 | <listitem>
|
---|
39 | <para>
|
---|
40 | Download (HTTP): <ulink url="&libadwaita-download-http;"/>
|
---|
41 | </para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (FTP): <ulink url="&libadwaita-download-ftp;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download MD5 sum: &libadwaita-md5sum;
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download size: &libadwaita-size;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Estimated disk space required: &libadwaita-buildsize;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated build time: &libadwaita-time;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | </itemizedlist>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect3">libadwaita Dependencies</bridgehead>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
73 | <para role="required">
|
---|
74 | <xref linkend="gtk4"/>
|
---|
75 | </para>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
78 | <para role="recommended">
|
---|
79 | <xref linkend="vala"/>
|
---|
80 | </para>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
83 | <para role="optional">
|
---|
84 | <xref linkend="gi-docgen"/>
|
---|
85 | </para>
|
---|
86 |
|
---|
87 | <para condition="html" role="usernotes">
|
---|
88 | User Notes: <ulink url="&blfs-wiki;/libadwaita"/>
|
---|
89 | </para>
|
---|
90 | </sect2>
|
---|
91 |
|
---|
92 | <sect2 role="installation">
|
---|
93 | <title>Installation of libadwaita</title>
|
---|
94 |
|
---|
95 | <para>
|
---|
96 | Install <application>libadwaita</application> by running the following
|
---|
97 | commands:
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <screen><userinput>mkdir build &&
|
---|
101 | cd build &&
|
---|
102 |
|
---|
103 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
104 | ninja</userinput></screen>
|
---|
105 |
|
---|
106 | <para>
|
---|
107 | If you have <xref linkend='gi-docgen'/> installed and wish to build
|
---|
108 | the API documentation for this package, issue:
|
---|
109 | </para>
|
---|
110 |
|
---|
111 | <screen role='nodump'><userinput>sed "s/apiversion/'&libadwaita-version;'/" -i ../doc/meson.build &&
|
---|
112 | meson configure -Dgtk_doc=true &&
|
---|
113 | ninja</userinput></screen>
|
---|
114 |
|
---|
115 | <para>
|
---|
116 | To test the results, issue: <command>ninja test</command>.
|
---|
117 | The tests must be run from a graphical session.
|
---|
118 | </para>
|
---|
119 |
|
---|
120 | <para>
|
---|
121 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
122 | </para>
|
---|
123 |
|
---|
124 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | <sect2 role="commands">
|
---|
128 | <title>Command Explanations</title>
|
---|
129 |
|
---|
130 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
131 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
132 |
|
---|
133 | </sect2>
|
---|
134 |
|
---|
135 | <sect2 role="content">
|
---|
136 | <title>Contents</title>
|
---|
137 |
|
---|
138 | <segmentedlist>
|
---|
139 | <segtitle>Installed Programs</segtitle>
|
---|
140 | <segtitle>Installed Libraries</segtitle>
|
---|
141 | <segtitle>Installed Directories</segtitle>
|
---|
142 |
|
---|
143 | <seglistitem>
|
---|
144 | <seg>
|
---|
145 | adwaita-1-demo
|
---|
146 | </seg>
|
---|
147 | <seg>
|
---|
148 | libadwaita-1.so
|
---|
149 | </seg>
|
---|
150 | <seg>
|
---|
151 | /usr/include/libadwaita-1
|
---|
152 | </seg>
|
---|
153 | </seglistitem>
|
---|
154 | </segmentedlist>
|
---|
155 |
|
---|
156 | <variablelist>
|
---|
157 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
158 | <?dbfo list-presentation="list"?>
|
---|
159 | <?dbhtml list-presentation="table"?>
|
---|
160 |
|
---|
161 | <varlistentry id="adwaita-1-demo">
|
---|
162 | <term><command>adwaita-1-demo</command></term>
|
---|
163 | <listitem>
|
---|
164 | <para>
|
---|
165 | provides an example of how to use the
|
---|
166 | <application>libadwaita</application> library
|
---|
167 | </para>
|
---|
168 | <indexterm zone="libadwaita1 adwaita-1-demo">
|
---|
169 | <primary sortas="b-adwaita-1-demo">adwaita-1-demo</primary>
|
---|
170 | </indexterm>
|
---|
171 | </listitem>
|
---|
172 | </varlistentry>
|
---|
173 |
|
---|
174 | <varlistentry id="libadwaita-1">
|
---|
175 | <term><filename class="libraryfile">libadwaita-1.so</filename></term>
|
---|
176 | <listitem>
|
---|
177 | <para>
|
---|
178 | provides additional GTK widgets for use in creating user interfaces
|
---|
179 | </para>
|
---|
180 | <indexterm zone="libadwaita1 libadwaita-1">
|
---|
181 | <primary sortas="c-libadwaita-1">libadwaita-1.so</primary>
|
---|
182 | </indexterm>
|
---|
183 | </listitem>
|
---|
184 | </varlistentry>
|
---|
185 | </variablelist>
|
---|
186 | </sect2>
|
---|
187 |
|
---|
188 | </sect1>
|
---|