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 "http://freedesktop.org/~hadess/shared-mime-info-&shared-mime-info-version;.tar.bz2">
|
---|
8 | <!--<!ENTITY shared-mime-info-download-ftp "&gentoo-ftp-repo;/shared-mime-info-&shared-mime-info-version;.tar.bz2">-->
|
---|
9 | <!ENTITY shared-mime-info-download-ftp " ">
|
---|
10 | <!ENTITY shared-mime-info-md5sum "982a211560ba4c47dc791ccff34e8fbc">
|
---|
11 | <!ENTITY shared-mime-info-size "484 KB">
|
---|
12 | <!ENTITY shared-mime-info-buildsize "16 MB">
|
---|
13 | <!ENTITY shared-mime-info-time "0.1 SBU">
|
---|
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>The <application>shared-mime-info</application> package contains a
|
---|
35 | MIME database. This allows central updates of MIME information for all
|
---|
36 | supporting applications.</para>
|
---|
37 |
|
---|
38 | &lfs70_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>Download (HTTP): <ulink url="&shared-mime-info-download-http;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download (FTP): <ulink url="&shared-mime-info-download-ftp;"/></para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download MD5 sum: &shared-mime-info-md5sum;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Download size: &shared-mime-info-size;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated disk space required: &shared-mime-info-buildsize;</para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>Estimated build time: &shared-mime-info-time;</para>
|
---|
59 | </listitem>
|
---|
60 | </itemizedlist>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect3">shared-mime-info Dependencies</bridgehead>
|
---|
63 |
|
---|
64 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
65 | <para role="required">
|
---|
66 | <xref linkend="glib2"/>,
|
---|
67 | <xref linkend="intltool"/>, and
|
---|
68 | <xref linkend="libxml2"/>
|
---|
69 | </para>
|
---|
70 |
|
---|
71 | <para condition="html" role="usernotes">User Notes:
|
---|
72 | <ulink url="&blfs-wiki;/shared-mime-info"/></para>
|
---|
73 |
|
---|
74 | </sect2>
|
---|
75 |
|
---|
76 | <sect2 role="installation">
|
---|
77 | <title>Installation of shared-mime-info</title>
|
---|
78 |
|
---|
79 | <para>Install <application>shared-mime-info</application> by running the
|
---|
80 | following commands:</para>
|
---|
81 |
|
---|
82 | <screen><userinput>./configure --prefix=/usr &&
|
---|
83 | make</userinput></screen>
|
---|
84 |
|
---|
85 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
86 |
|
---|
87 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
88 |
|
---|
89 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
90 |
|
---|
91 | </sect2>
|
---|
92 |
|
---|
93 | <sect2 role="configuration">
|
---|
94 | <title>Configuring shared-mime-info</title>
|
---|
95 |
|
---|
96 | <sect3>
|
---|
97 | <title>Configuration Information</title>
|
---|
98 |
|
---|
99 | <para>Some applications (including <application>GNOME</application>-2)
|
---|
100 | require a properly set environment variable to locate the MIME database.
|
---|
101 | Satisfy this requirement by setting the following variable in your
|
---|
102 | local shell profile, or the system-wide profile:</para>
|
---|
103 |
|
---|
104 | <screen><literal>XDG_DATA_DIRS=/usr/share
|
---|
105 | export XDG_DATA_DIRS</literal></screen>
|
---|
106 |
|
---|
107 | </sect3>
|
---|
108 |
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <sect2 role="content">
|
---|
112 | <title>Contents</title>
|
---|
113 |
|
---|
114 | <segmentedlist>
|
---|
115 | <segtitle>Installed Program</segtitle>
|
---|
116 | <segtitle>Installed Libraries</segtitle>
|
---|
117 | <segtitle>Installed Directory</segtitle>
|
---|
118 |
|
---|
119 | <seglistitem>
|
---|
120 | <seg>update-mime-database</seg>
|
---|
121 | <seg>None</seg>
|
---|
122 | <seg>/usr/share/mime/{application,audio,image,inode,message,model,
|
---|
123 | multipart,packages,text,video,x-content,x-epoc}</seg>
|
---|
124 | </seglistitem>
|
---|
125 | </segmentedlist>
|
---|
126 |
|
---|
127 | <variablelist>
|
---|
128 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
129 | <?dbfo list-presentation="list"?>
|
---|
130 | <?dbhtml list-presentation="table"?>
|
---|
131 |
|
---|
132 | <varlistentry id="update-mime-database">
|
---|
133 | <term><command>update-mime-database</command></term>
|
---|
134 | <listitem>
|
---|
135 | <para>assists in adding MIME data to the database.</para>
|
---|
136 | <indexterm zone="shared-mime-info update-mime-database">
|
---|
137 | <primary sortas="b-update-mime-database">update-mime-database</primary>
|
---|
138 | </indexterm>
|
---|
139 | </listitem>
|
---|
140 | </varlistentry>
|
---|
141 |
|
---|
142 | </variablelist>
|
---|
143 |
|
---|
144 | </sect2>
|
---|
145 |
|
---|
146 | </sect1>
|
---|