[feeb99a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[86af98a] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
[feeb99a] | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[32194803] | 7 | <!ENTITY shared-mime-info-download-http "http://freedesktop.org/software/shared-mime-info/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">
|
---|
[6944128] | 9 | <!ENTITY shared-mime-info-md5sum "51793b041edc68717c3f87e26a4bc087">
|
---|
[4ba9842] | 10 | <!ENTITY shared-mime-info-size "422 KB">
|
---|
[6944128] | 11 | <!ENTITY shared-mime-info-buildsize "4.4 MB">
|
---|
[4ba9842] | 12 | <!ENTITY shared-mime-info-time "0.03 SBU">
|
---|
[feeb99a] | 13 | ]>
|
---|
| 14 |
|
---|
[0ce8d61] | 15 | <sect1 id="shared-mime-info"
|
---|
| 16 | xreflabel="shared-mime-info-&shared-mime-info-version;">
|
---|
[a0f03b0] | 17 | <sect1info>
|
---|
[5cd0959d] | 18 | <othername>$LastChangedBy$</othername>
|
---|
| 19 | <date>$Date$</date>
|
---|
[a0f03b0] | 20 | </sect1info>
|
---|
[19aa75a] | 21 | <?dbhtml filename="shared-mime-info.html" ?>
|
---|
[a1e93c53] | 22 | <title>shared-mime-info-&shared-mime-info-version;</title>
|
---|
| 23 |
|
---|
[feeb99a] | 24 | <sect2>
|
---|
| 25 | <title>Introduction to <application>shared-mime-info</application></title>
|
---|
| 26 |
|
---|
| 27 | <para>The <application>shared-mime-info</application> package contains a
|
---|
| 28 | <acronym>MIME</acronym> database. This allows central updates of
|
---|
| 29 | <acronym>MIME</acronym> information for all supporting applications.</para>
|
---|
| 30 |
|
---|
| 31 | <sect3><title>Package information</title>
|
---|
| 32 | <itemizedlist spacing='compact'>
|
---|
[0ce8d61] | 33 | <listitem><para>Download (HTTP):
|
---|
| 34 | <ulink url="&shared-mime-info-download-http;"/></para></listitem>
|
---|
| 35 | <listitem><para>Download (FTP):
|
---|
| 36 | <ulink url="&shared-mime-info-download-ftp;"/></para></listitem>
|
---|
[6944128] | 37 | <listitem><para>Download MD5 sum:
|
---|
| 38 | &shared-mime-info-md5sum;</para></listitem>
|
---|
[0ce8d61] | 39 | <listitem><para>Download size:
|
---|
| 40 | &shared-mime-info-size;</para></listitem>
|
---|
[518538f] | 41 | <listitem><para>Estimated disk space required:
|
---|
[0ce8d61] | 42 | &shared-mime-info-buildsize;</para></listitem>
|
---|
| 43 | <listitem><para>Estimated build time:
|
---|
| 44 | &shared-mime-info-time;</para></listitem></itemizedlist>
|
---|
[feeb99a] | 45 | </sect3>
|
---|
| 46 |
|
---|
| 47 | <sect3><title><application>shared-mime-info</application> dependencies</title>
|
---|
| 48 | <sect4><title>Required</title>
|
---|
[7c461b3] | 49 | <para><xref linkend="glib2"/>,
|
---|
[4ba9842] | 50 | <xref linkend="libxml2"/> and
|
---|
| 51 | <xref linkend="perl-modules"/>: XML-Parser</para>
|
---|
| 52 | </sect4>
|
---|
[feeb99a] | 53 | </sect3>
|
---|
| 54 |
|
---|
| 55 | </sect2>
|
---|
| 56 |
|
---|
| 57 | <sect2>
|
---|
| 58 | <title>Installation of <application>shared-mime-info</application></title>
|
---|
| 59 |
|
---|
[4ba9842] | 60 | <para>Install <application>shared-mime-info</application> by running the
|
---|
| 61 | following commands:</para>
|
---|
[feeb99a] | 62 |
|
---|
| 63 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 64 | make &&
|
---|
| 65 | make install</command></userinput></screen>
|
---|
| 66 |
|
---|
| 67 | </sect2>
|
---|
| 68 |
|
---|
[4ba9842] | 69 | <sect2>
|
---|
| 70 | <title>Configuring <application>shared-mime-info</application></title>
|
---|
| 71 |
|
---|
| 72 | <sect3><title>Configuration information</title>
|
---|
| 73 |
|
---|
| 74 | <para>Some applications
|
---|
| 75 | (including <application><acronym>GNOME</acronym></application>-2) require
|
---|
| 76 | a properly set enviroment variable to locate the <acronym>MIME</acronym>
|
---|
| 77 | database. Satisfy this requirement by setting the following variable in your
|
---|
| 78 | local shell profile, or the system-wide profile:</para>
|
---|
| 79 |
|
---|
| 80 | <screen><userinput>XDG_DATA_DIRS=/usr/share
|
---|
| 81 | export XDG_DATA_DIRS</userinput></screen>
|
---|
| 82 | </sect3>
|
---|
| 83 |
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
[feeb99a] | 86 | <sect2>
|
---|
| 87 | <title>Contents</title>
|
---|
| 88 |
|
---|
[4ba9842] | 89 | <para>The <application>shared-mime-info</application> package contains
|
---|
| 90 | <command>update-mime-database</command> and
|
---|
| 91 | <filename>/usr/share/mime/*</filename>.</para>
|
---|
[feeb99a] | 92 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2><title>Description</title>
|
---|
| 96 |
|
---|
| 97 | <sect3><title>update-mime-database</title>
|
---|
| 98 | <para><command>update-mime-database</command> assists in adding
|
---|
| 99 | <acronym>MIME</acronym> data to the database.</para></sect3>
|
---|
| 100 |
|
---|
| 101 | <sect3><title>MIME Database</title>
|
---|
| 102 | <para><filename>/usr/share/mime/*</filename> contains the centralized
|
---|
| 103 | <acronym>MIME</acronym> database.</para></sect3>
|
---|
| 104 |
|
---|
| 105 | </sect2>
|
---|
[a1e93c53] | 106 |
|
---|
| 107 | </sect1>
|
---|
| 108 |
|
---|