[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 |
|
---|
[2ed9126] | 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 "ftp://anduin.linuxfromscratch.org/BLFS/svn/s/shared-mime-info-&shared-mime-info-version;.tar.bz2">
|
---|
[fb2e525] | 9 | <!-- <!ENTITY shared-mime-info-download-ftp "&gentoo-ftp-repo;/shared-mime-info-&shared-mime-info-version;.tar.bz2"> -->
|
---|
[a00eb94] | 10 | <!ENTITY shared-mime-info-md5sum "e1965e129a473683ba395ebc02206367">
|
---|
| 11 | <!ENTITY shared-mime-info-size "439 KB">
|
---|
| 12 | <!ENTITY shared-mime-info-buildsize "9 MB">
|
---|
[fe59aef] | 13 | <!ENTITY shared-mime-info-time "less than 0.1 SBU">
|
---|
[feeb99a] | 14 | ]>
|
---|
| 15 |
|
---|
[c69cf51] | 16 | <sect1 id="shared-mime-info"
|
---|
[0ce8d61] | 17 | xreflabel="shared-mime-info-&shared-mime-info-version;">
|
---|
[c69cf51] | 18 | <?dbhtml filename="shared-mime-info.html" ?>
|
---|
[a1e93c53] | 19 |
|
---|
[c69cf51] | 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 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&shared-mime-info-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&shared-mime-info-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &shared-mime-info-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &shared-mime-info-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &shared-mime-info-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &shared-mime-info-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">shared-mime-info Dependencies</bridgehead>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[76a39aa] | 63 | <para role="required"><xref linkend="glib2"/>,
|
---|
[b053e55c] | 64 | <xref linkend="libxml2"/>, and
|
---|
[ba4b31cf] | 65 | <xref linkend="perl-xml-parser"/></para>
|
---|
[c69cf51] | 66 |
|
---|
[18971e0d] | 67 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 68 | <para role="optional"><xref linkend="intltool"/></para>
|
---|
| 69 |
|
---|
[c5c2654] | 70 | <para condition="html" role="usernotes">User Notes:
|
---|
| 71 | <ulink url="&blfs-wiki;/shared-mime-info"/></para>
|
---|
| 72 |
|
---|
[c69cf51] | 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | <sect2 role="installation">
|
---|
| 76 | <title>Installation of shared-mime-info</title>
|
---|
| 77 |
|
---|
| 78 | <para>Install <application>shared-mime-info</application> by running the
|
---|
| 79 | following commands:</para>
|
---|
| 80 |
|
---|
| 81 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 82 | make</userinput></screen>
|
---|
| 83 |
|
---|
[b053e55c] | 84 | <para>This package does not come with a test suite.</para>
|
---|
| 85 |
|
---|
[c69cf51] | 86 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 87 |
|
---|
| 88 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 89 |
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="configuration">
|
---|
| 93 | <title>Configuring shared-mime-info</title>
|
---|
[a1e93c53] | 94 |
|
---|
[c69cf51] | 95 | <sect3>
|
---|
| 96 | <title>Configuration Information</title>
|
---|
| 97 |
|
---|
| 98 | <para>Some applications (including <application>GNOME</application>-2)
|
---|
[bfb7882] | 99 | require a properly set environment variable to locate the MIME database.
|
---|
[c69cf51] | 100 | Satisfy this requirement by setting the following variable in your
|
---|
| 101 | local shell profile, or the system-wide profile:</para>
|
---|
| 102 |
|
---|
| 103 | <screen><literal>XDG_DATA_DIRS=/usr/share
|
---|
| 104 | export XDG_DATA_DIRS</literal></screen>
|
---|
| 105 |
|
---|
| 106 | </sect3>
|
---|
| 107 |
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2 role="content">
|
---|
| 111 | <title>Contents</title>
|
---|
| 112 |
|
---|
| 113 | <segmentedlist>
|
---|
| 114 | <segtitle>Installed Program</segtitle>
|
---|
| 115 | <segtitle>Installed Libraries</segtitle>
|
---|
| 116 | <segtitle>Installed Directory</segtitle>
|
---|
| 117 |
|
---|
| 118 | <seglistitem>
|
---|
| 119 | <seg>update-mime-database</seg>
|
---|
| 120 | <seg>None</seg>
|
---|
| 121 | <seg>/usr/share/mime</seg>
|
---|
| 122 | </seglistitem>
|
---|
| 123 | </segmentedlist>
|
---|
| 124 |
|
---|
| 125 | <variablelist>
|
---|
| 126 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 127 | <?dbfo list-presentation="list"?>
|
---|
| 128 | <?dbhtml list-presentation="table"?>
|
---|
| 129 |
|
---|
| 130 | <varlistentry id="update-mime-database">
|
---|
| 131 | <term><command>update-mime-database</command></term>
|
---|
| 132 | <listitem>
|
---|
| 133 | <para>assists in adding MIME data to the database.</para>
|
---|
| 134 | <indexterm zone="shared-mime-info update-mime-database">
|
---|
| 135 | <primary sortas="b-update-mime-database">update-mime-database</primary>
|
---|
| 136 | </indexterm>
|
---|
| 137 | </listitem>
|
---|
| 138 | </varlistentry>
|
---|
| 139 |
|
---|
| 140 | </variablelist>
|
---|
| 141 |
|
---|
| 142 | </sect2>
|
---|
| 143 |
|
---|
| 144 | </sect1>
|
---|