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://people.freedesktop.org/~hadess/shared-mime-info-&shared-mime-info-version;.tar.xz">
|
---|
9 | <!ENTITY shared-mime-info-download-ftp " ">
|
---|
10 | <!ENTITY shared-mime-info-md5sum "418c2ced9dc4dd5ca8b06a755e6d64e9">
|
---|
11 | <!ENTITY shared-mime-info-size "604 KB">
|
---|
12 | <!ENTITY shared-mime-info-buildsize "22 MB">
|
---|
13 | <!ENTITY shared-mime-info-time "0.2 SBU (on a minimal system, up to 0.4 SBU on a fully loaded desktop)">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="shared-mime-info"
|
---|
17 | xreflabel="shared-mime-info-&shared-mime-info-version;">
|
---|
18 | <?dbhtml filename="shared-mime-info.html" ?>
|
---|
19 |
|
---|
20 | <sect1info>
|
---|
21 | <othername>$LastChangedBy$</othername>
|
---|
22 | <date>$Date$</date>
|
---|
23 | </sect1info>
|
---|
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">
|
---|
32 | <title>Introduction to Shared Mime Info</title>
|
---|
33 |
|
---|
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>
|
---|
39 |
|
---|
40 | &lfs82_checked;
|
---|
41 |
|
---|
42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
43 | <itemizedlist spacing="compact">
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (HTTP): <ulink url="&shared-mime-info-download-http;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download (FTP): <ulink url="&shared-mime-info-download-ftp;"/>
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download MD5 sum: &shared-mime-info-md5sum;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Download size: &shared-mime-info-size;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated disk space required: &shared-mime-info-buildsize;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>
|
---|
71 | Estimated build time: &shared-mime-info-time;
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | </itemizedlist>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect3">Shared Mime Info Dependencies</bridgehead>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
79 | <para role="required">
|
---|
80 | <xref linkend="glib2"/> and
|
---|
81 | <xref linkend="libxml2"/>
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <para condition="html" role="usernotes">User Notes:
|
---|
85 | <ulink url="&blfs-wiki;/shared-mime-info"/></para>
|
---|
86 |
|
---|
87 | </sect2>
|
---|
88 |
|
---|
89 | <sect2 role="installation">
|
---|
90 | <title>Installation of Shared Mime Info</title>
|
---|
91 |
|
---|
92 | <note>
|
---|
93 | <para>If your processor is <emphasis>not</emphasis> a very recent
|
---|
94 | Intel, you may need to use <literal>make -j1</literal> for this
|
---|
95 | package.</para>
|
---|
96 | </note>
|
---|
97 |
|
---|
98 | <para>
|
---|
99 | Install <application>Shared Mime Info</application> by running the
|
---|
100 | following commands:
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <screen><userinput>./configure --prefix=/usr &&
|
---|
104 | make</userinput></screen>
|
---|
105 |
|
---|
106 | <para>
|
---|
107 | To test the results, issue: <command>make check</command>.
|
---|
108 | </para>
|
---|
109 |
|
---|
110 | <para>
|
---|
111 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
112 | </para>
|
---|
113 |
|
---|
114 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
115 |
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="content">
|
---|
119 | <title>Contents</title>
|
---|
120 |
|
---|
121 | <segmentedlist>
|
---|
122 | <segtitle>Installed Program</segtitle>
|
---|
123 | <segtitle>Installed Library</segtitle>
|
---|
124 | <segtitle>Installed Directory</segtitle>
|
---|
125 |
|
---|
126 | <seglistitem>
|
---|
127 | <seg>
|
---|
128 | update-mime-database
|
---|
129 | </seg>
|
---|
130 | <seg>
|
---|
131 | None
|
---|
132 | </seg>
|
---|
133 | <seg>
|
---|
134 | /usr/share/mime
|
---|
135 | </seg>
|
---|
136 | </seglistitem>
|
---|
137 | </segmentedlist>
|
---|
138 |
|
---|
139 | <variablelist>
|
---|
140 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
141 | <?dbfo list-presentation="list"?>
|
---|
142 | <?dbhtml list-presentation="table"?>
|
---|
143 |
|
---|
144 | <varlistentry id="update-mime-database">
|
---|
145 | <term><command>update-mime-database</command></term>
|
---|
146 | <listitem>
|
---|
147 | <para>
|
---|
148 | assists in adding MIME data to the database.
|
---|
149 | </para>
|
---|
150 | <indexterm zone="shared-mime-info update-mime-database">
|
---|
151 | <primary sortas="b-update-mime-database">update-mime-database</primary>
|
---|
152 | </indexterm>
|
---|
153 | </listitem>
|
---|
154 | </varlistentry>
|
---|
155 |
|
---|
156 | </variablelist>
|
---|
157 |
|
---|
158 | </sect2>
|
---|
159 |
|
---|
160 | </sect1>
|
---|