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

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 6a22b91 was 15445ab, checked in by Douglas R. Reno <renodr@…>, 17 months ago

Lots of tags

  • Property mode set to 100644
File size: 5.9 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 " ">
[b0530c8c]10 <!ENTITY shared-mime-info-md5sum "06cb9e92e4211dc53fd52b7bfd586c78">
11 <!ENTITY shared-mime-info-size "6.7 MB">
12 <!ENTITY shared-mime-info-buildsize "24 MB (with tests)">
13 <!ENTITY shared-mime-info-time "less than 0.1 SBU (with tests)">
[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
25 <title>shared-mime-info-&shared-mime-info-version;</title>
26
27 <indexterm zone="shared-mime-info">
28 <primary sortas="a-shared-mime-info">shared-mime-info</primary>
29 </indexterm>
30
31 <sect2 role="package">
[5b38e37]32 <title>Introduction to Shared Mime Info</title>
[c69cf51]33
[5b38e37]34 <para>
35 The <application>Shared Mime Info</application> package contains a
36 MIME database. This allows central updates of MIME information for all
37 supporting applications.
38 </para>
[c69cf51]39
[15445ab]40 &lfs113_checked;
[af814c4]41
[c69cf51]42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
[5b38e37]45 <para>
46 Download (HTTP): <ulink url="&shared-mime-info-download-http;"/>
47 </para>
[c69cf51]48 </listitem>
[af814c4]49 <listitem>
[5b38e37]50 <para>
51 Download (FTP): <ulink url="&shared-mime-info-download-ftp;"/>
52 </para>
[af814c4]53 </listitem>
[c69cf51]54 <listitem>
[5b38e37]55 <para>
56 Download MD5 sum: &shared-mime-info-md5sum;
57 </para>
[c69cf51]58 </listitem>
59 <listitem>
[5b38e37]60 <para>
61 Download size: &shared-mime-info-size;
62 </para>
[c69cf51]63 </listitem>
64 <listitem>
[5b38e37]65 <para>
66 Estimated disk space required: &shared-mime-info-buildsize;
67 </para>
[c69cf51]68 </listitem>
69 <listitem>
[5b38e37]70 <para>
71 Estimated build time: &shared-mime-info-time;
72 </para>
[c69cf51]73 </listitem>
74 </itemizedlist>
75
[b43f617]76 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
77 <itemizedlist spacing="compact">
[db4c8fb]78 <listitem>
79 <para>
[48771ae]80 Optional download, required to run the test suite:
[db4c8fb]81 <ulink url="&xdgmime-download-http;"/>
[b43f617]82 </para>
[db4c8fb]83 <para>
[b43f617]84 xdgmime md5sum: &xdgmime-md5sum;
85 </para>
86 </listitem>
87 </itemizedlist>
88
[5b38e37]89 <bridgehead renderas="sect3">Shared Mime Info Dependencies</bridgehead>
[c69cf51]90
91 <bridgehead renderas="sect4">Required</bridgehead>
[98d5a95]92 <para role="required">
[2cd8183]93 <xref linkend="glib2"/> and
[b0530c8c]94 <xref linkend="libxml2"/>
95 </para>
96
97 <bridgehead renderas="sect4">Optional</bridgehead>
98 <para role="optional">
[0e69a62]99 <xref linkend="xmlto"/>
[98d5a95]100 </para>
[18971e0d]101
[c5c2654]102 <para condition="html" role="usernotes">User Notes:
103 <ulink url="&blfs-wiki;/shared-mime-info"/></para>
104
[c69cf51]105 </sect2>
106
107 <sect2 role="installation">
[5b38e37]108 <title>Installation of Shared Mime Info</title>
[7b29f96]109
[5b38e37]110 <para>
111 Install <application>Shared Mime Info</application> by running the
112 following commands:
113 </para>
[c69cf51]114
[db4c8fb]115 <para>
[b43f617]116 If you wish to run the test suite, you must first extract the
117 <filename>xdgmime</filename> tarball into the current directory,
118 and compile it so that <command>meson</command> can find it:
119 </para>
120
[db4c8fb]121<screen remap="test"><userinput>tar -xf ../xdgmime.tar.xz &amp;&amp;
[b43f617]122make -C xdgmime</userinput></screen>
123
124 <para>
125 Now build the package:
126 </para>
127
[0e69a62]128<screen><userinput>mkdir build &amp;&amp;
129cd build &amp;&amp;
[c69cf51]130
[20f070d8]131meson --prefix=/usr --buildtype=release -Dupdate-mimedb=true .. &amp;&amp;
[0e69a62]132ninja</userinput></screen>
133
[b43f617]134 <para role="optional">
135 If you have followed the instructions above to build
136 <application>xdgmime</application>, to test the result issue
137 <command>ninja test</command>.
[0e69a62]138 </para>
[b053e55c]139
[5b38e37]140 <para>
141 Now, as the <systemitem class="username">root</systemitem> user:
142 </para>
[c69cf51]143
[0e69a62]144<screen role="root"><userinput>ninja install</userinput></screen>
[c69cf51]145
146 </sect2>
147
[1a75cc3]148 <sect2 role="commands">
149 <title>Command Explanations</title>
150
[20f070d8]151 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
152 href="../../xincludes/meson-buildtype-release.xml"/>
153
[1a75cc3]154 <para>
155 <parameter>-Dupdate-mimedb=true</parameter>: This parameter tells
156 the build system to run <command>update-mime-database</command> during
157 installation. Otherwise, this must be done manually in order to be
158 able to use the MIME database.
159 </para>
160 </sect2>
161
[c69cf51]162 <sect2 role="content">
163 <title>Contents</title>
164
165 <segmentedlist>
166 <segtitle>Installed Program</segtitle>
[f12b2cfa]167 <segtitle>Installed Library</segtitle>
[c69cf51]168 <segtitle>Installed Directory</segtitle>
169
170 <seglistitem>
[88ed85c]171 <seg>
172 update-mime-database
173 </seg>
[f12b2cfa]174 <seg>
175 None
176 </seg>
[88ed85c]177 <seg>
178 /usr/share/mime
179 </seg>
[c69cf51]180 </seglistitem>
181 </segmentedlist>
182
183 <variablelist>
184 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
185 <?dbfo list-presentation="list"?>
186 <?dbhtml list-presentation="table"?>
187
188 <varlistentry id="update-mime-database">
189 <term><command>update-mime-database</command></term>
190 <listitem>
[5b38e37]191 <para>
[4c24eb0a]192 assists in adding MIME data to the database
[5b38e37]193 </para>
[c69cf51]194 <indexterm zone="shared-mime-info update-mime-database">
195 <primary sortas="b-update-mime-database">update-mime-database</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 </variablelist>
201
202 </sect2>
203
204</sect1>
Note: See TracBrowser for help on using the repository browser.