source: general/genutils/shared-mime-info.xml@ ef8290b1

11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ef8290b1 was 9c7363e, checked in by Xi Ruoyao <xry111@…>, 2 years ago

Tag dependencies for UEFI packages

Will tag the UEFI packages themselves tomorrow.

  • Property mode set to 100644
File size: 6.3 KB
RevLine 
[feeb99a]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[feeb99a]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[0d7900a]7 <!ENTITY shared-mime-info-download-http
[7cd9d3e0]8 "https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/&shared-mime-info-version;/shared-mime-info-&shared-mime-info-version;.tar.gz">
[1087d94]9 <!ENTITY shared-mime-info-download-ftp " ">
[7cd9d3e0]10 <!ENTITY shared-mime-info-md5sum "8d059fb2d34062a67fd9ca63fab1fb91">
[9bd0c0e8]11 <!ENTITY shared-mime-info-size "5.0 MB">
[9c7363e]12 <!ENTITY shared-mime-info-buildsize "23 MB (with tests)">
13 <!ENTITY shared-mime-info-time "less than 0.1 SBU">
[b43f617]14
15 <!ENTITY xdgmime-download-http "&sources-anduin-http;/xdgmime/xdgmime.tar.xz">
16 <!ENTITY xdgmime-md5sum "7dfb4446705d345d3acd672024049e86">
17
[feeb99a]18]>
19
[c69cf51]20<sect1 id="shared-mime-info"
[0ce8d61]21xreflabel="shared-mime-info-&shared-mime-info-version;">
[c69cf51]22 <?dbhtml filename="shared-mime-info.html" ?>
[a1e93c53]23
[c69cf51]24 <sect1info>
25 <date>$Date$</date>
26 </sect1info>
27
28 <title>shared-mime-info-&shared-mime-info-version;</title>
29
30 <indexterm zone="shared-mime-info">
31 <primary sortas="a-shared-mime-info">shared-mime-info</primary>
32 </indexterm>
33
34 <sect2 role="package">
[5b38e37]35 <title>Introduction to Shared Mime Info</title>
[c69cf51]36
[5b38e37]37 <para>
38 The <application>Shared Mime Info</application> package contains a
39 MIME database. This allows central updates of MIME information for all
40 supporting applications.
41 </para>
[c69cf51]42
[9c7363e]43 &lfs111_checked;
[af814c4]44
[c69cf51]45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
[5b38e37]48 <para>
49 Download (HTTP): <ulink url="&shared-mime-info-download-http;"/>
50 </para>
[c69cf51]51 </listitem>
[af814c4]52 <listitem>
[5b38e37]53 <para>
54 Download (FTP): <ulink url="&shared-mime-info-download-ftp;"/>
55 </para>
[af814c4]56 </listitem>
[c69cf51]57 <listitem>
[5b38e37]58 <para>
59 Download MD5 sum: &shared-mime-info-md5sum;
60 </para>
[c69cf51]61 </listitem>
62 <listitem>
[5b38e37]63 <para>
64 Download size: &shared-mime-info-size;
65 </para>
[c69cf51]66 </listitem>
67 <listitem>
[5b38e37]68 <para>
69 Estimated disk space required: &shared-mime-info-buildsize;
70 </para>
[c69cf51]71 </listitem>
72 <listitem>
[5b38e37]73 <para>
74 Estimated build time: &shared-mime-info-time;
75 </para>
[c69cf51]76 </listitem>
77 </itemizedlist>
78
[b43f617]79 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
80 <itemizedlist spacing="compact">
81 <listitem>
82 <para>
83 Required patch to allow building with meson-0.60 and later:
[a6825d50]84 <ulink url="&patch-root;/shared-mime-info-&shared-mime-info-version;-meson_0.60_fix-1.patch"/>
[b43f617]85 </para>
[db4c8fb]86 </listitem>
87 <listitem>
88 <para>
89 Optional download, required to run the testsuite:
90 <ulink url="&xdgmime-download-http;"/>
[b43f617]91 </para>
[db4c8fb]92 <para>
[b43f617]93 xdgmime md5sum: &xdgmime-md5sum;
94 </para>
95 </listitem>
96 </itemizedlist>
97
[5b38e37]98 <bridgehead renderas="sect3">Shared Mime Info Dependencies</bridgehead>
[c69cf51]99
100 <bridgehead renderas="sect4">Required</bridgehead>
[98d5a95]101 <para role="required">
[7b29f96]102 <xref linkend="glib2"/>,
[0e69a62]103 <xref linkend="itstool"/>,
104 <xref linkend="libxml2"/>, and
105 <xref linkend="xmlto"/>
[98d5a95]106 </para>
[18971e0d]107
[c5c2654]108 <para condition="html" role="usernotes">User Notes:
109 <ulink url="&blfs-wiki;/shared-mime-info"/></para>
110
[c69cf51]111 </sect2>
112
113 <sect2 role="installation">
[5b38e37]114 <title>Installation of Shared Mime Info</title>
[7b29f96]115
[5b38e37]116 <para>
117 Install <application>Shared Mime Info</application> by running the
118 following commands:
119 </para>
[c69cf51]120
[db4c8fb]121 <para>
[b43f617]122 If you wish to run the test suite, you must first extract the
123 <filename>xdgmime</filename> tarball into the current directory,
124 and compile it so that <command>meson</command> can find it:
125 </para>
126
[db4c8fb]127<screen remap="test"><userinput>tar -xf ../xdgmime.tar.xz &amp;&amp;
[b43f617]128make -C xdgmime</userinput></screen>
129
130 <para>
131 One of the changes in meson-0.60 broke this package. To fix that
132 apply a patch:
133 </para>
134
[db4c8fb]135<screen><userinput>patch -p1 -i ../shared-mime-info-&shared-mime-info-version;-meson_0.60_fix-1.patch</userinput></screen>
[b43f617]136
137 <para>
138 Now build the package:
139 </para>
140
[0e69a62]141<screen><userinput>mkdir build &amp;&amp;
142cd build &amp;&amp;
[c69cf51]143
[20f070d8]144meson --prefix=/usr --buildtype=release -Dupdate-mimedb=true .. &amp;&amp;
[0e69a62]145ninja</userinput></screen>
146
[b43f617]147 <para role="optional">
148 If you have followed the instructions above to build
149 <application>xdgmime</application>, to test the result issue
150 <command>ninja test</command>.
[0e69a62]151 </para>
[b053e55c]152
[5b38e37]153 <para>
154 Now, as the <systemitem class="username">root</systemitem> user:
155 </para>
[c69cf51]156
[0e69a62]157<screen role="root"><userinput>ninja install</userinput></screen>
[c69cf51]158
159 </sect2>
160
[1a75cc3]161 <sect2 role="commands">
162 <title>Command Explanations</title>
163
[20f070d8]164 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
165 href="../../xincludes/meson-buildtype-release.xml"/>
166
[1a75cc3]167 <para>
168 <parameter>-Dupdate-mimedb=true</parameter>: This parameter tells
169 the build system to run <command>update-mime-database</command> during
170 installation. Otherwise, this must be done manually in order to be
171 able to use the MIME database.
172 </para>
173 </sect2>
174
[c69cf51]175 <sect2 role="content">
176 <title>Contents</title>
177
178 <segmentedlist>
179 <segtitle>Installed Program</segtitle>
[f12b2cfa]180 <segtitle>Installed Library</segtitle>
[c69cf51]181 <segtitle>Installed Directory</segtitle>
182
183 <seglistitem>
[88ed85c]184 <seg>
185 update-mime-database
186 </seg>
[f12b2cfa]187 <seg>
188 None
189 </seg>
[88ed85c]190 <seg>
191 /usr/share/mime
192 </seg>
[c69cf51]193 </seglistitem>
194 </segmentedlist>
195
196 <variablelist>
197 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
198 <?dbfo list-presentation="list"?>
199 <?dbhtml list-presentation="table"?>
200
201 <varlistentry id="update-mime-database">
202 <term><command>update-mime-database</command></term>
203 <listitem>
[5b38e37]204 <para>
[4c24eb0a]205 assists in adding MIME data to the database
[5b38e37]206 </para>
[c69cf51]207 <indexterm zone="shared-mime-info update-mime-database">
208 <primary sortas="b-update-mime-database">update-mime-database</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 </variablelist>
214
215 </sect2>
216
217</sect1>
Note: See TracBrowser for help on using the repository browser.