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

11.0 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since eede1a3 was 20f070d8, checked in by Xi Ruoyao <xry111@…>, 3 years ago

first batch of meson --buildtype=release

  • Property mode set to 100644
File size: 4.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 shared-mime-info-download-http
8 "https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/&shared-mime-info-version;/shared-mime-info-&shared-mime-info-version;.tar.gz">
9 <!ENTITY shared-mime-info-download-ftp " ">
10 <!ENTITY shared-mime-info-md5sum "8d059fb2d34062a67fd9ca63fab1fb91">
11 <!ENTITY shared-mime-info-size "5.0 MB">
12 <!ENTITY shared-mime-info-buildsize "26 MB">
13 <!ENTITY shared-mime-info-time "less than 0.1 SBU">
14]>
15
16<sect1 id="shared-mime-info"
17xreflabel="shared-mime-info-&shared-mime-info-version;">
18 <?dbhtml filename="shared-mime-info.html" ?>
19
20 <sect1info>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>shared-mime-info-&shared-mime-info-version;</title>
25
26 <indexterm zone="shared-mime-info">
27 <primary sortas="a-shared-mime-info">shared-mime-info</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Shared Mime Info</title>
32
33 <para>
34 The <application>Shared Mime Info</application> package contains a
35 MIME database. This allows central updates of MIME information for all
36 supporting applications.
37 </para>
38
39 &lfs101_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&shared-mime-info-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&shared-mime-info-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &shared-mime-info-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &shared-mime-info-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &shared-mime-info-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &shared-mime-info-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Shared Mime Info Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="glib2"/>,
80 <xref linkend="itstool"/>,
81 <xref linkend="libxml2"/>, and
82 <xref linkend="xmlto"/>
83 </para>
84
85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/shared-mime-info"/></para>
87
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of Shared Mime Info</title>
92
93 <para>
94 Install <application>Shared Mime Info</application> by running the
95 following commands:
96 </para>
97
98<screen><userinput>mkdir build &amp;&amp;
99cd build &amp;&amp;
100
101meson --prefix=/usr --buildtype=release -Dupdate-mimedb=true .. &amp;&amp;
102ninja</userinput></screen>
103
104 <para>
105 To test the result, issue <command>ninja test</command>.
106 </para>
107
108 <para>
109 Now, as the <systemitem class="username">root</systemitem> user:
110 </para>
111
112<screen role="root"><userinput>ninja install</userinput></screen>
113
114 </sect2>
115
116 <sect2 role="commands">
117 <title>Command Explanations</title>
118
119 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
120 href="../../xincludes/meson-buildtype-release.xml"/>
121
122 <para>
123 <parameter>-Dupdate-mimedb=true</parameter>: This parameter tells
124 the build system to run <command>update-mime-database</command> during
125 installation. Otherwise, this must be done manually in order to be
126 able to use the MIME database.
127 </para>
128 </sect2>
129
130 <sect2 role="content">
131 <title>Contents</title>
132
133 <segmentedlist>
134 <segtitle>Installed Program</segtitle>
135 <segtitle>Installed Library</segtitle>
136 <segtitle>Installed Directory</segtitle>
137
138 <seglistitem>
139 <seg>
140 update-mime-database
141 </seg>
142 <seg>
143 None
144 </seg>
145 <seg>
146 /usr/share/mime
147 </seg>
148 </seglistitem>
149 </segmentedlist>
150
151 <variablelist>
152 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
153 <?dbfo list-presentation="list"?>
154 <?dbhtml list-presentation="table"?>
155
156 <varlistentry id="update-mime-database">
157 <term><command>update-mime-database</command></term>
158 <listitem>
159 <para>
160 assists in adding MIME data to the database
161 </para>
162 <indexterm zone="shared-mime-info update-mime-database">
163 <primary sortas="b-update-mime-database">update-mime-database</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 </variablelist>
169
170 </sect2>
171
172</sect1>
Note: See TracBrowser for help on using the repository browser.