[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">
|
---|
[af814c4] | 8 | <!ENTITY shared-mime-info-download-ftp "&gentoo-ftp-repo;/shared-mime-info-&shared-mime-info-version;.tar.bz2">
|
---|
| 9 | <!ENTITY shared-mime-info-md5sum "339b8c284a3b7c153adea985b419030e">
|
---|
| 10 | <!ENTITY shared-mime-info-size "447 KB">
|
---|
| 11 | <!ENTITY shared-mime-info-buildsize "11 MB">
|
---|
| 12 | <!ENTITY shared-mime-info-time "0.1 SBU">
|
---|
[feeb99a] | 13 | ]>
|
---|
| 14 |
|
---|
[c69cf51] | 15 | <sect1 id="shared-mime-info"
|
---|
[0ce8d61] | 16 | xreflabel="shared-mime-info-&shared-mime-info-version;">
|
---|
[c69cf51] | 17 | <?dbhtml filename="shared-mime-info.html" ?>
|
---|
[a1e93c53] | 18 |
|
---|
[c69cf51] | 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 |
|
---|
[a7f10539] | 37 | &lfs65_checked;
|
---|
[af814c4] | 38 |
|
---|
[c69cf51] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&shared-mime-info-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
[af814c4] | 44 | <listitem>
|
---|
[c69cf51] | 45 | <para>Download (FTP): <ulink url="&shared-mime-info-download-ftp;"/></para>
|
---|
[af814c4] | 46 | </listitem>
|
---|
[c69cf51] | 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &shared-mime-info-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &shared-mime-info-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &shared-mime-info-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &shared-mime-info-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect3">shared-mime-info Dependencies</bridgehead>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[76a39aa] | 64 | <para role="required"><xref linkend="glib2"/>,
|
---|
[b053e55c] | 65 | <xref linkend="libxml2"/>, and
|
---|
[ba4b31cf] | 66 | <xref linkend="perl-xml-parser"/></para>
|
---|
[c69cf51] | 67 |
|
---|
[18971e0d] | 68 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 69 | <para role="optional"><xref linkend="intltool"/></para>
|
---|
| 70 |
|
---|
[c5c2654] | 71 | <para condition="html" role="usernotes">User Notes:
|
---|
| 72 | <ulink url="&blfs-wiki;/shared-mime-info"/></para>
|
---|
| 73 |
|
---|
[c69cf51] | 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 |
|
---|
[43025c2] | 85 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
[b053e55c] | 86 |
|
---|
[c69cf51] | 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>
|
---|
[a1e93c53] | 95 |
|
---|
[c69cf51] | 96 | <sect3>
|
---|
| 97 | <title>Configuration Information</title>
|
---|
| 98 |
|
---|
| 99 | <para>Some applications (including <application>GNOME</application>-2)
|
---|
[bfb7882] | 100 | require a properly set environment variable to locate the MIME database.
|
---|
[c69cf51] | 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>
|
---|
[af814c4] | 122 | <seg>/usr/share/mime/{application,audio,image,inode,message,model,
|
---|
| 123 | multipart,packages,text,video,x-content,x-epoc}</seg>
|
---|
[c69cf51] | 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>
|
---|