source: general/genlib/appstream.xml@ bca8ca5

12.1 ken/TL2024 lazarus plabs/newcss python3.11 rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since bca8ca5 was 4de66bc7, checked in by Douglas R. Reno <renodr@…>, 6 months ago

Add some more dependencies on Qt6.

I've marked most of these as 'role=nodep' so that jhalfs doesn't pick up
multiples in cases where it's not needed.

Transmission, Libreoffice, CMake, Poppler, and Appstream now have Qt6
ports working well.

I have left Qca, gpgme, polkit-qt, and other KDE-related packages alone.
They do have support for Qt6, but we should not list them as they are
incompatible with the Qt5 versions and we could end up causing
unintentional breakage by doing this.

  • Property mode set to 100644
File size: 8.8 KB
Line 
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 appstream-download-http "https://www.freedesktop.org/software/appstream/releases/AppStream-&appstream-version;.tar.xz">
8 <!ENTITY appstream-download-ftp " ">
9 <!ENTITY appstream-md5sum "6465ef5b23d5b0724fe6dd0aec8b0bec">
10 <!ENTITY appstream-size "2.6 MB">
11 <!ENTITY appstream-buildsize "27 MB">
12 <!ENTITY appstream-time "0.6 SBU">
13]>
14
15<sect1 id="appstream" xreflabel="AppStream-&appstream-version;">
16 <?dbhtml filename="appstream.html"?>
17
18 <title>AppStream-&appstream-version;</title>
19
20 <indexterm zone="appstream">
21 <primary sortas="a-appstream">AppStream</primary>
22 </indexterm>
23
24 <sect2 role="package">
25 <title>Introduction to AppStream</title>
26
27 <para>
28 The <application>AppStream</application> package contains a library and
29 tool that is useful for retrieving software metadata and making it
30 easily accessible to programs which need it.
31 </para>
32
33 <!-- Remember to update the org.linuxfromscratch.lfs.xml file in
34 configuration section when tagging this. -->
35 &lfs120_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&appstream-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&appstream-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &appstream-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &appstream-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &appstream-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &appstream-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">AppStream Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Required</bridgehead>
74 <para role="required">
75 <xref linkend="curl"/>,
76 <phrase revision="sysv"><xref linkend="elogind"/>,</phrase>
77 <xref linkend="itstool"/>,
78 <xref linkend="libxml2"/>,
79 <xref linkend="libxmlb"/>, and
80 <xref linkend="libyaml"/>
81 </para>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <xref linkend="gtk-doc"/>,
86 &qt5-deps;,
87 <xref linkend="qt6"/>, and
88 <ulink url="https://github.com/zvelo/libstemmer">libstemmer</ulink>
89 </para>
90
91 <!-- Only use this if you want to note something in the wiki
92 <para condition="html" role="usernotes">
93 Editor Notes: <ulink url="&blfs-wiki;/TEMPLATE"/>
94 </para>
95 -->
96 </sect2>
97
98 <sect2 role="installation">
99 <title>Installation of AppStream</title>
100
101 <para>
102 Install <application>AppStream</application> by running the following
103 commands:
104 </para>
105
106<screen><userinput>mkdir build &amp;&amp;
107cd build &amp;&amp;
108
109meson setup --prefix=/usr \
110 --buildtype=release \
111 -Dapidocs=false \
112 -Dstemming=false .. &amp;&amp;
113ninja</userinput></screen>
114
115 <para>
116 To test the results, issue: <command>ninja test</command>.
117 </para>
118
119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
122
123<screen role="root"><userinput>ninja install &amp;&amp;
124mv -v /usr/share/doc/appstream{,-&appstream-version;}</userinput></screen>
125
126 </sect2>
127
128 <sect2 role="commands">
129 <title>Command Explanations</title>
130
131 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
132 href="../../xincludes/meson-buildtype-release.xml"/>
133
134 <para>
135 <parameter>-Dapidocs=false</parameter>: This switch disables building the
136 API documentation. Remove it if you have
137 <xref linkend="gtk-doc" role="nodep"/> installed and wish to generate the
138 API documentation.
139 </para>
140
141 <para>
142 <parameter>-Dstemming=false</parameter>: This switch disables stemming
143 support. Remove this switch if you have
144 <ulink url="https://github.com/zvelo/libstemmer">libstemmer</ulink>
145 installed and want faster searches.
146 </para>
147
148 <para>
149 <option>-Dqt5=true</option>: Use this option if you have &qt5-deps;
150 installed and you want to build support for Qt-5 applications into this
151 package.
152 </para>
153
154 <para>
155 <option>-Dqt=true</option>: Use this option if you have
156 <xref linkend="qt6" role="nodep"/> installed and you want to build support
157 for Qt6 applications into this package. This option conflicts with
158 <option>-Dqt5=true</option>.
159 </para>
160
161 </sect2>
162
163 <sect2 role="configuration">
164 <title>Configuring AppStream</title>
165
166 <sect3 id="appstream-config">
167 <title>Config Files</title>
168
169 <para>
170 <filename>/usr/share/metainfo/org.linuxfromscratch.lfs.xml</filename>
171 </para>
172 </sect3>
173
174 <sect3>
175 <title>Configuration Information</title>
176
177 <para>
178 <application>AppStream</application> expects an operating system
179 metainfo file describing the GNU/Linux distribution. As the
180 &root; user, create the file describing LFS:
181 </para>
182
183 <indexterm zone="appstream appstream-config">
184 <primary sortas="e-usr-share-metainfo-org-linuxfromscratch-lfs-xml">
185 /usr/share/metainfo/org.linuxfromscratch.lfs.xml
186 </primary>
187 </indexterm>
188
189 <screen role="root"><userinput>install -vdm755 /usr/share/metainfo &amp;&amp;
190cat > /usr/share/metainfo/org.linuxfromscratch.lfs.xml &lt;&lt; EOF
191<literal>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
192&lt;component type="operating-system"&gt;
193 &lt;id&gt;org.linuxfromscratch.lfs&lt;/id&gt;
194 &lt;name&gt;Linux From Scratch&lt;/name&gt;
195 &lt;summary&gt;A customized Linux system built entirely from source&lt;/summary&gt;
196 &lt;description&gt;
197 &lt;p&gt;
198 Linux From Scratch (LFS) is a project that provides you with
199 step-by-step instructions for building your own customized Linux
200 system entirely from source.
201 &lt;/p&gt;
202 &lt;/description&gt;
203 &lt;url type="homepage"&gt;https://www.linuxfromscratch.org/lfs/&lt;/url&gt;
204 &lt;metadata_license&gt;MIT&lt;/metadata_license&gt;
205 &lt;developer id='linuxfromscratch.org'&gt;
206 &lt;name&gt;The Linux From Scratch Editors&lt;/name&gt;
207 &lt;/developer&gt;
208
209 &lt;releases&gt;
210 &lt;release version="12.1" type="development" date="2024-03-01"&gt;
211 &lt;description&gt;
212 &lt;p&gt;The next release of Linux From Scratch.&lt;/p&gt;
213 &lt;/description&gt;
214 &lt;/release&gt;
215
216 &lt;release version="12.0" type="stable" date="2023-09-01"&gt;
217 &lt;description&gt;
218 &lt;p&gt;Now contains Binutils 2.41, GCC-13.2.0, Glibc-2.38, and Linux
219 kernel 6.4.&lt;/p&gt;
220 &lt;/description&gt;
221 &lt;/release&gt;
222 &lt;/releases&gt;
223&lt;/component&gt;</literal>
224EOF</userinput></screen>
225
226 </sect3>
227 </sect2>
228
229 <sect2 role="content">
230 <title>Contents</title>
231
232 <segmentedlist>
233 <segtitle>Installed Programs</segtitle>
234 <segtitle>Installed Libraries</segtitle>
235 <segtitle>Installed Directories</segtitle>
236
237 <seglistitem>
238 <seg>
239 appstreamcli
240 </seg>
241 <seg>
242 libappstream.so
243 </seg>
244 <seg>
245 /usr/include/appstream,
246 /usr/share/doc/appstream-&version;, and
247 /usr/share/installed-tests/appstream
248 </seg>
249 </seglistitem>
250 </segmentedlist>
251
252 <variablelist>
253 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
254 <?dbfo list-presentation="list"?>
255 <?dbhtml list-presentation="table"?>
256
257 <varlistentry id="appstreamcli">
258 <term><command>appstreamcli</command></term>
259 <listitem>
260 <para>
261 queries information from AppStream metadata and from the AppStream
262 component index
263 </para>
264 <indexterm zone="appstream appstreamcli">
265 <primary sortas="b-appstreamcli">appstreamcli</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 <varlistentry id="libappstream">
271 <term><filename class="libraryfile">libappstream.so</filename></term>
272 <listitem>
273 <para>
274 contains functions that handle AppStream metadata queries and
275 request information from the AppStream component index
276 </para>
277 <indexterm zone="appstream libappstream">
278 <primary sortas="c-libappstream">libappstream.so</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
282 </variablelist>
283 </sect2>
284</sect1>
Note: See TracBrowser for help on using the repository browser.