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