1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY shared-mime-info-download-http "http://freedesktop.org/~jrb/shared-mime-info-&shared-mime-info-version;.tar.gz">
|
---|
8 | <!ENTITY shared-mime-info-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/shared-mime-info-&shared-mime-info-version;.tar.gz">
|
---|
9 | <!ENTITY shared-mime-info-md5sum "255a20bae753ebd41e2286b01e7b86d0">
|
---|
10 | <!ENTITY shared-mime-info-size "753 KB">
|
---|
11 | <!ENTITY shared-mime-info-buildsize "7.5 MB">
|
---|
12 | <!ENTITY shared-mime-info-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="shared-mime-info"
|
---|
16 | xreflabel="shared-mime-info-&shared-mime-info-version;">
|
---|
17 | <?dbhtml filename="shared-mime-info.html" ?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
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>The <application>shared-mime-info</application> package contains a
|
---|
34 | MIME database. This allows central updates of MIME information for all
|
---|
35 | supporting applications.</para>
|
---|
36 |
|
---|
37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
38 | <itemizedlist spacing="compact">
|
---|
39 | <listitem>
|
---|
40 | <para>Download (HTTP): <ulink url="&shared-mime-info-download-http;"/></para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>Download (FTP): <ulink url="&shared-mime-info-download-ftp;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download MD5 sum: &shared-mime-info-md5sum;</para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download size: &shared-mime-info-size;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Estimated disk space required: &shared-mime-info-buildsize;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated build time: &shared-mime-info-time;</para>
|
---|
56 | </listitem>
|
---|
57 | </itemizedlist>
|
---|
58 |
|
---|
59 | <bridgehead renderas="sect3">shared-mime-info Dependencies</bridgehead>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
62 | <para><xref linkend="glib2"/>,
|
---|
63 | <xref linkend="libxml2"/> and
|
---|
64 | <xref linkend="perl-xml-parser"/></para>
|
---|
65 |
|
---|
66 | </sect2>
|
---|
67 |
|
---|
68 | <sect2 role="installation">
|
---|
69 | <title>Installation of shared-mime-info</title>
|
---|
70 |
|
---|
71 | <para>Install <application>shared-mime-info</application> by running the
|
---|
72 | following commands:</para>
|
---|
73 |
|
---|
74 | <screen><userinput>./configure --prefix=/usr &&
|
---|
75 | make</userinput></screen>
|
---|
76 |
|
---|
77 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
78 |
|
---|
79 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
80 |
|
---|
81 | </sect2>
|
---|
82 |
|
---|
83 | <sect2 role="configuration">
|
---|
84 | <title>Configuring shared-mime-info</title>
|
---|
85 |
|
---|
86 | <sect3>
|
---|
87 | <title>Configuration Information</title>
|
---|
88 |
|
---|
89 | <para>Some applications (including <application>GNOME</application>-2)
|
---|
90 | require a properly set environment variable to locate the MIME database.
|
---|
91 | Satisfy this requirement by setting the following variable in your
|
---|
92 | local shell profile, or the system-wide profile:</para>
|
---|
93 |
|
---|
94 | <screen><literal>XDG_DATA_DIRS=/usr/share
|
---|
95 | export XDG_DATA_DIRS</literal></screen>
|
---|
96 |
|
---|
97 | </sect3>
|
---|
98 |
|
---|
99 | </sect2>
|
---|
100 |
|
---|
101 | <sect2 role="content">
|
---|
102 | <title>Contents</title>
|
---|
103 |
|
---|
104 | <segmentedlist>
|
---|
105 | <segtitle>Installed Program</segtitle>
|
---|
106 | <segtitle>Installed Libraries</segtitle>
|
---|
107 | <segtitle>Installed Directory</segtitle>
|
---|
108 |
|
---|
109 | <seglistitem>
|
---|
110 | <seg>update-mime-database</seg>
|
---|
111 | <seg>None</seg>
|
---|
112 | <seg>/usr/share/mime</seg>
|
---|
113 | </seglistitem>
|
---|
114 | </segmentedlist>
|
---|
115 |
|
---|
116 | <variablelist>
|
---|
117 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
118 | <?dbfo list-presentation="list"?>
|
---|
119 | <?dbhtml list-presentation="table"?>
|
---|
120 |
|
---|
121 | <varlistentry id="update-mime-database">
|
---|
122 | <term><command>update-mime-database</command></term>
|
---|
123 | <listitem>
|
---|
124 | <para>assists in adding MIME data to the database.</para>
|
---|
125 | <indexterm zone="shared-mime-info update-mime-database">
|
---|
126 | <primary sortas="b-update-mime-database">update-mime-database</primary>
|
---|
127 | </indexterm>
|
---|
128 | </listitem>
|
---|
129 | </varlistentry>
|
---|
130 |
|
---|
131 | </variablelist>
|
---|
132 |
|
---|
133 | </sect2>
|
---|
134 |
|
---|
135 | </sect1>
|
---|